{"id":3267,"date":"2026-11-08T09:36:13","date_gmt":"2026-11-08T09:36:13","guid":{"rendered":"https:\/\/newsraise.com\/in\/2026\/11\/08\/five-wikimedia-commons-userscripts-2\/"},"modified":"2026-11-08T09:36:13","modified_gmt":"2026-11-08T09:36:13","slug":"five-wikimedia-commons-userscripts-2","status":"publish","type":"post","link":"https:\/\/newsraise.com\/in\/2026\/11\/08\/five-wikimedia-commons-userscripts-2\/","title":{"rendered":"Five new userscripts give Wikimedia Commons contributors deeper file insights"},"content":{"rendered":"\n<!-- Quick Adsense WordPress Plugin: http:\/\/quickadsense.com\/ -->\n<div class=\"9fece8afa224fd09e54b043d0febfb58\" data-index=\"1\" style=\"float: none; margin:10px 0 10px 0; text-align:center;\">\n<script async src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js\"><\/script>\r\n<!-- NR ATF -->\r\n<ins class=\"adsbygoogle\"\r\n     style=\"display:block\"\r\n     data-ad-client=\"ca-pub-8898941184964366\"\r\n     data-ad-slot=\"4839033563\"\r\n     data-ad-format=\"auto\"\r\n     data-full-width-responsive=\"true\"><\/ins>\r\n<script>\r\n     (adsbygoogle = window.adsbygoogle || []).push({});\r\n<\/script>\n<\/div>\n<p>Wikimedia volunteers have gained five new browser\u2011based tools that surface hidden information on Commons file pages and streamline watchlist monitoring. The scripts, released under a CC0\u20111.0 licence, are designed to work without altering page content, instead adding panels, charts and notifications that help contributors understand where an image originated, how widely it is used, and whether its categorisation can be refined.<\/p>\n<h2>Tools that surface hidden metadata<\/h2>\n<p>The first script,\u202fLat\/Long Finder, reads GPS coordinates embedded in a Commons file\u2019s metadata and translates them into a human\u2011readable location using OpenStreetMap\u2019s Nominatim service. When coordinates are present, the tool displays a floating panel that lists city, state or region, country and even a flag, plus a link to the precise point on a map. If a file lacks geographic data, the panel simply does not appear, keeping the interface uncluttered.<\/p>\n<p>Complementing the location lookup,\u202fFile Impact Snapshot adds a visual summary of an image\u2019s global reach. In a test on the file \u201cEinstein Head.jpg\u201d, the snapshot recorded 9,908 usage entries across 141 language editions on 2\u202fNovember\u202f2026. Persian Wikipedia accounted for 2,643 uses, while English Wikipedia showed 492. The script presents total uses, a breakdown by project type, a bar chart of language editions and a ranking of the eight most\u2011used wikis, highlighting that an image\u2019s popularity may be concentrated in unexpected language communities.<\/p>\n<h2>Improving categorisation and navigation<\/h2>\n<p>Commons relies heavily on category tags for discoverability, yet many files sit in broad categories that could be narrowed. The\u202fCategory Depth Checker scans visible categories and flags any that contain more than ten direct subcategories. When such a broad category is found, the script warns the editor and suggests up to five more specific subcategories for consideration. During testing on a photograph of the Taj\u202fMahal, the tool identified the generic category \u201cSymmetry impressions\u201d and offered tighter alternatives, while leaving the final decision to the contributor.<\/p>\n<p>To make the hierarchical context of a file clearer,\u202fBreadcrumb Injector inserts a clickable trail above the page heading on both file and category pages. The breadcrumb follows parent categories up to five levels deep, giving editors a quick sense of where a page sits within the larger taxonomy and allowing easier navigation through the category tree.<\/p>\n<h2>Real\u2011time watchlist alerts<\/h2>\n<p>The fifth script,\u202fWatchlist Notifier, addresses the repetitive task of checking a personal watchlist for new edits. Once installed on any Wikimedia wiki, the script polls the user\u2019s watchlist every 60\u202fseconds. When a new revision appears, a browser notification is displayed, and a session panel is added to the Tools sidebar to track changes during the current browsing session. The script stores the last\u2011seen revision ID in local browser storage, preventing duplicate alerts. Because the check runs per\u2011wiki, installing the script on Commons monitors Commons\u2011specific watchlist activity, while a separate installation on Wikipedia tracks edits there.<\/p>\n<p>All five scripts can be added by editing a user\u2019s\u202fcommon.js\u202fpage on the relevant wiki and importing the provided lines. After a hard refresh (Ctrl\u202f+\u202fShift\u202f+\u202fR), the new functionality appears on file pages or in the watchlist sidebar. The author advises contributors to review the source code before installation, noting that the scripts operate with the permissions of the logged\u2011in account.<\/p>\n<h2>Development considerations and community impact<\/h2>\n<p>Creating the tools required careful navigation of Wikimedia\u2019s technical constraints. The platform\u2019s content security policy limits external requests, influencing the design of Lat\/Long Finder, which relies on OpenStreetMap\u2019s fair\u2011use limits and is therefore intended for single\u2011page browsing rather than bulk processing. The developer also audited existing gadgets, templates and built\u2011in features to avoid duplicating functionality already available to editors.<\/p>\n<p>Debugging proved instructive, as code that runs in a browser console may behave differently when a page loads automatically. Understanding MediaWiki APIs, page\u2011loading behaviour and developer\u2011tool diagnostics became essential to ensure reliable operation. Throughout the project, the emphasis remained on small, focused scripts that retrieve information and enhance the user interface without modifying page content.<\/p>\n<p>By making location data, usage statistics, categorisation depth and hierarchical context instantly accessible, the four Commons\u2011focused scripts aim to reduce the number of clicks required for routine research. Watchlist Notifier, meanwhile, helps active editors stay on top of rapid changes across the Wikimedia ecosystem. The author invites the community to experiment with the tools, suggest additional features and propose new questions that a Commons file page could answer directly.<\/p>\n<p>All five scripts are hosted in a public Wikimedia Commons scripts collection, free for anyone to copy, adapt and share under the permissive CC0\u20111.0 licence. Their release underscores a broader principle: incremental, well\u2011targeted improvements can meaningfully enhance the editing experience without the need for large\u2011scale development projects.<\/p>\n\n<div style=\"font-size: 0px; height: 0px; line-height: 0px; margin: 0; padding: 0; clear: both;\"><\/div>","protected":false},"excerpt":{"rendered":"<p>A set of five lightweight userscripts now lets Wikimedia Commons editors view location data, global usage, categorisation depth and real\u2011time watchlist changes directly on file pages.<\/p>\n","protected":false},"author":2,"featured_media":3268,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[299],"tags":[3656,2123,3654,3684,3653],"class_list":["post-3267","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-news","tag-commons","tag-open-source","tag-userscripts","tag-web-tools","tag-wikimedia","entry"],"_links":{"self":[{"href":"https:\/\/newsraise.com\/in\/wp-json\/wp\/v2\/posts\/3267","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/newsraise.com\/in\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/newsraise.com\/in\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/newsraise.com\/in\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/newsraise.com\/in\/wp-json\/wp\/v2\/comments?post=3267"}],"version-history":[{"count":0,"href":"https:\/\/newsraise.com\/in\/wp-json\/wp\/v2\/posts\/3267\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/newsraise.com\/in\/wp-json\/wp\/v2\/media\/3268"}],"wp:attachment":[{"href":"https:\/\/newsraise.com\/in\/wp-json\/wp\/v2\/media?parent=3267"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/newsraise.com\/in\/wp-json\/wp\/v2\/categories?post=3267"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/newsraise.com\/in\/wp-json\/wp\/v2\/tags?post=3267"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}