Difference between revisions of "Template:BOMWarning"
Jump to navigation
Jump to search
Joelmartin (talk | contribs) m (Text replacement - "</translate>" to "") |
Joelmartin (talk | contribs) m (Text replacement - "<translate>" to "") |
||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
<languages/> | <languages/> | ||
− | </noinclude>{{#switch: | + | </noinclude>{{#switch: |
|= | |= | ||
− | {{Warning|1= | + | {{Warning|1=<!--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. <!--T:2--> These break the PHP runtime of your wiki. <!--T:3--> Instead, use a code editor, e.g. Vim, Notepad++, or Atom. <!--T:4--> These handle file encodings properly. <!--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 04:07, 21 December 2019
![]() | LocalSettings>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. |