Difference between revisions of "Template:BOMWarning"
Jump to navigation
Jump to search
Joelmartin (talk | contribs) m (1 revision imported) |
Joelmartin (talk | contribs) m (Text replacement - "</translate>" to "") |
||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
<languages/> | <languages/> | ||
− | </noinclude>{{#switch:< | + | </noinclude>{{#switch:<translate> |
|= | |= | ||
− | {{Warning|1=<translate><!--T:1--> Don't edit <tvar|LocalSettings><code>LocalSettings.php</code></> with document editors like Notepad, TextEdit, or other text editors that add [[w:byte order mark|byte order marks]] to files. | + | {{Warning|1=<translate><!--T:1--> Don't edit <tvar|LocalSettings><code>LocalSettings.php</code></> with document editors like Notepad, TextEdit, or other text editors that add [[w:byte order mark|byte order marks]] to files. <translate><!--T:2--> These break the PHP runtime of your wiki. <translate><!--T:3--> Instead, use a code editor, e.g. Vim, Notepad++, or Atom. <translate><!--T:4--> These handle file encodings properly. <translate><!--T:5--> They can also be used to repair files previously broken by document editors.}} |
|#default= | |#default= | ||
{{#invoke:Template translation|renderTranslatedTemplate|template=Template:BOMWarning|noshift=1}} | {{#invoke:Template translation|renderTranslatedTemplate|template=Template:BOMWarning|noshift=1}} |
Revision as of 03:58, 21 December 2019
![]() | Don't edit LocalSettings.php with document editors like Notepad, TextEdit, or other text editors that add byte order marks to files. These break the PHP runtime of your wiki. Instead, use a code editor, e.g. Vim, Notepad++, or Atom. These handle file encodings properly. They can also be used to repair files previously broken by document editors. |