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
Oct 4 2026, 16:40 (6 w, 20 h ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
45/53/50be12f0936806f5d96aa82b4f2e
Default Alt Text
infobox.js (841 B)

Event Timeline