Legoktm has uploaded a new change for review.

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

Change subject: Pass a real IContextSource to ProtectedTitlesPager
......................................................................

Pass a real IContextSource to ProtectedTitlesPager

Change-Id: I4ed191bddb70bb7c0b7cc234862d5a73d1f2d0a5
---
M includes/specials/SpecialProtectedtitles.php
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/62/151562/1

diff --git a/includes/specials/SpecialProtectedtitles.php 
b/includes/specials/SpecialProtectedtitles.php
index cb6ec3c..b377d0e 100644
--- a/includes/specials/SpecialProtectedtitles.php
+++ b/includes/specials/SpecialProtectedtitles.php
@@ -50,7 +50,7 @@
                $size = $request->getIntOrNull( 'size' );
                $NS = $request->getIntOrNull( 'namespace' );
 
-               $pager = new ProtectedTitlesPager( $this, array(), $type, 
$level, $NS, $sizetype, $size );
+               $pager = new ProtectedTitlesPager( $this->getContext(), 
array(), $type, $level, $NS, $sizetype, $size );
 
                $this->getOutput()->addHTML( $this->showOptions( $NS, $type, 
$level ) );
 

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I4ed191bddb70bb7c0b7cc234862d5a73d1f2d0a5
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Legoktm <legoktm.wikipe...@gmail.com>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to