lingua-libre / SignIt

🌻 Lingua Libre SignIt web-browser extension translates selected word in French Sign Language via an elegant pop up so you learn sign language while reading online.
https://addons.mozilla.org/en-US/firefox/addon/lingua-libre-signit/
MIT License
11 stars 13 forks source link

List available files using Commons only #52

Closed hugolpz closed 1 month ago

hugolpz commented 5 months ago

Lingualibre wikibase API may be in end of life.

Explore relying on Wikimedia Commons API queries :

One API query response on Commons has a limit of 500. To ensure code's resilience and handling of larger categories you need to recursively query the API using continue.cmcontinue if you query using list=categorymembers. Append &origin=* or it could fail due to xhr cross origin.

Clean ups ?

May require bot clean up or API query starting on parent category https://commons.wikimedia.org/wiki/Category:Videos_Langue_des_signes_française

See also

hugolpz commented 1 month ago

Duplicate ticket. See #66 for this.