SpecialPageTranslation Class Reference
[Page Translation]

A special page for marking revisions of pages for translation. More...

List of all members.

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)

Detailed Description

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.


Constructor & Destructor Documentation

SpecialPageTranslation::__construct (  ) 

Definition at line 22 of file SpecialPageTranslation.php.


Member Function Documentation

SpecialPageTranslation::buildPageArray ( res  )  [protected]

Definition at line 210 of file SpecialPageTranslation.php.

Referenced by listPages().

Here is the call graph for this function:

SpecialPageTranslation::checkInput ( TranslatablePage page,
&$  error = false 
)
Parameters:
TranslatablePage $page
bool $error
Returns:
array

Definition at line 429 of file SpecialPageTranslation.php.

Referenced by execute().

Here is the call graph for this function:

SpecialPageTranslation::classifyPages ( array $  in  )  [protected]
Parameters:
array $in
Returns:
array

Definition at line 232 of file SpecialPageTranslation.php.

Referenced by listPages().

Here is the call graph for this function:

SpecialPageTranslation::execute ( parameters  ) 

Definition at line 26 of file SpecialPageTranslation.php.

Here is the call graph for this function:

static SpecialPageTranslation::getRenderJobs ( TranslatablePage page  )  [static]

Creates jobs needed to create or update all translation pages.

Parameters:
TranslatablePage $page
Returns:
Job[]
Since:
2013-01-28

Definition at line 796 of file SpecialPageTranslation.php.

Here is the call graph for this function:

static SpecialPageTranslation::getTranslationUnitJobs ( TranslatablePage page,
array $  sections 
) [static]

Creates jobs needed to create or update all translation page definitions.

Parameters:
TranslatablePage $page
array $sections
Returns:
Job[]
Since:
2013-01-28

Definition at line 814 of file SpecialPageTranslation.php.

Here is the call graph for this function:

SpecialPageTranslation::handlePriorityLanguages ( WebRequest $  request,
TranslatablePage page 
) [protected]
Parameters:
WebRequest $request
TranslatablePage $page

Definition at line 740 of file SpecialPageTranslation.php.

Here is the call graph for this function:

SpecialPageTranslation::listPages (  ) 

Definition at line 268 of file SpecialPageTranslation.php.

Referenced by execute().

Here is the call graph for this function:

SpecialPageTranslation::loadPagesFromDB (  ) 

Definition at line 186 of file SpecialPageTranslation.php.

Referenced by listPages().

Here is the call graph for this function:

SpecialPageTranslation::priorityLanguagesForm ( TranslatablePage page  )  [protected]
Parameters:
TranslatablePage $page

Definition at line 585 of file SpecialPageTranslation.php.

Here is the call graph for this function:

SpecialPageTranslation::showSuccess ( TranslatablePage page  ) 
Parameters:
TranslatablePage $page

Definition at line 168 of file SpecialPageTranslation.php.

Referenced by execute().

Here is the call graph for this function:


The documentation for this class was generated from the following file:
Generated on Tue Oct 29 00:00:53 2013 for MediaWiki Translate Extension by  doxygen 1.6.3