Last modified: 2014-07-30 06:40:56 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 T24489, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 22489 - DismissableSiteNotice uses document.writeln(), breaks when any page is loaded with AJAX
DismissableSiteNotice uses document.writeln(), breaks when any page is loaded...
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
DismissableSiteNotice (Other open bugs)
unspecified
All All
: Low enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-02-12 00:40 UTC by Andrew Garrett
Modified: 2014-07-30 06:40 UTC (History)
4 users (show)

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


Attachments

Description Andrew Garrett 2010-02-12 00:40:47 UTC
If a page is loaded with AJAX, the dismissablesitenotice js calls document.writeln(), which promptly replaces the entire page with the site notice. This is not really desirable :)

I'll sort this out, since it's for my live preview.
Comment 1 Kunal Mehta (Legoktm) 2014-07-30 06:40:56 UTC
This was fixed in I069f7f70c2d2a8a0f403452d6ccef82f659418af I believe.

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


Navigation
Links