I wrote a feature at Wikimania and forgot to announce it outside that audience. It's live now on Wikimedia websites. The feature is the ability to control template inclusion by the use of <noinclude> and <includeonly> tags.
Anything between <noinclude> and </noinclude> will be processed and displayed only when the page is being viewed directly, not included. Possible applications are:
* Categorising templates * Interlanguage links to similar templates in other languages * Explanatory text about how to use the template
The converse is <includeonly>. Text between <includeonly> and </includeonly> will be processed and displayed only when the page is being included. The obvious application is:
* Adding all pages containing a given template to a category
Note that the usual update problems apply -- if you change the categories inside a template, the categories of the referring pages won't be updated until those pages are edited.
Beware of bugs: this hasn't been tested in a real wiki environment yet.
-- Tim Starling
Hello,
I was wondering if there was some way to combine many wiki pages and display them as one long page? Is there an extension that might do this? I wasn't able to find anything about it on meta-wiki, but it was difficult to know how to search for this. Or could anyone suggest where I would start looking to create this functionality?
Thanks, Andrew.
I was wondering if there was some way to combine many wiki pages and display them as one long page?
You could include the pages on one page using the template syntax:
{{Namespace:Page name}}
or
{{:Page in the main namespace}}
Angela.
Angela,
I could offer you such an extension soon (I use this since one year; it concatenates all pages where the page title matches a certain "regular expression")
Tom
Wikinaut
Angela schrieb:
I was wondering if there was some way to combine many wiki pages and display them as one long page?
You could include the pages on one page using the template syntax:
{{Namespace:Page name}}
or
{{:Page in the main namespace}}
Angela. _______________________________________________ Wikitech-l mailing list Wikitech-l@wikimedia.org http://mail.wikipedia.org/mailman/listinfo/wikitech-l
Thanks! That's much easier than I thought.
Andrew.
On Monday 22 August 2005 9:58 am, Angela wrote:
I was wondering if there was some way to combine many wiki pages and display them as one long page?
You could include the pages on one page using the template syntax:
{{Namespace:Page name}}
or
{{:Page in the main namespace}}
Angela. _______________________________________________ Wikitech-l mailing list Wikitech-l@wikimedia.org http://mail.wikipedia.org/mailman/listinfo/wikitech-l
On 22/08/05, Tim Starling t.starling@physics.unimelb.edu.au wrote:
I wrote a feature at Wikimania and forgot to announce it outside that audience. It's live now on Wikimedia websites. The feature is the ability to control template inclusion by the use of <noinclude> and <includeonly> tags.
w00t! I've added a mention of this at http://bugzilla.wikimedia.org/706 and http://bugzilla.wikimedia.org/835 which discuss exactly this kind of thing, and will play with it a bit later on [to see if I can break it ;)].
Much praise and thanks due as always!
On Tue, 23 Aug 2005, Tim Starling wrote:
I wrote a feature at Wikimania and forgot to announce it outside that audience. It's live now on Wikimedia websites. The feature is the ability to control template inclusion by the use of <noinclude> and <includeonly> tags.
The feature doesn't seem to work when the template is inserted using the subst: method. Should I report this as a bug?
Alfio
Alfio Puglisi wrote:
On Tue, 23 Aug 2005, Tim Starling wrote:
I wrote a feature at Wikimania and forgot to announce it outside that audience. It's live now on Wikimedia websites. The feature is the ability to control template inclusion by the use of <noinclude> and <includeonly> tags.
The feature doesn't seem to work when the template is inserted using the subst: method. Should I report this as a bug?
No, you should report it as a feature request, if you think it's a good idea.
-- Tim Starling
wikitech-l@lists.wikimedia.org