On Tue 07 May 2013 10:50:41 PM EDT, Dmitrii Kouznetsov wrote:
.. http://mizugadro.mydns.jp/h/index.php/MediaWiki:Longpageerror
The ErrorMessage says: Error: The text you have submitted is 1kilobyteslong,whichislongerthanthemaximumof2 kilobytes. It cannot be saved.
It looks strange: why 1K is declared to be longer than 2K ? This would be good for the novel by George Orwell, but not for science.
It says "$1 kilobytes" and "$2 kilobytes", not "1 kilobytes" and "2 kilobytes". The messages are used by the code and $1 and $2 stand for the first and second arguments passed when the message is displayed. This makes the wiki able to display these messages in whatever language the user has selected.
See https://translatewiki.net/w/i.php?title=MediaWiki:Longpageerror/kab&acti... for an example of how these messages can be translated to other languages.
At the bottom of LocalSettings.php, I have added line $wgMaxArticleSize = 8388608; then, I already have saved the test article longer than 2M. This seems to be the key I was looking for. Thank you very much! (In few days I'll check, how robust and stable is it.)
Please do not fail to report back your findings.
Mark.