Last modified: 2009-07-30 23:41:33 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 T16287, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 14287 - Allow sorting articles by date instead of alphabetical sorting (on Polish Wikinews, when available)
Allow sorting articles by date instead of alphabetical sorting (on Polish Wik...
Status: RESOLVED DUPLICATE of bug 1289
Product: MediaWiki
Classification: Unclassified
Categories (Other open bugs)
unspecified
All All
: Normal enhancement with 3 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-05-27 08:46 UTC by Piotr Kubowicz
Modified: 2009-07-30 23:41 UTC (History)
3 users (show)

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


Attachments

Description Piotr Kubowicz 2008-05-27 08:46:43 UTC
Community of Polish Wikinews finds current MediaWiki organisation of articles in category not applicable to Wikinews: users are completely not interested in browsing articles by title; readers of news services are accustomed to articles organized by date. What we would like to have is making all articles from main namespace being sorted by creation date (newest first) in categories; it can be an option or can well be default behaviour, as we don't need alphabetical sorting beyond Wikinews:, Portal: and similar namespaces. Please note that we need ordering by _creation_ (first edit) date, not last edit date.

Current DynamicPageList extension cannot be true solution here from a number of reasons: it shows articles sorted by last edit date (making it hardly useful, because even old articles can be always modified, in example by CommonsDelinker, an appear on the very top). It shows only limited number of articles. There are rumours that this extension causes server performance problems. Finally, there is a need of manual intervention to add DPL to a category.  If Wikinews is to compete with modern news services, using "tags" (which make browsing articles much easier), it cannot rely on DPL, because there is not enough people to add DPL everywhere.
Comment 1 Robert Leverington 2008-05-27 10:49:07 UTC
Such functionality does not exist, it would need to be programmed. Changed summary slightly to clarify.
Comment 2 Chad H. 2008-05-28 14:01:09 UTC
What if a new Magic word were implemented. Similar to {{DISPLAYTITLE:New Title}}, what if we had a {{SORTCATEGORY:Date/Title/Etc}}?
Comment 3 Piotr Kubowicz 2008-05-28 18:26:07 UTC
As I have written above: we are not interested in manual intervention to fix sorting in category. This is a complete waste of time, we have too few people and to many categories to do this (and there will always come new categories). Actually we don't need alphabetical sorting at all, so the best solution would be to make sorting by date default.
Comment 4 Chad H. 2008-05-28 18:36:18 UTC
Why would changing the default behavior of categories solely to help Wikinews be a good idea?
Comment 5 Piotr Kubowicz 2008-05-28 18:54:54 UTC
I'm talking only about _Polish_ _Wikinews_. Every single wiki has its own code and separate part of database. It is technically possible that Polish Wikinews had completely different handling of categories than for example English Wikinews. Making consensus between various projects requires lots of effort so I am writing here only on behalf of Polish Wikinews, because this way we don't need to wait for anyone. If other Wikinews versions found this feature useful, they would have the possibility to ask for the same modification for them.
Comment 6 Chad H. 2008-05-28 19:14:57 UTC
No, the code is identical across all projects. Forking the code just to enact a minor tweak like this for a single project wouldn't be smart. A global config value ($wgCategorySortType) or a per-category magic work (as I suggested above) would be the two ways to properly implement this.
Comment 7 Brion Vibber 2008-05-28 20:50:04 UTC
A magic word _on the category page_ to switch sort modes might do the trick.

Date sorting is available internally in the DB (as used by dynamicpagelist), so in theory at list it wouldn't be insanely hard to make such a view change possible.
Comment 8 Bawolff (Brian Wolff) 2009-01-30 22:58:48 UTC
This sounds similar to bug 1289
Comment 9 Chad H. 2009-07-30 23:41:33 UTC

*** This bug has been marked as a duplicate of bug 1289 ***

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


Navigation
Links