Last modified: 2006-11-03 05:52:05 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 T2461, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 461 - Link to Special:Categories should be customisable
Link to Special:Categories should be customisable
Status: RESOLVED FIXED
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!
: patch, patch-need-review
: 489 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2004-09-12 09:22 UTC by Alan Barrett
Modified: 2006-11-03 05:52 UTC (History)
2 users (show)

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


Attachments
patch against trunk (r14404) (2.00 KB, patch)
2006-05-26 17:38 UTC, Jimmy Collins
Details

Description Alan Barrett 2004-09-12 09:22:12 UTC
When an article belongs to one or more categories, there's a box that 
contains links to the categories that this article belongs to.  The 
first item in this box is a link to [[Special:Categories|Categories]], 
and it appears that this is hard coded (at least, a search for "Special:
Categories" in [[:en:Special:Allmessages]] returned no results).

Please add a new message in the Wikimedia namespace that can be used to 
customise this link.  For example, some wikipedias might want this link 
to go to a help page or a human-edited overview of categories, instead 
of to a machine-generated list of categories.
Comment 1 Michael Keppler 2005-06-10 20:01:28 UTC
*** Bug 489 has been marked as a duplicate of this bug. ***
Comment 2 Jimmy Collins 2006-05-26 17:38:29 UTC
Created attachment 1834 [details]
patch against trunk (r14404)

Attached you will find a patch with following changes:

1) Link [[Special:Categories]] in Skin.php is now set by a message
'categorybarlink' and thereby customizable in [[Special:Allmessages]] if
wanted.

2) The message 'categories' until now was twice used by Skin.php (see above)
and [[Special:Categories]] (displayed as page title). Now it is possible to
localize it better then before because there are no more dependencies. When
changed to "All categories" f.e. it is analogue to 'allpages' (All pages) and
looks better in the list on [[Special:Specialpages]].

This patch introduces the following new messages:
'categorybartext' (cloned from 'categories')
'categorybarlink' (should be localized only by Special:Allmessages)
'categorybar'	  (should not be localized)
Comment 3 JePe 2006-10-30 14:09:18 UTC
I changed the priority to 'High', because this is an important issue for several
years, and there is already a patch made some months ago.

On category pages in big wikis it is linking to a page with only the first 50
categories from thousands of categories. So most visitors are directed to a
useless page when they are searching for other categories. 

In my opinion the best page to link it to is the root category. On most wikis
you can find there an index and other info about the category system.
Comment 4 Aryeh Gregor (not reading bugmail, please e-mail directly) 2006-11-03 05:52:05 UTC
Fixed in r17370.

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


Navigation
Links