Last modified: 2011-11-22 00:38:46 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 T14400, the corresponding Phabricator task for complete and up-to-date bug report information.
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...
Status: REOPENED
Product: MediaWiki
Classification: Unclassified
Templates (Other open bugs)
1.11.x
All All
: Low enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  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: ---


Attachments

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.


Navigation
Links