Last modified: 2010-01-16 10:34:05 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 T20250, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 18250 - Centralnotice.js causes (non-fatal) error in Safari 3.2.2
Centralnotice.js causes (non-fatal) error in Safari 3.2.2
Status: RESOLVED DUPLICATE of bug 19704
Product: MediaWiki extensions
Classification: Unclassified
CentralNotice (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Tomasz Finc
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-03-30 07:18 UTC by Lupo
Modified: 2010-01-16 10:34 UTC (History)
0 users

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


Attachments

Description Lupo 2009-03-30 07:18:42 UTC
Centralnotice.js creates some custom CSS definitions using a document.writeln ("\x3cstyle...").

For some reason unknown to me, this causes Safari 3.2.2 (Webkit 525.28.1) to note an error "[The HTML that caused this error was generated by a script.] <style> is not allowed inside <div>. Moving <style> into the <head>."

The error is not fatal (the Safari error message seems to indicate that Safari can deal with it), but maybe it'd be better to use appendCSS from wikibits.js to generate that CSS.
Comment 1 Lupo 2010-01-16 10:34:05 UTC

*** This bug has been marked as a duplicate of bug 19704 ***

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


Navigation
Links