Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4033721
infobox.js
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
728 B
Referenced Files
None
Subscribers
None
infobox.js
View Options
function
addSpecialGlobalContributionsLink
(
$info
,
target
,
pageName
)
{
if
(
(
pageName
===
'IPContributions'
&&
mw
.
util
.
isIPAddress
(
target
)
)
||
(
[
'Contributions'
,
'DeletedContributions'
].
includes
(
pageName
)
&&
mw
.
util
.
isTemporaryUser
(
target
)
)
)
{
const
globalContributionsUrl
=
mw
.
util
.
getUrl
(
'Special:GlobalContributions'
,
{
target
}
);
const
$globalEdits
=
$
(
'<div>'
)
.
addClass
(
'ext-ipinfo-global-contribution-link'
)
.
append
(
$
(
'<a>'
)
.
attr
(
'href'
,
globalContributionsUrl
)
.
text
(
mw
.
msg
(
'ext-ipinfo-global-contributions-url-text'
)
)
);
$info
.
find
(
'[data-property="edits"]'
)
.
append
(
$globalEdits
);
}
}
module
.
exports
=
addSpecialGlobalContributionsLink
;
File Metadata
Details
Attached
Mime Type
text/x-asm
Expires
Aug 15 2026, 00:48 (12 w, 6 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
81/d2/293e8d56988c8e80121bed885765
Default Alt Text
infobox.js (728 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment