Manual:compareParserCache.php

From Linux Web Expert

Revision as of 13:32, 22 September 2022 by imported>FuzzyBot (Updating to match new version of source page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

<td class="mw-version-versionbox" title="<translate nowrap> The latest stable version is <tvar name=1>1.41</tvar></translate>">
<translate> ≥</translate> 1.24
<translate> MediaWiki version:</translate>

Details

compareParserCache.php file is a maintenance script to parse random pages and compare output to cache. This script helps developers test the Parser cache .

Options/Arguments

Option Description Required?
--namespace Page namespace number <translate> Required</translate>
--maxpages Number of pages to try <translate> Required</translate>

Usage

php maintenance/compareParserCache.php --maxpages pages --namespace pagesNamespace
Terminal

See also