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 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  languagecode 

Sample Example/i18n page

 * de
 * fr
 * sq
 * this is just a regular link
 * And external links too]

Parameters
...

Special:TranslationHelp/Pagename
 Master page: Englishpage



Special:TranslationHelp

 * 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

 * Special:TranslationHelp/Foo -
 * Target language doesn't exist (make it not matter)

Todo

 * 1) fix up table syntax and wikilinks
 * 2) Improve difflink
 * 3) Add edit link which inserts appropriate edit summary
 * 4) 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


 * Add toolbox link
 * Make Specialpage toolbox link for Page/fr go to equiv for Page - need to create table for this?
 * Add CSS classes to Special page output to allow coloured highlighting: green=uptodate, yellow=outofdate, red=doesntexist/neverreferenced.

useful things

 * Internationalisation
 * MediaWiki extensions FAQ
 * Revision table, page table


 * Extension:PageTools