A special page for marking revisions of pages for translation. More...
Public Member Functions | |
__construct () | |
execute ($parameters) | |
showSuccess (TranslatablePage $page) | |
loadPagesFromDB () | |
listPages () | |
checkInput (TranslatablePage $page, &$error=false) | |
Static Public Member Functions | |
static | getRenderJobs (TranslatablePage $page) |
Creates jobs needed to create or update all translation pages. | |
static | getTranslationUnitJobs (TranslatablePage $page, array $sections) |
Creates jobs needed to create or update all translation page definitions. | |
Protected Member Functions | |
buildPageArray ($res) | |
classifyPages (array $in) | |
priorityLanguagesForm (TranslatablePage $page) | |
handlePriorityLanguages (WebRequest $request, TranslatablePage $page) |
A special page for marking revisions of pages for translation.
This page is the main tool for translation administrators in the wiki. It will list all pages in their various states and provides actions that are suitable for given translatable page.
Definition at line 21 of file SpecialPageTranslation.php.
SpecialPageTranslation::__construct | ( | ) |
Definition at line 22 of file SpecialPageTranslation.php.
SpecialPageTranslation::buildPageArray | ( | $ | res | ) | [protected] |
Definition at line 210 of file SpecialPageTranslation.php.
Referenced by listPages().
SpecialPageTranslation::checkInput | ( | TranslatablePage $ | page, | |
&$ | error = false | |||
) |
TranslatablePage | $page | |
bool | $error |
Definition at line 429 of file SpecialPageTranslation.php.
Referenced by execute().
SpecialPageTranslation::classifyPages | ( | array $ | in | ) | [protected] |
array | $in |
Definition at line 232 of file SpecialPageTranslation.php.
Referenced by listPages().
SpecialPageTranslation::execute | ( | $ | parameters | ) |
static SpecialPageTranslation::getRenderJobs | ( | TranslatablePage $ | page | ) | [static] |
Creates jobs needed to create or update all translation pages.
TranslatablePage | $page |
Definition at line 796 of file SpecialPageTranslation.php.
static SpecialPageTranslation::getTranslationUnitJobs | ( | TranslatablePage $ | page, | |
array $ | sections | |||
) | [static] |
Creates jobs needed to create or update all translation page definitions.
TranslatablePage | $page | |
array | $sections |
Definition at line 814 of file SpecialPageTranslation.php.
SpecialPageTranslation::handlePriorityLanguages | ( | WebRequest $ | request, | |
TranslatablePage $ | page | |||
) | [protected] |
WebRequest | $request | |
TranslatablePage | $page |
Definition at line 740 of file SpecialPageTranslation.php.
SpecialPageTranslation::listPages | ( | ) |
Definition at line 268 of file SpecialPageTranslation.php.
Referenced by execute().
SpecialPageTranslation::loadPagesFromDB | ( | ) |
Definition at line 186 of file SpecialPageTranslation.php.
Referenced by listPages().
SpecialPageTranslation::priorityLanguagesForm | ( | TranslatablePage $ | page | ) | [protected] |
TranslatablePage | $page |
Definition at line 585 of file SpecialPageTranslation.php.
SpecialPageTranslation::showSuccess | ( | TranslatablePage $ | page | ) |
TranslatablePage | $page |
Definition at line 168 of file SpecialPageTranslation.php.
Referenced by execute().