[Bug 22588] Templates can't detect whether they're included directly or through another page

2014-06-04 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=22588

Jackmcbarn jackmcbarn+w...@gmail.com changed:

   What|Removed |Added

 CC||jackmcbarn+w...@gmail.com

--- Comment #4 from Jackmcbarn jackmcbarn+w...@gmail.com ---
Note that Lua modules are capable of doing this, via
frame:getParent():getTitle().

-- 
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


[Bug 22588] Templates can't detect whether they're included directly or through another page

2014-04-29 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=22588

Erwin Dokter er...@darcoury.nl changed:

   What|Removed |Added

 CC||er...@darcoury.nl
  Component|General/Unknown |Templates

-- 
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


[Bug 22588] Templates can't detect whether they're included directly or through another page

2010-05-25 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=22588

Edward Rudd ur...@outoforder.cc changed:

   What|Removed |Added

 CC||ur...@outoforder.cc

--- Comment #3 from Edward Rudd ur...@outoforder.cc 2010-05-25 20:54:15 UTC 
---
I would like to be able to detect inclusion, but more specifically for
extensions.

I have an parser hook extension that attaches on to a changesignature tag,
and I need the tag to be attached to the page that contains the tag not the one
that included it.

ie.. I am creating a large policy manual and am using this extension (that I
wrote) to track acceptance of the changes by staff.  And the HR dept is wanting
to split the manual into multiple pieces to easier maintenance as well as to
track signatures per-section.  However the tag doesn't get processed until
after inclusion is done so I lose the originating page.

Right now I'm walking through the code to determine where the inclusion happens
to I can *hack in* a hook to provide me this functionality so I can modify the
changesignature tag to include the original page ID as an attribute/argument.

-- 
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


[Bug 22588] Templates can't detect whether they're included directly or through another page

2010-02-19 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=22588

Aryeh Gregor simetrical+wikib...@gmail.com changed:

   What|Removed |Added

 CC||simetrical+wikib...@gmail.c
   ||om
Summary|Unable to detect inclusion  |Templates can't detect
   ||whether they're included
   ||directly or through another
   ||page

--- Comment #1 from Aryeh Gregor simetrical+wikib...@gmail.com 2010-02-19 
19:15:25 UTC ---
Bug 835 might be relevant to your use-case.

-- 
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


[Bug 22588] Templates can't detect whether they're included directly or through another page

2010-02-19 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=22588

--- Comment #2 from JMJimmy maj...@yahoo.com 2010-02-19 19:26:20 UTC ---
It is related, though more directly related to categories which is merely an
example.  The core issue is being able to detect the difference, as you
appropriately adjusted the title to reflect, between a direct inclusion and
inclusion through another page.

-- 
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