* (bug 26498) allow LinksUpdate with API
authorSam Reed <reedy@users.mediawiki.org>
Wed, 5 Jan 2011 03:31:51 +0000 (03:31 +0000)
committerSam Reed <reedy@users.mediawiki.org>
Wed, 5 Jan 2011 03:31:51 +0000 (03:31 +0000)
commitf0cac4fcf11a131cf6edbd2a0de8b48e97db8293
tree0ba347bbac019673231088451583feeec81b2a63
parentda31774f70790b153b01a8cfeb82e30eb7516ac1
* (bug 26498) allow LinksUpdate with API

Original patch by Umherirrender. Tweaked to take account of User->pingLimiter() (ie only update links if not limited)

Possible TODO: Error if we are limited? $this->dieUsageMsg( array( 'actionthrottledtext' ) ); seems a bit harsh

Maybe just have a linkupdate="$this->parseMsg( array( 'actionthrottledtext' ) )" in the result? Or something. Definately notification of error to some respect is needed. Just dieing and stopping the whole process is OTT?
RELEASE-NOTES
includes/api/ApiPurge.php