Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Transclusion
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{Short description|Including one data set inside another automatically}} {{For|transclusion on Wikipedia|Help:Transclusion|selfref=true}} {{More footnotes needed|date=January 2016}} [[File:Transclusion simple.svg|right|frame|In this example, the data of file ''B'' is transcluded into the document ''A''.]] In [[computer science]], '''transclusion''' is the inclusion of part or all of an [[electronic document]] into one or more other documents by [[Reference (computer science)|reference]] via [[hypertext]]. Transclusion is usually performed when the referencing document is displayed, and is normally automatic and transparent to the end user.<ref>{{cite book |editor-last=Glushko |editor-first=Robert J. |editor-link=Robert J. Glushko |date=2013 |title=The Discipline of Organizing |location=Cambridge, Massachusetts |publisher=MIT Press |page=231 |isbn=9780262518505 }}</ref> The result of transclusion is a single integrated document made of parts assembled dynamically from separate sources, possibly stored on different computers in disparate places. Transclusion facilitates [[modular design]] (using the "[[single source of truth]]" model, whether in [[data management|data]], [[software development|code]], or [[content (media)|content]]): a [[web resource|resource]] is stored once and distributed for reuse in multiple documents. Updates or corrections to a resource are then reflected in any [[reference (computer science)|referencing]] documents. In systems where transclusion is not available, and in some situations where it is available but not desirable, substitution is often the complementary option, whereby a static copy of the "single source of truth" is integrated into the relevant document. Examples of both are provided by the ways in which they are both used in creating the content of Wikipedia, for example (see ''[[Wikipedia:Transclusion]]'' and ''[[Wikipedia:Substitution]]'' for more information). Substituted static copies introduce a different set of considerations for [[version control]] than transclusion does, but they are sometimes necessary. [[Ted Nelson]] coined the term for his 1980 nonlinear book ''[[Literary Machines]]'', but the idea of ''master copy and occurrences'' was applied 17 years before, in [[Sketchpad]]. Currently it is a common technique employed by textbook writers, where a single topic/subject needs to be discussed in multiple chapters. An advantage of this system in textbooks is that it helps data redundancy and keeps the book to a manageable size.
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)