[HOME PAGE] [STORES] [CLASSICISTRANIERI.COM] [FOTO] [YOUTUBE CHANNEL]


Bug 3300 – Write scripts to update language files with updated text from MediaWiki namespaces

Last modified: 2005-09-02 07:57:41 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 3300 - Write scripts to update language files with updated text from MediaWiki namespaces
Write scripts to update language files with updated text from MediaWiki names...
Status: RESOLVED WORKSFORME
Product: Wikimedia
Classification: Unclassified
Language setup (Other open bugs)
unspecified
All All
: Normal minor with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
http://bugzilla.wikipedia.org/show_bu...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-08-29 20:34 UTC by SJ
Modified: 2005-09-02 07:57 UTC (History)
0 users

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


Attachments

Description SJ 2005-08-29 20:34:09 UTC
Individual Wikipedias manage their interface text by having administrators
update MediaWiki: namespace pages.  (cf. Special:Allmessages)  

To locally update A, one edits B: 
* A=the English "Donations" link in the sidebar on en:WP (default interface)
    B=http://en.wikipedia.org/wiki/MediaWiki:Sitesupport
* A=the Lithuanian "Donations" link on en:WP, for a user using the lt: interface
    B=http://en.wikipedia.org/wiki/MediaWiki:Sitesupport/lt
* A=the Lithuanian "Donations" link on lt:WP (default interface)
    B=http://lt.wikipedia.org/wiki/MediaWiki:Sitesupport

To update the text of that link in the default language file used by all
Wikipedias when there is no local page overriding the message text, you must...
file a bug in bugzilla (after figuring out this is where to turn) asking for the
change to be made.  See bug 3245 for an example:
http://bugzilla.wikipedia.org/show_bug.cgi?id=3245

PROPOSED FIX:  Write a script that regularly checks for changes to the local
MediaWiki-driven interfaces, and assist devs/admins in rapidly updating the
language files with that content.  

(Note, when writing the above script, that one should check many languages as
well as many projects. For instance, when updating the French-language interface
strings, one should check the Fr: translation of a given string *on all wikis*,
to see if any of them have changed since the script was last run [each language
version of each project has a local Fr: translation that can override the
default] , and offer a human operator some sort of script-assisted conflict
resolution.)
Comment 1 Antoine "hashar" Musso (WMF) 2005-09-02 07:57:41 UTC
Have a look at diffLanguage.php in the maintenance directory.
It can compare the mediawiki language file with a list of messages
as given by Special:Allmessages (PHP output).

Example if you want to update the french language:

 php diffLanguage.php fr /tmp/from-fr-wikipedia.php

Output lines like:

accesskey-search differs:
--- /tmp/mwParser-606869213-tested      2005-09-02 09:56:08.000000000 +0200
+++ /tmp/mwParser-606869213-reference   2005-09-02 09:56:08.000000000 +0200
@@ -1 +1 @@
-F
+C


For massive update, the best is to submit a patch as described on:
  http://meta.wikimedia.org/wiki/MediaWiki_localisation

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


Contents Listing Alphabetical by Author:
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z Unknown Other

Contents Listing Alphabetical by Title:
# A B C D E F G H I J K L M N O P Q R S T U V W Y Z Other

Medical Encyclopedia

Browse by first letter of topic:


A-Ag Ah-Ap Aq-Az B-Bk Bl-Bz C-Cg Ch-Co
Cp-Cz D-Di Dj-Dz E-Ep Eq-Ez F G
H-Hf Hg-Hz I-In Io-Iz J K L-Ln
Lo-Lz M-Mf Mg-Mz N O P-Pl Pm-Pz
Q R S-Sh Si-Sp Sq-Sz T-Tn To-Tz
U V W X Y Z 0-9

Biblioteca - SPANISH

Biblioteca Solidaria - SPANISH

Bugzilla

Ebooks Gratuits

Encyclopaedia Britannica 1911 - PDF

Project Gutenberg: DVD-ROM 2007

Project Gutenberg ENGLISH Selection

Project Gutenberg SPANISH Selection

Standard E-books

Wikipedia Articles Indexes

Wikipedia for Schools - ENGLISH

Wikipedia for Schools - FRENCH

Wikipedia for Schools - SPANISH

Wikipedia for Schools - PORTUGUESE

Wikipedia 2016 - FRENCH

Wikipedia HTML - CATALAN

Wikipedia Picture of the Year 2006

Wikipedia Picture of the Year 2007

Wikipedia Picture of the Year 2008

Wikipedia Picture of the Year 2009

Wikipedia Picture of the Year 2010

Wikipedia Picture of the Year 2011