Last modified: 2011-11-22 00:38:46 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 12400 - Expand $wgEnableScaryTranscluding to include all namespaces and make interwiki content identifiable in XHTML source
Expand $wgEnableScaryTranscluding to include all namespaces and make interwik...
Product: MediaWiki
Classification: Unclassified
Templates (Other open bugs)
All All
: Low enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2007-12-24 14:27 UTC by Voyagerfan5761 / dgw
Modified: 2011-11-22 00:38 UTC (History)
2 users (show)

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


Description Voyagerfan5761 / dgw 2007-12-24 14:27:42 UTC
Currently, enabling scary transcluding (transclusion?) only works on templates. It would be quite useful to be able to include content from another wiki, content that is not necessarily a template.

Also, it would be well if MediaWiki automatically wrapped a <div class="mw-scary-block">...</div> or something like that around material transcluded from another wiki, so it could be styled with CSS to make its origin clear.
Comment 1 Chad H. 2008-09-10 18:18:38 UTC
You can already work with non-template articles. The format is just a little weird:

{{iwprefix::Some article in mainspace}}. Not ideal, but it works.

Added class "mw-iw-transclusion" in r40707.
Comment 2 Aryeh Gregor (not reading bugmail, please e-mail directly) 2008-09-10 22:18:06 UTC
Um, doesn't this break XHTML validity for an interwiki source with unclosed HTML tags?  Like, I don't know, [[mw:Template:TalkFromMeta]].  Obviously most sites wouldn't include that specific template, but similar quite reasonable ones are easily imagined.  You can't just wrap divs around arbitrary chunks of HTML and expect it to work.
Comment 3 Chad H. 2008-09-10 23:04:33 UTC
Reverted in r40718

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