Wikipedia talk:User scripts
| To help centralize discussions and keep related topics together, Wikipedia talk:User scripts/List and Wikipedia talk:User scripts/Ranking redirect here. |
| This project page does not require a rating on Wikipedia's content assessment scale. It is of interest to the following WikiProjects: | ||||||||||||||||||
| ||||||||||||||||||
| See here for a complete list of archives and other subpages from the deprecated WikiProject User scripts. |
Dynamic Wikidata table
editThis 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)
CSP restrictions
editHi - anyone else has problems with their scripts that make external requests due to updated CSP policy? Alaexis¿question? 10:22, 6 March 2026 (UTC)
- @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)
- Thanks! Will follow the discussion there. Alaexis¿question? 12:07, 6 March 2026 (UTC)
Talk page -> GitHub Issue tracker
editHi 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)
- 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)
- 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)
Subsection "Site-wide shortcuts"
editIn 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)