Last modified: 2012-08-22 10:33:33 UTC
Currently I can customise wiki project using {{GENDER:}} only in MediaWiki: messages, but in the same way I can't do it for example on Help: pages. MediaWiki messages provide variables like $1 with username, example: {{gender:$1|male form|female form}}. In the same way I would like customise Help: pages, but now it is not possible. If it is possible please: * extend the functionality of {{GENDER:}} - if I leave empty username, show proper gender form for currently loged in user, example: {{gender:|male form|female form}}, or * create new magic word like {{MYUSERNAME}}, example: {{gender:{{MYUSERNAME}}|male form|female form}}.
It was specifically designed to work in a way that avoids cache fragmentation. It would be relatively easy to change the behavior, if this feature was seen more important that preventing cache fragmentation.
See also comments at http://www.mediawiki.org/wiki/Special:Code/MediaWiki/78201
*** Bug 30569 has been marked as a duplicate of this bug. ***
(In reply to comment #3) > *** Bug 30569 has been marked as a duplicate of this bug. *** I think you're wrong Leinad. This bug asks for 'current user' detection (ie. the user who is actually viewing the page); while in bug 30569 I request default detection of 'page owner's username' (the user whose personal page includes the function). The {{MYUSERNAME}} magic word you've requested is usually known as {{CURRENTUSER}}, and is already requested and discused in bug 4196 and many other duplicates.
*** This bug has been marked as a duplicate of bug 4196 ***
(In reply to comment #5) > > *** This bug has been marked as a duplicate of bug 4196 *** The main idea of this is to "Extend the functionality of {{GENDER:}}", so reopened.
WONTFIX per comment 1.