Last modified: 2014-11-17 10:34:46 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 T7346, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 5346 - make category redirects appear as italics or different colored links
make category redirects appear as italics or different colored links
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Categories (Other open bugs)
unspecified
All All
: High major with 7 votes (vote)
: ---
Assigned To: Bawolff (Brian Wolff)
:
: 13241 (view as bug list)
Depends on:
Blocks: 166
  Show dependency treegraph
 
Reported: 2006-03-25 00:06 UTC by brianna.laugher
Modified: 2014-11-17 10:34 UTC (History)
9 users (show)

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


Attachments

Description brianna.laugher 2006-03-25 00:06:46 UTC
(Note that if 3311 is solved, this won't be necessary.)

It would be useful if, when putting an item in a category, if that category was
a {{category redirect}} then it appeared as a different-coloured link, for
example green. This would alert the user that something wasn't quite right with
it, and when they followed the link they would soon find what the correct
category should be and be able to fix it.

For an example see http://commons.wikimedia.org/wiki/Category:Protein . From the
upload page, category redirects look the same as categories (both blue links),
which is a bit misleading. 

Thanks!
Comment 1 Rob Church 2006-04-01 23:01:04 UTC
...of course, it would make even more sense if MediaWiki followed the redirect
when saving the categorisation, and did a silent replacement. ;-)
Comment 2 Jakob Voss 2006-04-09 15:46:01 UTC
The solution I suggested in #3311 would also help.
Comment 3 Max Semenik 2008-07-12 12:45:09 UTC
*** Bug 13241 has been marked as a duplicate of this bug. ***
Comment 4 Bawolff (Brian Wolff) 2011-01-20 00:11:49 UTC
As an aside, the following css will work
#catlinks a.mw-redirect {color: green}
Comment 5 Bawolff (Brian Wolff) 2011-01-21 00:57:53 UTC
Thinking about this, well making redirects green would be kind of cool, it'd only make sense if all redirects were green, and that'd be a pretty major UI change.

Maybe instead of doing that, we should make redirect categories be italic in the list at the bottom of the page. This would fit in with our redirects in system-generated lists (Category pages, prefixindex, and special:allpages) are italic. Thoughts?
Comment 6 Rd232 2012-04-17 15:20:37 UTC
Italics sounds good to me. It's easy to do. With the new rapid deployment cycle, can we have this done, please?
Comment 7 Timeshifter 2012-12-27 07:55:07 UTC
This is a major problem on the Commons. For years. With millions of files the Commons needs all the help it can get in categorization, especially from the initial uploaders. 

Files are constantly being categorized in redirected categories. Because of this people often categorize poorly, and use the most general category instead of looking deeper for subcategories.

Those people doing this have no easy way of knowing that they have done this. The redirected category link at the bottom of the file page looks blue, the same as regular category links. 

If people knew they were categorizing incorrectly they would search for a more apt category. This would help the Commons tremendously because most categorization is done at the initial upload. 

