A small Slim application for returning a list of pages in a MediaWiki category, ordered by Dale-Chall readability scores.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

1.1 KiB

MediaWiki Page Readability by Category

A small Slim application for returning a list of pages in a MediaWiki category, ordered by Dale-Chall readability scores.

Works in Lynx, for some reason, as well as browsers that people actually use.

Relies on Dave Child's TextStatistics for readability scores.

Installing

First, have Composer, npm, and PHP plus some common extensions.

On a Debian system (Jessie or better):

sudo apt-get install php-cli php-xml php-mbstring php-bcmath php-curl
git clone https://gitlab.com/brennenpike/mw-category-readability.git
cd mw-category-readability
npm install
composer install
composer start

And then visit http://localhost:8080 in your browser of choice.

Hypothetical TODOs

  • Pagination
  • Page previews
  • Any hint of visual design