Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F1431260
infobox.js
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
841 B
Referenced Files
None
Subscribers
None
infobox.js
View Options
/*!
* 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
Details
Attached
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)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment