dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Localisation updates from http://translatewiki.net.
[lhc/web/wiklou.git]
/
includes
/
installer
/
WebInstaller.php
diff --git
a/includes/installer/WebInstaller.php
b/includes/installer/WebInstaller.php
index
0d5ea57
..
4892770
100644
(file)
--- a/
includes/installer/WebInstaller.php
+++ b/
includes/installer/WebInstaller.php
@@
-56,10
+56,11
@@
class WebInstaller extends Installer {
/**
* The main sequence of page names. These will be displayed in turn.
/**
* The main sequence of page names. These will be displayed in turn.
- * To add one:
- * * Add it here
- * * Add a config-page-<name> message
- * * Add a WebInstaller_<name> class
+ *
+ * To add a new installer page:
+ * * Add it to this WebInstaller::$pageSequence property
+ * * Add a "config-page-<name>" message
+ * * Add a "WebInstaller_<name>" class
* @var array
*/
public $pageSequence = array(
* @var array
*/
public $pageSequence = array(
@@
-376,7
+377,7
@@
class WebInstaller extends Installer {
$args = func_get_args();
array_shift( $args );
$args = array_map( 'htmlspecialchars', $args );
$args = func_get_args();
array_shift( $args );
$args = array_map( 'htmlspecialchars', $args );
- $msg = wfM
sgReal( $msg, $args, false, false, false
);
+ $msg = wfM
essage( $msg, $args )->useDatabase( false )->plain(
);
$this->output->addHTML( $this->getErrorBox( $msg ) );
}
$this->output->addHTML( $this->getErrorBox( $msg ) );
}
@@
-655,7
+656,7
@@
class WebInstaller extends Installer {
$args = func_get_args();
array_shift( $args );
$args = array_map( 'htmlspecialchars', $args );
$args = func_get_args();
array_shift( $args );
$args = array_map( 'htmlspecialchars', $args );
- $text = wfM
sgReal( $msg, $args, false, false, false
);
+ $text = wfM
essage( $msg, $args )->useDatabase( false )->plain(
);
$html = $this->parse( $text, true );
return "<div class=\"mw-help-field-container\">\n" .
$html = $this->parse( $text, true );
return "<div class=\"mw-help-field-container\">\n" .
@@
-685,7
+686,7
@@
class WebInstaller extends Installer {
$args = func_get_args();
array_shift( $args );
$html = '<div class="config-message">' .
$args = func_get_args();
array_shift( $args );
$html = '<div class="config-message">' .
-
$this->parse( wfMsgReal( $msg, $args, false, false, false
) ) .
+
$this->parse( wfMessage( $msg, $args )->useDatabase( false )->plain(
) ) .
"</div>\n";
$this->output->addHTML( $html );
}
"</div>\n";
$this->output->addHTML( $html );
}