Last modified: 2013-05-03 03:44:50 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 T49961, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 47961 - Create a special argument for GENDER to use the userspace page owner
Create a special argument for GENDER to use the userspace page owner
Status: NEW
Product: MediaWiki
Classification: Unclassified
Internationalization (Other open bugs)
1.21.x
All All
: Lowest enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-05-02 02:34 UTC by Gustronico
Modified: 2013-05-03 03:44 UTC (History)
7 users (show)

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


Attachments

Description Gustronico 2013-05-02 02:34:03 UTC
A special argument #pageuser is needed for GENDER to detect the owner of the page when it is included in User and User Talk spaces, also usable in interface messages. It should work as follows:

{{gender:#pageuser|male form|female form}}

Related to the attempt of getting the username of a user page 'owner' from the
full page name, see bug 32703:

1. {{BASEPAGENAME}} fails to return the username "Example" when viewing a 2nd
level or deeper subpage, like "User:Example/Archive/2010".

2. {{#titleparts:}} is an extension parser function, and it should not be used
to resolve system messages.
Comment 1 db [inactive,noenotif] 2013-05-02 16:44:33 UTC
Maybe the new variable ROOTPAGENAME can be used here (bug 6747).
Comment 2 Gustronico 2013-05-03 03:44:50 UTC
(In reply to comment #1)
> Maybe the new variable ROOTPAGENAME can be used here (bug 6747).

Of course. I didn't notice about it.
Just before closing as resolved: Will ROOTPAGENAME work in NS tabs system massages like [[MediaWiki:Nstab-user]]? see bug 45938.

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


Navigation
Links