Manual:getText.php

From MediaWiki.org
Jump to navigation Jump to search
This page is a translated version of the page Manual:GetText.php and the translation is 50% complete.

Other languages:
Deutsch • ‎English • ‎Nederlands • ‎català • ‎español • ‎français • ‎italiano • ‎polski • ‎português • ‎português do Brasil • ‎suomi • ‎čeština • ‎македонски • ‎日本語

Detalles

Versión de MediaWiki: 1.16

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:

Uso

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.

Véase también