Page MenuHomePhabricator

Stub tag being put in the wrong place
Closed, ResolvedPublic

Details

Reference
bz41216

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 1:02 AM
bzimport added a project: PageTriage.
bzimport set Reference to bz41216.

PageTriage puts both stub and uncategorised tags at the bottom, their relative order is still dependent on the order they are added. When both are added together the order gets wrong, https://gerrit.wikimedia.org/r/#/c/41376/ tries to fix this.

If a certain tag needs to be in a special position, this should be achieved through the 'position' parameter in the tag's definition in ext.pageTriage.defaultTagOptions.js. Relying on the order the tags is loaded is fragile and conflicts with listing the tags in alphabetical order.

Perhaps we should have a position called 'categories', for anything category related. These tags would be added immediately before the tags that are assigned the position 'bottom' (such as {{stub}}).

(In reply to comment #3)

These tags would be added immediately before the tags that are
assigned the position 'bottom' (such as {{stub}}).

But, the ordering can be still wrong. If one marks stub first and then someone else marks a page as uncategorized, the page will have uncategorized at the end.
Does this bug demand that order to be fixed too? I think that would be difficult.