Page MenuHomePhabricator

Prepare a bot to simplify sortkeys at
Closed, DeclinedPublic


The german community would like to activate Numerical_sorting_in_categories.

A lot of articles (around 50k) are not ready for this change and have to prepared before, especially numerical sortkeys.

  • replacing ^([1-9]):+([1-9].*)$ with (1) (2)
  • replacing ^#?:+0*(0|0[^0-9].*|[1-9].*)$ with (1) -> ~16k articles
  • replacing #0*(0|0[^0-9].*|[1-9].*)$ width (1) -> ~56k articles

Assign a bot with botflag for this job.


  • create a full list with affected articles
  • prepare the bot
  • run a test at a testwiki
  • publish an announcement for the community
  • execute the job live at

Event Timeline

FNDE triaged this task as Medium priority.May 12 2017, 9:36 PM

What is the relation to Wikimedia-Hackathon-2017? Is this a "featured project"? A "proposed session"? Moving on the workboard welcome. :)

@FNDE: couldn't parts of it contributed through the pywikibot framework. Might be it could be useful for other projects too.

@FNDE: Hi! Is this task still valid and should still be open? If yes, are you still working (or still plan to work) on this task? (If you do not plan to work on this task anymore, please remove yourself as assignee (via Add Action...Assign / Claim in the dropdown menu) so in theory others could work on it.) Thanks!

This task stalled.

Execution affects a million of articles, and it requires complete re-education of thousands of article authors to acquire an entirely new methodology of article sorting specification.

Technicians who set up all these Phab Tasks looked at the partial technical aspect only, but did not consider the drastic change in procedures and workflow and community communication.

It is a full time job of twelve months to manage the entire change with all impacts, and there is no manpower for now.

Authors will not appreciate to make one change every two months and begin once again learning another change of course, it is necessary to have one new approach covering all modifications.