wikisource / ws-cat-browser

A generator for a tree browser for categories of validated Wikisource works, in multiple languages.

Home Page:https://ws-cat-browser.toolforge.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Wikisource category browser

This script is running at https://ws-cat-browser.toolforge.org/ and is updated weekly.

Missing languages?

If your Wikisource is missing, please add relevant sitelinks to the following items on Wikdiata:

  1. the root category (Q1281), and
  2. the category for validated indices Q15634466 (e.g. Index_Validated, Pagine_indice_SAL_100%).

Alternatively, you can create a task on Phabricator and just tell us the names of the above categories.

Tracking

At some point, the git repository of this tool will track changes of (or at least additions to) validated works. For now, the data/works.json is manually updated with a formatted version of the generated works.json file, so added and removed entries can be tracked.

Development

To work with this tool locally, edit the list of languages specified in download_dumps.sh, then run this script to download the relevant database dumps. Import these with something like the following:

Then set $dbs, $dbuser, and $dbpass in config.php (copy it from config_dist.php) and run php build.php.

About

A generator for a tree browser for categories of validated Wikisource works, in multiple languages.

https://ws-cat-browser.toolforge.org/


Languages

Language:PHP 69.1%Language:Twig 15.7%Language:JavaScript 10.7%Language:Shell 3.1%Language:CSS 1.4%