{"master":{"name":"Kartographer","author":["Yuri Astrakhan","Max Semenik","Ed Sanders","Julien Girault"],"url":"https:\/\/www.mediawiki.org\/wiki\/Extension:Kartographer","descriptionmsg":"kartographer-desc","license-name":"MIT","type":"parserhook","requires":{"MediaWiki":">= 1.47.0","extensions":{"JsonConfig":"*"}},"ExtensionMessagesFiles":{"KartographerAliases":"Kartographer.alias.php"},"SpecialPages":{"Map":"Kartographer\\Special\\SpecialMap"},"APIModules":{"sanitize-mapdata":{"class":"Kartographer\\Api\\ApiSanitizeMapData","services":["ParserFactory"]}},"APIPropModules":{"mapdata":{"class":"Kartographer\\Api\\ApiQueryMapData","services":["WikiPageFactory"],"optional_services":["FlaggedRevsParserCacheFactory"]}},"LateJSConfigVarNames":["wgKartographerLiveData"],"callback":"Kartographer\\Hooks::onRegistration","Hooks":{"ParserFirstCallInit":"KartographerHooks","ParserAfterParse":"KartographerHooks","ParserTestGlobals":"KartographerHooks","OutputTransformFirstStage":"KartographerHooks","OutputTransformLastStage":"KartographerHooks"},"HookHandlers":{"KartographerHooks":{"class":"Kartographer\\Hooks","services":["MainConfig","LanguageNameUtils","TitleFormatter"]}},"QUnitTestModule":{"localBasePath":"tests\/qunit","remoteExtPath":"Kartographer\/tests\/qunit","scripts":["nearby.test.js"],"dependencies":["ext.kartographer.dialog"]},"attributes":{"VisualEditor":{"PluginModules":["ext.kartographer.editing","ext.kartographer.visualEditor"]}},"config":{"KartographerStaticMapframe":{"description":"Disables the module that turns <mapframe> tags into interactive mini-maps that can be panned and zoomed without leaving the page. Static maps are recommended on high-traffic wikis where your KartographerMapServer couldn't keep up. Clicking <maplink> and <mapframe> tags to open a fullscreen interactive map is always possible.","value":false},"KartographerWikivoyageMode":{"description":"Enables the group feature where different <maplink> and <mapframe> tags can access each others data via group=\"\u2026\" and show=\"\u2026\" attributes. See [[mw:Help:Extension:Kartographer#Groups]]. Disabled by default. Meant to be enabled on Wikivoyage.","value":false},"KartographerDfltStyle":{"description":"Default map style to be used. Must be one of the values from KartographerStyles.","value":"osm-intl"},"KartographerStyles":{"description":"Available map styles users can request from your KartographerMapServer via mapstyle=\"\u2026\".","value":["osm-intl","osm"],"merge_strategy":"provide_default"},"KartographerSrcsetScales":{"description":"Set of allowed high-DPI pixelratios supported by your KartographerMapServer, to be used in <img srcset=\"\u2026\"> and KartographerMapServer URLs. Must be in incremental order. Doesn't need to start with 1, this happens automatically.","value":[1.3,1.5,2,2.6,3],"merge_strategy":"provide_default"},"KartographerMapServer":{"description":"Server providing the map tiles. This is the only setting that doesn't have a default. You must provide a value. Note that the Wikimedia tile server \"https:\/\/maps.wikimedia.org\" can't be used outside of the Wikimedia cluster.","value":null},"KartographerStaticFullWidth":{"description":"The actual width of static map images when a <mapframe> uses the special value width=\"full\". Relevant on wikis in static mode or when JavaScript is disabled. It's recommended to use one of the $wgImageLimits widths for consistency.","value":1024},"KartographerUseMarkerStyle":{"description":"Allows Kartographer to extract marker styles from the GeoJSON to style a <maplink> accordingly. Currently only the \"marker-color\" is considered.","value":false},"KartographerUsePageLanguage":{"description":"Use the language of the page to render the map labels, instead of the language of the territory of the map (lang=local).","value":true},"KartographerFallbackZoom":{"description":"Fallback zoom value when no zoom=\"\u2026\" is given. Must be an integer between 0 (map shows the entire earth) and 19 (as close as possible). Currently only works with dynamic maps.","value":13},"KartographerSimpleStyleMarkers":{"description":"Use an api to generate markers using the simplestyle-spec for features.","value":true},"KartographerNearby":{"description":"Number of nearby articles to load via the coordinates API. A number between 100 and 500 is recommended. Requires the GeoData and CirrusSearch extensions to be installed. Set to 0 to disable the feature.","value":false},"KartographerMediaWikiInternalUrl":{"description":"Development setting allowing kartotherian to call back to the mapdata API on either a different MediaWiki server or via a non-standard port. Passed as a URL, e.g. \"http:\/\/dev.wiki.local.wmftest.net:8080\". Defaults to $wgServerName if not set.","value":null},"KartographerParsoidVersion":{"description":"Version of the Parsoid integration code. This is added to the extension data to enable cache rejection if necessary.","value":"1.0.1"}},"TrackingCategories":["kartographer-tracking-category","kartographer-broken-category"],"ParsoidModules":[{"name":"Kartographer","tags":[{"name":"maplink","handler":{"class":"Kartographer\\Tag\\ParsoidMapLink","services":["MainConfig","LanguageFactory","LanguageNameUtils","ParsoidDataAccess"]},"options":{"outputHasCoreMwDomSpecMarkup":true,"wt2html":{"embedsDomInAttributes":true}}},{"name":"mapframe","handler":{"class":"Kartographer\\Tag\\ParsoidMapFrame","services":["MainConfig","LanguageFactory","LanguageNameUtils","ParsoidDataAccess"]},"options":{"outputHasCoreMwDomSpecMarkup":true,"wt2html":{"embedsDomInAttributes":true,"attributeWSNormalization":{"text":"keepspaces"}}}}],"domProcessors":[{"class":"Kartographer\\Tag\\ParsoidDomProcessor","services":["MainConfig","TrackingCategories"]}]}],"repository":"https:\/\/gerrit.wikimedia.org\/r\/mediawiki\/extensions\/Kartographer"}}