That only works if you're writing a maintenance script of course. commandLine.inc (and its parent) bail out if the sapi != cli.
-Chad
On Jun 29, 2010 10:21 AM, "Daniel Barrett" danb@vistaprint.com wrote:
What about including "maintenance/commandLine.inc"? That gives scripts access to lots of MediaWiki functionality.
DanB
_______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimed...