Last modified: 2011-01-25 01:43:06 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 T15234, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 13234 - An article with only hiddencats show an empy category box
An article with only hiddencats show an empy category box
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Categories (Other open bugs)
1.13.x
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
http://en.wikipedia.org/wiki/Early_ch...
: easy
: 13152 13254 13277 13278 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-03-03 16:07 UTC by Platonides
Modified: 2011-01-25 01:43 UTC (History)
9 users (show)

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


Attachments

Description Platonides 2008-03-03 16:07:43 UTC
A grey empty box (catlinks) is shown for articles with only have hidden categories.
Comment 1 Brion Vibber 2008-03-03 19:45:10 UTC
*** Bug 13152 has been marked as a duplicate of this bug. ***
Comment 2 Filip Maljkovic [Dungodung] 2008-03-05 08:43:32 UTC
*** Bug 13254 has been marked as a duplicate of this bug. ***
Comment 3 Raimond Spekking 2008-03-06 21:52:07 UTC
*** Bug 13277 has been marked as a duplicate of this bug. ***
Comment 4 Raimond Spekking 2008-03-07 05:52:20 UTC
*** Bug 13278 has been marked as a duplicate of this bug. ***
Comment 5 Aryeh Gregor (not reading bugmail, please e-mail directly) 2008-03-07 14:36:55 UTC
(From bug 13278 comment #1)
> The interface for Skin::getCategoryLinks() will have to be changed to return
> the enclosing div too, or some other marker to indicate whether it should all
> be hidden or not.  Easy but not a one- or two-line fix.

Comment 6 Andrew Garrett 2008-03-09 11:45:36 UTC
Fixed in r31731.
Comment 7 Splarka 2008-03-09 11:59:26 UTC
Note that divs id=catlinks and class=catlinks have now been merged into one for this fix.

Also note that the CSS on two skins, chick and modern, now have some duplicate and contrary definitions, for example in /skins/modern/main.css:

 .catlinks {
	border: solid 1px #bbbbbb;
	background-color: #f0f0f0;
	padding: 0.5em 0.5em 0.5em 0.5em;
	margin: 0 0 0 0;
 }
 .catlinks {
	margin: 0 0 0 0;
	padding: 0 0 0 0;
 }

The second block should probably just be removed. As should ".catlinks { margin: 0; padding: 0; }" from skins/chick/main.css


Comment 8 Lupo 2008-03-20 15:16:52 UTC
If a page contains only hidden categories, I'm no longer shown them despite having my preferences set to see them... of course I can work around this by adding .catlinks-allhidden { display:block } to my monobook.css, but it'd be better if the user preferences were taken into account up front.

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


Navigation
Links