Last modified: 2014-08-15 14:17:09 UTC
There was recently a proposal on enwiki for adding unregistered editors a link to the interface to easily reach their contribution, see: http://en.wikipedia.org/wiki/Wikipedia:Village_pump_(proposals)/Archive_86#.22My_contributions.22_link_for_anonymous_IP_editors.
Since this bug was filed in the "MediaWiki" product (not for Wikipedia specifically), I'll reply to it as such. As already mentioned in the above linked discussion, there is an option in the software to show a link to the user page and talk page in the header ([[mw:Manual:$wgShowIPinHeader]], example on http://wikitech.wikimedia.org/index.php?title=Special:UserLogin). By default the personal portlet contains only "Log in" (or "Log in / create account", depending on whether account registration is open). If $wgShowIPinHeader is enabled it contains: * 0.0.0.1 * Talk for this IP address * Log in We could extend the IP-header to also include: * Contributions from this IP address However that still leaves one problem, and is that the IP-header is disabled on Wikipedia to allow static (user-independent) caching. So we'd have to figure out a way to expose this link without exposing the IP itself. Probably better to split it into two bugs. Moving this one to "Wikimedia site requests" and opened bug 36160 for the change in the software itself.
You can link to [[Special:MyContributions]].
If you don't want to wait for MediaWiki developers, just make a gadget similar to this one: https://pl.wikipedia.org/wiki/MediaWiki:Gadget-my-sandbox.js
(In reply to comment #2) > You can link to [[Special:MyContributions]]. Yes, that's what I suggested in bug 36160. The contributions link isn't the problem. The behavior in MediaWiki right now is that it either shows no tool links for unregistered users, or all links. And "all links" also contains a link to the User page that is labeled with the IP-address (see http://wikitech.wikimedia.org/index.php?title=Special:UserLogin ). For the link itself MyPage can be used but the label contains the IP-address ([[mw:Manual:$wgShowIPinHeader). We could change the behavior to instead show a generic (without red/blue links) header for unregistered users that doesn't name the user by it's name (or IP in this case) but just says "My user page", or alternatively, we could remove the link to the User page alltogether, in most cases this was already removed in MediaWiki (showing a link to the contributions page instead for IP-users).
Using a gadget like https://en.wikipedia.org/wiki/MediaWiki:Gadget-mySandbox.js is a good way to test it and see whether it gives the expected result. Enable by default, and conditionally add the link "if ( mw.user.anonymous() )"
(In reply to comment #5) > Using a gadget like > https://en.wikipedia.org/wiki/MediaWiki:Gadget-mySandbox.js > is a good way to test it and see whether it gives the expected result. Enable > by default, and conditionally add the link "if ( mw.user.anonymous() )" Needs to be done by sysops -> General/Unknown.