As the Commons gets bigger and bigger it necessarily uses more and more category redirects. We are not trying to get rid of redirects. On the contrary, we need a lot more. Redirects are essential. See "Don't delete redirects" on meta:
*[[meta:Don't delete redirects]]
*http://meta.wikimedia.org/wiki/Don%27t_delete_redirects 

Redirects make categorization easier. When people use search or HotCat they see redirects too, and thus are able to categorize even if their English comprehension is not at the level of a native speaker. But people need to know when they are done that they are using a redirect, and may want to look further for a better category, subcategory, etc.. 

As for HotCat it shows redirects along with the actual category names. This is a good thing. But HotCat automatically resolves the redirect to the correct category name upon saving the category addition. See [[commons:Help:Gadget-HotCat]]. But that does not help most people in the initial categorization since most people doing uploads do not use HotCat. 

There are bots that help with some automatic moving of files from redirected categories to the correct category. But that does not help get deeper, better initial categorization into better categories, subcategories, etc.. 

By the way, this request does not depend on bug 3311 for automatic category redirects. That is a separate issue. Automatic category redirects are not necessarily a good thing in this case. Searching for more apt categories and subcategories for files is what is important. Automatic category redirects do not necessarily go to the best category for a file on the Commons.
Comment 8 Bawolff (Brian Wolff) 2012-12-27 09:16:11 UTC
(In reply to comment #6)
> Italics sounds good to me. It's easy to do. With the new rapid deployment
> cycle, can we have this done, please?

Note, an admin can do this right now on commons if they want. Add the following to MediaWiki:Common.css:


.catlinks a.mw-redirect { font-style: italic }


Of course, this only works if the category has a #Redirect[[foo]] on it. The commons category redirect template won't work since its not a real redirect.
Comment 9 Bawolff (Brian Wolff) 2012-12-27 09:30:58 UTC
Gerrit change #40781 (That just puts the css i mentioned in comment 8 in MW's default css files)
Comment 10 Russell Blau 2012-12-28 12:03:01 UTC
(In reply to comment #8)
> (In reply to comment #6)
> > Italics sounds good to me. It's easy to do. With the new rapid deployment
> > cycle, can we have this done, please?
> 
> Note, an admin can do this right now on commons if they want. Add the
> following
> to MediaWiki:Common.css:
> 
> 
> .catlinks a.mw-redirect { font-style: italic }
> 
> 
> Of course, this only works if the category has a #Redirect[[foo]] on it. The
> commons category redirect template won't work since its not a real redirect.

__All__ category redirects are soft redirects, so this change will accomplish exactly nothing.
Comment 11 Timeshifter 2012-12-28 13:12:13 UTC
(In reply to comment #10)

> __All__ category redirects are soft redirects, so this change will accomplish
> exactly nothing.

This change will effect all MediaWiki installations, not just the Wikimedia Commons. The Commons method of using soft redirects 
[[(commons:Template:Category redirect]] is opposed by many people, and may possibly change to hard redirects: #REDIRECT

See: [[User_talk:RussBot#Hard_redirects_of_category_names]]

Russbot periodically moves files from redirected categories on the Commons to the correct category. See: 
[[commons:User:RussBot]]

R'n'B writes: "If there were a consensus to use hard redirects, the bot could handle that (with some work to adapt it)." R'n'B is talking about RussBot. That page says "This bot will periodically clean out 
[[commons:Category:Non-empty category redirects]] by moving the contents of redirected categories into their corresponding new categories." 

There really is no remaining good reason to use soft redirects on the Commons. They only confuse people. Soft redirects do not automatically transfer people to the correct link. This is confusing to people using the Commons, especially to non-native speakers of English, or those who speak no English at all. 

Italics for redirected category links helps facilitate the use of hard redirects which automatically transfer one to the correct link. If hard redirects are used the italics will help people realize they are trying to categorize files into nonexistent redirect categories. See my previous comment for why this is important.
Comment 12 Timeshifter 2012-12-28 13:24:29 UTC
Oops. I wish we could convert Bugzilla commenting method to using editable MediaWiki pages. Corrected links:
[[commons:Template:Category redirect]]
[[commons:User_talk:RussBot#Hard_redirects_of_category_names]]

By the way, there is further discussion about redirects here:
[[commons:Commons:Administrators' noticeboard]]
Comment 13 Bawolff (Brian Wolff) 2012-12-29 08:20:23 UTC
Note, even with hard redirects, you can still add explanatory templates underneath if you so desire.

>[[commons:Commons:Administrators' noticeboard]]
Yeah linking is borked (in a scary way when it comes to apostrophes). for url: https://commons.wikimedia.org/wiki/Commons:Administrators'_Noticeboard#Why_aren.27t_we_using_simple_category_redirects.3F_.23REDIRECT
Comment 14 Timeshifter 2013-01-12 13:03:19 UTC
Discussion continues here: 
[[commons:Commons:Requests for comment/Hard category redirects REDIRECT]]

As I figure it out I have been adding info on how to add links in Bugzilla threads here:
[[Wikipedia:Bug reports and feature requests]] - currently the relevant section is named "Links from within Bugzilla".
Comment 15 Nemo 2013-01-31 21:20:35 UTC
Merged by Nikerabbit.

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


Navigation
Links