Manual:fetchText.php
From MediaWiki.org
MediaWiki File: fetchText.php | |
---|---|
Location: | maintenance/ |
Source code: | master • 1.22.5 • 1.21.8 |
Classes: | FetchText |
fetchText.php is an interactive MediaWiki maintenance script used to fetch a particular revision text from an old_id.
Enter a text id to the command line followed by a newline, and it 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)
Note that that the text string itself is *not* followed by newline.
You can exit from the script typing Ctrl-C
.
See also[edit | edit source]
Language: | English |
---|