{ "name": "CheckUser", "version": "2.5", "author": [ "Tim Starling", "Aaron Schulz" ], "url": "https://www.mediawiki.org/wiki/Extension:CheckUser", "descriptionmsg": "checkuser-desc", "license-name": "GPL-2.0-or-later", "type": "specialpage", "requires": { "MediaWiki": ">= 1.35.0", "platform": { "ext-openssl": "*" } }, "ExtensionMessagesFiles": { "CheckUserAliases": "CheckUser.alias.php" }, "config": { "CheckUserCIDRLimit": { "value": { "IPv4": 16, "IPv6": 19 }, "description": "Shortest CIDR limits that can be checked in any individual range check" }, "CheckUserMaxBlocks": { "value": 200, "description": "Maximum number of users that can be mass blocked simultaneously" }, "CUPublicKey": { "value": "", "description": "Public key to encrypt private data that may need to be read later. Generate a public key with something like: `openssl genrsa -out cu.key 2048; openssl rsa -in cu.key -pubout > cu.pub` and paste the contents of cu.pub here." }, "CUDMaxAge": { "value": 7776000, "description": "How long to keep CheckUser data (in seconds)" }, "CheckUserForceSummary": { "value": false, "description": "Whether to force checkusers into giving a reason for each check they do through Special:CheckUser." }, "CheckUserCAMultiLock": { "value": false, "description": "Whether to add a link to Special:MultiLock by CentralAuth to the Special:CheckUser's mass block form. This requires CentralAuth extension to be installed on the wiki. To enable this, set this to an array with a central wiki's database name and an array with the name(s) of the global group(s) to add the link for. Example: [ 'centralDB' => 'metawiki', 'groups' => [ 'steward' ] ]" }, "CheckUserCAtoollink": { "value": false, "description": "Whether to add links to CentralAuth in Special:CheckUser results" }, "CheckUserGBtoollink": { "value": false, "description": "Whether to add links for globally blocking accounts shown in Special:CheckUser results" }, "CheckUserLogLogins": { "value": false, "description": "Whether login attempts should be logged in CheckUser logs" }, "CheckUserLogSuccessfulBotLogins": { "value": true, "description": "Whether successful login attempts of accounts in the 'bot' user group should be logged in CheckUser logs (assuming wgCheckUserLogLogins is also true)" }, "CheckUserEnableSpecialInvestigate": { "value": false, "description": "Enables Special:Investigate" }, "CheckUserLogAdditionalRights": { "value": [], "description": "Additional rights to be used when adding CheckUser log entries" }, "CheckUserMaximumRowCount": { "value": 5000, "description": "Maximum number of rows in cu_changes to be used in any query" } }, "APIListModules": { "checkuser": "ApiQueryCheckUser", "checkuserlog": "ApiQueryCheckUserLog" }, "HookHandlers": { "preferences": { "class": "MediaWiki\\CheckUser\\HookHandler\\Preferences" } }, "Hooks": { "RecentChange_save": [ "CheckUserHooks::updateCheckUserData", "CheckUserHooks::maybePruneIPData" ], "EmailUser": "CheckUserHooks::updateCUEmailData", "User::mailPasswordInternal": "CheckUserHooks::updateCUPasswordResetData", "LocalUserCreated": "CheckUserHooks::onLocalUserCreated", "UserMergeAccountFields": "CheckUserHooks::onUserMergeAccountFields", "RenameUserSQL": "CheckUserHooks::onRenameUserSQL", "ParserTestTables": "CheckUserHooks::checkUserParserTestTables", "LoadExtensionSchemaUpdates": "CheckUserHooks::onLoadExtensionSchemaUpdates", "ContributionsToolLinks": "CheckUserHooks::checkUserContributionsLinks", "PerformRetroactiveAutoblock": "CheckUserHooks::doRetroactiveAutoblock", "AuthManagerLoginAuthenticateAudit": "CheckUserHooks::onAuthManagerLoginAuthenticateAudit", "SpecialPage_initList": "CheckUserHooks::onSpecialPage_initList", "GetPreferences": "preferences" }, "MessagesDirs": { "CheckUser": [ "i18n", "i18n/api" ] }, "attributes": { "EventLogging": { "Schemas": { "SpecialInvestigate": 20261100 } } }, "ResourceModules": { "ext.checkUser": { "localBasePath": "modules/ext.checkUser", "remoteExtPath": "CheckUser/modules/ext.checkUser", "scripts": [ "cidr.js", "caMultiLock.js" ], "dependencies": [ "mediawiki.util" ], "messages": [ "checkuser-centralauth-multilock" ] }, "ext.checkUser.investigate.styles": { "localBasePath": "modules/ext.checkUser.investigate.styles/", "remoteExtPath": "CheckUser/modules/ext.checkUser.investigate.styles/", "styles": [ "investigate.less" ] }, "ext.checkUser.investigate": { "localBasePath": "modules/ext.checkUser.investigate", "remoteExtPath": "CheckUser/modules/ext.checkUser.investigate", "packageFiles": [ "init.js", "tables.js", "copy.js", "blockform.js", { "name": "message.json", "callback": "MediaWiki\\CheckUser\\ToolLinksMessages::getParsedMessage", "callbackParam": "checkuser-investigate-compare-toollinks" } ], "dependencies": [ "jquery.tablesorter", "oojs-ui-widgets", "oojs-ui.styles.icons-editing-core", "oojs-ui.styles.icons-editing-advanced", "oojs-ui.styles.icons-interactions", "oojs-ui.styles.icons-moderation", "oojs-ui.styles.icons-user", "mediawiki.storage", "mediawiki.Title", "mediawiki.Uri", "mediawiki.widgets" ], "messages": [ "checkuser-investigate-compare-copy-button-label", "checkuser-investigate-compare-copy-message-label", "checkuser-investigate-compare-table-button-add-ip-targets-label", "checkuser-investigate-compare-table-button-add-user-targets-label", "checkuser-investigate-compare-table-button-add-user-targets-log-label", "checkuser-investigate-compare-table-button-checks-label", "checkuser-investigate-compare-table-button-contribs-label", "checkuser-investigate-compare-table-button-filter-label", "checkuser-investigate-subtitle-cancel-button-label", "checkuser-investigate-subtitle-continue-button-label" ] }, "ext.checkUser.investigateblock.styles": { "localBasePath": "modules/ext.checkUser.investigateblock.styles", "remoteExtPath": "CheckUser/modules/ext.checkUser.investigateblock.styles", "styles": [ "investigateblock.less" ] }, "ext.checkUser.investigateblock": { "localBasePath": "modules/ext.checkUser.investigateblock", "remoteExtPath": "CheckUser/modules/ext.checkUser.investigateblock", "packageFiles": [ "investigateblock.js" ], "dependencies": [ "oojs-ui-widgets" ] }, "ext.guidedTour.tour.checkuserinvestigateform": { "localBasePath": "modules/ext.guidedTour.tour.checkuserinvestigateform", "remoteExtPath": "CheckUser/modules/ext.guidedTour.tour.checkuserinvestigateform", "scripts": [ "checkuserinvestigateform.js" ], "dependencies": "ext.guidedTour", "messages": [ "checkuser-investigate-tour-targets-title", "checkuser-investigate-tour-targets-desc" ] }, "ext.guidedTour.tour.checkuserinvestigate": { "localBasePath": "modules/ext.guidedTour.tour.checkuserinvestigate", "remoteExtPath": "CheckUser/modules/ext.guidedTour.tour.checkuserinvestigate", "scripts": [ "checkuserinvestigate.js" ], "dependencies": [ "ext.guidedTour", "ext.checkUser.investigate" ], "messages": [ "checkuser-investigate-tour-useragents-title", "checkuser-investigate-tour-useragents-desc", "checkuser-investigate-tour-addusertargets-title", "checkuser-investigate-tour-addusertargets-desc", "checkuser-investigate-tour-filterip-title", "checkuser-investigate-tour-filterip-desc", "checkuser-investigate-tour-block-title", "checkuser-investigate-tour-block-desc", "checkuser-investigate-tour-copywikitext-title", "checkuser-investigate-tour-copywikitext-desc" ] } }, "GroupPermissions": { "checkuser": { "checkuser": true, "checkuser-log": true } }, "AvailableRights": [ "checkuser", "checkuser-log" ], "SpecialPages": { "CheckUser": { "class": "SpecialCheckUser", "services": [ "LinkBatchFactory" ] }, "CheckUserLog": { "class": "SpecialCheckUserLog", "services": [ "LinkBatchFactory" ] } }, "AutoloadClasses": { "CheckUserHooks": "includes/CheckUserHooks.php", "CheckUserLogPager": "includes/CheckUserLogPager.php", "SpecialCheckUser": "includes/specials/SpecialCheckUser.php", "SpecialCheckUserLog": "includes/specials/SpecialCheckUserLog.php", "CheckUserEncryptedData": "includes/CheckUserEncryptedData.php", "ApiQueryCheckUser": "includes/api/ApiQueryCheckUser.php", "ApiQueryCheckUserLog": "includes/api/ApiQueryCheckUserLog.php", "PopulateCheckUserTable": "maintenance/populateCheckUserTable.php" }, "ServiceWiringFiles": [ "includes/ServiceWiring.php" ], "AutoloadNamespaces": { "MediaWiki\\CheckUser\\": "src/" }, "TestAutoloadNamespaces": { "MediaWiki\\CheckUser\\Test\\": "tests/phpunit/" }, "load_composer_autoloader": true, "manifest_version": 2 }