[Translators-l] Fwd: [Wikitech-ambassadors] Template sandbox - new feature to help you improve & make templates

Philippe Verdy verdy_p at wanadoo.fr
Fri Nov 30 11:02:17 UTC 2012


In other words here here how it should appear in the edit form:

Modification de Template:Example

[image: Texte gras][image: Texte italique][image: Lien interne][image: Lien
externe (n'oubliez pas le préfixe http://)][image: Sous-titre niveau 2][image:
Fichier inséré][image: Lien vers un fichier média][image: Formule
mathématique (LaTeX)][image: Ignorer la syntaxe wiki][image: Votre
signature avec la date][image: Ligne horizontale (ne pas en abuser)]
 Titre de la page à prévisualiser :  Résumé :
 Modification mineure  Suivre cette page
 [image: CC-BY-SA 3.0]
[image: GFDL ≥ 1.2]En envoyant vos modifications, vous acceptez de publier
de manière *irrévocable* votre contribution selon les termes de la *licence
Creative Commons Paternité-Partage des Conditions Initiales à l'Identique
3.0 <http://creativecommons.org/licenses/by-sa/3.0/deed.fr>*, et la licence
de documentation libre
GNU<http://fr.wikipedia.org/wiki/Wikip%C3%A9dia:Licence_de_documentation_libre_GNU>,
version 1.2<http://commons.wikimedia.org/wiki/Commons:GNU_Free_Documentation_License,_version_1.2>
, 1.3 <http://www.gnu.org/copyleft/fdl.html>, ou plus récente publiée par
la Free Software
Foundation<http://fr.wikipedia.org/wiki/Fondation_pour_le_logiciel_libre>
;
sans sections inaltérables, sans texte de première page de couverture et
sans texte de dernière page de couverture. Les réutilisateurs de contenu
auront l'obligation de vous citer, au minimum, par le biais d'un lien
hypertexte (adresse internet) menant vers la page où vous avez contribué,
et vous déclarez être satisfait par cette méthode d'attribution. *N'UTILISEZ
PAS DE TRAVAUX SOUS COPYRIGHT SANS AUTORISATION EXPRESSE !* [image:
Applications-office.svg] Nous vous rappelons que d'après nos critères
d'inclusion<http://commons.wikimedia.org/wiki/Commons:Crit%C3%A8res_d%27inclusion>
, *Commons n'est pas une œuvre encyclopédique ou
littéraire<http://commons.wikimedia.org/wiki/Commons:What_Commons_is_not>
*, mais une collection de fichiers multimédia dédiés à cet usage, par
exemple pour illustrer les wikis de la Wikimedia Foundation. Si vous êtes
désireux de créer ou modifier du contenu de nature encyclopédique, préférez
l'utilisation de Wikipedia <http://www.wikipedia.org/>.
   Annuler <http://commons.wikimedia.org/wiki/Template:Example> |
Aide<http://meta.wikimedia.org/wiki/Help:Editing> (ouvre
une nouvelle fenêtre)
Aperçu de la page avec ce modèle


2012/11/30 Philippe Verdy <verdy_p at wanadoo.fr>

