Page MenuHomePhabricator

API: Add filter by prefix for meta=allmessages
Closed, ResolvedPublic


The special page Special:AllMessages can filtered by prefix. I have not found a option for the api.


Version: 1.18.x
Severity: enhancement



Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:14 PM
bzimport set Reference to bz27182.

Non-functional patch

Patch to add a new amprefix option. In all honesty this replaces most of the uses of amfilter, including the one in the examples

Note that this patch is compiled against r83664, and is, AFAICT, broken. For context, see my comments on r81469. Once that issue is resolved this patch should work fine.


r83664 now working: marking patch as need-review. (For all the good it'll do :) )

API stuff usually gets well triaged ;)

I should get time to review properly over the weekend :)

Looks good. Minor logic tweak made (you'd inverted it which made it read a little strange)

Otherwise good, and applied in r83800. Thanks! :)