Wmat has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/150443

Change subject: Replacing deprecated wfMsg function.
......................................................................

Replacing deprecated wfMsg function.

Replaced deprecated wfMsg function with wfMessage.

Change-Id: I9fbc70adaf2e294a0d0d3a7d28a88d1218124b14
Signed-off-by: Bill Traynor <[email protected]>
---
M AccessControl.php
1 file changed, 3 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/AccessControl 
refs/changes/43/150443/1

diff --git a/AccessControl.php b/AccessControl.php
index ae577d7..5c39814 100644
--- a/AccessControl.php
+++ b/AccessControl.php
@@ -46,7 +46,7 @@
        switch ( $action ) {
                default:
                        $wgOut->setPageTitle( $article->getTitle() . "->" . 
$action );
-                       $wgOut->addWikiText( wfMsg( 
'accesscontrol-actions-deny' ));
+                       $wgOut->addWikiText( wfMessage( 
'accesscontrol-actions-deny' ));
        }
        return false;
 }
@@ -104,7 +104,7 @@
 function displayGroups() {
        /* Function replace the tag <accesscontrol> and his content, behind 
info about a protection this the page */
        $style = "<p id=\"accesscontrol\" 
style=\"text-align:center;color:#BA0000;font-size:8pt\">";
-       $text = wfMsg( 'accesscontrol-info' );
+       $text = wfMessage( 'accesscontrol-info' );
        $style_end = "</p>";
        $wgAllowInfo = $style . $text . $style_end;
        return $wgAllowInfo;
@@ -189,7 +189,7 @@
                // removing info about redirect from session after move..
                unset( $_SESSION['redirect'] );
        }
-       header( "Location: " . $wgScript . "/" . $wgSitename . ":" . wfMsg( 
$info ) );
+       header( "Location: " . $wgScript . "/" . $wgSitename . ":" . wfMessage( 
$info ) );
 }
 
 function fromTemplates( $string ) {

-- 
To view, visit https://gerrit.wikimedia.org/r/150443
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I9fbc70adaf2e294a0d0d3a7d28a88d1218124b14
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/AccessControl
Gerrit-Branch: master
Gerrit-Owner: Wmat <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to