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.
Brennen Bearnes 2cfae51e7a add apache conf for future reference пре 1 година
hosting add apache conf for future reference пре 1 година
public add rendering of list results to view пре 1 година
src whitespace pedantry пре 1 година
templates add rendering of list results to view пре 1 година
tests/Functional initial commit: rough out a server-side php endpoint пре 1 година
.gitignore add npm boilerplate пре 1 година
README.md add apache conf for future reference пре 1 година
composer.json add oojs-ui to composer dependencies пре 1 година
composer.lock add oojs-ui to composer dependencies пре 1 година
package-lock.json add npm boilerplate пре 1 година
package.json add npm boilerplate пре 1 година
phpunit.xml initial commit: rough out a server-side php endpoint пре 1 година

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