From: Kunal Mehta Date: Mon, 4 Aug 2014 00:29:27 +0000 (-0700) Subject: Pass a real IContextSource to ProtectedTitlesPager X-Git-Tag: 1.31.0-rc.0~14559^2~1 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22brouteur%22%2C%28%24id_rubrique%20?a=commitdiff_plain;h=bfe3fb637eae69817ca9c4b1b6027a77d31a921b;p=lhc%2Fweb%2Fwiklou.git Pass a real IContextSource to ProtectedTitlesPager Change-Id: I4ed191bddb70bb7c0b7cc234862d5a73d1f2d0a5 --- diff --git a/includes/specials/SpecialProtectedtitles.php b/includes/specials/SpecialProtectedtitles.php index cb6ec3c9f7..b377d0e866 100644 --- a/includes/specials/SpecialProtectedtitles.php +++ b/includes/specials/SpecialProtectedtitles.php @@ -50,7 +50,7 @@ class SpecialProtectedtitles extends SpecialPage { $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 ) );