Handbuch:GetText.php

From mediawiki.org
This page is a translated version of the page Manual:GetText.php and the translation is 53% complete.
MediaWiki Version:
1.16

Details

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

Optionen/Argumente

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

Verwendung

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

Advanced usage

Terminal

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

Siehe auch