Page MenuHomePhabricator

Genfixes add {{DEFAULTSORT}} below categories
Closed, ResolvedPublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

  • Load [[List of Pennsylvania fire departments]] with genfixes

What happens?:

  • AWB adds {{DEFAULTSORT}} below categories

What should have happened instead?:

  • AWB should add {{DEFAULTSORT}} above categories

Software version
AWB 6.4.0.1 SVN 12974

Event Timeline

The same issue happens with [[List of Saki chapters]], but NOT with other articles such as [[List of Scandal characters]]

@GoingBatty Under T387084 we established that magic word switches such as _ _FORCETOC__ are allowed on mainspace anywhere in page. As there is no rule as to their placement we disabled defaultsort/cat sorting on pages containing such a switch. List of Pennsylvania fire departments has _ _FORCETOC__ so what are you now expecting to happen?

@Rjwilmsi - I was not expecting that a consequence of not moving magic word switches would be that {{DEFAULTSORT}} templates would be added in the wrong place.

Rjwilmsi claimed this task.

rev 12979 MetaDataSorter restriction on category sorting for magic word switches only needs to apply when then switches are after the cats