Wikipedia talk:User scripts

Dynamic Wikidata table

edit

This page is updated by a bot and also shows many user scripts along with gadgets and other tools (if data was set on whether it's a user script, it could be filtered or sorted):

d:Wikidata:List of Wikimedia tools with Wikidata item

Thought I'd leave this here, for example as people watching this page may be interested in getting the data in the table here into Wikidata.

Its structured data allows querying tools for example and one can add further structured data such as the link of the issue tracker if available or a screenshot showing its functionality. For the user scripts that already have a Wikidata item, useful data that's currently missing in Wikidata is the number of the script's users which is shown here via Template:User script table row (apparently by Nardog). Maybe this data could be imported into Wikidata with some batch import or maybe there could be some technical development that enables dynamic display of that data within Wikidata or via SPARQL in the Wikidata query service (which the ListeriaBot can use). Prototyperspective (talk) 11:57, 2 March 2026 (UTC)Reply

CSP restrictions

edit

Hi - anyone else has problems with their scripts that make external requests due to updated CSP policy? Alaexis¿question? 10:22, 6 March 2026 (UTC)Reply

@Alaexis: Have you read through Wikipedia:Village pump (technical)#Today's outage — user scripts are disabled? That's where most discussion is occurring. --Redrose64 🌹 (talk) 11:44, 6 March 2026 (UTC)Reply
Thanks! Will follow the discussion there. Alaexis¿question? 12:07, 6 March 2026 (UTC)Reply

Talk page -> GitHub Issue tracker

edit

Hi all, I created a github action to scrape a user script's talk page every day and open issues on Github if feature requests or bug reports have been found. @ClaudineChionh thought that this might be useful for other script-builders, so feel free to re-use it (it uses scrape_and_create.py where you need to specify for which script it should run). The tracker looks like this . It's been running a few days and seems to work well. Alaexis¿question? 13:38, 10 April 2026 (UTC)Reply

Are the titles and descriptions rewritten w/ AI? I'd prefer it included the original issue description (or at least a permalink to the relevant section). — DVRTed (Talk) 13:49, 10 April 2026 (UTC)Reply
Links to sections is a great idea, I've added them. For now they are not *permalinks* as that would change the script logic a bit: now the script relies only on the latest talk page contents while providing permalinks would require some work with revisions (is there an easier way?).
The descriptions are written by AI. The main puproses of the tool is to distill and deduplicate feature requests/bug reports from unstructured conversations, I don't think it can be done without AI. Alaexis¿question? 21:19, 10 April 2026 (UTC)Reply

Subsection "Site-wide shortcuts"

edit

In Special:Diff/1351902364, I've created a new subsection Wikipedia:User scripts/List#Site-wide shortcuts for the scripts, which seem to qualify the last sentence of the description of section § Appearance and behavior: Scripts that do nothing other than add a link to a menu, panel, or toolbar are in § Shortcuts.

I'm not sure about some of them, like #User:Sapphaline/skinswitcherportlet.js, which technically creates a whole new panel of portlet links. Or #User:Novem Linguae/Scripts/VisualEditorEverywhere.js, which also adds links to section headers, which some might consider to not fall into the categories of a menu, panel, or toolbar.

Let me know what you think about the new subsection. —⁠andrybak (talk) 21:16, 30 April 2026 (UTC)Reply