MediaWiki  REL1_23
importTextFile.php File Reference

Create or edit pages using the contents of a text file. More...

Go to the source code of this file.


 showHelp ()
 titleFromFilename ($filename)


 $options = array( 'help', 'nooverwrite', 'norc' )
 $optionsWithArgs = array( 'title', 'user', 'comment' )
if(count($args)< 1||isset($options['help'])) else

Detailed Description

Create or edit pages using the contents of a text file.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

Rob Church

Definition in file importTextFile.php.

Function Documentation

showHelp ( )

Definition at line 88 of file importTextFile.php.

References as, content, file, is(), options(), page, php, print, and t().

titleFromFilename (   $filename)

Definition at line 82 of file importTextFile.php.

Variable Documentation

$options = array( 'help', 'nooverwrite', 'norc' )

Definition at line 25 of file importTextFile.php.

$optionsWithArgs = array( 'title', 'user', 'comment' )

Definition at line 26 of file importTextFile.php.

if (is_file($filename)) else
Initial value:
$filename = $args[0]
if($line===false) $args
Definition: cdb.php:62

Definition at line 32 of file importTextFile.php.