daniel added a comment. |
@Anomie We already do the SUL lookup and use the local user ID if it exists. The relevant code is in RecentChangeFactory::getClientUserId. So, if I understand correctly, all we would have to do now is to add a prefix to $userText if $clientUserId is 0 in prepareChangesAttributes. Is there a helper methods for safely constructing such an interwiki user name? Also, should we be creating an actor entry directly, or is it OK to continue to use rc_user and rc_user_text when constructing a RecentChange object?
TASK DETAIL
EMAIL PREFERENCES
To: daniel
Cc: daniel, Ladsgroup, aude, thiemowmde, Anomie, Aklapper, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, Wikidata-bugs, Mbch331
Cc: daniel, Ladsgroup, aude, thiemowmde, Anomie, Aklapper, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, Wikidata-bugs, Mbch331
_______________________________________________ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs