Jump to content

Manual:pageExists.php

From mediawiki.org
Revision as of 06:45, 8 December 2014 by Shirayuki (talk | contribs) (dummy edit to update translation pages)

Details

MediaWiki version:
1.24
Gerrit change 132695

pageExists.php file is a maintenance script to report whether a page with a specific title exists. It will print out the result to standard output with a meaningful text, and will set the exit status of the script to 0 if the page exists.

Usage

php maintenance/pageExists.php "page title"

Parameters

Option/Parameter Description
Page title checks whether the page exists

[[Category:Maintenance scriptsTemplate:Translation]]