Last modified: 2007-10-16 15:20:08 UTC
The text in the user interface is now hardcoded in the js file. It would be better if the messages were customisable in the i18n file and the MediaWiki namespace.
Also, the messages currently in the i18n file are used to set the namespace that the extension works in. I don't think that is a good idea, since changing those messages will not work correctly unless the namespaces exists. It would be better to have a variable (maybe $wgProofreadpageNamespace) in localsettings, that can be set at the same time as the extra namespace is added.
Created attachment 4255 [details]
patch that puts interface messages in i18n file
This patch modifies the three files of the extension:
* the interface messages in proofread.js are replaced by variables.
* English messages and Swedish translations are added to ProofreadPage.i18n.php
* ProofreadPage.php adds a script tag that defines the new variables for proofread.js
thanks, it is commited