Last modified: 2005-11-30 09:23:29 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 2425 - "Templates used on this page" should be inside a div with id
"Templates used on this page" should be inside a div with id
Status: RESOLVED WORKSFORME
Product: MediaWiki
Classification: Unclassified
Interface (Other open bugs)
unspecified
All All
: Normal normal with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-06-16 12:00 UTC by Andrew Dunbar
Modified: 2005-11-30 09:23 UTC (History)
1 user (show)

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


Attachments

Description Andrew Dunbar 2005-06-16 12:00:38 UTC
Putting "Templates used on this page" inside a div with appropriate class, id, etc 
will enable hiding this section via CSS display:none for users who don't wish to see 
it.
Comment 1 Ævar Arnfjörð Bjarmason 2005-06-16 17:38:12 UTC
Taking the bug.
Comment 2 Zigger 2005-06-17 01:09:06 UTC
(In reply to comment #1)
Please also add line-feeds between the list items (for the HTML source, not the
rendering).
Comment 3 Ævar Arnfjörð Bjarmason 2005-06-17 01:37:47 UTC
(In reply to comment #2)
> (In reply to comment #1)
> Please also add line-feeds between the list items (for the HTML source, not the
> rendering).

Why?
Comment 4 Zigger 2005-06-17 02:04:13 UTC
(In reply to comment #3)
I read the (X)HTML source, to see how things are done, and sometimes to try to
check/fix MediaWiki problems.
It's much easier to read by scrolling vertically rather than horizontally.
A large part of the page source is already formatted into lines (and margins).
HTTP compression should take care of the slightly increased page size.
Tidy has had various problems, and should not be relied on to be always turned
on.  I doubt whether MediaWiki/Wikimedia even use Tidy for formatting purposes.

There are other lists that could be split into lines, such as p-nav, p-personal
and catlinks.  (See also bug 2323 for one of the worst examples.)  So this
should be generalised to a separate clean-up request later, but a simple fix for
this particular list is in the same region as the patch for this bug, and the
changes are easy to make and test together.
Comment 5 Ævar Arnfjörð Bjarmason 2005-11-30 09:22:09 UTC
Not taking the bug
Comment 6 Brion Vibber 2005-11-30 09:23:29 UTC
<div class='templatesUsed'>

Seems to have already been done.

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


Navigation
Links