Last modified: 2013-04-22 16:14:29 UTC
In looking to customise [[MediaWiki:Abusefilter-log-detailedentry-meta]] I find that the $2 variable is {username (talk|block)} and there is no ability to drill down to utilise the username only for other feeds. It comes from https://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/AbuseFilter/special/SpecialAbuseLog.php?revision=111217&view=markup 483 $description = wfMsgExt( 'abusefilter-log-detailedentry-meta', 484 array( 'parseinline', 'replaceafter' ), 485 array( 486 $timestamp, 487 $userLink, 488 $filterLink, 489 $row->afl_action, 490 $pageLink, 491 $actions_taken, 492 $parsed_comments, 493 $lang->pipeList( $actionLinks ), ... 404 if ( !$row->afl_wiki ) { 405 // Local user 406 $userLink = $sk->userLink( $row->afl_user, $row->afl_user_text ) . 407 $sk->userToolLinks( $row->afl_user, $row->afl_user_text ); 408 } else { So is it somehow possible to get "afl_user" as an available parameter to be used for reporting? I see that it is available from the API, could we look to make it available for the log (thanks MZM for the help)
It would be rather easy to add a $9 which just gave you the raw username, however that seems rather hackish. Since most of the other links use the userToolLinks and userLink functions, is there a specific user-link you're looking for? Or is it just the ability to manipulate the username however you want?
It is a little while since that time. From memory what I was wanting to do was to append some query/lookup tools based on username, so probably the latter argument. Thanks.
A bit hackish, but Gerrit change #38903
Change merged