Skip to content

Commit

Permalink
Enable for huwiki, idwiki, jawiki, nlwiki, plwiki, ptwiki (#180)
Browse files Browse the repository at this point in the history
Update domain in config, now at wmcloud.org

Bug: T334891
  • Loading branch information
MusikAnimal authored Jun 6, 2023
1 parent 96019e6 commit 97785bf
Show file tree
Hide file tree
Showing 6 changed files with 55 additions and 27 deletions.
10 changes: 9 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.19.0] - 2023-06-06
### Changed
- Added support for Hungarian, Indonesian, Japanese, Dutch, Polish and
Portuguese Wikipedias.
- Update API URL to its new home at wmcloud.org
- Translation updates.

## [0.18.0] - 2023-04-28
### Changed
- Added support for Italian Wikipedia.
Expand Down Expand Up @@ -183,7 +190,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- First tagged release
- Internationalization improvements

[Unreleased]: https://github.com/wikimedia/WhoWroteThat/compare/0.18.0...HEAD
[Unreleased]: https://github.com/wikimedia/WhoWroteThat/compare/0.19.0...HEAD
[0.19.0]: https://github.com/wikimedia/WhoWroteThat/compare/0.18.0...0.19.0
[0.18.0]: https://github.com/wikimedia/WhoWroteThat/compare/0.17.0...0.18.0
[0.17.0]: https://github.com/wikimedia/WhoWroteThat/compare/0.16.2...0.17.0
[0.16.2]: https://github.com/wikimedia/WhoWroteThat/compare/0.16.1...0.16.2
Expand Down
23 changes: 14 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Who Wrote That? for Wikipedia
=============================

