<onlyinclude> exists?

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

<onlyinclude> exists?

Jan Steinman
I'm aware of <noinclude></noinclude> (nice!)

Is there the complement hidden somewhere -- "render this wikitext  
ONLY when this page is included in another?"

I did RTFM, BNVGIG, IIT. (But Not Very Good I Guess, If It's There.)

:::: Life is a race between education and disaster. H.G. Wells ::::
:::: Jan Steinman http://www.VeggieVanGogh.com ::::


_______________________________________________
MediaWiki-l mailing list
[hidden email]
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
Reply | Threaded
Open this post in threaded view
|

Re: <onlyinclude> exists?

Rotem Liss
<includeonly>


Jan Steinman wrote:

>I'm aware of <noinclude></noinclude> (nice!)
>
>Is there the complement hidden somewhere -- "render this wikitext  
>ONLY when this page is included in another?"
>
>I did RTFM, BNVGIG, IIT. (But Not Very Good I Guess, If It's There.)
>
>:::: Life is a race between education and disaster. H.G. Wells ::::
>:::: Jan Steinman http://www.VeggieVanGogh.com ::::
>
>
>_______________________________________________
>MediaWiki-l mailing list
>[hidden email]
>http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
>
>  
>

_______________________________________________
MediaWiki-l mailing list
[hidden email]
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
Reply | Threaded
Open this post in threaded view
|

Re: <onlyinclude> exists?

Tels
Moin,

On Tuesday 11 April 2006 10:16, Rotem Liss wrote:
> <includeonly>

Cool. This means one should be able to stop templates be sorted into
categories :) Does this also work in 1.5.x or only in 1.6.x?

Best wishes,

tels


--
 Signed on Tue Apr 11 18:57:22 2006 with key 0x93B84C15.
 Visit my photo gallery at http://bloodgate.com/photos/
 PGP key on http://bloodgate.com/tels.asc or per email.

 "Spammed if you do, spammed if you don't." - Murphy's Law


_______________________________________________
MediaWiki-l mailing list
[hidden email]
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l

attachment0 (492 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: <onlyinclude> exists?

Rotem Liss
It is already done. We also can categorize the templates
(Category:Templates), and use Interwiki, and add documentation to the
templates, and examples, with <noinclude> (I do that in the Hebrew
projects). However, I don't know whether it's available also in
MediaWiki 1.5.x - you can try. I think it does, however.


Tels wrote:

>Moin,
>
>On Tuesday 11 April 2006 10:16, Rotem Liss wrote:
>  
>
>><includeonly>
>>    
>>
>
>Cool. This means one should be able to stop templates be sorted into
>categories :) Does this also work in 1.5.x or only in 1.6.x?
>
>Best wishes,
>
>tels
>
>
>  
>
>------------------------------------------------------------------------
>
>_______________________________________________
>MediaWiki-l mailing list
>[hidden email]
>http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
>  
>

_______________________________________________
MediaWiki-l mailing list
[hidden email]
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
Reply | Threaded
Open this post in threaded view
|

Re: <onlyinclude> exists?

Tels
Moin,

On Tuesday 11 April 2006 19:20, Rotem Liss wrote:
> It is already done. We also can categorize the templates
> (Category:Templates), and use Interwiki, and add documentation to the
> templates, and examples, with <noinclude> (I do that in the Hebrew
> projects).

That's an interesting idea. Thanx!

> However, I don't know whether it's available also in
> MediaWiki 1.5.x - you can try. I think it does, however.

Tried it on a 1.5.x wiki and it doesn't recognize

         <includeonly>[[Category:Foo]]</includeonly>

One more reason to update to 1.6.x :D

Best wishes,

Tels

--
 Signed on Tue Apr 11 19:22:30 2006 with key 0x93B84C15.
 Visit my photo gallery at http://bloodgate.com/photos/
 PGP key on http://bloodgate.com/tels.asc or per email.

 "Remember: If the game let's you do it, it's not cheating." -- Xarax


_______________________________________________
MediaWiki-l mailing list
[hidden email]
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l

attachment0 (492 bytes) Download Attachment