68 $this->parent->output->addHTML( $html );
73 "<div class=\"config-section\">\n" .
78 'action' => $this->parent->getUrl( [
'page' => $this->getName() ] )
88 public function endForm( $continue =
'continue', $back =
'back' ) {
89 $s =
"<div class=\"config-submit\">\n";
92 if ( $id ===
false ) {
93 $s .= Html::hidden(
'lastPage', $this->parent->request->getVal(
'lastPage' ) );
102 'name' =>
"enter-$continue",
103 'style' =>
'width:0;border:0;height:0;padding:0'
113 'name' =>
"submit-$back",
114 'tabindex' => $this->parent->nextTabIndex()
124 'name' =>
"submit-$continue",
125 'tabindex' => $this->parent->nextTabIndex(),
130 $s .=
"</div></form></div>\n";
138 return str_replace(
'WebInstaller',
'', static::class );
145 return array_search( $this->
getName(), $this->parent->pageSequence );
154 public function getVar( $var, $default =
null ) {
155 return $this->parent->getVar( $var, $default );
162 public function setVar( $name, $value ) {
163 $this->parent->setVar( $name, $value );
174 return "\n<fieldset><legend>" .
wfMessage( $legend )->escaped() .
"</legend>\n";
183 return "</fieldset>\n";
191 '<div id="config-spinner" style="display:none;">' .
192 '<img src="images/ajax-loader.gif" /></div>' .
193 '<script>jQuery( "#config-spinner" ).show();</script>' .
194 '<div id="config-live-log">' .
195 '<textarea name="LiveLog" rows="10" cols="30" readonly="readonly">'
197 $this->parent->output->flush();
204 $this->
addHTML(
'</textarea></div>
205 <script>jQuery( "#config-spinner" ).hide()</script>' );
206 $this->parent->output->flush();
wfMessage( $key,... $params)
This is the function for getting translated interface messages.
Abstract class to define pages for the web installer.
WebInstaller $parent
The WebInstaller object this WebInstallerPage belongs to.
getFieldsetEnd()
Get the end tag of a fieldset.
endForm( $continue='continue', $back='back')
getVar( $var, $default=null)
startLiveBox()
Opens a textarea used to display the progress of a long operation.
__construct(WebInstaller $parent)
getFieldsetStart( $legend)
Get the starting tags of a fieldset.
endLiveBox()
Opposite to WebInstallerPage::startLiveBox.
isSlow()
Is this a slow-running page in the installer? If so, WebInstaller will set_time_limit(0) before calli...
Class for the core installer web interface.
static submitButton( $value, $attribs=[])
Convenience function to build an HTML submit button When $wgUseMediaWikiUIEverywhere is true it will ...