Manual:GetText.php: Difference between revisions
Appearance
Content deleted Content added
m dummy edit to update translation pages |
Mainframe98 (talk | contribs) mNo edit summary |
||
| Line 28: | Line 28: | ||
==See also== <!--T:8--> |
==See also== <!--T:8--> |
||
</translate> |
</translate> |
||
* {{ll|Manual: |
* {{ll|Manual:Edit.php}} |
||
[[Category:Maintenance scripts{{translation}}|Manual:GetText.php]] |
[[Category:Maintenance scripts{{translation}}|Manual:GetText.php]] |
||
Revision as of 08:12, 14 December 2016
| MediaWiki file: getText.php | |
|---|---|
| Location: | maintenance/ |
| Source code: | master • 1.46.0 • 1.45.4 • 1.43.9 |
| Classes: | GetTextMaint |
Details
| MediaWiki version: | ≥ 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, for example:
Usage
php getText.php "page title" | sed -e '...' | php edit.php "page title"
The only parameter, in addition to standard ones, is page title. If it contains whitespace, it should be enclosed in double quotes ("), as shown in example.
See also
[[Category:Maintenance scriptsTemplate:Translation|Manual:GetText.php]]