dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ab5053
)
Pass a real IContextSource to ProtectedTitlesPager
author
Kunal Mehta
<legoktm@gmail.com>
Mon, 4 Aug 2014 00:29:27 +0000
(17:29 -0700)
committer
Kunal Mehta
<legoktm@gmail.com>
Mon, 4 Aug 2014 00:29:27 +0000
(17:29 -0700)
Change-Id: I4ed191bddb70bb7c0b7cc234862d5a73d1f2d0a5
includes/specials/SpecialProtectedtitles.php
patch
|
blob
|
history
diff --git
a/includes/specials/SpecialProtectedtitles.php
b/includes/specials/SpecialProtectedtitles.php
index
cb6ec3c
..
b377d0e
100644
(file)
--- 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 ) );