Go to the source code of this file.
Variables | |
| $usage | |
| $optionsWithArgs = array( 'u', 'r' ) | |
| $user = 'Command line script' | |
| $reason = '' | |
| if(isset($options['u'])) if(isset($options['r'])) | $pageName = @$args[0] |
| $title = Title::newFromText( $pageName ) | |
| if(!$title) | $wgUser = User::newFromName( $user ) |
| $archive = new PageArchive( $title ) | |
Definition in file undelete.php.
| $archive = new PageArchive( $title ) |
Definition at line 34 of file undelete.php.
Referenced by UndeleteForm::showHistory(), UndeleteForm::showRevision(), and UndeleteForm::undelete().
| $optionsWithArgs = array( 'u', 'r' ) |
Definition at line 15 of file undelete.php.
Definition at line 27 of file undelete.php.
| $reason = '' |
Definition at line 19 of file undelete.php.
| $title = Title::newFromText( $pageName ) |
Definition at line 28 of file undelete.php.
| $usage |
Initial value:
<<<EOT Undelete a page Usage: php undelete.php [-u <user>] [-r <reason>] <pagename> EOT
Definition at line 9 of file undelete.php.
Referenced by userOptions::checkOpts(), ParserTest::fuzzTest(), and Preprocessor_DOM::memCheck().
| $user = 'Command line script' |
Definition at line 18 of file undelete.php.
| if (!$title) $wgUser = User::newFromName( $user ) |
Definition at line 33 of file undelete.php.
1.5.9