dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b1b8b43
)
Fix Parse error: syntax error, unexpected T_LNUMBER
author
Antoine Musso
<hashar@users.mediawiki.org>
Sun, 3 Jun 2007 17:14:21 +0000
(17:14 +0000)
committer
Antoine Musso
<hashar@users.mediawiki.org>
Sun, 3 Jun 2007 17:14:21 +0000
(17:14 +0000)
maintenance/undelete.php
patch
|
blob
|
history
diff --git
a/maintenance/undelete.php
b/maintenance/undelete.php
index
659cdbf
..
f722eaf
100644
(file)
--- a/
maintenance/undelete.php
+++ b/
maintenance/undelete.php
@@
-18,11
+18,11
@@
if ( isset( $options['u'] ) ) {
if ( isset( $options['r'] ) ) {
$reason = $options['r'];
}
-$pageName = $args[0];
+$pageName =
@
$args[0];
$title = Title::newFromText( $pageName );
if ( !$title ) {
echo $usage;
- exit
1
;
+ exit
( 1 )
;
}
$wgUser = User::newFromName( $user );
$archive = new PageArchive( $title );