Last modified: 2014-05-14 22:22:56 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 T13524, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 11524 - Add a system messages for categories
Add a system messages for categories
Status: NEW
Product: MediaWiki
Classification: Unclassified
Categories (Other open bugs)
All All
: Low enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
: design
Depends on:
  Show dependency treegraph
Reported: 2007-10-01 13:47 UTC by Rémi Kaupp
Modified: 2014-05-14 22:22 UTC (History)
2 users (show)

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


Description Rémi Kaupp 2007-10-01 13:47:21 UTC
Hello. On the French Wikipedia, we have added a "toolbox" for categories, seen on [[:fr:MediaWiki:Categoryarticlecount]]. It points to several tools on the toolserver as well as internal tools (eg CategoryTree).

Yet, the current use has problems :
1) when a category contains no articles but only images or subcategories, it doesn't show up (and I don't think it's a good idea to duplicate it under each header).
2) it shows up in the middle of the page, which is not very intuitive for users.

It would be more convenient to have a message like MediaWiki:Categorypagesub (pick a better name :-)) which would be displayed either under the title (top of the page) or at the bottom of the page; but I don't know which location would be best. Thanks.
Comment 1 Andre Klapper 2014-05-14 12:24:39 UTC
Hi Rémi! Sorry that nobody has taken a look at this report yet and given feedback.

(In reply to Rémi Kaupp from comment #0)
> On the French Wikipedia, we have added a "toolbox" for categories,
> seen on [[:fr:MediaWiki:Categoryarticlecount]].

Following that link I get: Cette page a été supprimée (from 2008 already).

Looks like it redirects to now. Which displays
     	Erreur d’expression : opérateur '''<''' inattendu.
for me.
Comment 2 Seb35 2014-05-14 22:22:56 UTC
(whoo, I didn’t notice this bug, although I did an action close to it.)

I guess the (1) of the initial report has been fixed a long time ago: iirc back to 2006 the messages category-files-count and category-subcat-counts didn’t exist.

The current error is only displayed on the MediaWiki: page since the Lua/template code behind is only working on category pages.

If I understand correctly the initial proposition, the idea is to create a message "MediaWiki:Category-toolbox" before or after the wikitext of the category to show some toolbox. In this case, it is simply adding an empty (by default) message system in some place in the category pages, but before or after the wikitext is a usability issue. Perhaps adding it in the top of the page would be better to allow a toolbox in float:right, since category pages usually have a few wikitext. Or adding two messages before and after the wikitext, I don’t know if the choice should be given.

See e.g.égorie:Snowboard?uselang=qqx to see the structure of a category page with all system messages displayed (this category currently has the three types of pages: subcategories, pages, files).

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