Manual:View.php

Category:MediaWiki code#View.php

Details

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

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

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

See also

Category:Maintenance scripts Category:Content maintenance scripts
Category:Content maintenance scripts Category:Maintenance scripts Category:MediaWiki code