Last modified: 2013-04-02 01:48:37 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 9209 - DismissableSiteNotice relies on JavaScript to render site notice
DismissableSiteNotice relies on JavaScript to render site notice
Status: RESOLVED WONTFIX
Product: MediaWiki extensions
Classification: Unclassified
DismissableSiteNotice (Other open bugs)
unspecified
All All
: Lowest normal (vote)
: ---
Assigned To: Rob Church
http://ko.wikipedia.org/wiki/MediaWik...
: accessibility
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-03-07 12:47 UTC by jisok2
Modified: 2013-04-02 01:48 UTC (History)
4 users (show)

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


Attachments

Description jisok2 2007-03-07 12:47:20 UTC
The site notice is shown at the top of each page. This feature requires javascript.
(I asked admins to change it, and replied that they have no power to do that.
http://ko.wikipedia.org/wiki/%EC%9C%84%ED%82%A4%EB%B0%B1%EA%B3%BC:%EA%B4%80%EB%A6%AC%EC%9E%90_%EC%9A%94%EC%B2%AD/2007%EB%85%84_2%EC%9B%94#.EC.9E.90.EB.B0.94.EC.8A.A4.ED.81.AC.EB.A6.BD.ED.8A.B8_.EC.9A.94.EA.B5.AC
)
Comment 1 Rob Church 2007-03-07 12:49:28 UTC
You're referring to the "dismiss" feature, I assume? The site notice itself
should require no JavaScript to be *shown*.
Comment 2 jisok2 2007-03-07 12:55:36 UTC
No, the notice itself is not displayed in non-script browsers. You can easily
see it in any ko.wikipedia page.
Comment 3 Rob Church 2007-03-07 13:37:15 UTC
Ah, I see. Looking into it.
Comment 4 Brion Vibber 2007-03-07 23:18:22 UTC
The sitenotice is shown via JavaScript when dismissable sitenotice extension is
in use.
This is a deliberate choice, to avoid polluting search engines with the site notice.
Comment 5 Aryeh Gregor (not reading bugmail, please e-mail directly) 2007-03-08 02:33:16 UTC
That seems . . . hacky?  Why is it so important to stop searchbots from seeing it?  I guess it would 
become outdated, but so could any number of things on the page.  It seems better to let them see 
it.  It would typically be irrelevant to search results anyway, and so not really influence them.
Comment 6 Brion Vibber 2007-03-08 19:02:22 UTC
If you think adding a link to millions of pages on one of the top
sites on the web will be "irrelevant to search results", well... :)

It is a bit ugly, but it beats the alternatives for now until we completely
change how sitenotices are done.
Comment 7 Dan Jacobson 2009-08-14 19:41:56 UTC
[Before reading the above I had already prepared:]
I hereby "file suit" against the DismissableSiteNotice extension, for
violating accessibility.

On vanilla MediaWiki sites, all users always see MediaWiki:Sitenotice,
but with your extension installed, non-javascript users will never see
it!

That is because you have forgotten to add any <noscript> statements.
[After reading the above... I think you are all... OK, fine, e.g., wikia wiki sysops have no way of making a MediaWiki:Sitenotice that all users can see for certain.]
Comment 8 Kevin Israel (PleaseStand) 2013-04-02 01:48:37 UTC
Brion, you may wish to weigh in on whether the document.writeln() hack is still necessary.

I have a pending change Gerrit change #56780 that eliminates the hack for logged-in users, and it would be good to get rid of it for anons as well.

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


Navigation
Links