Last modified: 2014-08-15 14:17:09 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T38121, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 36121 - "Contributions from this IP address" for unregistered users on en.wikipedia
"Contributions from this IP address" for unregistered users on en.wikipedia
Status: NEW
Product: Wikimedia
Classification: Unclassified
General/Unknown (Other open bugs)
unspecified
All All
: Lowest enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on: 36160
Blocks:
  Show dependency treegraph
 
Reported: 2012-04-20 10:52 UTC by Armbrust
Modified: 2014-08-15 14:17 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Armbrust 2012-04-20 10:52:14 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.
Comment 1 Krinkle 2012-04-22 15:24:11 UTC
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.
Comment 2 Beau 2012-04-22 15:26:42 UTC
You can link to [[Special:MyContributions]].
Comment 3 Beau 2012-04-22 15:29:51 UTC
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
Comment 4 Krinkle 2012-04-22 15:33:44 UTC
(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).
Comment 5 Krinkle 2012-04-22 15:36:08 UTC
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() )"
Comment 6 Nemo 2013-04-04 21:22:53 UTC
(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.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links