Last modified: 2012-08-22 10:33:33 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T29364, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 27364 - Extend the functionality of {{GENDER:}}
Extend the functionality of {{GENDER:}}
Status: RESOLVED WONTFIX
Product: MediaWiki
Classification: Unclassified
Internationalization (Other open bugs)
1.18.x
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
: i18n
Depends on:
Blocks: gender
  Show dependency treegraph
 
Reported: 2011-02-12 16:12 UTC by Leinad
Modified: 2012-08-22 10:33 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Leinad 2011-02-12 16:12:04 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}}.
Comment 1 Niklas Laxström 2011-02-19 09:32:08 UTC
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.
Comment 2 Niklas Laxström 2011-02-20 16:11:14 UTC
See also comments at http://www.mediawiki.org/wiki/Special:Code/MediaWiki/78201
Comment 3 Leinad 2011-08-25 18:35:07 UTC
*** Bug 30569 has been marked as a duplicate of this bug. ***
Comment 4 Gustronico 2011-08-26 15:27:18 UTC
(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.
Comment 5 Gustronico 2011-08-26 15:28:22 UTC

*** This bug has been marked as a duplicate of bug 4196 ***
Comment 6 Leinad 2011-08-26 17:13:36 UTC
(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.
Comment 7 Siebrand Mazeland 2012-08-22 10:33:33 UTC
WONTFIX per comment 1.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links