See
https://m.mediawiki.org/wiki/API:Calling_internally or just call
WikiPage::doEditContent() directly
--
Brian
On Tuesday, May 29, 2018, George, Garrett J. (JSC-CB111)[SGT, INC] <
garrett.j.george(a)nasa.gov> wrote:
Hey all,
I'm currently building an api module to act as a pseudo backend for and
standalone application and I'm trying to call the api for editing pages. I
could use the cURL PHP library to make an HTTP request but that seems silly
given that the extension's PHP is already being run within wiki. I know
with Cargo I could do something like "CargoQuery::run(...)" but in the case
of MW's default "api.php" I'm unsure of how to do it.
Thanks,
Garrett
_______________________________________________
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l