Manual:GetText.php
From MediaWiki.org
MediaWiki version: | 1.16 |
MediaWiki File: getText.php | |
---|---|
Location: | maintenance/ |
Source code: | master • 1.23.6 • 1.22.13 |
Classes: | GetTextMaint |
Details[edit | edit source]
getText.php file is a maintenance script that outputs content of a given page (wikitext) to stdout. It could be used for scripting, for example:
php getText.php "page title" | sed -e '...' | php edit.php "page title"
The only parameter, in addition to standard ones, is page title. If it contains whitespace, it should be enclosed in double quotes ("), as shown in example.
External links[edit | edit source]
- GetText.php source code on MediaWiki master.