I suggest two immediate changes to the category content display:
1) That, when a category contains less than 200 pages (arbitrary number), we use a vertical display rather than a horizontal one, i.e.
Bohr, Niels Einstein, Albert Turing, Alan Zuse, Konrad
In the long term we'll want neat things like paging, splitting by letter etc. And of course the most requested feature is showing all categories and articles in subcategories on a single page (tree-view), but I won't code that one.
2) That the sorting criteria are actually used as the page title in the category display, so that [[Category:Albert Einstein|Einstein, Albert]] is rendered as such. It should be possible to override this, maybe using the syntax [[Category:Albert Einstein|:Einstein, Albert]].
Any objections?
Regards,
Erik
Erik Moeller wrote:
I suggest two immediate changes to the category content display:
- That, when a category contains less than 200 pages (arbitrary number),
we use a vertical display rather than a horizontal one, i.e.
Bohr, Niels Einstein, Albert Turing, Alan Zuse, Konrad
Good. But perhaps a 3-column display as with "All pages" could be more practical.
Ec
--- Ray Saintonge saintonge@telus.net wrote:
Erik Moeller wrote:
I suggest two immediate changes to the category content display:
- That, when a category contains less than 200 pages (arbitrary number),
we use a vertical display rather than a horizontal one, i.e.
Bohr, Niels Einstein, Albert Turing, Alan Zuse, Konrad
Good. But perhaps a 3-column display as with "All pages" could be more practical.
A similar three-column display is going to be needed very soon for Special:Categories, as we already have over 1000 categories--they are currently displayed in one long numbered list. This list will also need to be broken across many pages as time goes on.
Thanks to everyone who's created the category system. I'm grinning as I read down the list, there are some great ones already (from Aromatic hydrocarbon to Latin percussion, or Anti-heroes to Nymphs).
Fabi.
__________________________________ Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger. http://messenger.yahoo.com/
Could someone tell me what is the current status of the display problem with Categories at the top of article pages? I'm sure I'm not the first one to notice this, but on Mozilla and Opera at least, the category tag floats to the right and pushes images out into the middle of the page. It's causing some gawdawful looking results right now.
Matthew Trump wrote:
Could someone tell me what is the current status of the display problem with Categories at the top of article pages? I'm sure I'm not the first one to notice this, but on Mozilla and Opera at least, the category tag floats to the right and pushes images out into the middle of the page. It's causing some gawdawful looking results right now.
That's not actually a bug; it's just that *nothing* interacts well with right-aligned images/tables (for instance, section edit links, and other right-aligned images/tables).
The empty box has been removed for pages that have no categories, and we've babbled a bit on irc about doing something different for the category display but haven't done anything yet.
-- brion vibber (brion @ pobox.com)
Brion Vibber wrote:
That's not actually a bug;
It's a usability bug.
it's just that *nothing* interacts well with right-aligned images/tables (for instance, section edit links, and other right-aligned images/tables).
The categories shouldn't be inside the article itself; they should be moved further up a bit:
ARTICLE TITLE Categories: Foo | Bar ------------------------------------------------------------------------
Article text...
Of course, this is my opinion. Discussion is welcome.
Greetings, Timwi
Timwi wrote:
Brion Vibber wrote:
That's not actually a bug;
It's a usability bug.
it's just that *nothing* interacts well with right-aligned images/tables (for instance, section edit links, and other right-aligned images/tables).
The categories shouldn't be inside the article itself; they should be moved further up a bit:
ARTICLE TITLE Categories: Foo | Bar
Article text...
Of course, this is my opinion. Discussion is welcome.
Greetings, Timwi
I agree: this is one of the biggest problems at the moment with adding categories to articles: all their markup breaks if they have right-floating elements. An alternative solution is:
ARTICLE TITLE ------------------------------------------------------------------------ Categories: Foo | Bar ARTICLE BODY....
which is likely to scale better for long lists of categories.
Neil
Neil Harris wrote:
An alternative solution is:
ARTICLE TITLE
Categories: Foo | BarARTICLE BODY....
which is likely to scale better for long lists of categories.
The solution I had in mind does scale perfectly for long lists of categories, but I'm sorry my presentation of my idea was too incomplete to show that.
My idea was to write:
<div class="categories" style="float: right;"> Categories: Foo | Bar </div> <h1>Article title</h1> <div style="clear: both; margin: 0; padding: 0;" class="categoryclearer"> </div> Parsed article text begins here.
This will introduce a spacing between the article title and the article body *only* if the list of categories is long enough to be higher than the article title.
Timwi
I notice that the categories have now been moved to the bottom.
Why was this done in preference to my suggestion, which as far as I can see didn't receive opposition?
The way it's now it seems impossible to move it back up with just CSS. If someone can suggest a way, please do, especially if you can get it to display to the right of the article title.
Thanks, Timwi
Timwi wrote:
I notice that the categories have now been moved to the bottom. Why was this done in preference to my suggestion, which as far as I can see didn't receive opposition?
Please can whoever made this change reply to this question?
Timwi wrote:
The categories shouldn't be inside the article itself; they should be moved further up a bit:
I'd prefer they were moved to approximately where the "other languages" links currently are.
-Mark
Delirium wrote:
Timwi wrote:
The categories shouldn't be inside the article itself; they should be moved further up a bit:
I'd prefer they were moved to approximately where the "other languages" links currently are.
-Mark
Switch to cologne blue :-)
wikitech-l@lists.wikimedia.org