wiki-tennis

Bearbeiten

What is wiki-tennis?

Bearbeiten

wiki-tennis is a collection of Python scripts to support members of the various Wikipedia:WikiProjects Tennis of the different Wikipedia language versions. It aims to provide copy&paste Wikicode as the basis for certain repetitive tasks, e.g. the list of tournament wins of a player or tournament brackets in the respective local Wikipedia format/templates.

Which features does wiki-tennis offer now and potentially in the future?

Bearbeiten

Currently, wiki-tennis provides the following features:

In the medium term, wiki-tennis seeks to implement the following additional features:

  • /PlayerWorldRanking
    • WTA: historic
  • /PlayerTournamentWins
    • ATP & WTA: Wikidata integration
    • WTA: singles and doubles
  • /TournamentDraws
    • ATP: singles and doubles
    • WTA: singles and doubles
    • ITF: singles and doubles

Please see examples including local formats and templates via the user "Mad_melone" on your respective Wikipedia language version.

How can I use wiki-tennis?

Bearbeiten

Webservice

Bearbeiten

The most common way to use wiki-tennis as a Wikipedia editor is via Wikimedia's Toolforge (used to be Wikimedia Labs) and its webservice. You can access wiki-tennis and its most up-to-date code via

Local installation

Bearbeiten

You may also download wiki-tennis and run the scripts locally either by shell scripts or via a Python environment. The source code is available via GitHub and also Wikimedia's Phabricator as a clone:

There is a ton of instructions to run the code locally available on the internet in your local language.

How to report bugs and request features?

Bearbeiten

Please use the GitHub repository to report bugs or request features via https://github.com/madmelone/wiki-tennis/issues. Also, please don't hesitate to contact me on the wiki-tennis discussion page

Update log

Bearbeiten

Update 2020-04-25: Multi-language and Wikidata support for Tournament wins

Bearbeiten
  • [Add] Player Tournament Wins: player label (=name), link on a specific Wikipedia language version and country code are pulled from Wikidata, info from website still as fallback available
  • [Add] Player Tournament Wins: supports multiple languages, added Dutch (https://nl.wikipedia.org/wiki/Gebruiker:Mad_melone/wiki-tennis/PlayerTournamentWins) as first example
  • [Changes] Player Tournament Wins: supports formats that also show finals losses next to tournament wins (=finals wins)

Update 2020-04-12: ATP doubles tournament wins

Bearbeiten
  • [Add] Player tournament wins also for ATP double tournaments - no Wikidata integration yet, therefore Welt  Welt as country for doubles partner until resolved
  • [Add] Minimum tournament tier to filter results
  • [Changes] Smaller color coding changes

Update 2020-04-11: Copy-to-Clipboard function

Bearbeiten
  • [Add] Copy-to-Clipboard function for the results from queries
  • [Add] Dutch language support for Player World Ranking