claude-video-effects
51 video effects for Claude Code: drop in a talking-head clip, type /effects orbit. Face tracking, behind-your-head layers. By @vibha.in.progress
翻译准备中
正在加载完整 README。 以下为已保存的摘录。
Maps is the MediaWiki extension to visualize and work with geographical
information. It has been maintained since 2009 and is installed on 1000+ wikis.
• Customizable and dynamic [Leaflet maps]
• Customizable and dynamic [Google Maps]
• Structured data and query [integration with Semantic MediaWiki]
• [Visual map editor]
• [GeoJSON] and [KML] support
• Parser functions for [geocoding], [coordinate formatting] and geospatial operations
• Translations in over 100 languages, image layers, static maps and [more]查看完整 README ↗Maps is the MediaWiki extension to visualize and work with geographical information. It has been maintained since 2009 and is installed on 1000+ wikis.
Features:
Missing a feature? Get software development via Professional.Wiki. Discounts for work that is open-sourced.
Most settings can be configured in LocalSettings.php (see the
configuration documentation) or, for wiki
administrators without server access, on the MediaWiki:Maps page. It holds JSON and, like other
site configuration, is editable only by users with the editinterface and editsitejson rights.
Settings are grouped by service and topic:
{
"general": {
"mapWidth": "100%",
"mapHeight": "500px",
"distanceUnit": "km"
},
"coordinates": {
"notation": "float",
"directional": false
},
"geocoding": {
"service": "google"
},
"leaflet": {
"defaultZoom": 5,
"layerDefinitions": {
"Historic 1904": {
"url": "https://tiles.example.org/historic1904/{z}/{x}/{y}.png",
"options": { "attribution": "Historic map tiles", "maxZoom": 18 }
}
}
},
"googleMaps": {
"zoom": 5,
"type": "satellite"
}
}
The available groups and keys correspond to LocalSettings.php settings:
mapWidth, mapHeight, defaultTitle, defaultLabel, resizableByDefault,
rezoomForKml, allowExternalDataFiles, pagesWithMapsCategory, distanceUnits,
distanceUnit, distanceDecimalsavailableNotations, notation, directionalservice (geonames, google or nominatim)showTitle, hideNamespace, template, coordinateFormat,
coordinateDirectionallayerDefinitions, defaultLayers, defaultOverlays, availableLayers,
availableOverlays, defaultZoomzoom, type, types, controls, typeControlStyle, zoomControlStyle,
autoInfoWindows, layers, showPoi, languageThe page is validated when saved and combined with LocalSettings.php, with the wiki value taking
precedence. Most settings are replaced wholesale; only layerDefinitions, availableLayers and
availableOverlays are merged per name, so the wiki only needs to list the entries it changes.
Changes take effect the next time a page with a map is parsed.
Secrets (API keys), settings that run before a wiki page can be read, and other server-only options
stay exclusive to LocalSettings.php. Set $egMapsEnableInWikiConfig to false to ignore the page
entirely.
To ensure the dev dependencies get installed, have this in your composer.local.json:
{
"require": {
"vimeo/psalm": "^4",
"phpstan/phpstan": "^1.4.9"
},
"extra": {
"merge-plugin": {
"include": [
"extensions/Maps/composer.json"
]
}
}
}
The src/ contains the PHP code and follows PSR-4 autoloading.
src/Map - Map display entry points (such as handling of #display_map) and their supporting codesrc/ParserHooks - Entry points for all parser hooks except #display_mapsrc/Presentation - Presentation layer code that does not belong to a more specific directorysrc/DataAccess - Persistence layer code that does not belong to a more specific directorysrc/GeoJsonPages - Code that deals with pages in the GeoJson namespacesrc/LegacyModel - Badly designed and deprecated representations of map elements (markers, polygons, etc)src/SemanticMW - Semantic MediaWiki code except for the map entry point (which is in Map\SemanticFormat)src/WikitextParsers - Parsers for the wikitext definitions of map elements (like the LegacyModel)JavaScript, CSS and other web resources go into resources/.
Tests for PHP go into tests/ where they are grouped by test type (ie unit, integration). Within those test type
directories the tests should mirror the directory structure in src/.
You can use the Makefile by running make commands in the Maps directory.
make ci: Run everythingmake test: Run all tests and static analysismake cs: Run all style checksAlternatively, you can execute commands from the MediaWiki root directory:
php tests/phpunit/phpunit.php -c extensions/Maps/vendor/bin/phpcs -p -s --standard=extensions/Maps/phpcs.xmlvendor/bin/phpstan analyse --configuration=extensions/Maps/phpstan.neon --memory-limit=2Gphp vendor/bin/psalm --config=extensions/Maps/psalm.xmlBe aware that, due to technical debt, some tests access the network.