Manual:getText.php

MediaWiki version:
1.16


DetailsEdit

getText.php file is a maintenance script that outputs content of a given page (wikitext) to stdout. It could be used for scripting.

Options/ArgumentsEdit

Option/Argument Description Required?
<title> Page title Required
--revision Revision ID Optional
--show-private Show the text even if it's not available to the public Optional

UsageEdit

php maintenance/getText.php <title> [ --revision| --show-private ]
Terminal

Advanced usageEdit

Terminal

If page title contains whitespace, it should be enclosed in double quotes ("), as shown in example.

See alsoEdit