Thank you for your answer Daniel. I've just installed the ParserFunctions extension. But I have the same question as Martin. Does anyone know in which page this line has to be added?
Thank you.
Laurent
2008/10/15 Daniel Friesen dan_the_man@telus.net
If you have ParserFunctions installed you could try doing something like:
{{#ifeq:{{NAMESPACE}}|{{ns:4}}|Talk to {{PAGENAME}}|Talk about {{PAGEAME}}}}
~Daniel Friesen (Dantman, Nadir-Seen-Fire) ~Profile/Portfolio: http://nadir-seen-fire.com -The Nadir-Point Group (http://nadir-point.com) --It's Wiki-Tools subgroup (http://wiki-tools.com) --The ElectronicMe project (http://electronic-me.org) -Wikia ACG on Wikia.com (http://wikia.com/wiki/Wikia_ACG) --Animepedia (http://anime.wikia.com) --Narutopedia (http://naruto.wikia.com)
Wikimini wrote:
Hello,
First, sorry for my poor english. I hope you will understand our problem.
I'm running a wiki for young children. Most of them don't understand the exact meaning (or function) of the "Discussion" tab.
# PROBLEM :
Actually their problem seems to be the following :
The "Discussion" tab has two VERY different functions:
- When it appears on an article (or another page) :
FUNCTION = TALK ABOUT THE PAGE/ARTICLE
- When it appears on a user page :
FUNCTION = TALK TO THE USER
The problem is that the message in the "Discussion" tab is always the
same
regardless of the type of page which is displayed. This message is the following one (in MessagesEn.php) :
'talk' => 'Discussion',
My first attempt was to change it to something more explicit:
'talk' => 'Discussion about this page',
This appears to be of little help on "article" pages, but has brought
more
confusion on "user" pages.
# BETTER SOLUTION
I would like to show a different message in the "Discussion" tab based on the type of page :
- On an article (or another page), the message should be :
'talk' => 'Discussion about this page', (ok, this is easy, i change it
in
the MessagesXX.php file)
- On a user page, the message should be different :
'talkuser' => 'Talk to this user', (for example)
I'm not sure but I think I will have to change something in the SkinTemplate.php file (lines 667-672) :
$content_actions['talk'] = $this->tabAction( $talkpage, 'talk', $this->mTitle->isTalkPage() && !$prevent_active_tabs, '', true);
*If someone could help me* find what should be added exactly I would be extremely grateful. This problem is really frustrating for the children
who
don't understand how they can talk to another user.
Thanks in advance.
Laurent
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l