[opensuse-wiki] Templates for new pages.
Can we have template that has separated: * content that people should use, * help files * layout samples and examples. I see in the Template:Teams the same mix (mess) of all of the above, as it was in the article template in the old wiki. That makes use of template laborious erasing of not wanted content, before one can start writing. We can't use <noinclude> tag as with other templates; MultiBoilerplate doesn't honor it. One link to Help:Team_page_template that has to be erased as soon as article is ready for publishing can help, until Thomas or Christian finds time to fix the MultiBoilerplate. The other way would be to use InputBox ability to create new article from content on any page. That way we can point potential author to instructions with InputBox set to create new page. The template can be the same as it is in the MultiBoilerplate. InputBox will serve people that create article for the first time and MultiBoilerplate would be for those that know what they want. -- Regards Rajko, -- To unsubscribe, e-mail: opensuse-wiki+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-wiki+help@opensuse.org
Hello, on Sonntag, 16. Mai 2010, Rajko M. wrote:
We can't use <noinclude> tag as with other templates; MultiBoilerplate doesn't honor it. One link to Help:Team_page_template that has to be erased as soon as article is ready for publishing can help, until Thomas or Christian finds time to fix the MultiBoilerplate.
MultiBoilerplate _does_ honor <noinclude> and strips this part away. If it doesn't, please point me to the boilerplate where <noinclude> parts are not stripped, and I'll check it. OTOH, there are some cases where an exact copy might be the better option (best example: a boilerplate for templates - hint: <noinclude> sections for template documentation). I have a patch that allows that, but currently you need to list all boilerplates that should be copied without stripping <noinclude> in LocalSettings.php. That's not really useable for openSUSE with several language wikis, however changing my patch to use a third column (" | raw") in MediaWiki:MultiBoilerplate shouldn't be too hard. Regards, Christian Boltz -- Abgesehen davon, scheint in der heutigen Zeit jeder davon auszugehen, dass die Windowsbedienung jedem schon bei der Geburt mitgegeben wurde und jeder der Linux nutzt automatisch ein komplizierten Umsteigevor- gang vor sich hat. [Martin Kropfinger in suse-linux] -- To unsubscribe, e-mail: opensuse-wiki+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-wiki+help@opensuse.org
On Sunday 16 May 2010 18:56:54 Christian Boltz wrote:
Hello,
on Sonntag, 16. Mai 2010, Rajko M. wrote:
We can't use <noinclude> tag as with other templates;
MultiBoilerplate doesn't honor it. One link to Help:Team_page_template that has to be erased as soon as article is ready for publishing can help, until Thomas or Christian finds time to fix the MultiBoilerplate.
MultiBoilerplate _does_ honor <noinclude> and strips this part away. If it doesn't, please point me to the boilerplate where <noinclude> parts are not stripped, and I'll check it.
I tested yesterday and today it works the same way :) http://wiki.opensuse.org/Sandbox With {{:{{FULLPAGENAME}}/doc}} it gives link at the bottom "Sandbox/doc". http://wiki.opensuse.org/Template:Article where it should exist to present documentation, but not in Sandbox page as it is enclosed in <noiclude> tag. Second time {{{{FULLPAGENAME}}/doc}} just changes link to "Template:Sandbox/doc" which is normal.
OTOH, there are some cases where an exact copy might be the better option (best example: a boilerplate for templates - hint: <noinclude> sections for template documentation).
Maybe tag with different name, like <mbpnoiclude> ?
I have a patch that allows that, but currently you need to list all boilerplates that should be copied without stripping <noinclude> in LocalSettings.php. That's not really useable for openSUSE with several language wikis, however changing my patch to use a third column (" | raw") in MediaWiki:MultiBoilerplate shouldn't be too hard.
Regards,
Christian Boltz
-- Regards Rajko, -- To unsubscribe, e-mail: opensuse-wiki+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-wiki+help@opensuse.org
participants (2)
-
Christian Boltz
-
Rajko M.