Siebrand has uploaded a new change for review.
https://gerrit.wikimedia.org/r/104393
Change subject: Replace deprecated SpecialPage::getLang()
......................................................................
Replace deprecated SpecialPage::getLang()
Change-Id: Ia5157ac1125cd1f527c987d61da834cb747c64ad
---
M specials/ConfigurationPage.php
1 file changed, 3 insertions(+), 3 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Configure
refs/changes/93/104393/1
diff --git a/specials/ConfigurationPage.php b/specials/ConfigurationPage.php
index 0d9f389..3a7e379 100644
--- a/specials/ConfigurationPage.php
+++ b/specials/ConfigurationPage.php
@@ -61,7 +61,7 @@
}
if ( is_array( $wgConfigureWikis ) &&
!in_array( $wiki, $wgConfigureWikis ) ) {
$this->getOutput()->wrapWikiMsg( '<div
class="errorbox"><strong>$1</strong></div>',
- array(
'configure-transwiki-not-in-range', $wiki, $this->getLang()->commaList(
$wgConfigureWikis ), count( $wgConfigureWikis ) ) );
+ array(
'configure-transwiki-not-in-range', $wiki, $this->getLanguage()->commaList(
$wgConfigureWikis ), count( $wgConfigureWikis ) ) );
return;
}
}
@@ -306,7 +306,7 @@
* Show "you are editing old version" message
*/
protected function showOldVersionMessage( $version ) {
- $lang = $this->getLang();
+ $lang = $this->getLanguage();
$this->getOutput()->addWikiMsg( 'configure-edit-old',
$lang->timeanddate( $version ),
$lang->date( $version ),
@@ -371,7 +371,7 @@
$versions = $wgConf->getArchiveVersions( array( 'wiki' =>
$this->mWiki, 'limit' => 11 ) );
$title = $this->getTitle();
- $lang = $this->getLang();
+ $lang = $this->getLanguage();
$prev = null;
ksort( $versions ); ## Put in ascending order for now.
--
To view, visit https://gerrit.wikimedia.org/r/104393
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia5157ac1125cd1f527c987d61da834cb747c64ad
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Configure
Gerrit-Branch: master
Gerrit-Owner: Siebrand <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits