Last modified: 2014-04-26 01:22:07 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 T25209, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 23209 - Wrap parser-generated contents in a standalone <div>
Wrap parser-generated contents in a standalone <div>
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
1.17.x
All All
: Low enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-04-16 11:19 UTC by Liangent
Modified: 2014-04-26 01:22 UTC (History)
1 user (show)

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


Attachments

Description Liangent 2010-04-16 11:19:31 UTC
I met this problem several times that I wanted to manipulate pure page contents with script but there was no easy way to select them (they always came together with siteSub, jump-to-nav etc).
Comment 1 Conrad Irwin 2010-04-16 11:23:42 UTC
Changing this will of course break all the scripts that currently work with this layout. 

A better fix would be to publish a javascript function somewhere that extracts the relevant parts only (or even wraps them in a dic for you).
Comment 2 Liangent 2014-04-26 01:22:07 UTC
Anyway there's already a div id="mw-content-text" now.

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


Navigation
Links