Nova Resource:Tools/Tools/wikilint

From Wikitech

Description

wikilint (formerly Wikipedia Autoreviewer) is a web based service to find errors (like typos and wrong formating) in Wikipedia articles and make proposals how to improve them. Most features work currently only for the German Wikipedia, but some are also available for English articles.

Usage

wikilint provides a webservice at http://tools.wmflabs.org/wikilint/cgi-bin/wikilint.

Administration

As a prerequisite, the packages libtool, libdbd-sqlite3-perl and sqlite3 need to be installed on tools-login, and the packages libdbd-mysql-perl, libdbd-sqlite3-perl and libdbi-perl on the webservers.

To install or update, use become wikilint to switch to the tool account. Then:

git clone git://github.com/scfc/wikilint.git ~/src/wikilint &&
cd ~/src/wikilint &&
autoreconf &&
./configure --prefix=/data/project/wikilint \
            --with-cgibindir=/data/project/wikilint/cgi-bin \
            --with-htdocsdir=/data/project/wikilint/public_html \
            --with-pmdir=/data/project/wikilint/lib \
            --datarootdir=/data/project/wikilint/share \
            --with-tool_path=http://tools.wmflabs.org/wikilint/cgi-bin/wikilint \
            --with-static_html_path=/wikilint/ &&
make &&
make install

wikilint by default uses SQLite databases with snapshots of information about the German Wikipedia. To activate the use of the live replicated databases, set the environment variable WIKILINTUSEDB to true by creating ~local-wikilint/cgi-bin/.htaccess with the content:

SetEnv WIKILINTUSEDB true