Le 24/09/2017 à 19:31, bawolff a écrit :
Why not just make a template containing <includeonly>{{ping|first
user|second user|third user|...}}</includeonly>

Your issue is almost certainly that the pipes aren't being tokenized
as argument separators when they come from a transcluded template.
(Its the same reason that {{!}} works in tables, except in reverse).

Alternatively, {{ping|{{subst::Wiktionary/Tremendous Wiktionary User
Group/affiliates}}}} would probably work.
Great, it looks like it works, thank you.

My idea was that the parameter list should be generated from a bullet list written/included in "Wiktionary/Tremendous Wiktionary User Group". If you know template which already do that well or have any suggestion regarding the implementation, please let me know.



--
Brian

On Sun, Sep 24, 2017 at 3:41 PM, mathieu stumpf guntz
<[email protected]> wrote:
I'm trying to solve the problem exposed here:
https://meta.wikimedia.org/wiki/User_talk:Psychoslave#Template:Participants
(in French)

In a nutshell, the goal is to be able to ping a group of user on meta.
so ideally, you just type something like {{ping|my_group}}
But as ping and the underlying "Module:Reply_to" are expecting one user per
argument
my current idea is to make something like {{ping|{{:/some_group/members}}}}
so instead of
{{ping|Amqui|Ariel1024|Aryamanarora|Benoît_Prieur|Daniel_Kinzler_(WMDE)|Delarouvraie|Epantaleo|Ernest-Mtl|GastelEtzwane|JackPotte|Jberkel|Jitrixis|Kimdime|LA2|LaMèreVeille|Lydia_Pintscher_(WMDE)|Lyokoï|M0tty|Malaysiaboy|Marcmiquel|Micru|Nattes_à_chat|Nemo_bis|Noé|Otourly|Pamputt|psychoslave|Rich_Farmbrough|Rodelar|Satdeep_Gill|Sebleouf|Shavtay|Stalinjeet|S_The_Singer|TAKASUGI_Shinji|TaronjaSatsuma|Thibaut120094|Thiemo_Mättig_(WMDE)|tpt|Trizek_(WMF)|VIGNERON|Vive_la_Rosière|Xabier_Cañas|Xenophôn}}

I can just write
     {{ping|{{:Wiktionary/Tremendous Wiktionary User Group/affiliates}}}} for
example

but even if I put verbatim in a template:
Amqui|Ariel1024|Aryamanarora|Benoît_Prieur|Daniel_Kinzler_(WMDE)|Delarouvraie|Epantaleo|Ernest-Mtl|GastelEtzwane|JackPotte|Jberkel|Jitrixis|Kimdime|LA2|LaMèreVeille|Lydia_Pintscher_(WMDE)|Lyokoï|M0tty|Malaysiaboy|Marcmiquel|Micru|Nattes_à_chat|Nemo_bis|Noé|Otourly|Pamputt|psychoslave|Rich_Farmbrough|Rodelar|Satdeep_Gill|Sebleouf|Shavtay|Stalinjeet|S_The_Singer|TAKASUGI_Shinji|TaronjaSatsuma|Thibaut120094|Thiemo_Mättig_(WMDE)|tpt|Trizek_(WMF)|VIGNERON|Vive_la_Rosière|Xabier_Cañas|Xenophôn
in the page

and call ping with this template as argumement, it will end up with a "Error
in Template:Reply to: Input contains forbidden characters."

This message is generated by the module Reply_to but I can't change it since
it's protected.

So I'm looking for a way to bypass whatever generate this error, or more
broadly any idea to resolve the exposed problem.

_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l
_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to