Hard deprecate Parser::disableCache()
[lhc/web/wiklou.git] / maintenance / undelete.php
index e9b2abd..144518e 100644 (file)
@@ -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 ) {