https://bugzilla.wikimedia.org/show_bug.cgi?id=21339
Summary: Transclusion from pages built by a template
Product: MediaWiki extensions
Version: any
Platform: All
URL: http://www.bartendersdatabase.com
OS/Version: All
Status: NEW
Severity: enhancement
Priority: Normal
Component: LabeledSectionTransclusion
AssignedTo: [email protected]
ReportedBy: [email protected]
As it stands, if you have two pages, A and B...
A:
<section begin=chapter1 />this is a chapter<section end=chapter1 />
B:
{{#lst:A|chapter1}}
You will get the expected results. :)
Now suppose if you have three pages, A, B and C...
A:
<section begin=chapter1 />this is a chapter<section end=chapter1 />
B:
{{:A}}
C:
{{#lst:B|chapter1}}
This does not currently work. Page C shows nothing from Page A.
Here is just one example of why this would be handy:
Page A is a template. (Protected)
Page B is a templated article, using template Page A. This page describes a
type of wine. (Not Protected)
(Ex. Chateau Sanbeg, Chardonnay, White, $12.00, 14%)
Page C is a very similarly templated article, but described a variant of Page
B.
(Ex. Chateau Sanbeg, 2008, Chardonnay, White, $13.00, 14%)
For each wine (Page B), there could be dozens of 'vintages' or variants.
(2005,2006,2007,2008,etc)
Rather than having to type out the common elements to Page B, over and over, in
all of the numerous Page Cs, it would be great to be able to have them pulled
in from Page B. Having the section begin/end tags in Page B is inefficient and
since it is unprotected allows the possibility that it will be broken by a poor
user edit. Placing the tags directly in Page A would hide the magic under the
hood.
In effect... a double hop transclusion.
I am willing to help in any way needed to make this new feature possible.
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l