Page MenuHomePhabricator

API:Purge - forcerecursivelinkupdate not reflected in API response
Closed, DeclinedPublic

Description

The forcerecursivelinkupdate parameter is not reflected in the API response for the Purge module.

It is also (to me) unclear whether it actually triggers a cascading link table update since the job queue remains largely unchanged (even for high use templates).

To reproduce:
0) Log-in

  1. go to https://commons.wikimedia.org/w/api.php?action=purge&format=json&forcelinkupdate=&forcerecursivelinkupdate=&titles=Template%3AWLPA-se (Low use template)

Returned: {"purge":[{"ns":10,"title":"Template:WLPA-se","purged":"","linkupdate":""}]}
Expected: {"purge":[{"ns":10,"title":"Template:WLPA-se","purged":"","linkupdate":"","recursivelinkupdate":""}]}


Version: 1.23.0
Severity: normal

Details

Reference
bz60330

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 2:55 AM
bzimport set Reference to bz60330.
bzimport added a subscriber: Unknown Object (MLST).

If "linkupdate" appears in the result then the forcerecursivelinkupdate will have been passed to the links update job, and the API has no way of knowing anything beyond that. I don't see the point of adding yet another flag to the result.

Due to the way links update jobs work, there will not be a large effect on the job queue.