Manual:getText.php

From MediaWiki.org
Jump to: navigation, search
MediaWiki version: 1.16
MediaWiki File: getText.php
Location: /maintenance/
Source code:

HEAD1.18beta1
1.18.11.17.2

Classes: None

getText.php 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.

Language: English  • Polski
Personal tools
Namespaces
Variants
Actions
Site
Support
Download
Development
Communication
Print/export
Toolbox