Manual:GetText.php/ru

This page is a translated version of the page Manual:GetText.php and the translation is 7% complete.
Версия 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.

Options/Arguments

Option/Argument Description Required?
<title> Page title Обязательно
--revision Revision ID По желанию
--show-private Show the text even if it's not available to the public По желанию

Usage

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.

См. также