From ca32f08966f1b51fcb19460f0996bb0c4048e6fe Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Sat, 3 Dec 2011 13:29:22 +0100 Subject: Update to MediaWiki 1.18.0 * also update ArchLinux skin to chagnes in MonoBook * Use only css to hide our menu bar when printing --- includes/installer/WebInstallerPage.php | 114 ++++++++++++++++++-------------- 1 file changed, 66 insertions(+), 48 deletions(-) (limited to 'includes/installer/WebInstallerPage.php') diff --git a/includes/installer/WebInstallerPage.php b/includes/installer/WebInstallerPage.php index 5c30182b..dc9c6d27 100644 --- a/includes/installer/WebInstallerPage.php +++ b/includes/installer/WebInstallerPage.php @@ -32,6 +32,15 @@ abstract class WebInstallerPage { $this->parent = $parent; } + /** + * Is this a slow-running page in the installer? If so, WebInstaller will + * set_time_limit(0) before calling execute(). Right now this only applies + * to Install and Upgrade pages + */ + public function isSlow() { + return false; + } + public function addHTML( $html ) { $this->parent->output->addHTML( $html ); } @@ -103,6 +112,8 @@ abstract class WebInstallerPage { * Get the starting tags of a fieldset. * * @param $legend String: message name + * + * @return string */ protected function getFieldsetStart( $legend ) { return "\n
" . wfMsgHtml( $legend ) . "\n"; @@ -110,6 +121,8 @@ abstract class WebInstallerPage { /** * Get the end tag of a fieldset. + * + * @returns string */ protected function getFieldsetEnd() { return "
\n"; @@ -122,7 +135,7 @@ abstract class WebInstallerPage { $this->addHTML( '' . '' . - ' + $this->addHTML( ' ' ); $this->parent->output->flush(); } @@ -198,10 +211,15 @@ class WebInstaller_Language extends WebInstallerPage { /** * Get a