Page MenuHomePhabricator

MediaWiki:Nocontribs should pass on $target just like MediaWiki:Sp-contributions-footer
Closed, ResolvedPublic

Description

added $target, changed to $wgOut->addWikiMsg( 'nocontribs', $target );

Currently it is possible to use $target on MediaWiki:Sp-contributions-footer to link to external tools that evaluate the user's contributions. This of course does not make sense when the user did not contribute anything. However, there are few tools that are also useful in that situation: Editcount of deleted edits and on Wikimedia projects a link to sulutil http://toolserver.org/~vvv/sulutil.php (possibly the user has to be blocked, so a link to sulutil and global user contributions might be useful).

The attached patch should fix it. It is my first bug fix (minor, I know, but everybody starts small).


Version: unspecified
Severity: enhancement

attachment SpecialContributions.php ignored as obsolete

Details

Reference
bz17291

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:28 PM
bzimport set Reference to bz17291.

Can you make it in a patch format? svn diff or diff in linux, or some svn client on windows can do that.

The actual diff for includes/specials/SpecialContributions.php

Sorry. As I said, my first patch ;-)
I hope this is better...

attachment patch ignored as obsolete

Patch changing SpecialContributions and system messages

Added some changes to messages.inc and MessagesEn.php

Attached: