Jump to content

Manual:view.php

From mediawiki.org


Details

[edit]

The view.php maintenance script outputs article contents to the command line in Wikitext format.

Arguments

[edit]

view.php takes the title of the page as an argument.

Tip: Spaces inside a title must be replaced with underscores ( _ ), or use double quotation marks like "Foo Bar"

Usage

[edit]
php maintenance/run.php view pageName
Terminal
In MediaWiki version 1.39.10 and earlier, you must invoke maintenance scripts using php maintenance/scriptName.php instead of php maintenance/run.php scriptName.

See also

[edit]