Page MenuHomePhabricator

Every edit page has a useless "page notice" when viewed in text browsers
Closed, InvalidPublic

Description

For *text browsers, and Firefox when you turn off ALT V Y N (stylesheets)*,
every edit page on the English Wikipedia (and maybe other) shows a 'Page notice'.
E.g., for the above URL, it is
http://en.wikipedia.org/w/index.php?title=Template:Editnotices/Page/One_(David_Karp_novel)&action=edit&redlink=1 ... a redlink of all things!

Here's the useless HTML.
One sees it tries to hide in a "display none",
I thought that was already decided as a bad thing to do.
Just don't inject it if you don't want to splatter it into search engines and peoples text browsers, phones, etc.

												<!-- start content -->
			<div id="editnotice-area" class="editnotice-area" style="clear: both; width: 100%;"><div class="editnotice-link editnotice-redlink sysop-show accountcreator-show" style="margin: 0px 0.8em; padding: 0pt; clear: both; float: right; line-height: 1em; display: none;"> <small><a href="/w/index.php?title=Template:Editnotices/Page/One_%28David_Karp_novel%29&amp;action=edit&amp;redlink=1" class="new" title="Template:Editnotices/Page/One (David Karp novel) (page does not exist)">Page notice</a>

Version: unspecified
Severity: trivial
URL: http://en.wikipedia.org/w/index.php?title=One_%28David_Karp_novel%29&action=edit&section=0

Details

Reference
bz22236

Event Timeline

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

The html in question is generated by {{Editnotice load/core}} on wikipedia. ({{Editnotice load}} is loaded at the top of all pages (via [[MediaWiki:Editnotice-0]]), which calls the Editnotice_load/core, which generates the hidden red link.

Presumably the point of hiding like that is to show it to some users (Sysops) who can create edit-notices, while hiding from people who can't. (if thats a good idea or not is debatable)

In any case, this does not seem like a mediawiki bug, rather a wikipedia template bug, complaints should probably be brought up at [[template:Editnotice load/core]]

Suggest closing as invalid.

Changing products/Components back, as per Bawolff's reasoning.