dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge "parserTests: Add parser test with filename containing single quotes"
[lhc/web/wiklou.git]
/
maintenance
/
undelete.php
diff --git
a/maintenance/undelete.php
b/maintenance/undelete.php
index
e9b2abd
..
144518e
100644
(file)
--- a/
maintenance/undelete.php
+++ b/
maintenance/undelete.php
@@
-37,7
+37,7
@@
class Undelete extends Maintenance {
$user = $this->getOption( 'user', false );
$reason = $this->getOption( 'reason', '' );
- $pageName = $this->getArg();
+ $pageName = $this->getArg(
0
);
$title = Title::newFromText( $pageName );
if ( !$title ) {