Tool:Templatecheck

From Wikitech
Jump to: navigation, search

Description

templatecheck is a tool to validate template invocations in the German Wikipedia.

Usage

templatecheck provides a webservice at http://tools.wmflabs.org/templatecheck/.

Administration

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

git clone git://github.com/scfc/templatecheck.git ~/src/templatecheck &&
install ~/src/templatecheck/templatecheck.php ~/public_html/ &&
echo 'url.redirect = ( "^/templatecheck/$" => "/templatecheck/templatecheck.php" )' > ~/.lighttpd.conf &&
webservice stop &&
sleep 10 &&   # T156626.
webservice --backend=kubernetes php5.6 start