Page MenuHomeWickedGov Phorge

infobox.js
No OneTemporary

Size
841 B
Referenced Files
None
Subscribers
None

infobox.js

/*!
* Add feedback link to IPInfo
*/
( function () {
mw.hook( 'ext.ipinfo.infobox.widget' ).add( function ( $info ) {
var contributionsUrl = mw.msg( 'ipinfo-global-contributions-url', mw.config.get( 'wgRelevantUserName' ) );
var xToolsUrl = mw.msg( 'ipinfo-xtools-url', mw.config.get( 'wgRelevantUserName' ), mw.config.get( 'wgServerName' ) );
$info.find( '[data-property="edits"]' )
.append( $( '<div>' )
.addClass( 'ext-ipinfo-contribution-links' )
.append( $( '<a>' )
.attr( 'href', contributionsUrl )
.text( mw.msg( 'ipinfo-global-contributions-url-label' ) ) ) );
$info.find( '[data-property="edits"]' )
.append( $( '<div>' )
.addClass( 'ext-ipinfo-contribution-links' )
.append( $( '<a>' )
.attr( 'href', xToolsUrl )
.text( mw.msg( 'ipinfo-xtools-url-label' ) ) ) );
} );
}() );

File Metadata

Mime Type
text/x-asm
Expires
Sat, May 16, 20:14 (1 d, 1 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
d6/1c/33642910f4922a181f90a5bdde69
Default Alt Text
infobox.js (841 B)

Event Timeline