Page MenuHomeWickedGov Phorge

api.js
No OneTemporary

Size
351 B
Referenced Files
None
Subscribers
None
/**
* Get formatted block details for the current user via the API.
*
* @return {mw.Api~AbortablePromise}
*/
function getFormattedBlockDetails() {
const api = new mw.Api();
return api.get( {
action: 'query',
meta: 'checkuserformattedblockinfo',
format: 'json',
formatversion: '2'
} );
}
module.exports = { getFormattedBlockDetails };

File Metadata

Mime Type
text/plain
Expires
Aug 21 2026, 10:05 (12 w, 19 h ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
f6/5e/f1dedeef59b2cc18842858be3eab
Default Alt Text
api.js (351 B)

Event Timeline