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
auth: Follow up on e907d4328dc3e
[lhc/web/wiklou.git]
/
includes
/
installer
/
WebInstallerOutput.php
diff --git
a/includes/installer/WebInstallerOutput.php
b/includes/installer/WebInstallerOutput.php
index
cb0092d
..
950aaf7
100644
(file)
--- a/
includes/installer/WebInstallerOutput.php
+++ b/
includes/installer/WebInstallerOutput.php
@@
-89,8
+89,18
@@
class WebInstallerOutput {
/**
* @param string $text
/**
* @param string $text
+ * @deprecated since 1.32; use addWikiTextAsInterface instead
*/
public function addWikiText( $text ) {
*/
public function addWikiText( $text ) {
+ wfDeprecated( __METHOD__, '1.32' );
+ $this->addWikiTextAsInterface( $text );
+ }
+
+ /**
+ * @param string $text
+ * @since 1.32
+ */
+ public function addWikiTextAsInterface( $text ) {
$this->addHTML( $this->parent->parse( $text ) );
}
$this->addHTML( $this->parent->parse( $text ) );
}
@@
-187,7
+197,7
@@
class WebInstallerOutput {
* @return string
*/
private function getCssUrl() {
* @return string
*/
private function getCssUrl() {
- return Html::linkedStyle( $
_SERVER['PHP_SELF'] . '?css=1'
);
+ return Html::linkedStyle( $
this->parent->getUrl( [ 'css' => 1 ] )
);
}
public function useShortHeader( $use = true ) {
}
public function useShortHeader( $use = true ) {