Update:
I modified the MediaWiki software to add the real name in the result for
revisions queries to the API in ApiQueryRevisions.php.
I then modified my copy of MWLib authors.py to use the real name and fall
back to the username if the real name is blank. This results in the proper
attribution I was seeking.
William
-----Original Message-----
From: William Tucker
Sent: Monday, June 10, 2013 2:21 PM
To: [email protected]
Subject: Real names of contributors
In my version of MediaWiki, there is a user preference option labeled "Real
name" which says " Real name is optional. If you choose to provide it, this
will be used for giving you attribution for your work."
I would like to have this real name value appear in all attributions
generated from MWLIB for image and article contributors instead of the
MediaWiki username.
I am aware of the http://www.mediawiki.org/wiki/Extension:Realnames
extension; but, I suspect that this will not change what is displayed in the
contributors lists of MWLib output. Am I wrong about that?
Short of forcing all users of my wiki to use their real name as their
username for proper attribution, can I get MWLib to use the real name
property if set and fall back on the username if not?
Thanks,
William
--
You received this message because you are subscribed to the Google Groups
"mwlib" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.