{"id":15282884,"url":"https://github.com/wikimedia/performance-wikimediadebug","last_synced_at":"2025-10-20T01:31:34.049Z","repository":{"id":25501632,"uuid":"28932998","full_name":"wikimedia/performance-WikimediaDebug","owner":"wikimedia","description":"Browser extension for Chrome and Firefox. Mirror from https://gerrit.wikimedia.org/g/performance/WikimediaDebug/.","archived":false,"fork":false,"pushed_at":"2024-09-16T14:54:35.000Z","size":680,"stargazers_count":14,"open_issues_count":0,"forks_count":9,"subscribers_count":15,"default_branch":"master","last_synced_at":"2025-01-30T12:46:36.316Z","etag":null,"topics":["chrome","firefox","javascript","webextensions-apis"],"latest_commit_sha":null,"homepage":"https://wikitech.wikimedia.org/wiki/WikimediaDebug","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wikimedia.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","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":"2015-01-07T20:38:18.000Z","updated_at":"2024-09-16T14:52:29.000Z","dependencies_parsed_at":"2024-06-10T18:46:41.043Z","dependency_job_id":"7c21f8aa-81f1-4c74-8876-89077eb92b3f","html_url":"https://github.com/wikimedia/performance-WikimediaDebug","commit_stats":null,"previous_names":[],"tags_count":26,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wikimedia%2Fperformance-WikimediaDebug","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wikimedia%2Fperformance-WikimediaDebug/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wikimedia%2Fperformance-WikimediaDebug/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wikimedia%2Fperformance-WikimediaDebug/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wikimedia","download_url":"https://codeload.github.com/wikimedia/performance-WikimediaDebug/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237243004,"owners_count":19278060,"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":["chrome","firefox","javascript","webextensions-apis"],"created_at":"2024-09-30T14:40:29.732Z","updated_at":"2025-10-20T01:31:34.044Z","avatar_url":"https://github.com/wikimedia.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WikimediaDebug\n\nWikimedia developers can use a special HTTP header, X-Wikimedia-Debug, to\nenable certain debugging features. This Web extension allows you to easily\ninject the header into Wikimedia HTTP/S requests. Header injection can be\ntoggled via toolbar icon.\n\nYou can install [WikimediaDebug for Firefox](https://addons.mozilla.org/en-US/firefox/addon/wikimedia-debug-header/), or\n[WikimediaDebug for Chromium](https://chrome.google.com/webstore/detail/wikimediadebug/binmakecefompkjggiklgjenddjoifbb).\n\n## Release process\n\n### Test the release\n\n* Clone the repository (if not already).\n* Checkout latest `origin/master` and ensure a clean working copy.\n\n  ```\n  git remote update \u0026\u0026 git checkout -B release -t origin/master\n  # Warning: Deletes any untracked files!\n  git clean -dffx\n  ```\n* For Chrome:\n  - Open the extension manager at `chrome://extensions/`.\n  - Ensure any official installation of WikimediaDebug is disabled. (Temporarily)\n  - Ensure \"Developer mode\" is enabled.\n  - Use \"Load unpacked\" to load this directory as an extension.\n  - Test the extension and confirm any change in functionality from a recent commit.\n* For Firefox:\n  - Open the add-on manage at `about:addons` (Tools \u003e Add-ons).\n  - From the gear menu, click \"Debug Add-ons\".\n  - Use \"Load Temporary Add-on...\" and navigate to this directory and select the manifest.json file.\n  - Test the extension and confirm any change in functionality from a recent commit.\n\n### Create the release\n\n* After having tested the extension and having a clean working copy\n  of `origin/master` (per the above), update the version in `manifest.json` ([example](https://gerrit.wikimedia.org/g/performance/WikimediaDebug/+/a2c6cb5b3c89258224bfa906291104e7c5bf77a8))\n  and create a commit for this release.\n* Add a bullet list of noteworthy changes to `CHANGELOG.md`.\n  Use `npm run changelog` as your starting point.\n* Push the commit for review and merge it, then pull it down, then create a signed tag and push it.\n\n  ```\n  git remote update \u0026\u0026 git reset origin/master\n  # edit manifest.json\n  # edit CHANGELOG.md\n  git add -p\n  git commit -m \"Tag X.Y.Z\"\n  git review\n  # merge the commit\n  git pull\n  git tag -s X.Y.Z\n  git push --tags\n  ```\n* Create a ZIP archive of the extension directory.\n\n  ```\n  git archive -v --format zip -9 -o /tmp/WikimediaDebug.zip HEAD\n  ```\n### Publishing\n\nSee \u003chttps://wikitech.wikimedia.org/wiki/Release_Engineering/Runbook/WikimediaDebug\u003e.\n\n#### Upload to the Chrome Web Store\n\nSee \u003chttps://developer.chrome.com/webstore/publish\u003e.\n\n* On the [Developer Dashboard](https://chrome.google.com/webstore/developer/dashboard), click \"Edit\" for WikimediaDebug. (Avoid \"Add new item\", which creates a new extension instead.)\n* Click \"Package / Upload new package\", then select your local ZIP archive.\n* Once back on the Edit page, click \"Submit for review\" at the top.\n* Done!\n\n#### Upload to Firefox Add-ons\n\n* Log in at \u003chttps://addons.mozilla.org/\u003e.\n* Open \"[Manage My Submissions](https://addons.mozilla.org/en-US/developers/addons)\" from the Tool menu.\n* Select \"Wikimedia Debug\".\n* Click \"Upload New Version\".\n* Click \"Select a file...\" and select the ZIP archive, then continue.\n* When asked for release notes, use the same bullet list as used for [CHANGELOG.md](./CHANGELOG.md).\n* Done!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwikimedia%2Fperformance-wikimediadebug","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwikimedia%2Fperformance-wikimediadebug","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwikimedia%2Fperformance-wikimediadebug/lists"}