Last modified: 2011-04-14 15:13:38 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T18287, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 16287 - Changing sortkey of category using DEFAULTSORT changes category add timestamp
Changing sortkey of category using DEFAULTSORT changes category add timestamp
Status: NEW
Product: MediaWiki
Classification: Unclassified
Categories (Other open bugs)
1.13.x
All All
: Low normal with 3 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
http://en.wikinews.org/w/api.php?acti...
:
Depends on:
Blocks: 25254
  Show dependency treegraph
 
Reported: 2008-11-09 02:38 UTC by Bawolff (Brian Wolff)
Modified: 2011-04-14 15:13 UTC (History)
3 users (show)

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


Attachments

Description Bawolff (Brian Wolff) 2008-11-09 02:38:33 UTC
What's happening:
If you add {{DEFAULTSORT:foo}} to a page, the timestamp for when the category was added updates for all categories on the page

What's I thought would happen:
The timestamp only changes with the addition (or deletion and re-addition) of a category

Why I think that way/why this is a problem:
The timestamp to when the category is added is used by the DPL's on wikinews to determine what articles to display as the "latest news". Somebody recently noticed some older articles were not sorted properly (aka they started with a quote or something). Thus {{DEFAULTSORT:article name sans beginning punctuation}} was added. However, we did not want the articles from a couple months ago to be back on the top of the latest news list.

Example:
[[n:"Darfur a powder keg" says UN Head of Humanitarian Affairs]] was recently edited to add an unrelated category, and a {{DEFAULTSORT:}}key. ( http://en.wikinews.org/w/index.php?title=%22Darfur_a_powder_keg%22_says_UN_Head_of_Humanitarian_Affairs&diff=722990&oldid=633194 ) Now the article is on the top of the latest news DPLs, despite the last edit that should affect the publish category's add date was in May. According to the api ( http://en.wikinews.org/w/index.php?title=%22Darfur_a_powder_keg%22_says_UN_Head_of_Humanitarian_Affairs&diff=722990&oldid=633194 ) all the category timestamps were updated when the sortkey was changed. I don't think they should have been.


-Cheers,
Bawolff
Comment 1 Chad H. 2009-12-29 10:27:01 UTC
Cf bug 12584.

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


Navigation
Links