r69683 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r69682
|
r69683
|
r69684
>
Date:
14:40, 21 July 2010
Author:
btongminh
Status:
ok
Tags:
Comment:
Follow-up
r69233
: Add existence check for NS_MEDIA titles
Modified paths:
/trunk/phase3/includes/api/ApiQuery.php
(modified) (
history
)
Diff
[
purge
]
Index: trunk/phase3/includes/api/ApiQuery.php
—
—
@@ -397,6 +397,9 @@
398
398
if ( $title->getNamespace() == NS_SPECIAL &&
399
399
!SpecialPage::exists( $title->getText() ) ) {
400
400
$vals['missing'] = '';
401
+ } elseif ( $title->getNamespace() == NS_MEDIA &&
402
+ !wfFindFile( $title ) ) {
403
+ $vals['missing'] = '';
401
404
}
402
405
$pages[$fakeId] = $vals;
403
406
}
Past revisions this follows-up on
Revision
Commit summary
Author
Date
r69233
(
bug 24185
) Titles in the Media and Special namespace are now supported for t...
btongminh
10:46, 10 July 2010
Status & tagging log
15:00, 21 July 2010
Catrope
(
talk
|
contribs
)
changed the
status
of r69683
[
removed:
new
added:
ok]