Last modified: 2007-10-16 15:20:08 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T12255, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 10255 - Internationalisation of ProofreadPage
Internationalisation of ProofreadPage
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
ProofreadPage (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
: patch
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-06-14 11:27 UTC by Lejonel
Modified: 2007-10-16 15:20 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
patch that puts interface messages in i18n file (5.88 KB, patch)
2007-10-14 13:59 UTC, Lejonel
Details

Description Lejonel 2007-06-14 11:27:54 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.
Comment 1 Lejonel 2007-06-14 11:37:21 UTC
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.
Comment 2 Lejonel 2007-10-14 13:59:31 UTC
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
Comment 3 ThomasV 2007-10-16 15:20:08 UTC
thanks, it is commited

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links