A small Slim application for returning a list of pages in a MediaWiki category, ordered by Dale-Chall readability scores.
Brennen Bearnes 2cfae51e7a add apache conf for future reference 4 months ago
hosting add apache conf for future reference 4 months ago
public add rendering of list results to view 6 months ago
src whitespace pedantry 6 months ago
templates add rendering of list results to view 6 months ago
tests/Functional initial commit: rough out a server-side php endpoint 6 months ago
.gitignore add npm boilerplate 6 months ago
README.md add apache conf for future reference 4 months ago
composer.json add oojs-ui to composer dependencies 6 months ago
composer.lock add oojs-ui to composer dependencies 6 months ago
package-lock.json add npm boilerplate 6 months ago
package.json add npm boilerplate 6 months ago
phpunit.xml initial commit: rough out a server-side php endpoint 6 months ago

README.md

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