Brennen Bearnes 2cfae51e7a | 6 years ago | |
---|---|---|
hosting | 6 years ago | |
public | 6 years ago | |
src | 6 years ago | |
templates | 6 years ago | |
tests/Functional | 6 years ago | |
.gitignore | 6 years ago | |
README.md | 6 years ago | |
composer.json | 6 years ago | |
composer.lock | 6 years ago | |
package-lock.json | 6 years ago | |
package.json | 6 years ago | |
phpunit.xml | 6 years ago |
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.
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.