https://bugzilla.wikimedia.org/show_bug.cgi?id=47961

       Web browser: ---
            Bug ID: 47961
           Summary: Create a special argument for GENDER to use the
                    currentpage user
           Product: MediaWiki
           Version: 1.21-git
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Internationalization
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected]
    Classification: Unclassified
   Mobile Platform: ---

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to