HomePhabricator

Allow non-text content to use HTML for transclusion.

Authored by daniel on May 10 2014, 4:30 PM.
This commit no longer exists in the repository. It may have been part of a branch which was deleted.This commit has been deleted in the repository: it is no longer reachable from any branch, tag, or ref.

Description

Allow non-text content to use HTML for transclusion.

When using a non-wikitext page as a template, the target page's
content handler can now supply raw HTML to be used for transclusion,
instead of relying on wikitext.

This disables wikitext-based transclusion per default (except for
wikitext-to-wikitext) by letting getWikitextForTransclusion() return
false. Such transclusions (e.g. JS into wikitext) are now HTML based.
To allow this, a few (ab)uses of getWikitextForTransclusion() were
removed.

This patch also changes how special page transclusion is handled by
action=expandtemplates.

Change-Id: I43c986807e2ec79e214ac4f0a6b6ddc03570566e

Details

Committed
danielAug 6 2014, 2:29 PM
ChangeId
I43c986807e2ec79e214ac4f0a6b6ddc03570566e

Commit No Longer Exists

This commit no longer exists in the repository.