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:
ee9a2dc
)
Revert "Pass a real IContextSource to ProtectedTitlesPager"
author
Legoktm
<legoktm.wikipedia@gmail.com>
Sat, 9 Aug 2014 00:29:43 +0000
(
00:29
+0000)
committer
Reedy
<reedy@wikimedia.org>
Sat, 9 Aug 2014 00:30:05 +0000
(
00:30
+0000)
Turns out the first parameter is actually supposed to be the SpecialPage instance.
This reverts commit
bfe3fb637eae69817ca9c4b1b6027a77d31a921b
.
Change-Id: I7605ef60c7ab10a3d164204620714cc68576f7e2
includes/specials/SpecialProtectedtitles.php
patch
|
blob
|
history
diff --git
a/includes/specials/SpecialProtectedtitles.php
b/includes/specials/SpecialProtectedtitles.php
index
b84540c
..
a40da87
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
->getContext()
, array(), $type, $level, $NS, $sizetype, $size );
+ $pager = new ProtectedTitlesPager( $this, array(), $type, $level, $NS, $sizetype, $size );
$this->getOutput()->addHTML( $this->showOptions( $NS, $type, $level ) );