You are browsing a read-only backup copy of Wikitech. The primary site can be found at wikitech.wikimedia.org

Tool:Templatecheck: Difference between revisions

From Wikitech-static
Jump to navigation Jump to search
imported>Nintendofan885
(Update Toolforge URL)
imported>Quiddity
m (fixes)
 
Line 11: Line 11:
To install or update, use <code>become templatecheck</code> to switch to the tool account.  Then:
To install or update, use <code>become templatecheck</code> to switch to the tool account.  Then:


<source lang="bash">
<syntaxhighlight lang="bash">
git clone git://github.com/scfc/templatecheck.git ~/src/templatecheck &&
git clone git://github.com/scfc/templatecheck.git ~/src/templatecheck &&
install ~/src/templatecheck/templatecheck.php ~/public_html/ &&
install ~/src/templatecheck/templatecheck.php ~/public_html/ &&
Line 18: Line 18:
sleep 10 &&  # T156626.
sleep 10 &&  # T156626.
webservice --backend=kubernetes php5.6 start
webservice --backend=kubernetes php5.6 start
</source>
</syntaxhighlight>


[[Category:Toolforge tools]]
[[Category:Toolforge tools]]

Latest revision as of 19:09, 4 September 2021

Description

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

Usage

templatecheck provides a webservice at https://templatecheck.toolforge.org/.

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