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

            Bug ID: 68015
           Summary: Flow: title attribute of author link lacks namespace
           Product: MediaWiki extensions
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Flow
          Assignee: wikibugs-l@lists.wikimedia.org
          Reporter: sp...@wikimedia.org
                CC: dh...@wikimedia.org, ebernhard...@wikimedia.org,
                    mpinc...@wikimedia.org, pandiculat...@gmail.com,
                    sp...@wikimedia.org
       Web browser: ---
   Mobile Platform: ---

On a Flow board, inspect the HTML of the blue flow-author link above a post. It
is e.g.

    <span class="flow-author">
            <a href="/wiki/User:Jdlrobson"
               title="Jdlrobson"
               class="mw-userlink flow-ui-tooltip-target">

But the title attribute of a wiki link normally includes the page's namespace,
i.e. it should be title='User:Jdlrobson".  Linker.php sets the title attribute
of a wikilink to getPrefixedText(), but the user links in
handlebars/flow_post_author.handlebars don't incude the namespace. Note that
Parsoid doesn't output any title attribute for wiki links within Flow posts,
bug 68013.

This is partly why Hovercards fails to show info about users on Flow boards,
until bug 67466 is addressed it uses the title attribute of the link in an API
query to get an extracts and thumbnail, but it isn't looking in the User
namespace so usually gets no information.

-- 
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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to