Will it be available immediately when editing ANY template, just by giving the name of a page using the template, and without having to go to a special page ?<div><br></div><div>The idea would be that we could have just before the edit comment field a field that contains the name of a page to see, and that the "Preview" button will preview that page instead of just the template page itself.</div>

<div><br></div><div>Then an edit link somewhere on a page could prefill that field with a test page name (with an edit parameter). Notably, in the Template space, it could be prefilled with the name of a "/test" subpage where it exists, otherwise it will continue to preview the main template page transcluding the /doc subpage containing the examples of usages (but generally these examples do not contain an extensive list of rendering tests for complex tests.</div>

<div><br></div><div>E.g. of a normal edit link adding the test page in parameter:</div><div><br></div><div><a href="http://commons.wikimedia.org/w/index.php?title=Template:Example&action=edit&testpage=Template:Example/test">http://commons.wikimedia.org/w/index.php?title=Template:Example&action=edit&testpage=Template:Example/test</a></div>

<div><br></div><div>And to format the edit link using Wiki syntax :</div><div><br></div><div>[{{FULLURL:Template:Example|action=edit|testpage=Template:Example/test edit]</div><div><br></div><div>In other words, no need to visit a special page, but a full integration in the standard page edit form (independantly of whever the edited page is in the Template namespace or not), using the specified (or manually entered) test page directly with the Preview button.</div>

<div><br></div><div>When editing an article in the main namespace, or a talk page, with the top "Edit" tab, no testpage would be prefilled but the testpage field would be there at the bottom of the edit form, where one could still manually enter the name of a test page (its default value would be the edited page itself, to make easy to append the name of a subpage).</div>

<div><br></div><div>When this form field is erased or contains the name of an inexistant page, its value would be replaced by the name of the currently edited page and the Preview page would refill that field and the preview page would also indicate the name of the test page it uses for rendering the preview (it should also say to the user with a warning that the name of the test page does not exist, before displaying the rest of the rendered testpage).</div>

<div><br></div><div>As well, when using the edit links above, if they don't specify the name of the testpage, or if they specify an inexistant page, the same warning would be displayed before the edit form, and the form would still be prefilled automatically with the name of the edited page as the default name of the test page.</div>

<div><br></div><div>So there's no need for a special page. The name of a test page would be present in all edit forms from any page in any namespace.</div><div class="gmail_extra"><br><div class="gmail_quote">2012/11/30 Paul Selitskas <span dir="ltr"><<a href="mailto:p.selitskas@gmail.com" target="_blank">p.selitskas@gmail.com</a>></span><br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">TemplateSandbox will go live soon!<br><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Sumana Harihareswara</b> <span dir="ltr"><<a href="mailto:sumanah@wikimedia.org" target="_blank">sumanah@wikimedia.org</a>></span><br>



Date: Fri, Nov 30, 2012 at 1:51 AM<br>Subject: Re: [Wikitech-ambassadors] Template sandbox - new feature to help you improve & make templates<br>To: Coordination of technology deployments across languages/projects <<a href="mailto:wikitech-ambassadors@lists.wikimedia.org" target="_blank">wikitech-ambassadors@lists.wikimedia.org</a>><br>



<br><br>Update: I see that TemplateSandbox is now LIVE on Meta, Commons, and<br>
the other non-Wikipedia WMF wikis!  It'll be going live to English<br>
Wikipedia on Monday 3 December and all other Wikipedias on Wednesday 5<br>
December.  Sorry for wrongly saying that it wasn't going live on most<br>
WMF sites yet.<br>
<br>
It'd be great if you could help by translating TemplateSandbox on<br>
translatewiki <a href="https://translatewiki.net/w/i.php?title=Special%3ATranslate&taction=translate&group=ext-templatesandbox&language=ru&limit=100&task=untranslated" target="_blank">https://translatewiki.net/w/i.php?title=Special%3ATranslate&taction=translate&group=ext-templatesandbox&language=ru&limit=100&task=untranslated</a><br>




and by spreading the word about this new feature to template editors<br>
in your community.  Thanks!<br>
<div><br>
Sumana Harihareswara<br>
Engineering Community Manager<br>
Wikimedia Foundation<br>
<br>
<br>
</div><div><div>On Wed, Nov 28, 2012 at 8:34 PM, Sumana Harihareswara<br>
<<a href="mailto:sumanah@wikimedia.org" target="_blank">sumanah@wikimedia.org</a>> wrote:<br>
> "TemplateSandbox" lets you preview a page with a change in a template it<br>
> uses.<br>
><br>
> At the bottom of the edit form in the Template and Module namespaces, a<br>
> new box will appear that allows you to preview other pages as they would<br>
> appear if you saved the template/module you are currently editing.<br>
> Example: try editing the sample "thank-you" template<br>
> <a href="https://www.mediawiki.org/wiki/Template:Thankyou" target="_blank">https://www.mediawiki.org/wiki/Template:Thankyou</a> .  On the edit form,<br>
> under the Save button, you'll see "Preview page with this template" --<br>
> try User_talk:Example_user .<br>
><br>
> Or, go to<br>
><br>
> <a href="https://www.mediawiki.org/wiki/Special:TemplateSandbox" target="_blank">https://www.mediawiki.org/wiki/Special:TemplateSandbox</a><br>
><br>
> and give it the "sandbox prefix" User:Sharihareswara (WMF)/sandbox and<br>
> tell it to "render page" User_talk:Example_user .  You'll see the ugly<br>
> changes I made to the template in my sandbox.<br>
><br>
> More information at<br>
> <a href="https://en.wikipedia.org/wiki/Wikipedia:VPT#New_feature_needs_testing" target="_blank">https://en.wikipedia.org/wiki/Wikipedia:VPT#New_feature_needs_testing</a> .<br>
>  You can check this out in the new version of MediaWiki, now live on<br>
> <a href="http://mediawiki.org" target="_blank">mediawiki.org</a>, but until we have more feedback and improvements we<br>
> aren't pushing it live on the other sites.<br>
><br>
> We figure this will make it easier for people to hack on templates, and<br>
> to develop new Lua templates to replace wikitext templates.<br>
><br>
> --<br>
> Sumana Harihareswara<br>
> Engineering Community Manager<br>
> Wikimedia Foundation<br>
<br>
_______________________________________________<br>
Wikitech-ambassadors mailing list<br>
<a href="mailto:Wikitech-ambassadors@lists.wikimedia.org" target="_blank">Wikitech-ambassadors@lists.wikimedia.org</a><br>
<a href="https://lists.wikimedia.org/mailman/listinfo/wikitech-ambassadors" target="_blank">https://lists.wikimedia.org/mailman/listinfo/wikitech-ambassadors</a><span class="HOEnZb"><font color="#888888"><br>
</font></span></div></div></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br>З павагай,<br>Павел Селіцкас/Pavel Selitskas<br>Wizardist @ Wikimedia projects<br><a href="mailto:p.selitskas@gmail.com" target="_blank">p.selitskas@gmail.com</a>, +375257408304<br>



Skype: p.selitskas<br>
</font></span><br>_______________________________________________<br>
Translators-l mailing list<br>
<a href="mailto:Translators-l@lists.wikimedia.org">Translators-l@lists.wikimedia.org</a><br>
<a href="https://lists.wikimedia.org/mailman/listinfo/translators-l" target="_blank">https://lists.wikimedia.org/mailman/listinfo/translators-l</a><br>
<br></blockquote></div><br></div>