Last modified: 2012-08-19 20:35:32 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 T40528, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 38528 - Add "templates used on this page" to MediaWiki's info action
Add "templates used on this page" to MediaWiki's info action
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
: easy
Depends on:
Blocks: 38450
  Show dependency treegraph
 
Reported: 2012-07-20 18:05 UTC by MZMcBride
Modified: 2012-08-19 20:35 UTC (History)
3 users (show)

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


Attachments

Description MZMcBride 2012-07-20 18:05:09 UTC
The "templates used on this page" list should be moved from ?action=edit, where it currently sits (far) below the edit form, to ?action=info, where it's much more logically suited.
Comment 1 MZMcBride 2012-07-22 02:43:32 UTC
This list can be incredibly long for particular titles (154 entries for "Talk:Barack Obama" at the English Wikipedia). The question becomes: does this list need to be paginated? If so, it should be moved to a separate Special page (similar to, but distinct from, Special:WhatLinksHere). If the results don't need to be paginated, the list is fine where it is, though it probably needs to be collapsed or something. It's simply overwhelming to the user.
Comment 2 Danny B. 2012-07-22 03:07:08 UTC
This list actually should stay intact on edit page, because it gives lots of useful hints to user when editing. The simpliest usecase for instance: when replacing some template, some can be missed, thus preview will notify, that it is still present. OTOH, it may be collapsible or displayed per user preference though.
Comment 3 Richard Guk 2012-07-23 02:00:30 UTC
I predict a riot if this were removed from edit pages without a prominent means for editors to reinstate it! Collapsing very long template lists would be less controversial.

On a separate point: With enwiki at present, all current templates are always listed for a fullpage edit (even without a preview). For a section edit, the templates are only listed if the section is previewed, but the listed templates comprise only those in the edited section, which is usually more helpful than looking at the list for the entire page.

Presumably it would not be worthwhile supporting section-level information, such as ?action=info&section=1. So ?action=info would not provide all the information obtainable at ?action=edit&section={secnum}.

Therefore, providing information at ?action=info should not be at the expense of existing information at ?action=edit.
Comment 4 Alex Monk 2012-07-23 02:34:37 UTC
I think it's a really, really bad idea to suddenly remove this from the edit page.
Comment 5 MZMcBride 2012-07-23 05:01:46 UTC
(In reply to comment #3)
> I predict a riot if this were removed from edit pages without a prominent means
> for editors to reinstate it! Collapsing very long template lists would be less
> controversial.

Yeah, there a few issues that are quickly getting conflated here. This is mostly my fault (sorry). This bug should only be about whether to include the list of transcluded templates at ?action=info. Whether to continue to list templates at ?action=edit (and in what way) should be the subject of other bugs.

I'm updating this bug's summary from "Move "templates used on this page" from MediaWiki's edit action to the info action" to "Add "templates used on this page" to MediaWiki's info action". Do you think listing the templates used on a specified title at ?action=info is a good idea?

> On a separate point: With enwiki at present, all current templates are always
> listed for a fullpage edit (even without a preview). For a section edit, the
> templates are only listed if the section is previewed, but the listed templates
> comprise only those in the edited section, which is usually more helpful than
> looking at the list for the entire page.

This is mostly bug 878.

> Presumably it would not be worthwhile supporting section-level information,
> such as ?action=info&section=1. So ?action=info would not provide all the
> information obtainable at ?action=edit&section={secnum}.

This should be filed as a separate bug. Implementing the ability to get info about a particular section is an interesting idea, but far outside the scope of this bug. :-)

(In reply to comment #4)
> I think it's a really, really bad idea to suddenly remove this from the edit
> page.

Do you think listing the templates used on a specified title at ?action=info is a good idea?
Comment 6 Richard Guk 2012-07-23 12:04:30 UTC
(In reply to comment #5)
> (In reply to comment #3)
> I'm updating this bug's summary from "Move "templates used on this page" from
> MediaWiki's edit action to the info action" to "Add "templates used on this
> page" to MediaWiki's info action". Do you think listing the templates used on a
> specified title at ?action=info is a good idea?

Yes.

(Thanks for refining the scope from "Move..." to "Add..." - much VPT drama avoided!)
Comment 7 Alex Monk 2012-07-23 13:13:15 UTC
(In reply to comment #5)
> (In reply to comment #4)
> > I think it's a really, really bad idea to suddenly remove this from the edit
> > page.
> 
> Do you think listing the templates used on a specified title at ?action=info is
> a good idea?

Yes, I do.
Comment 8 Sam Reed (reedy) 2012-08-19 20:35:32 UTC
https://gerrit.wikimedia.org/r/#/c/17634/ merged

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


Navigation
Links