Page MenuHomePhabricator

Coordinates template gets caught in new heading because it's invisible
Open, LowPublic

Description

Open https://en.wikipedia.org/w/index.php?title=Kokoda_Barracks&oldid=759615725&veaction=edit .
At the bottom of the page, create an External links section.
I type "External links", then I double click to make sure I select both words (or click and drag backwards), make them a heading.
I don't notice the Coord template is getting caught, as it is actually displayed elsewhere on the page (top right) but per WP:ORDER, the template is placed in articles after any navigation templates (before all Categories, including the {{Defaultsort}} template).

Now that I know what's happening, of course I see it highlighted in blue while selecting that line: on longer articles, that wouldn't happen.
(I have noticed that some pages, i.e. Berlin, seem to have comments at the end that maybe are meant to be instructions for VEditors, as they warn about the placement of certain items? Not that this seems a scalable solution.)
Reported by Kerry here.

(While filing this I stumbled on T67648, FWIW.)

Event Timeline

Deskana subscribed.

This is a legitimate bug... but aren't the coordinates not supposed to be right at the end of the article, and instead be at the top? This seems like an edge case based on that.

Top right is where it appears anyway, but (quoting myself and en.wp policy), per WP:ORDER, the template is placed in articles after any navigation templates (before all Categories, including the {{Defaultsort}} template).

Top right is where it appears anyway, but (quoting myself and en.wp policy), per WP:ORDER, the template is placed in articles after any navigation templates (before all Categories, including the {{Defaultsort}} template).

I meant that I think it's rare that it's not in the infobox, which would mean it's also rare that it's at the bottom of the article. I checked a bunch of articles that have the template on them, and almost all of them had the template in the infobox, and most of those that didn't have it in the infobox probably should've had. This is why I think this is an edge case.

matmarex subscribed.

We could probably easily display the "invisible template" placeholder for absolutely positioned templates as well.