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

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
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