On Tue, Feb 21, 2006 at 01:47:38PM -0500, Jay R. Ashworth wrote:
On Mon, Feb 20, 2006 at 03:52:58PM -0500, Jay R.
Ashworth wrote:
When a template containing
{{<includeonly>subst:</includeonly>PAGENAME}} is subst'ed in a page,
the name of the latter page is put in the wikitext, and similarly for
other variables.
which is precisely what I need: when someone creates a B which
transcludes A, B will contain it's own name as part of the edit link.
But it doesn't appear to be working. The created B instead includes
the uninterpreted {{<includeonly>subst:</includeonly>PAGENAME}} .
This is in 1.5.3. That help page doesn't say 1.6-only as some do; is
this a 1.6-only behavior anyway? Or am I missing something else?
As RedACE pointed out on IRC, it's <includeonly> that's version
specific, and while it's supposed to require 1.6, I'm told it will
probably work on 1.5.6, which we'll upgrade to tonight.
Spake I too soon.
The link, in my 'A' template, looks like this:
[
http://tbkinfo.net/wiki/index.php?title={{<includeonly>subst:</inc…
(edit this show)]
When I'm looking at the rendered version *of A*, I get a link with A's
edit URL:
http://tbkinfo.net/wiki/index.php?title=Template:Infobox_Show&action=ed…
If I include A in C, I get the raw text of the includeonly tags:
http://tbkinfo.net/wiki/index.php?title={{subst:NAMESPACE}}:{{subst:PAGENAM…
while I'm looking at the link on C.
TimStarling: is that the bug you thought you backported a fix for? Or
am I just screwed until 1.6?
Cheers,
-- jra
--
Jay R. Ashworth jra(a)baylink.com
Designer Baylink RFC 2100
Ashworth & Associates The Things I Think '87 e24
St Petersburg FL USA
http://baylink.pitas.com +1 727 647 1274
A: No.
Q: Should I include quotations after my message body?