> Note that I also tested using this link:
>
>
> http://commons.wikimedia.org/w/index.php?title=Template:Example&action=edit&wpTemplateSandboxPage=x
>
> because wpTemplateSandboxPreview is the id and name of the HTML form
> field that is submitted by the Preview button in the sandbox subform.
>
> But this does not work: it has no effect with action=edit or action=submit.
>
> In my opinion the two Preview buttons should be only one, they are
> confusing. Just a single editable field containing the name of the preview
> page would be enough, and it should be prefilled in all cases (at least
> with the full name of the currently edited page).
>
>
> 2012/11/30 Philippe Verdy <verdy_p at wanadoo.fr>
>
>> Well, I just notice now this integration, but I regret that the test
>> subform is BELOW the Publish/View modifications/Preview buttons. It should
>> be ABOVE them (and may be even before the Edit comment field, which is for
>> the Publish button) to make sure that people see it.
>>
>> And I don't know how to prefill the name of the test page directly from
>> the edit link. As well, this test subform field remains empty : it should
>> be prefilled by default with the name of the edited page (to simplify the
>> action of appending the name of a "/test" subpage) : if I manually enter
>> "x" in this empty field and press the "Preview test page" button, that "x"
>> does not appear as a GET parameter in the URL displayed in the navigator
>> address bar: this "x" should appear here, along with the name of the edit
>> link parameter that allows prefilling the preview test page.
>>
>>
>>
>> 2012/11/30 Philippe Verdy <verdy_p at wanadoo.fr>
>>
>>> 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 ?
>>>
>>> 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.
>>>
>>> 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.
>>>
>>> E.g. of a normal edit link adding the test page in parameter:
>>>
>>>
>>> http://commons.wikimedia.org/w/index.php?title=Template:Example&action=edit&testpage=Template:Example/test
>>>
>>> And to format the edit link using Wiki syntax :
>>>
>>> [{{FULLURL:Template:Example|action=edit|testpage=Template:Example/test
>>> edit]
>>>
>>> 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.
>>>
>>> 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).
>>>
>>> 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).
>>>
>>> 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.
>>>
>>> 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.
>>>
>>> 2012/11/30 Paul Selitskas <p.selitskas at gmail.com>
>>>
>>>> TemplateSandbox will go live soon!
>>>>
>>>> ---------- Forwarded message ----------
>>>> From: Sumana Harihareswara <sumanah at wikimedia.org>
>>>> Date: Fri, Nov 30, 2012 at 1:51 AM
>>>> Subject: Re: [Wikitech-ambassadors] Template sandbox - new feature to
>>>> help you improve & make templates
>>>> To: Coordination of technology deployments across languages/projects <
>>>> wikitech-ambassadors at lists.wikimedia.org>
>>>>
>>>>
>>>> Update: I see that TemplateSandbox is now LIVE on Meta, Commons, and
>>>> the other non-Wikipedia WMF wikis!  It'll be going live to English
>>>> Wikipedia on Monday 3 December and all other Wikipedias on Wednesday 5
>>>> December.  Sorry for wrongly saying that it wasn't going live on most
>>>> WMF sites yet.
>>>>
>>>> It'd be great if you could help by translating TemplateSandbox on
>>>> translatewiki
>>>> https://translatewiki.net/w/i.php?title=Special%3ATranslate&taction=translate&group=ext-templatesandbox&language=ru&limit=100&task=untranslated
>>>> and by spreading the word about this new feature to template editors
>>>> in your community.  Thanks!
>>>>
>>>> Sumana Harihareswara
>>>> Engineering Community Manager
>>>> Wikimedia Foundation
>>>>
>>>>
>>>> On Wed, Nov 28, 2012 at 8:34 PM, Sumana Harihareswara
>>>> <sumanah at wikimedia.org> wrote:
>>>> > "TemplateSandbox" lets you preview a page with a change in a template
>>>> it
>>>> > uses.
>>>> >
>>>> > At the bottom of the edit form in the Template and Module namespaces,
>>>> a
>>>> > new box will appear that allows you to preview other pages as they
>>>> would
>>>> > appear if you saved the template/module you are currently editing.
>>>> > Example: try editing the sample "thank-you" template
>>>> > https://www.mediawiki.org/wiki/Template:Thankyou .  On the edit form,
>>>> > under the Save button, you'll see "Preview page with this template" --
>>>> > try User_talk:Example_user .
>>>> >
>>>> > Or, go to
>>>> >
>>>> > https://www.mediawiki.org/wiki/Special:TemplateSandbox
>>>> >
>>>> > and give it the "sandbox prefix" User:Sharihareswara (WMF)/sandbox and
>>>> > tell it to "render page" User_talk:Example_user .  You'll see the ugly
>>>> > changes I made to the template in my sandbox.
>>>> >
>>>> > More information at
>>>> > https://en.wikipedia.org/wiki/Wikipedia:VPT#New_feature_needs_testing.
>>>> >  You can check this out in the new version of MediaWiki, now live on
>>>> > mediawiki.org, but until we have more feedback and improvements we
>>>> > aren't pushing it live on the other sites.
>>>> >
>>>> > We figure this will make it easier for people to hack on templates,
>>>> and
>>>> > to develop new Lua templates to replace wikitext templates.
>>>> >
>>>> > --
>>>> > Sumana Harihareswara
>>>> > Engineering Community Manager
>>>> > Wikimedia Foundation
>>>>
>>>> _______________________________________________
>>>> Wikitech-ambassadors mailing list
>>>> Wikitech-ambassadors at lists.wikimedia.org
>>>> https://lists.wikimedia.org/mailman/listinfo/wikitech-ambassadors
>>>>
>>>>
>>>>
>>>> --
>>>> З павагай,
>>>> Павел Селіцкас/Pavel Selitskas
>>>> Wizardist @ Wikimedia projects
>>>> p.selitskas at gmail.com, +375257408304
>>>> Skype: p.selitskas
>>>>
>>>> _______________________________________________
>>>> Translators-l mailing list
>>>> Translators-l at lists.wikimedia.org
>>>> https://lists.wikimedia.org/mailman/listinfo/translators-l
>>>>
>>>>
>>>
>>
>
-------------- section suivante --------------
Une pi�ce jointe HTML a �t� nettoy�e...
URL: <http://lists.wikimedia.org/pipermail/translators-l/attachments/20121130/388802df/attachment-0001.html>


More information about the Translators-l mailing list