Last modified: 2013-04-02 01:48:37 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 )
You're referring to the "dismiss" feature, I assume? The site notice itself should require no JavaScript to be *shown*.
No, the notice itself is not displayed in non-script browsers. You can easily see it in any ko.wikipedia page.
Ah, I see. Looking into it.
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.
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.
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.
[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.]
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.