[Mediawiki-l] Include LocalSettings.php from external PHP script?

Chad innocentkiller at gmail.com
Tue Jun 29 17:56:39 UTC 2010


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 at 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 at lists.wikimed...


More information about the MediaWiki-l mailing list