|
MediaWiki
REL1_24
|
Special page for changing the content language of a page. More...


Public Member Functions | |
| __construct () | |
| alterForm (HTMLForm $form) | |
| Play with the HTMLForm if you need to more substantially. | |
| onSubmit (array $data) | |
| onSuccess () | |
| Do something exciting on successful processing of the form, most likely to show a confirmation message. | |
| showLogFragment ($title) | |
Protected Member Functions | |
| getFormFields () | |
| Get an HTMLForm descriptor array. | |
| postText () | |
| Add post-text to the form. | |
| preText () | |
| Add pre-text to the form. | |
Private Attributes | |
| string | $goToUrl |
| URL to go to if language change successful. | |
Special page for changing the content language of a page.
Definition at line 31 of file SpecialPageLanguage.php.
Definition at line 36 of file SpecialPageLanguage.php.
| SpecialPageLanguage::alterForm | ( | HTMLForm $ | form | ) |
Play with the HTMLForm if you need to more substantially.
| HTMLForm | $form |
Reimplemented from FormSpecialPage.
Definition at line 92 of file SpecialPageLanguage.php.
References array(), SpecialPage\getOutput(), HTMLForm\setDisplayFormat(), HTMLForm\setWrapperLegend(), and wfRunHooks().
| SpecialPageLanguage::getFormFields | ( | ) | [protected] |
Get an HTMLForm descriptor array.
Reimplemented from FormSpecialPage.
Definition at line 44 of file SpecialPageLanguage.php.
References $name, $options, array(), as, Language\fetchLanguageNames(), SpecialPage\getConfig(), SpecialPage\getLanguage(), and SpecialPage\msg().
| SpecialPageLanguage::onSubmit | ( | array $ | data | ) |
| array | $data |
Reimplemented from FormSpecialPage.
Definition at line 103 of file SpecialPageLanguage.php.
Do something exciting on successful processing of the form, most likely to show a confirmation message.
Reimplemented from FormSpecialPage.
Definition at line 182 of file SpecialPageLanguage.php.
References SpecialPage\getOutput().
| SpecialPageLanguage::postText | ( | ) | [protected] |
Add post-text to the form.
Reimplemented from FormSpecialPage.
Definition at line 88 of file SpecialPageLanguage.php.
References showLogFragment().
| SpecialPageLanguage::preText | ( | ) | [protected] |
Add pre-text to the form.
Reimplemented from FormSpecialPage.
Definition at line 40 of file SpecialPageLanguage.php.
References SpecialPage\getOutput().
| SpecialPageLanguage::showLogFragment | ( | $ | title | ) |
Definition at line 187 of file SpecialPageLanguage.php.
References $title, Xml\element(), and LogEventsList\showLogExtract().
Referenced by postText().
string SpecialPageLanguage::$goToUrl [private] |
URL to go to if language change successful.
Definition at line 34 of file SpecialPageLanguage.php.