r57059 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r57058‎ | r57059 | r57060 >
Date:16:55, 29 September 2009
Author:aaron
Status:ok
Tags:
Comment:
merged r57058
Modified paths:
  • /branches/wmf-deployment/extensions/FlaggedRevs (modified) (history)
  • /branches/wmf-deployment/extensions/FlaggedRevs/specialpages/OldReviewedPages_body.php (modified) (history)
  • /branches/wmf-deployment/extensions/FlaggedRevs/specialpages/UnreviewedPages_body.php (modified) (history)

Diff [purge]

Index: branches/wmf-deployment/extensions/FlaggedRevs/specialpages/UnreviewedPages_body.php
@@ -29,7 +29,7 @@
3030 $defaultNS = empty($wgFlaggedRevsNamespaces) ? 0 : $wgFlaggedRevsNamespaces[0];
3131 $namespace = $wgRequest->getIntOrNull( 'namespace', $defaultNS );
3232 $category = trim( $wgRequest->getVal( 'category' ) );
33 - $catTitle = Title::newFromText( $category );
 33+ $catTitle = Title::makeTitleSafe( NS_CATEGORY, $category );
3434 $category = is_null($catTitle) ? '' : $catTitle->getText();
3535 $level = $wgRequest->getInt( 'level' );
3636 $hideRedirs = $wgRequest->getBool( 'hideredirs', true );
Index: branches/wmf-deployment/extensions/FlaggedRevs/specialpages/OldReviewedPages_body.php
@@ -20,7 +20,7 @@
2121 $this->namespace = $wgRequest->getIntOrNull( 'namespace' );
2222 $this->level = $wgRequest->getInt( 'level', -1 );
2323 $this->category = trim( $wgRequest->getVal( 'category' ) );
24 - $catTitle = Title::newFromText( $this->category );
 24+ $catTitle = Title::makeTitleSafe( NS_CATEGORY, $this->category );
2525 $this->category = is_null($catTitle) ? '' : $catTitle->getText();
2626 $this->size = $wgRequest->getIntOrNull( 'size' );
2727 $this->watched = $wgRequest->getCheck( 'watched' );
Property changes on: branches/wmf-deployment/extensions/FlaggedRevs
___________________________________________________________________
Name: svn:mergeinfo
2828 - /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
2929 + /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

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r57058Fixed title prefix handing (bug 20878)aaron16:52, 29 September 2009

Status & tagging log