https://bugzilla.wikimedia.org/show_bug.cgi?id=50275

--- Comment #10 from Brad Jorsch <bjor...@wikimedia.org> ---
(In reply to comment #9)
> Well, how standard it is, I don't know. I made this code a year ago (it
> wasn't
> so long after all) based entirely upon the official guide [1] with the help
> of
> an other page (also recommended inside the guide) [2].

The first is for calling the API from within MediaWiki, if for some reason
that's necessary. But in that case, the standard MediaWiki entry points will
have the code to clean things up properly.

The second, unfortunately, appears to have been some random guy spamming a link
to his blog.

Ideally either your script should access the API through a web request to
api.php or it should be done as a proper maintenance script.[3]


 [3]: https://www.mediawiki.org/wiki/Manual:Writing_maintenance_scripts

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to