For the MediaWiki:Postedit-temp-created message, $1 and $2 are used to replace links instead of parser functions (like {{int:temp-doc-link}}), making it impossible to track where these links could be changed, which in turn defeats the purpose of specifying these links outside of this system message.
Description
Related Objects
Event Timeline
- $1 is the URL for the account creation page which won't necessarily be the same in all languages, though is possible to define in the message if really wanted. However, it isn't intended to be changed and so IMO there isn't benefit in replacing it with [[Special:CreateAccount]]
- $2 is a URL which per T425170: temp-user-banner-tooltip-description-learn-more not rendering {{MediaWiki:*}} correctly cannot be defined in the message via int: and so unfortunately we can't change how it's defined in the message
Maybe it's better solved by updating https://translatewiki.net/wiki/MediaWiki:Postedit-temp-created/qqq to specify what message is used to define the help link?
Ideally, do not use constructs like $1 to substitute something that no user has control over.
- $2 is a URL which per T425170: temp-user-banner-tooltip-description-learn-more not rendering {{MediaWiki:*}} correctly cannot be defined in the message via int: and so unfortunately we can't change how it's defined in the message
It would be possible to define it in another message, which would still be difficult to find, but would simplify configuration.
In other words, it is necessary to create two other system messages through which these links will be defined.
In what form these links will need to be indicated does not matter much. This can be either an internal link (like Project:TempUsers) or an external one (like http://example.com/TempUsers).
There isn't really a way to do this because the URL is generated when displaying the message. While in this case it could be replaced with [[Special:CreateAccount]] in the message, I'm not sure I see the benefit is worth changing it and invalidating existing translations.
- $2 is a URL which per T425170: temp-user-banner-tooltip-description-learn-more not rendering {{MediaWiki:*}} correctly cannot be defined in the message via int: and so unfortunately we can't change how it's defined in the message
It would be possible to define it in another message, which would still be difficult to find, but would simplify configuration.
It is already defined as another message, specifically the tempuser-helppage message so this already exists. A wiki wanting to customise the link can define the MediaWiki:tempuser-helppage page with the page title to use instead of the default.
The message documentation doesn't clarify where the message comes from, which means updating https://translatewiki.net/wiki/MediaWiki:Postedit-temp-created/qqq. I've done that now
Re-closed as Declined as:
- I don't think we will change the $1 parameter
- $2 can already be customised via defining MediaWiki:tempuser-helppage to use a different page