Index: branches/wmf-deployment/extensions/FlaggedRevs/specialpages/UnreviewedPages_body.php |
— | — | @@ -29,7 +29,7 @@ |
30 | 30 | $defaultNS = empty($wgFlaggedRevsNamespaces) ? 0 : $wgFlaggedRevsNamespaces[0]; |
31 | 31 | $namespace = $wgRequest->getIntOrNull( 'namespace', $defaultNS ); |
32 | 32 | $category = trim( $wgRequest->getVal( 'category' ) ); |
33 | | - $catTitle = Title::newFromText( $category ); |
| 33 | + $catTitle = Title::makeTitleSafe( NS_CATEGORY, $category ); |
34 | 34 | $category = is_null($catTitle) ? '' : $catTitle->getText(); |
35 | 35 | $level = $wgRequest->getInt( 'level' ); |
36 | 36 | $hideRedirs = $wgRequest->getBool( 'hideredirs', true ); |
Index: branches/wmf-deployment/extensions/FlaggedRevs/specialpages/OldReviewedPages_body.php |
— | — | @@ -20,7 +20,7 @@ |
21 | 21 | $this->namespace = $wgRequest->getIntOrNull( 'namespace' ); |
22 | 22 | $this->level = $wgRequest->getInt( 'level', -1 ); |
23 | 23 | $this->category = trim( $wgRequest->getVal( 'category' ) ); |
24 | | - $catTitle = Title::newFromText( $this->category ); |
| 24 | + $catTitle = Title::makeTitleSafe( NS_CATEGORY, $this->category ); |
25 | 25 | $this->category = is_null($catTitle) ? '' : $catTitle->getText(); |
26 | 26 | $this->size = $wgRequest->getIntOrNull( 'size' ); |
27 | 27 | $this->watched = $wgRequest->getCheck( 'watched' ); |
Property changes on: branches/wmf-deployment/extensions/FlaggedRevs |
___________________________________________________________________ |
Name: svn:mergeinfo |
28 | 28 | - /branches/REL1_15/phase3/extensions/FlaggedRevs:51646 |
/trunk/extensions/FlaggedRevs:56207,56209,56296,56333,56355,56890,56892 |
/trunk/phase3/extensions/FlaggedRevs:56213,56215-56216,56218,56325,56334-56336,56338,56340,56343,56345,56347,56350 |
29 | 29 | + /branches/REL1_15/phase3/extensions/FlaggedRevs:51646 |
/trunk/extensions/FlaggedRevs:56207,56209,56296,56333,56355,56890,56892,56982 |
/trunk/phase3/extensions/FlaggedRevs:56213,56215-56216,56218,56325,56334-56336,56338,56340,56343,56345,56347,56350 |