r97552 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r97551
|
r97552
|
r97553
>
Date:
20:27, 19 September 2011
Author:
reedy
Status:
ok
Tags:
Comment:
Followup
r97551
, use isLocal, more dynamic!
Modified paths:
/trunk/phase3/maintenance/deleteBatch.php
(modified) (
history
)
Diff
[
purge
]
Index: trunk/phase3/maintenance/deleteBatch.php
—
—
@@ -87,7 +87,7 @@
88
88
$art = new ImagePage( $page );
89
89
$img = wfFindFile( $art->mTitle );
90
90
if ( !$img
91
- || $img instanceof ForeignDBFile || $img instanceof ForeignAPIFile
91
+ || !$img->isLocal()
92
92
|| !$img->delete( $reason ) ) {
93
93
$this->output( " FAILED to delete image file... " );
94
94
}
Follow-up revisions
Revision
Commit summary
Author
Date
r97635
1.18wmf1: MFT
r96760
,
r96765
,
r97551
,
r97552
,
r97622
catrope
15:54, 20 September 2011
r97673
REL1_18 MFT
r96760
,
r76765
,
r96810
,
r97551
,
r97552
,
r97575
,
r97607
,
r97608
,
r...
reedy
22:36, 20 September 2011
Past revisions this follows-up on
Revision
Commit summary
Author
Date
r97551
Don't try and delete ForeignAPIFile or ForeignDBFile...
reedy
20:20, 19 September 2011
Status & tagging log
22:36, 20 September 2011
Reedy
(
talk
|
contribs
)
changed the
tags
for r97552
[
removed:
1.18]
17:59, 20 September 2011
Catrope
(
talk
|
contribs
)
changed the
tags
for r97552
[
added:
1.18]
15:56, 20 September 2011
Catrope
(
talk
|
contribs
)
changed the
tags
for r97552
[
removed:
1.18wmf1]
20:30, 19 September 2011
Aaron Schulz
(
talk
|
contribs
)
changed the
status
of r97552
[
removed:
new
added:
ok]
20:28, 19 September 2011
Reedy
(
talk
|
contribs
)
changed the
tags
for r97552
[
added:
1.18wmf1]