----- Original Message -----
From: <[email protected]>
To: <[email protected]>
Sent: Friday, December 21, 2012 2:00 PM
Subject: MediaWiki-l Digest, Vol 111, Issue 26
Send MediaWiki-l mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
or, via email, send a message with subject or body 'help' to
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of MediaWiki-l digest..."
Today's Topics:
1. Re: Parser function to test if "this" page is being
transcluded? (Al Johnson)
----------------------------------------------------------------------
Message: 1
Date: Thu, 20 Dec 2012 20:34:17 -0800 (PST)
From: Al Johnson <[email protected]>
To: "[email protected]"
<[email protected]>
Subject: Re: [MediaWiki-l] Parser function to test if "this" page is
being transcluded?
Message-ID:
<[email protected]>
Content-Type: text/plain; charset=iso-8859-1
Thanks Boris!
________________________________
From: Boris Steipe <[email protected]>
To: Al Johnson <[email protected]>
Cc: MediaWiki announcements and site admin list
<[email protected]>
Sent: Thursday, December 20, 2012 5:03 PM
Subject: Re: [MediaWiki-l] Parser function to test if "this" page is being
transcluded?
Then would something like (untested):
? {{#ifeq: {{PAGENAME}} | <your source page> | |<span
style="display:none;">}} ...
? {{#ifeq: {{PAGENAME}} | <your source page> | |</span>}}
work for you?
B.
On 2012-12-20, at 6:54 PM, Al Johnson wrote:
Yes.
From: Boris Steipe <[email protected]>
To: Al Johnson <[email protected]>; MediaWiki announcements and site
admin list <[email protected]>
Sent: Thursday, December 20, 2012 4:49 PM
Subject: Re: [MediaWiki-l] Parser function to test if "this" page is
being transcluded?
... but you realize it would be visible both in the WikiSource and the
HTML source of the page, yes?
B.
On 2012-12-20, at 6:41 PM, Al Johnson wrote:
> I know I'm asking some off-the-wall questions, but I'm trying to do
> something special.? Thanks ahead of time for your patience /^)
>
> I would like to conditionally wrap a section of a page with a <span>
> tag that sets the CSS style to hidden when that section is being
> transcluded.? So, I want the text to be transcluded, but not visible to
> the user.
>
>
> Thanks,
> Al
> _______________________________________________
> MediaWiki-l mailing list
> [email protected]
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
------------------------------
_______________________________________________
MediaWiki-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
End of MediaWiki-l Digest, Vol 111, Issue 26
********************************************
_______________________________________________
MediaWiki-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l