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

           Summary: Unable to detect inclusion
           Product: MediaWiki
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: General/Unknown
        AssignedTo: wikibugs-l@lists.wikimedia.org
        ReportedBy: maj...@yahoo.com


In specific use cases there is currently no way to detect the following:

ArticleA contains this code:

{{TemplateX}}

ArticleB contains this code:

{{:ArticleA}}

TemplateX is unable to detect when it is being included in ArticleB.

Why this is a problem:
In several scenarios you want something to automatically occur when TemplateX
is used, by example: Adding a page to a specific category.  This is often not
the desired result on composite pages like ArticleB that want to display the
content of ArticleA but not necessarily use all the features related to it. 
Because of the include flow the only means to modify TemplateX's behaviour on
the two separate pages would be to detect when {{: is being used.  There is
currently no mechanism for that.

-- 
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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to