Page MenuHomePhabricator

Do not show "MediaWiki Userpage" on Phabricator profile if value is "Unknown"
Closed, DeclinedPublic

Description

At https://phabricator.wikimedia.org/p/MZMcBride/ it currently reads "MediaWiki Userpage: Unknown". I find this a bit tacky. Can't it just output nothing instead? Or even better would be if Phabricator allowed me to set the user page... can't find an option for that.

Details

TitleReferenceAuthorSource BranchDest Branch
Enhance Phorge event renderingtoolforge-repos/wikibugs2!17bd808work/bd808/irc-formattingmain
Customize query in GitLab

Revisions and Commits

Event Timeline

MZMcBride raised the priority of this task from to Needs Triage.
MZMcBride updated the task description. (Show Details)
MZMcBride added a project: Phabricator.
MZMcBride changed Security from none to None.
MZMcBride subscribed.
Qgil triaged this task as Medium priority.Oct 25 2014, 9:52 PM
Qgil lowered the priority of this task from Medium to Low.Nov 7 2014, 10:49 AM

Note that this is also the case for LDAP:

LDAP User     Unknown

However, if a user doesn't introduce an IRC handle, the IRC field is not shown.

I find more elegant the option to show fields only when there is data for them. Otherwise it is better not to show them at all.

@mmodell, what is you opinion for the Wikimedia SUL extension?

Aklapper renamed this task from "MediaWiki Userpage: Unknown" on Phabricator user profiles is tacky to Do not show "MediaWiki Userpage" on Phabricator profile if value is "Unknown".Jan 25 2015, 5:33 AM
Aklapper lowered the priority of this task from Low to Lowest.

I don't think this would be very difficult though I'm not sure it's really beneficial either.

mmodell claimed this task.

So I tried to implement this and it turns out to not be straight-forward.

The shouldAppearInPropertyView method gets called before the user object is set. So this makes it impossible to look up the account details and return a conditional response based on whether the field has a value.

So without some sort of hacky patch to phabricator I don't think this change is possible. It's simply not worth the amount of effort it's going to take for such a superficial benefit.

epriestley changed the task status from Declined to Resolved by committing Unknown Object (Diffusion Commit).Mar 4 2015, 8:23 AM
epriestley added a commit: Unknown Object (Diffusion Commit).

Accidental clash. Known issue. Reverting status.

Aklapper subscribed.

Setting back to status "declined", as before.