Last modified: 2010-05-15 15:33:21 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 T4258, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 2258 - Category links in image upload summary field have wrong sort key
Category links in image upload summary field have wrong sort key
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
File management (Other open bugs)
1.4.x
All All
: Normal normal with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on: 73
Blocks:
  Show dependency treegraph
 
Reported: 2005-05-28 02:43 UTC by Zhen Lin
Modified: 2010-05-15 15:33 UTC (History)
0 users

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


Attachments

Description Zhen Lin 2005-05-28 02:43:51 UTC
If an image is uploaded with a category link in the summary box, and if the
category sort key is given as {{PAGENAME}}, {{PAGENAME}} resolves to Upload (as
in Special:Upload). Furthermore, if no category sort key is given, it defaults
to Special:Upload.

This causes newly-uploaded images to be sorted randomly in image category galleries.

For example, if I upload an image with the summary '[[Category:Fair use
images|{{PAGENAME}}]] [[Category:Test images]]':

mysql> SELECT * FROM categorylinks WHERE cl_from=3564;
+---------+-----------------+----------------+---------------------+
| cl_from | cl_to           | cl_sortkey     | cl_timestamp        |
+---------+-----------------+----------------+---------------------+
|    3564 | Fair_use_images | Upload         | 2005-05-28 02:38:35 |
|    3564 | Test_images     | Special:Upload | 2005-05-28 02:38:35 |
+---------+-----------------+----------------+---------------------+
Comment 1 Zhen Lin 2005-06-05 04:43:38 UTC

*** This bug has been marked as a duplicate of 73 ***
Comment 2 Brion Vibber 2005-06-05 04:54:13 UTC
This is not a duplicate of bug 73; it's a bug in the fix for bug 73.
Comment 3 Zhen Lin 2005-06-05 09:14:18 UTC
Nonetheless it has been fixed in 1.4.5. Judging by the 1.5alpha2 release notes,
that fix was related to bug 73, so I assumed it was a duplicate.
Comment 4 lɛʁi לערי ריינהארט 2005-06-05 14:12:34 UTC
bug 2327 probably relates to this
Comment 5 lɛʁi לערי ריינהארט 2006-02-09 08:14:26 UTC
This bug (about using variables in upload description with category sortkeys)
seems to be fixed. See: [[wikt:yi:image:Squares_in_quantum_representation.png]]

The page can be found at
http://yi.wiktionary.org/wiki/category:bugzilla?from=Squares&20in%20quantum%20representation
but not at
http://yi.wiktionary.org/wiki/category:bugzilla?from=T

best regards reinhardt [[user:gangleri]]

*note*
OPENed
Bug 4927: User interface should substitute "_" consistently with space (%20) in
the from= parameter

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


Navigation
Links