Page MenuHomePhabricator

Extension:NewUserMessage using template substitution
Closed, ResolvedPublic


Diffs of all the files in the extension


I've changed this extension a bit so it receives another parameter telling it if it should include or substitute the "Welcome" template. It seems substitution is "a la mode", even if I find its advantages to be limited. While I was at it, I've also included a Romanian translation.

Hope this code will make it in the SVN.



P.S. I couldn't find NewUserMessage as a component, so I chose Newuserlog, cause it was marked as "related". Hope the fact theat Newuserlog is deprecated doesn't mean the enhancement is rejected.

Version: unspecified
Severity: enhancement

attachment NewUserMessage.diff ignored as obsolete



Related Objects

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:38 PM
bzimport set Reference to bz18809.

Created attachment 6125
Diffs of all the files in the extension


Two comments:

  • please do the localisation at; that's a lot easier and streamlined (and you can as well localise a lot more into Romanian)
  • make the new settings configurable in a message; that will allow a user community (and not a server administrator) to decide if a template will be substituted or not.

Created attachment 6127
New version of the diff

The substitution is now made if there is any text in MediWiki:Newusermessage-substitute


Applied in r51297 with changes. Thanks.