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 - "</>" to "") |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
− | + | ||
</noinclude>{{#switch: | </noinclude>{{#switch: | ||
|= | |= | ||
− | {{Warning|1= | + | {{Warning|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. 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.}} |
|#default= | |#default= | ||
{{#invoke:Template translation|renderTranslatedTemplate|template=Template:BOMWarning|noshift=1}} | {{#invoke:Template translation|renderTranslatedTemplate|template=Template:BOMWarning|noshift=1}} |
Latest revision as of 15:36, 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. |