Last modified: 2007-12-24 21:32:16 UTC
This report tries to add a dependency structure to indirect sort key alterations. The sort key can be defined 0) as full *nonvariable* text 1) as an expression depending on variables via predefined templates as {{PAGENAME}}, {{BASEPAGENAME}}, {{FULLPAGENAME}}, {{SUBPAGENAME}} ... and other magic words from http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/includes/MagicWord.php?view=markup 2) as an expression via templates It can be altered by a) moving the page bug 001119 Page move doesn't update category link sort keys b) changing the templates which define the sort key c) deleting which define the sort key and / or d) recreating the templates which define the sort key x) other actions as bug 003622 rollback doesn't roll back category sort key ...) The membership in a category is afected by i) changes of the sort key in the page ii) changes in the (nested) templates defining the sort key iii) deletion of the page itself iv) deletion of the (nested) templates defining the sort key v) recreating of the pageitself vi) recreating of the (nested) templates defining the sort key ...) Many of the earlier bugs related to the actions mentioned above have been fixed. Some still need to be fixed or reported. Best regards Reinhardt [[usser:Gangleri]]
Created attachment 4463 [details] screen dump · MediaZilla 012332 · « test.wikipedia.org » · 01.jpg Hi! I used some of the old « nested » templates at http://test.wikipedia.org/ . http://test.wikipedia.org/wiki/Template:Sort_key calls in the « default » mode the « variant » http://test.wikipedia.org/wiki/Template:Sort_key/ It is used in many places see http://test.wikipedia.org/w/index.php?title=Special:Whatlinkshere/Template:Sort_key/&limit=500&from=0 The attachment shows how changes in one of the nested templates used in pages belonging to http://test.wikipedia.org/wiki/Category:Templates reorder *properly* when the « {{sort key}} » changes. 1) The screen dump at the top shows the category while not all pages did use the « |{{sort key}} » category membership. At that time the content of template:sort_key/ was {{{key 1|{{PAGENAME}}}}} {{{key 2|{{NSSORTORDER}}}}} 2) I modified all members of the category adding the proper « |{{sort key}} » category membership. Then the content of template:sort_key/ was changed to {{{key 2|{{NSSORTORDER}}}}} {{{key 1|{{PAGENAME}}}}} The proper result can be seen in the middle screen dump. 3) Then the content of template:sort_key/ was changed back to {{{key 1|{{PAGENAME}}}}} {{{key 2|{{NSSORTORDER}}}}} The proper result can be seen in the buttom screen dump. Best regards Reinhardt [[user:Gangleri]] P.S. I won't change the resolution of this bug to « WORKSFORME » unless it is clear if bug 003622 rollback doesn't roll back category sort key is a nonissue or not.
bug 3622 rollback doesn't roll back category sort key changed resolution to « WORKSFORME » changing resolution for the actual bug / report to « WORKSFORME » as well