https://bugzilla.wikimedia.org/show_bug.cgi?id=38077

       Web browser: ---
             Bug #: 38077
           Summary: Cannot transclude a section by heading more than once
           Product: MediaWiki extensions
           Version: master
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: LabeledSectionTransclusion
        AssignedTo: [email protected]
        ReportedBy: [email protected]
    Classification: Unclassified
   Mobile Platform: ---


When transcluding content by heading (using #lsth:), a given heading can only
be transcluded one time in a given article. Subsequent transclusions will yield
a link to the article instead of the section's content.

For example, suppose I have a page named "Test" that contains this content
(using three dashes to show start/stop):

---
== Example ==
This is an example.
---

If I then create a page with the following:

---
{{#lsth:Test|Example}}
{{#lsth:Test|Example}}
---

The output I -expect- would be:

---
This is an example.
This is an example.
---

The output I -actually- receive is:

---
This is an example.
[[Test]]
---

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to