Last modified: 2014-11-17 10:35:08 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 T38476, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 36476 - #mw-content-text is incorrectly placed on preview
#mw-content-text is incorrectly placed on preview
Status: NEW
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
1.19
All All
: Normal normal with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-05-03 10:48 UTC by Yair Rand
Modified: 2014-11-17 10:35 UTC (History)
3 users (show)

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


Attachments

Description Yair Rand 2012-05-03 10:48:54 UTC
The id #mw-content-text, as I understand it, is normally attached to the .mw-content-ltr/rtl div so that the element directly holding the content is accessible through javascript. However, during preview, the ID is instead attached to a different element, which has #wikiPreview as a child element, which then has an ID-less (and thus inaccessible) .mw-content-ltr/rtl div holding the content. #mw-content-text should consistently be the content-holding div.
Comment 1 AlexSm 2012-05-25 20:32:00 UTC
Related issue (I think):

API action=parse does not return div.mw-content-ltr
so all "ajax preview" userscripts miss some global CSS,
one example is ".mw-content-ltr .magnify {float: right}"
for thumb images.

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


Navigation
Links