Last modified: 2010-05-15 15:32:54 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 T3622, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 1622 - $wgUseCategoryBrowser = true create trailing '>' and add an unwanted category
$wgUseCategoryBrowser = true create trailing '>' and add an unwanted category
Status: RESOLVED WORKSFORME
Product: MediaWiki
Classification: Unclassified
Categories (Other open bugs)
1.4.x
All All
: Normal normal (vote)
: ---
Assigned To: Antoine "hashar" Musso (WMF)
http://tousauxbalkans.free.fr/Agurida
: testme
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-03-02 20:14 UTC by iubito (Sylvain Machefert)
Modified: 2010-05-15 15:32 UTC (History)
2 users (show)

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


Attachments

Description iubito (Sylvain Machefert) 2005-03-02 20:14:40 UTC
In my settings, I set
$wgUseCategoryBrowser = true;

I get a wonderful Category Browser on my pages :)

Just a few things.

My page has [[Catégorie:Maria Tanase]] (in French).
My wiki structure could be drawn like this

root
|
+-- TODO
+-- Pays
|   |
|   +-- Grèce
|   +-- Roumanie
|       |
|       +-- Maria Tanase
|       +--...
|   +--...
+-- Danse
+-- ...

Displaying an article in "Maria Tanase" shows :

Catégories de la page: Maria Tanase
-----------------------------------
TODO > 
Pays > Roumanie > Maria Tanase >

1) There is a trailing '>' (greater than) at the end of the 
line
2) There is an unespected "TODO" line. My article is *not* in 
TODO. If the CategoryBrowser wanted to show all categories, a 
lot of them are missing (Grèce, Danse...).

[21:18] <iubito> for the $wgUseCategoryBrowser, just one thing, 
it adds a trailing '>' that is no useful... Example : 
[21:18] <iubito> Catégories de la page: Maria Tanase  
[21:18] <iubito> TODO >  
[21:18] <iubito> Pays > Roumanie > Maria Tanase > 
[21:18] <Hashar> iubito> yup that s a bug :o)
Comment 1 Antoine "hashar" Musso (WMF) 2005-03-03 13:40:19 UTC
Fixed in REL1_4 and HEAD.
Comment 2 iubito (Sylvain Machefert) 2005-04-16 21:09:20 UTC
I still have the unwanted "TODO" category. Why ?
Is this because Maria Tanase has TODO ?
Agurida is an article in Maria Tanase category, but this article has not TODO, as said on the first line ''Catégories de la page...''

All articles in Maria Tanase category behave the same.

http://tousauxbalkans.free.fr/index.php?title=Agurida

 Catégories de la page: Maria Tanase
 --------------------------------------------------------------------------------
 TODO
 Pays > Roumanie > Maria Tanase
Comment 3 iubito (Sylvain Machefert) 2005-04-17 07:41:20 UTC
It's what I guessed :
if I remove [[Catégorie:TODO]] from Maria Tanase, Agurida and other articles in Maria Tanase category don't have the TODO.
Comment 4 iubito (Sylvain Machefert) 2005-05-01 05:06:56 UTC
Ignore comments #2 and #3, it seems to be partly fixed in 1.4.2

but there is still a problem.
http://tousauxbalkans.free.fr/index.php?title=Agurida
Agurida is in category Maria Tanase

Maria Tanase is in category TODO,
and also in category Roumanie which is in category Pays

In the page I gave the URL, there is
Catégories de la page: Maria Tanase

Pays > Roumanie
TODO > Maria Tanase

That's better than what we had before, but there is a missing "Maria Tanase" in the path Pays > Roumanie > Maria Tanase
The 2nd path (TODO > Maria Tanase) is OK.
Comment 5 Antoine "hashar" Musso (WMF) 2005-06-27 00:07:39 UTC
Fixed in head. Thanks for the report.
Comment 6 Antoine "hashar" Musso (WMF) 2005-06-27 00:08:51 UTC
Forget me, wrong bug :(
Comment 7 Brion Vibber 2005-12-12 02:58:21 UTC
Is this still current?
Comment 8 iubito (Sylvain Machefert) 2005-12-12 06:34:25 UTC
Hi Brion

I don't know, I didn't upgrade to 1.5 due to a lot of little changes in my 1.4.4 code I'd lost in an upgrade...

I should try on a demo mediawiki 1.5 which has $wgUseCategoryBrowser = true

Category A
Category B is [[Category:A]]
Category C is [[Category:B]]
so we have one path A > B > C
Category B is also [[Category:D]]
so we have another path D > B > C
in 1.4.4, if Article is [[Category:C]], the category browser shows one complete path, and the other is incomplete (A > B > C and D).
If in 1.5 we have :
A > B > C and D > B > C, this bug is fixed.
If not, that's not huge, do what you want with this bug.

Is there a demo wiki using 1.5 and category browser ?
Comment 9 Chad H. 2008-12-04 19:09:14 UTC
Not sure when this was fixed, but it was at some point between 1.5 and now. WORKSFORME on trunk.

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


Navigation
Links