Last modified: 2007-12-24 21:32:16 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 12332 - indirect sort key alterations
indirect sort key alterations
Status: RESOLVED WORKSFORME
Product: MediaWiki
Classification: Unclassified
Categories (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
http://bugzilla.wikimedia.org/buglist...
:
Depends on: 1119 3622
Blocks:
  Show dependency treegraph
 
Reported: 2007-12-17 06:16 UTC by lɛʁi לערי ריינהארט
Modified: 2007-12-24 21:32 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
screen dump · MediaZilla 012332 · « test.wikipedia.org » · 01.jpg (193.52 KB, image/jpeg)
2007-12-24 20:39 UTC, lɛʁi לערי ריינהארט
Details

Description lɛʁi לערי ריינהארט 2007-12-17 06:16:32 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]]
Comment 1 lɛʁi לערי ריינהארט 2007-12-24 20:39:48 UTC
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.
Comment 2 lɛʁi לערי ריינהארט 2007-12-24 21:32:16 UTC
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

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links