Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4110575
actionParams.js
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
450 B
Referenced Files
None
Subscribers
None
actionParams.js
View Options
const
util
=
require
(
'./util'
),
defaultParams
=
{
action
:
'query'
,
formatversion
:
2
};
/**
* Extends the default params for an action query with otherParams
*
* @ignore
* @param {Object} otherParams
* @return {Object}
*/
module
.
exports
=
function
actionParams
(
otherParams
)
{
const
scriptPath
=
mw
.
config
.
get
(
'wgMFScriptPath'
);
return
util
.
extend
(
{},
defaultParams
,
{
origin
:
scriptPath
?
'*'
:
undefined
},
otherParams
);
};
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Aug 18, 21:53 (11 h, 5 m ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
c5/66/37c302c5501ba88918357feb0138
Default Alt Text
actionParams.js (450 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment