Manual:GetText.php

Details
getText.php file is a maint-scripts>Special:MyLanguage/Manual:Maintenance scripts|maintenance script that outputs content of a given page (wikitext) to stdout. It could be used for scripting, for example:

Usage
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.