{"master":{"name":"UrlShortener","version":"1.2.0","author":["Yuvi Panda","Prateek Saxena","Tim Starling","Kunal Mehta","MusikAnimal","Susana Molinar"],"url":"https:\/\/www.mediawiki.org\/wiki\/Extension:UrlShortener","descriptionmsg":"urlshortener-desc","license-name":"Apache-2.0","type":"specialpage","requires":{"MediaWiki":">= 1.47.0"},"APIModules":{"shortenurl":{"class":"MediaWiki\\Extension\\UrlShortener\\ApiShortenUrl","services":["PermissionManager","StatsFactory","UrlShortener.Utils"]}},"ExtensionMessagesFiles":{"UrlShortenerAlias":"UrlShortener.alias.php","UrlShortenerNoTranslateAlias":"UrlShortener.notranslate-alias.php"},"callback":"MediaWiki\\Extension\\UrlShortener\\Hooks::onRegistration","Hooks":{"LoadExtensionSchemaUpdates":"schema","WebRequestPathInfoRouter":"main","BeforePageDisplay":"main","SidebarBeforeOutput":"main","SkinTemplateNavigation::Universal":"main"},"HookHandlers":{"main":{"class":"MediaWiki\\Extension\\UrlShortener\\Hooks","services":["ConfigFactory"],"optional_services":["MobileFrontend.Context"]},"schema":{"class":"MediaWiki\\Extension\\UrlShortener\\SchemaHooks"}},"LogTypes":["urlshortener"],"LogActionsHandlers":{"urlshortener\/*":"MediaWiki\\Logging\\LogFormatter"},"ActionFilteredLogs":{"urlshortener":{"delete":["delete"],"restore":["restore"]}},"LogRestrictions":{"urlshortener":"urlshortener-view-log"},"RateLimits":{"urlshortcode":{"ip":[10,120],"user-global":[50,300],"&can-bypass":false}},"QUnitTestModule":{"localBasePath":"","remoteExtPath":"UrlShortener","scripts":"tests\/qunit\/special.test.js","dependencies":["ext.urlShortener.special"]},"ServiceWiringFiles":["includes\/ServiceWiring.php"],"SpecialPages":{"UrlShortener":{"class":"MediaWiki\\Extension\\UrlShortener\\SpecialUrlShortener","services":["UrlShortener.Utils","UrlUtils"]},"UrlRedirector":{"class":"MediaWiki\\Extension\\UrlShortener\\SpecialUrlRedirector","services":["UrlShortener.Utils"]},"ManageShortUrls":{"class":"MediaWiki\\Extension\\UrlShortener\\SpecialManageShortUrls","services":["UrlShortener.Utils"]},"QrCode":{"class":"MediaWiki\\Extension\\UrlShortener\\SpecialQrCode","services":["UrlShortener.Utils","UrlUtils","ConfigFactory"]}},"AvailableRights":["urlshortener-manage-url","urlshortener-create-url","urlshortener-view-log"],"GroupPermissions":{"*":{"urlshortener-manage-url":false,"urlshortener-view-log":false,"urlshortener-create-url":true},"sysop":{"urlshortener-manage-url":true,"urlshortener-view-log":true,"urlshortener-create-url":true}},"GrantPermissions":{"shortenurls":{"urlshortener-create-url":true}},"GrantPermissionGroups":{"shortenurls":"administration"},"GrantRiskGroups":{"shortenurls":"low"},"config":{"UrlShortenerApprovedDomains":{"value":false},"UrlShortenerAllowedDomains":{"value":false},"UrlShortenerIdSet":{"value":"23456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz$"},"UrlShortenerIdMapping":{"value":{"0":"o","O":"o","I":"i","l":"i","1":"i"}},"UrlShortenerAltPrefix":{"value":"_"},"UrlShortenerServer":{"value":false},"UrlShortenerTemplate":{"value":false},"UrlShortenerAllowArbitraryPorts":{"value":false},"UrlShortenerReadOnly":{"value":false},"UrlShortenerEnableSidebar":{"value":true},"UrlShortenerUrlSizeLimit":{"value":2000},"UrlShortenerEnableQrCode":{"value":true,"description":"Enables the QR Code sharing functionality."},"UrlShortenerQrCodeShortenLimit":{"value":200,"description":"If a URL is greater than this length (in bytes), it is first shortened before generating a QR code."},"UrlShortenerLegacyTemplate":{"value":false,"description":"Enable routing of short URLs as previously defined via the legacy ShortUrl extension. Set this to your $wgShortUrlTemplate value, such as '\/s\/$1'. This registers a Special:ShortUrl page with a read-only resolver to a local 'shorturls' database table, and honors $wgShortUrlTemplate for backwards-compatibility with previously published URLs. Once enabled, the table schema will be owned and maintained by this extension going forward. This flag must be enabled at the same time as disabling the ShortUrl extension (i.e. remove its wfLoadExtension call from LocalSettings.php)."}},"ConfigRegistry":{"urlshortener":"MediaWiki\\Config\\GlobalVarConfig::newInstance"},"DatabaseVirtualDomains":["virtual-urlshortener"],"repository":"https:\/\/gerrit.wikimedia.org\/r\/mediawiki\/extensions\/UrlShortener"}}