Explore authorship and revision information visually and directly in Wikipedia articles.
Powered by [WikiWho](https://wikiwho.wmflabs.org/).
Powered by [WikiWho](https://wikiwho.wmcloud.org/).

WhoWroteThat is available as a browser extension for Firefox and Chrome.

Expand All @@ -28,14 +28,19 @@ Table of Contents:
## Supported Wikipedias

The tool works on Wikipedias supported by the WhoColor API:
[Basque](https://eu.wikipedia.org/),
[English](https://en.wikipedia.org/),
[Dutch](https://nl.wikipedia.org/),
[French](https://fr.wikipedia.org/),
[German](https://de.wikipedia.org/),
[Basque](https://eu.wikipedia.org/),
[Turkish](https://tr.wikipedia.org/),
[Spanish](https://es.wikipedia.org/),
[Hungarian](https://hu.wikipedia.org/),
[Indonesian](https://id.wikipedia.org/),
[Italian](https://it.wikipedia.org/),
[Japanese](https://ja.wikipedia.org/),
[Polish](https://pl.wikipedia.org/),
[Portuguese](https://pt.wikipedia.org/),
[French](https://fr.wikipedia.org/), and
[Italian](https://it.wikipedia.org/)
[Spanish](https://es.wikipedia.org/), and
[Turkish](https://tr.wikipedia.org/)

## Installation for users

Expand Down Expand Up @@ -70,7 +75,7 @@ The tool works on Wikipedias supported by the WhoColor API:
## Releasing the browser extension

First create your release branch, update the version number in `package.json`
and ensure the changelog is up to date,
and ensure the changelog is up-to-date,
then tag the release branch in Git with the new version.
Run `grunt` (the default task only) to create
six zip files such as `dist/extension_firefox/whowrotethat_for_wikipedia-0.2.0.0.zip`
Expand Down Expand Up @@ -124,9 +129,9 @@ Available commands are:

## WikiWho API

The API used by this tool is available for public use at [wikiwho.wmflabs.org](https://wikiwho.wmflabs.org/).
The API used by this tool is available for public use at [wikiwho.wmcloud.org](https://wikiwho.wmcloud.org/).
The algorithm and server code was originally written and hosted by [Gesis](https://www.gesis.org/) and [KIT](https://www.kit.edu/english/index.php).
See their [original homepage](https://wikiwho.wmflabs.org/gesis_home) for more information.
See their [original homepage](https://wikiwho.wmcloud.org/gesis_home) for more information.
In February 2022 it was officially moved to Wikimedia's own infrastructure.

## Changelog
Expand Down
43 changes: 29 additions & 14 deletions build/extension_manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,32 +18,47 @@
},
"content_scripts": [ {
"matches": [
"*://en.wikipedia.org/*",
"*://de.wikipedia.org/*",
"*://eu.wikipedia.org/*",
"*://tr.wikipedia.org/*",
"*://en.wikipedia.org/*",
"*://es.wikipedia.org/*",
"*://eu.wikipedia.org/*",
"*://fr.wikipedia.org/*",
"*://hu.wikipedia.org/*",
"*://id.wikipedia.org/*",
"*://it.wikipedia.org/*",
"*://pt.wikipedia.org/*"
"*://ja.wikipedia.org/*",
"*://nl.wikipedia.org/*",
"*://pl.wikipedia.org/*",
"*://pt.wikipedia.org/*",
"*://tr.wikipedia.org/*"
],
"exclude_globs": [
"*://en.wikipedia.org/wiki/Special:*",
"*://de.wikipedia.org/*title=Spezial:*",
"*://de.wikipedia.org/wiki/Spezial:*",
"*://en.wikipedia.org/*title=Special:*",
"*://en.wikipedia.org/wiki/Special:*",
"*://es.wikipedia.org/*title=Especial:*",
"*://es.wikipedia.org/wiki/Especial:*",
"*://eu.wikipedia.org/*title=Berezi:*",
"*://eu.wikipedia.org/wiki/Berezi:*",
"*://tr.wikipedia.org/wiki/%C3%96zel:*",
"*://fr.wikipedia.org/*title=Sp%C3%A9cial:*",
"*://fr.wikipedia.org/wiki/Sp%C3%A9cial:*",
"*://hu.wikipedia.org/*title=Speci%C3%A1lis:*",
"*://hu.wikipedia.org/wiki/Speci%C3%A1lis:*",
"*://id.wikipedia.org/*title=Istimewa:*",
"*://id.wikipedia.org/wiki/Istimewa:*",
"*://it.wikipedia.org/*title=Speciale:*",
"*://it.wikipedia.org/wiki/Speciale:*",
"*://es.wikipedia.org/wiki/Especial:*",
"*://ja.wikipedia.org/*title=%E7%89%B9%E5%88%A5:*",
"*://ja.wikipedia.org/wiki/%E7%89%B9%E5%88%A5:*",
"*://nl.wikipedia.org/*title=Speciaal:*",
"*://nl.wikipedia.org/wiki/Speciaal:*",
"*://pl.wikipedia.org/*title=Specjalna:*",
"*://pl.wikipedia.org/wiki/Specjalna:*",
"*://pt.wikipedia.org/*title=Especial:*",
"*://pt.wikipedia.org/wiki/Especial:*",
"*://en.wikipedia.org/*title=Special:*",
"*://de.wikipedia.org/*title=Spezial:*",
"*://eu.wikipedia.org/*title=Berezi:*",
"*://tr.wikipedia.org/*title=%C3%96zel:*",
"*://es.wikipedia.org/*title=Especial:*",
"*://fr.wikipedia.org/*title=Sp%C3%A9cial:*",
"*://it.wikipedia.org/*title=Speciale:",
"*://pt.wikipedia.org/*title=Especial:*"
"*://tr.wikipedia.org/wiki/%C3%96zel:*"
],
"js": [ "js/contentScript.js" ],
"css": [ "generated.whowrotethat.css" ],
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"repository": "https://github.com/wikimedia/WhoWroteThat",
"version": "0.18.0",
"version": "0.19.0",
"license": "MIT",
"webExt": {
"sourceDir": "dist/extension/",
Expand Down
2 changes: 1 addition & 1 deletion src/config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const config = {
wikiWhoUrl: 'https://wikiwho.wmflabs.org/',
wikiWhoUrl: 'https://wikiwho.wmcloud.org/',
// Set the output type between the extension and the gadget
outputEnvironment: '',
// Elements that we know for sure are never tokenized and should be grayed out.
Expand Down

0 comments on commit 97785bf

Please sign in to comment.