<div dir="ltr">Why do we do that ? You should expand the wikicode on the source wiki, before posting it !<div><br></div><div>It's true that this is something that MassMessage should be able to do itself: not posting random wiki code, but expanding it on the source. </div>

<div><br></div><div>This would be more reliable, and then no need to import various templates (possibly incompatible or conflicting) along with posted messages: the posted messages would contain absolutely no template transclusion.</div>

<div><br></div><div>This would also mean that we don't need to use "m:" prefixes: the wiki links that do work on the source wiki will continue working on the target one (but MassMessage must translate these interwiki prefixes itself, because the wiki expansion does not generate the HTML, but stops at the full expansion of the wikisyntax, and it's impossible to post URLs without breaking the code in many places where URLs are not accepted, but wikilinks do work).</div>

<div><br></div><div>If then MassMessage posts to emails, it will ask for the conversion of the wiki code (already fully expanded on the source wiki) into HTML to generate the email bodies.</div><div><br></div></div><div class="gmail_extra">

<br><br><div class="gmail_quote">2014-02-10 19:21 GMT+01:00 Seb35 <span dir="ltr"><<a href="mailto:seb35wikipedia@gmail.com" target="_blank">seb35wikipedia@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

With MassMessage, the wikicode is executed on the target wiki, not on Meta. So there is no chance the pages Translations:Tech/News/2014/<u></u>07/Page display title/* exist on the target wiki; the translations have to be imported in a way or another on the target wikis.<br>


<br>
~ Seb35<br>
<br>
Le Sun, 09 Feb 2014 21:31:44 +0100, Philippe Verdy <<a href="mailto:verdy_p@wanadoo.fr" target="_blank">verdy_p@wanadoo.fr</a>> a écrit:<div class="HOEnZb"><div class="h5"><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I do not see the interest of duplicating the existing title already in the<br>
Translate: namespace into a separately translatable template (which will<br>
also recreate an entry for the translated item, so the item will be tripled<br>
!<br>
Why don't you just test and use the existing Page title item which is<br>
directly in the Translations: namespace ?<br>
<br>
Post the mass message with title (French version tested here):<br>
<br>
<br>
[[m:Special:MyLanguage/Tech/<u></u>News/2014/07|{{subst:#ifexist:<u></u>Translations:Tech/News/2014/<u></u>07/Page<br>
display title/fr|{{Translations:Tech/<u></u>News/2014/07/Page display<br>
title/fr}}|Tech News: 2014-W07}}<br>
<br>
<br>
Note that you could even create a template that uses TNT to get the<br>
translated title:<br>
<br>
    {{TNT|Translations:Tech/News/<u></u>2014/07/Page display title}}<br>
<br>
TNT by default uses the language detected in the content of the current<br>
page (independantly of user's preference) ; to use the user<br>
preferred/selectedlanguage (like Special:MyLanguage/) you can pass the<br>
parameter "uselang={{uselang}}", e.g.<br>
<br>
    {{TNT|Translations:Tech/News/<u></u>2014/07/Page display<br>
title|uselang={{uselang}}}}<br>
<br>
<br>
<br>
2014-02-08 12:36 GMT+01:00 Seb35 <<a href="mailto:seb35wikipedia@gmail.com" target="_blank">seb35wikipedia@gmail.com</a>>:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
A proposition:<br>
<br>
1/ Translate on Meta the message "Tech News: {{{1}}}-{{{2}}}" (anywhere,<br>
for instance in Template:Tech header)<br>
<br>
2/ Replicate by bot or by hand this message on each language wiki (WP, WS,<br>
etc.) into a template {{Tech News title}} containing the corresponding<br>
translation of "Tech News: {{{1}}}-{{{2}}}"<br>
<br>
3/ Post the mass message with title "[[m:Special:MyLanguage/Tech/<br>
News/2014/07|{{subst:#ifexist:<u></u>Template:Tech News title|{{subst:Tech News<br>
title|2014|07}}|Tech News: 2014-07}}]]" (perfect tweet: 140 characters :)<br>
<br>
~ Seb35<br>
<br>
<br>
Le Sun, 02 Feb 2014 12:11:09 +0100, Guillaume Paumier <<br>
<a href="mailto:gpaumier@wikimedia.org" target="_blank">gpaumier@wikimedia.org</a>> a écrit :<br>
<br>
 On Sun, Feb 2, 2014 at 2:07 AM, Philippe Verdy <<a href="mailto:verdy_p@wanadoo.fr" target="_blank">verdy_p@wanadoo.fr</a>><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Each translated page has a title which is accessible in the Translations:<br>
namespace, which uses the sub-id "Page display title" instead of the<br>
numeric<br>
id of a translation unit in the source page, just before hte language<br>
code.<br>
<br>
</blockquote>
<br>
Yes. the problem is not to access the translation, but to post it.<br>
<br>
When we were using EdwardsBot, we discussed the possibility of using a<br>
#switch for the title based on the wiki's {{CONTENTLANG}} (like we do<br>
for the message's body), but the limitation on the length of MediaWiki<br>
edit summaries prevented us from doing that.<br>
<br>
We're now using MassMessage, but that limitation remains. I've tried<br>
to include the title in the body (the downside being that there would<br>
be a blank edit summary), but MassMessage doesn't allow to send<br>
messages without a title.<br>
<br>
Which brings me back to: If someone has ideas about how to do it, I'm<br>
happy to try. :)<br>
<br>
</blockquote>
<br>
______________________________<u></u>_________________<br>
Translators-l mailing list<br>
<a href="mailto:Translators-l@lists.wikimedia.org" target="_blank">Translators-l@lists.wikimedia.<u></u>org</a><br>
<a href="https://lists.wikimedia.org/mailman/listinfo/translators-l" target="_blank">https://lists.wikimedia.org/<u></u>mailman/listinfo/translators-l</a><br>
</blockquote></blockquote>
<br>
______________________________<u></u>_________________<br>
Translators-l mailing list<br>
<a href="mailto:Translators-l@lists.wikimedia.org" target="_blank">Translators-l@lists.wikimedia.<u></u>org</a><br>
<a href="https://lists.wikimedia.org/mailman/listinfo/translators-l" target="_blank">https://lists.wikimedia.org/<u></u>mailman/listinfo/translators-l</a><br>
</div></div></blockquote></div><br></div>