Last modified: 2010-01-23 01:33:51 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 T24236, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 22236 - Every edit page has a useless "page notice" when viewed in text browsers
Every edit page has a useless "page notice" when viewed in text browsers
Status: RESOLVED INVALID
Product: Wikimedia
Classification: Unclassified
General/Unknown (Other open bugs)
unspecified
All All
: Normal trivial (vote)
: ---
Assigned To: Nobody - You can work on this!
http://en.wikipedia.org/w/index.php?t...
: accessibility
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-01-23 00:55 UTC by Dan Jacobson
Modified: 2010-01-23 01:33 UTC (History)
2 users (show)

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


Attachments

Description Dan Jacobson 2010-01-23 00:55:23 UTC
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>
Comment 1 Bawolff (Brian Wolff) 2010-01-23 01:13:22 UTC
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.
Comment 2 p858snake 2010-01-23 01:16:01 UTC
Changing products/Components back, as per Bawolff's reasoning.

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


Navigation
Links