Last modified: 2006-02-23 03:20:21 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 100 - Redirects do not work properly with Categories
Redirects do not work properly with Categories
Status: RESOLVED DUPLICATE of bug 710
Product: MediaWiki
Classification: Unclassified
Redirects (Other open bugs)
All All
: Normal enhancement with 4 votes (vote)
: ---
Assigned To: Antoine "hashar" Musso (WMF)
: parser
: 113 (view as bug list)
Depends on:
  Show dependency treegraph
Reported: 2004-08-16 06:01 UTC by Timwi
Modified: 2006-02-23 03:20 UTC (History)
4 users (show)

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


Description Timwi 2004-08-16 06:01:44 UTC
Originally submitted by Nobody/Anonymous - nobody  2004-05-31 13:55

The basic functionality doesn't work; see 
[[en:Category:Sports]] for example.

But there is also a more complex issue:
If Category:Sports is redirected to Category:Sport,
all the pages categorized into Category:Sports should 
be listed on page Category:Sport as if they had been 
categorized into Category:Sport in the first place.

------------------------- Additional comments ------------------------
Date: 2004-07-11 16:29
Sender: SF user ssducf

Redirects in categories to work with the normal redirect
syntax.  However, this adds the redirected category to the
target category too.  If the extrea colon is added after the
bracket, as normally done to link to a category without
putting the current article into it, then the redirect does
not work.  (There is a similar problem with category links
in the history comment.)

Also, as already mentioned, if the category is redirected,
articles can still be assigned to it, but nobody will see
them as they will not so up in the category  that is the
redirect target.
Comment 1 Addicted 2004-08-16 12:17:57 UTC
*** Bug 113 has been marked as a duplicate of this bug. ***
Comment 2 Antoine "hashar" Musso (WMF) 2004-08-21 22:41:30 UTC
Ok got it fixed in cvs. Two ways to links now:

#REDIRECT [[Category:Music]]
Will add the article to the category and redirect to it.

#REDIRECT [[:Category:Music]]
Redirect but do NOT add it to the category music.
Comment 3 JeLuF 2004-08-22 07:27:22 UTC
Only second half of bug fixed by Ashar's patch.
Pages categorized into a redirected category still do not appear in the
redirection target.

Set "severity" to "enhancement". 
Comment 4 Christopher Beland 2004-10-02 23:50:04 UTC
Perhaps this would be best solved by not allowing people to actually link
articles to redirected categories.  This could be accomplished by giving an
error message with the suggested replacement, by automatically altering the text
right as it is saved.  Alternatively, a bot could periodically clean up articles
linking to redirective categories.  -B.
Comment 5 lɛʁi לערי ריינהארט 2004-11-07 09:40:12 UTC
It is realy a complicated issue
- first not to include the the redirected category in the target one and
- seccond display the articles AND subcategories from the redirected category 
in the target one.
There are many possibilies which sould be handeled / disabeled:
- putting a colon before the category
- putting a colon xx colon before the category (as :en: for en.wikipedia)
- redirecting to another namespace
- redirecting to another project (another language, quotes, whatever else)
Regards Reinhardt
Comment 6 Kevin D. Keck 2005-01-19 00:58:09 UTC

*** This bug has been marked as a duplicate of 710 ***
Comment 7 brianna.laugher 2006-02-23 03:20:21 UTC
Is this really resolved? How should I redirect a category then?

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