Page MenuHomePhabricator

"Templates used on this page" should be inside a div with id
Closed, DeclinedPublic

Description

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.


Version: unspecified
Severity: normal

Details

Reference
bz2425

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 8:34 PM
bzimport set Reference to bz2425.
bzimport added a subscriber: Unknown Object (MLST).

zigger wrote:

(In reply to comment #1)
Please also add line-feeds between the list items (for the HTML source, not the
rendering).

avarab wrote:

(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?

zigger wrote:

(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.

<div class='templatesUsed'>

Seems to have already been done.