User:Pfctdayelise/Extension:TranslatorHelp
An extension for multilingual wikis that have one "master language" and translate content into one or more other languages. Probably not appropriate for wikis where "translation forks" can occur (more than one language could have the most "up to date" version of a page). The aim is to make it easy for would-be translators to identify pages that need translating most urgently and assist translators in the general process. This is not m:Multilingual MediaWiki.
Important aims:
- Allow translators to easily mark a t10n as being up to date with a specific revision of the master document
- Easy to find which pages of a target language need updating, rank them
- master language = wiki language
- target language - anything else
- translations (sub)page - page that lists and links translations of the master page. Links must be of the form [[translated page|languagecode]]
Sample Example/i18n page
edit*[[Example/de|de]] * [[Example/French|fr]] * [[this one has a totally different name|sq]] * [[this is just a regular link]] * [http://www.wikipedia.org/ And external links too]]
Parameters
edit...
Master page: Englishpage
Language code | Status | # revisions difference | # Bytes difference | Time difference | Time since translation last updated |
---|---|---|---|---|---|
es | Up to date | 0 | 0 | 0.000 | 2 weeks |
fr | Needs updating | 3 | 1045 | 6 hours | 15 days |
zh | Not yet created | 26 | 1100034 | 7 weeks | None |
- box for pagename, for above case
This is more difficult. Search for all above cases.
default: Lists all pages. overview/summary - show oldest translation in each lang
sortable table according to some parameter.
Special:TranslationHelp/language=foo - filter for pages with LC=foo translations, somehow
Things to look out for
edit- Special:TranslationHelp/Foo -
- Target language doesn't exist (make it not matter)
Todo
edit- make edit summary work
- learn php documentation conventions
- talk to John Moorhouse, Jim Wilson (Jimbojw), Aphaia, Wikimania people, Commons people, etc - get feedback about interface, ideas
- modularise - make &langcode=_ , &priority=_, showAll
useful things
edit- Internationalisation
- m:MediaWiki extensions FAQ
- Revision table, page table
- {{REVISIONID}} = -