{"id":23376067,"url":"https://github.com/thegoldenpatrik1/fandom-user-scripts","last_synced_at":"2026-04-10T15:35:52.350Z","repository":{"id":263198375,"uuid":"889636600","full_name":"TheGoldenPatrik1/fandom-user-scripts","owner":"TheGoldenPatrik1","description":"Archive of user scripts for Fandom Wikis","archived":false,"fork":false,"pushed_at":"2024-11-16T21:57:51.000Z","size":24,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-08T03:43:47.735Z","etag":null,"topics":["css","javascript","jquery","lua","mediawiki"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TheGoldenPatrik1.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-11-16T20:39:05.000Z","updated_at":"2024-11-17T01:16:14.000Z","dependencies_parsed_at":null,"dependency_job_id":"657eeb36-6c9d-4132-833e-9234c7df70d1","html_url":"https://github.com/TheGoldenPatrik1/fandom-user-scripts","commit_stats":null,"previous_names":["thegoldenpatrik1/fandom-user-scripts"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/TheGoldenPatrik1/fandom-user-scripts","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheGoldenPatrik1%2Ffandom-user-scripts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheGoldenPatrik1%2Ffandom-user-scripts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheGoldenPatrik1%2Ffandom-user-scripts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheGoldenPatrik1%2Ffandom-user-scripts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TheGoldenPatrik1","download_url":"https://codeload.github.com/TheGoldenPatrik1/fandom-user-scripts/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheGoldenPatrik1%2Ffandom-user-scripts/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262862409,"owners_count":23376405,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["css","javascript","jquery","lua","mediawiki"],"created_at":"2024-12-21T17:33:04.702Z","updated_at":"2025-12-30T22:20:55.663Z","avatar_url":"https://github.com/TheGoldenPatrik1.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Fandom User Scripts\n\nIn the past, I was a volunteer contributor on various [Fandom](https://www.fandom.com/) wikis. A lot of my work involved creating user scripts with [JS](https://developer.mozilla.org/en-US/docs/Web/JavaScript) and [CSS](https://developer.mozilla.org/en-US/docs/Web/CSS) to provide various editing, stylistic, and administration enhancements for Fandom websites.\n\nThis repository serves as an archive of some of what I created. Each script is organized into its own folder within the `src` directory, and includes JS, CSS, and [Lua](https://www.lua.org/) files where applicable.\n\nIt is worth noting that, given the collaborative nature of the [Fandom Developers Wiki](https://dev.fandom.com/wiki/Fandom_Developers_Wiki), I am not responsible for every line of code in every file. However, these are the scripts and modules that I am the primary author of.\n\nAlso of note is the fact that this repository is an *archive*. As such, the code in this repository might be out-of-date with the latest version of the code on the Fandom Developers Wiki.\n\n---\n\n## Available Scripts\n\nHere is a list of available scripts in this repository. Each script has a brief description of its purpose and functionality.\n\n### #1: **AddBlockUserTag**\n- **Code**: [AddBlockUserTag](/src/AddBlockUserTag/)\n- **Description**: This script adds a button to the user profile masthead to block that user, provided that you have the permissions necessary to block users.\n\n**Features**:\n- The button text is a cached i18n value to support other languages.\n\n**Files**:\n   - `AddBlockUserTag.js`: The JavaScript code that implements the functionality.\n\n**More Information**: see [Fandom Developers Wiki](https://dev.fandom.com/wiki/AddBlockUserTag)\n\n### #2: **BotManagement**\n- **Code**: [BotManagement](/src/BotManagement/)\n- **Description**: This script adds a button to quickly add or remove bot rights. Additionally, it displays a notification to alert users when they are flagged as a bot.\n\n**Features**:\n- Includes i18n support for other languages.\n- Provides customization options for disabling the notification and changing the add/remove rights reasons.\n\n**Files**:\n   - `BotManagement.js`: The JavaScript code that implements the functionality.\n\n**More Information**: see [Fandom Developers Wiki](https://dev.fandom.com/wiki/BotManagement)\n\n### #3: **FastBlock**\n- **Code**: [FastBlock](/src/FastBlock/)\n- **Description**: This script adds fully customizable buttons to the user masthead in order to quickly block users with a pre-specified reason and expiry time.\n\n**Features**:\n- Includes i18n support for other languages.\n- The buttons are only displayed if you have the necessary permissions to block users.\n\n**Files**:\n   - `FastBlock.js`: The JavaScript code that implements the functionality.\n\n**More Information**: see [Fandom Developers Wiki](https://dev.fandom.com/wiki/FastBlock)\n\n### #4: **Fetch**\n- **Code**: [Fetch](/src/Fetch/)\n- **Description**: This script is a library for getting and caching API requests and system messages, simplifying and streamlining the process, and enabling other scripts to easily tap into performance-benefits.\n\n**Features**:\n- Versatile and easy-to-use customization options.\n- Caching uses `localStorage`.\n- Developer options to easily bypass or reset the cache.\n\n**Files**:\n   - `Fetch.js`: The JavaScript code that implements the functionality.\n\n**More Information**: see [Fandom Developers Wiki](https://dev.fandom.com/wiki/Fetch)\n\n### #5: **LangSwitch**\n- **Code**: [LangSwitch](/src/LangSwitch/)\n- **Description**: This script adds a tools link, which, when clicked, opens a prompt to quickly switch languages.\n\n**Features**:\n- Includes i18n support for other languages.\n\n**Files**:\n   - `LangSwitch.js`: The JavaScript code that implements the functionality.\n\n**More Information**: see [Fandom Developers Wiki](https://dev.fandom.com/wiki/LangSwitch)\n\n### #6: **LinkTemplate**\n- **Code**: [LinkTemplate](/src/LinkTemplate/)\n- **Description**: This module is a library that can be used to easily create link templates. \n\n**Features**:\n- Streamlines the process of creating MediaWiki link templates.\n\n**Files**:\n   - `LinkTemplate.lua`: The Lua code that implements this module.\n\n**More Information**: see [Fandom Developers Wiki](https://dev.fandom.com/wiki/Global_Lua_Modules/LinkTemplate)\n\n### #7: **MinimalTemplateClassification**\n- **Code**: [MinimalTemplateClassification](/src/MinimalTemplateClassification/)\n- **Description**: This script hides description text in the template classification window, making it easier to quickly select the desired option.\n\n**Features**:\n- Includes i18n support for other languages.\n- Adds a button to optionally unhide the description text.\n\n**Files**:\n   - `MinimalTemplateClassification.js`: The JavaScript code that implements the functionality.\n\n**More Information**: see [Fandom Developers Wiki](https://dev.fandom.com/wiki/MinimalTemplateClassification)\n\n### #8: **Placement**\n- **Code**: [Placement](/src/Placement/)\n- **Description**: This is a library for script placement. It makes placement customization much easier and standardizes selectors, improving the development of other user scripts and increasing user customization options.\n\n**Features**:\n- Includes advanced customization options and an easy-to-use interface.\n\n**Files**:\n   - `Placement.js`: The JavaScript code that implements the functionality.\n\n**More Information**: see [Fandom Developers Wiki](https://dev.fandom.com/wiki/Placement)\n\n### #9: **PortableListUsers**\n- **Code**: [PortableListUsers](/src/PortableListUsers/)\n- **Description**: This script adds button, which opens a fast and easy-to-use modal for viewing users on a wiki.\n\n**Features**:\n- Includes i18n support for other languages.\n- Has some customization options.\n- Provides options to sort the user list.\n\n**Files**:\n   - `PortableListUsers.js`: The JavaScript code that implements the functionality.\n   - `PortableListUsers.css`: The CSS styles for the script.\n\n**More Information**: see [Fandom Developers Wiki](https://dev.fandom.com/wiki/PortableListUsers)\n\n### #10: **PreferenceLinks**\n- **Code**: [PreferenceLinks](/src/PreferenceLinks/)\n- **Description**: This script replaces the preferences link with a dropdown that has links to each of the individual preference pages.\n\n**Features**:\n- Includes i18n support for other languages.\n\n**Files**:\n   - `PreferenceLinks.js`: The JavaScript code that implements the functionality.\n\n**More Information**: see [Fandom Developers Wiki](https://dev.fandom.com/wiki/PreferenceLinks)\n\n### #11: **ProtectionIcons**\n- **Code**: [ProtectionIcons](/src/ProtectionIcons/)\n- **Description**: This script adds icons to a page based on its level of protection, eliminating the need for users to manually \u0026 tediously check this information.\n\n**Features**:\n- Includes i18n support for other languages.\n\n**Files**:\n   - `ProtectionIcons.js`: The JavaScript code that implements the functionality.\n   - `ProtectionIcons.css`: The CSS styles for the script.\n\n**More Information**: see [Fandom Developers Wiki](https://dev.fandom.com/wiki/ProtectionIcons)\n\n### #12: **UserActivityLink**\n- **Code**: [UserActivityLink](/src/UserActivityLink/)\n- **Description**: This script adds a link to the global nav dropdown for quick access to the user activity page.\n\n**Features**:\n- Includes i18n support for other languages.\n\n**Files**:\n   - `UserActivityLink.js`: The JavaScript code that implements the functionality.\n\n**More Information**: see [Fandom Developers Wiki](https://dev.fandom.com/wiki/UserActivityLink)\n\n---\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthegoldenpatrik1%2Ffandom-user-scripts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthegoldenpatrik1%2Ffandom-user-scripts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthegoldenpatrik1%2Ffandom-user-scripts/lists"}