Manual:GetText.php/ja

MediaWiki バージョン:
1.16
Category:MediaWiki code/ja#GetText.php

詳細

getText.php file is a maintenance script that outputs content of a given page (wikitext) to stdout. スクリプト作成に使えます。

オプション/引数

オプション/引数 説明 必須かどうか
<title>ページ名必須
--revision版 ID省略可能
--show-privateShow the text even if it's not available to the public省略可能

使用法

php maintenance/run.php getText <title> [ --revision| --show-private ]
Terminal
MediaWiki バージョン 1.39.12 以前では、メンテナンス スクリプトを php maintenance/run.php scriptName ではなく php maintenance/scriptName.php を使用して実行する必要があります。

高度な使用法

Terminal

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

関連項目

Category:Maintenance scripts/ja Category:Content maintenance scripts/ja
Category:Content maintenance scripts/ja Category:Maintenance scripts/ja Category:MediaWiki code/ja