Page MenuHomePhabricator

Enable Extension NewUserMessage on fr.wikipedia
Open, Needs TriagePublic

Description

Please install the extension NewUserMessage on French Wikipedia.

Configuration of global variables:
$wgNewUserSupressRC = true;
$wgNewUserMinorEdit = false;
$wgNewUserMessageOnAutoCreate = false;

Welcome message: https://fr.wikipedia.org/wiki/Mod%C3%A8le:Bienvenue_nouveau/automatique (MediaWiki:Newusermessage-template is already pointing to it).

Community consensus: https://fr.wikipedia.org/wiki/Discussion_Projet:Aide_et_accueil#Message_de_bienvenue_via_NewUserMessage

Event Timeline

Ideally, the message should be substituted. I created MediaWiki:Newusermessage-substitute‎ accordingly. However, the message makes use of the {{#mentor:...}} parser function. I believe this is provided by another extension, namely Extension:GrowthExperiments. Is there a risk that the initialization steps during account creation happen in the wrong order, i.e. the NewUserMessage extension tries to post the message before a mentor is assigned?

In case this is not easy to check in advance, could you please check the first welcome messages after activating the extension or let us know in advance the date and time of activation?

I would note that currently a policy is discussed that would prevent NewUserMessage from being used, since the extension is currently used for spamming thousands of messages to users who have not made a single edit on the wiki: https://meta.wikimedia.org/wiki/Requests_for_comment/Welcoming_policy

So the deployment is not necessarily a good idea while that RfC is running.

@stjn As far as I understand, the adoption of this proposal wouldn't prevent the use of NewUserMessage with $wgNewUserMessageOnAutoCreate=false, which is what is requested here: "A wiki is only allowed to post welcome messages to users if their account was originally created at the wiki or [...]" => the first condition is met.

Ah, I missed it. Apologies and thank you.

Ideally, the message should be substituted. I created MediaWiki:Newusermessage-substitute‎ accordingly.

Thank you for fixing this!

However, the message makes use of the {{#mentor:...}} parser function. I believe this is provided by another extension, namely Extension:GrowthExperiments. Is there a risk that the initialization steps during account creation happen in the wrong order, i.e. the NewUserMessage extension tries to post the message before a mentor is assigned?

In case this is not easy to check in advance, could you please check the first welcome messages after activating the extension or let us know in advance the date and time of activation?

AFACT, the mentor is assigned immediatly when the account is created. I agree with you on checking if everything is compatible, I'll ask the Growth team on Monday, as T382204: Add NewUserMessage to Community Configuration is now under their radar now.