r80833 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r80832‎ | r80833 | r80834 >
Date:20:19, 23 January 2011
Author:btongminh
Status:ok
Tags:
Comment:
Follow-up r69233: use getDbKey() instead of getText() for special pages.
Modified paths:
  • /trunk/phase3/includes/api/ApiQuery.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/api/ApiQuery.php
@@ -430,7 +430,7 @@
431431 ApiQueryBase::addTitleInfo( $vals, $title );
432432 $vals['special'] = '';
433433 if ( $title->getNamespace() == NS_SPECIAL &&
434 - !SpecialPage::exists( $title->getText() ) ) {
 434+ !SpecialPage::exists( $title->getDbKey() ) ) {
435435 $vals['missing'] = '';
436436 } elseif ( $title->getNamespace() == NS_MEDIA &&
437437 !wfFindFile( $title ) ) {

Follow-up revisions

RevisionCommit summaryAuthorDate
r808971.17: MFT r80697, r80755, r80767, r80771, r80773, r80774, r80779, r80816, r80...catrope18:57, 24 January 2011

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r69233(bug 24185) Titles in the Media and Special namespace are now supported for t...btongminh10:46, 10 July 2010

Status & tagging log