[Bug 33614] $wgUseCategoryBrowser generates many dupes

2013-10-23 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=33614 Chad H. changed: What|Removed |Added Version|1.18.2 |1.18.x -- You are receiving this mail becau

[Bug 33614] $wgUseCategoryBrowser generates many dupes

2013-06-26 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=33614 Andre Klapper changed: What|Removed |Added Version|1.17.1 |1.18.2 -- You are receiving this mail

[Bug 33614] $wgUseCategoryBrowser generates many dupes

2012-06-20 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=33614 bal...@iupui.edu changed: What|Removed |Added CC||bal...@iupui.edu --- Comment #13 fro

[Bug 33614] $wgUseCategoryBrowser generates many dupes

2012-03-14 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=33614 --- Comment #12 from Technical_13 2012-03-14 18:12:54 UTC --- (In reply to comment #11) > preg_grep( "/" . preg_quote( wfMsgForContent( "MediaWiki:Hidden-categories" ), > "/" ) ."/", ... > > Would work, which is what I believe you were trying

[Bug 33614] $wgUseCategoryBrowser generates many dupes

2012-03-14 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=33614 --- Comment #11 from Bawolff 2012-03-14 18:00:00 UTC --- preg_grep( "/" . preg_quote( wfMsgForContent( "MediaWiki:Hidden-categories" ), "/" ) ."/", ... Would work, which is what I believe you were trying to get at (In theory anyways, I haven't

[Bug 33614] $wgUseCategoryBrowser generates many dupes

2012-03-14 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=33614 --- Comment #10 from Mark A. Hershberger 2012-03-14 17:50:21 UTC --- >$tempout = preg_grep( "/MediaWiki:Hidden-categories/", can't be used: > We can't directly incorporate your code into core MediaWiki > since there is no guarantee that

[Bug 33614] $wgUseCategoryBrowser generates many dupes

2012-03-12 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=33614 --- Comment #9 from Technical_13 2012-03-12 14:35:38 UTC --- Correct me if I am wrong, but wouldn't it be feasible to replace: $tempout = explode( "\n", $this->drawCategoryBrowser( $parenttree, $this ) ); With this: if ($wgUser->getBoolOpti

[Bug 33614] $wgUseCategoryBrowser generates many dupes

2012-03-12 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=33614 Bawolff changed: What|Removed |Added Keywords|need-review |reviewed --- Comment #8 from Bawolff 2012-0

[Bug 33614] $wgUseCategoryBrowser generates many dupes

2012-03-11 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=33614 --- Comment #7 from Ken 2012-03-12 02:49:35 UTC --- sorry, I pasted the wrong line for the "original" line. The original line is this (it does not have array_unique in it): $tempout = explode( "\n", $this->drawCategoryBrowser( $parenttree, $th

[Bug 33614] $wgUseCategoryBrowser generates many dupes

2012-03-11 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=33614 Ken changed: What|Removed |Added CC||k...@xev.net --- Comment #6 from Ken 2012-03-12

[Bug 33614] $wgUseCategoryBrowser generates many dupes

2012-03-11 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=33614 Technical_13 changed: What|Removed |Added CC||technical...@yahoo.com --- Comment #5 f

[Bug 33614] $wgUseCategoryBrowser generates many dupes

2012-01-12 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=33614 Antoine "hashar" Musso changed: What|Removed |Added CC||has...@free.fr --- Comment #4

[Bug 33614] $wgUseCategoryBrowser generates many dupes

2012-01-11 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=33614 Mark A. Hershberger changed: What|Removed |Added Priority|Unprioritized |Normal -- Configure bugmail: ht

[Bug 33614] $wgUseCategoryBrowser generates many dupes

2012-01-11 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=33614 Mark A. Hershberger changed: What|Removed |Added Keywords||need-review, patch

[Bug 33614] $wgUseCategoryBrowser generates many dupes

2012-01-09 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=33614 --- Comment #2 from steevithak 2012-01-09 22:24:30 UTC --- Upon further thought, there's still redundancy here. For example: If the page is in: A > B > C > D There's really no point in also displaying these lines: A A > B A > B > C As they

[Bug 33614] $wgUseCategoryBrowser generates many dupes

2012-01-09 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=33614 --- Comment #1 from steevithak 2012-01-09 21:08:19 UTC --- Found a fairly trivial fix for this. In Skin.php, I added an array_unique() to the explode(). the line was: $tempout = explode( "\n", $this->drawCategoryBrowser( $parenttree, $this ) )