Page MenuHomePhabricator

Fire a hook after every list rebuild
Closed, ResolvedPublic5 Estimated Story PointsFeature

Description

Hi. I ask to add a hook to be fired after every list rebuild, as in page opening or refresh, the extension refresh button click, and maybe the mark as read button click, if needed. This it to allow running gadgets and user scripts on the list content when was changed. Thanks.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript
DannyS712 set the point value for this task to 5.
IKhitron changed the subtype of this task from "Task" to "Feature Request".Feb 18 2021, 8:34 PM
DannyS712 moved this task from Unsorted to Next on the User-DannyS712 board.
DannyS712 subscribed.

Should be fairly straightforward to do with the non-Vue display version, for the Vue display it may be trickier.

Change #1237675 had a related patch set uploaded (by IKhitron; author: IKhitron):

[mediawiki/extensions/GlobalWatchlist@master] Fire a hook after the content refresh

https://gerrit.wikimedia.org/r/1237675

Test wiki created on Patch demo by IKhitron using patch(es) linked to this task:
https://750c4d946d.catalyst.wmcloud.org/w/

IKhitron changed the task status from Open to In Progress.Sun, Feb 8, 5:37 PM
IKhitron claimed this task.
IKhitron raised the priority of this task from Low to Medium.
IKhitron moved this task from Potential to Ready to review on the User-IKhitron board.

Change #1237675 merged by jenkins-bot:

[mediawiki/extensions/GlobalWatchlist@master] Fire a hook after the content refresh

https://gerrit.wikimedia.org/r/1237675

IKhitron moved this task from Ready to review to Merged on the User-IKhitron board.

Test wiki on Patch demo by IKhitron using patch(es) linked to this task was deleted:

https://750c4d946d.catalyst.wmcloud.org/w/