Manual:FetchText.php

Details
fetchText.php file is a maintenance script to fetch a particular revision text from an. This is used by when the  option is present.

Options/Arguments
This script does not take any options or arguments as it is a interactive script.

Usage
Provide a text id ( from the  table) followed by a newline, and the script will output a string containing the following in order:


 * textid
 * length of text (-1 on error = failure to retrieve/unserialize/gunzip/etc)
 * text (may be empty)

{{terminal|text= $ php maintenance/fetchText.php 1 tt:1 755 MediaWiki has been installed.

Consult the User's Guide for information on using the wiki software.

Getting started
}}
 * Configuration settings list
 * MediaWiki FAQ
 * MediaWiki release mailing list
 * Localise MediaWiki for your language
 * Learn how to combat spam on your wiki

Since revisions can be deleted without the actual revision text being removed, this script can also return text, which is no longer associated to any revision at all (may it be a current, historic or deleted revision).