[Mediawiki-i18n] How to edit Message files

Filip Maljkovic dungodung at gmail.com
Mon Jul 3 10:27:54 UTC 2006

Petr Kadlec wrote:
> On 03/07/06, kent sin <kentsin at gmail.com> wrote:
>> I am trying to edit the message file, everytime I make a change break
>> the wiki. I find out that some line in the message file like the
>> Sysoptest is break into several lines. Is this cause the problem?
> Normally not, PHP allows multiline string literals.
>> How can I edit the file?
> After editing the file in any plain-text editor (e.g. Notepad, not
> Word), check for its validity using
> php -l MessagesXx.php
> (well, if you have PHP installed, which you probably have if you are
> running a wiki).
Please, do not use Notepad. I have used it with LocalSettings.php and it 
didn't work as Notepad inserts some invisible characters at the 
beginning of the file, thus breaking the php file. I don't know if this 
relates to Messages*.php files, but just to be on the safe side, use a 
different editor (jedit proved to be the best for me while I was on WinXP)


More information about the Mediawiki-i18n mailing list