r22681 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r22680
|
r22681
|
r22682
>
Date:
17:14, 3 June 2007
Author:
hashar
Status:
old
Tags:
Comment:
Fix Parse error: syntax error, unexpected T_LNUMBER
Modified paths:
/trunk/phase3/maintenance/undelete.php
(modified) (
history
)
Diff
[
purge
]
Index: trunk/phase3/maintenance/undelete.php
—
—
@@ -18,11 +18,11 @@
19
19
if ( isset( $options['r'] ) ) {
20
20
$reason = $options['r'];
21
21
}
22
-$pageName = $args[0];
22
+$pageName = @$args[0];
23
23
$title = Title::newFromText( $pageName );
24
24
if ( !$title ) {
25
25
echo $usage;
26
- exit 1;
26
+ exit( 1 );
27
27
}
28
28
$wgUser = User::newFromName( $user );
29
29
$archive = new PageArchive( $title );
Follow-up revisions
Revision
Commit summary
Author
Date
r22717
Merged revisions 22667-22715 via svnmerge from...
david
20:00, 4 June 2007
Status & tagging log
15:16, 12 September 2011
Meno25
(
talk
|
contribs
)
changed the
status
of r22681
[
removed:
ok
added:
old]