Jump to content

Manual:view.php

From mediawiki.org

Details

[edit]

The view.php maintenance script outputs article contents onto the command line in Wikitext format. Non-text content models and Special Pages are not supported.

Arguments

[edit]

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

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

Usage

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

See also

[edit]