You do not check one by one. Just try what I suggested.
Igal

2017-09-24 19:41 GMT+03:00 mathieu stumpf guntz <
[email protected]>:

> I didn't check one by one, but calling directly the ping template with all
> the parameters will work while calling ping with a template which
> transclusion provide the same string, so "Amqui|Ariel1024|…" won't work.
> So, maybe it's the vertical bar "|" which is not interpreted as a parameter
> separator in this case and the whole string is passed as a single parameter.
>
> Le 24/09/2017 à 17:59, יגאל חיטרון a écrit :
>
> Hi. Is there any chance for really forbidden characters? For example, did
> you try to check the input characters one by one? Or, maybe the last user
> name came with end of line, as part of template transclusion, and this will
> kill the mw.title.new/1 function.
> Igal (User:IKhitron)
>
>
> 2017-09-24 18:41 GMT+03:00 mathieu stumpf guntz 
> <[email protected]>:
>
>
> I'm trying to solve the problem exposed 
> here:https://meta.wikimedia.org/wiki/User_talk:Psychoslave#Templa
> te: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èreV
> eille|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_(W
> MDE)|Delarouvraie|Epantaleo|Ernest-Mtl|GastelEtzwane|JackPot
> te|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 
> [email protected]https://lists.wikimedia.org/mailman/listinfo/wikitech-l
>
> _______________________________________________
> Wikitech-l mailing 
> [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