|MediaWiki file: fetchText.php|
|Source code:||master • 1.36.1 • 1.35.3 • 1.31.15|
Provide a text id (
old_id from the
text table) followed by a newline, and the script will output a string containing the following in order:
- length of text (-1 on error = failure to retrieve/unserialize/gunzip/etc)
- text (may be empty)
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).