Release status: beta
|Description||Allows to set alternative user talk page with a working "new messages" notice|
|Latest version||1.0 (20:03, 4 September 2009 (UTC))|
|MediaWiki||1.14 – 1.15|
|License||No license specified|
Translate the AlternativeUserTalk extension if it is available at translatewiki.net
|Check usage and version matrix; code metrics|
The AlternativeUserTalk extension allows users to use a different page as their user talk page. This extension basically changes the new messages notice so it appears for changes on the alternative user talk page, as specified in a custom system message, and adds functionality to clear it for that page.
Given how the extension currently is made, it cannot be used on wiki farms, where multiple wikis are connected and you are able to see new messages notices from other wikis. This is because of the construction of the notice itself, as it uses the multi new messages feature to be able to link to the alternative talk page.
§Installation[edit | edit source]
To install this extension, extract the extension's files into a folder
AlternativeUserTalk in the extensions directory and add the following line to LocalSettings.php:
require_once( "$IP/extensions/AlternativeUserTalk/AlternativeUserTalk.php" );
§Configuration information[edit | edit source]
By default no alternative user talk pages are set up. To change that, edit the
MediaWiki:alternativeusertalk-conf system message and add pairs of usernames and alternative talk pages in the following format:
Username = Talk:Alternative page Another username = Project talk:Another alternative page
Only one pair is allowed per line. Whitespace at the beginning and end of the line and around the equals sign is ignored, but the actual names are case sensitive. Every possible page is accepted as the alternative talk page. You are not even restricted to use a talk page. It would be even possible to use
Username = Main Page.
As explained above, the generated notice for the alternative talk page is based on the multi new messages feature. As such the following two system messages affect the output:
MediaWiki:Youhavenewmessagesmulti- "You have new messages on"
MediaWiki:Newtalkseparator- ", "
Additionally this extension adds two other system messages to complete the sentence in the notice:
MediaWiki:alternativeusertalk-link- "your alternative talk page"
MediaWiki:alternativeusertalk-diff- "view last change"
Composed this makes the notice text the following: You have new messages on your alternative talk page, view last change where the italiced parts are the equivalent links from the normal new messages notice.