MediaWiki file: | checkBadRedirects.php|
---|---|
Location: | maintenance/ |
Source code: | master • 1.40.0 • 1.39.4 • 1.35.11 |
Classes: | CheckBadRedirects |
Details
checkBadRedirects.php file is a maintenance script to check that pages marked as being redirects really are redirects.
It is useful when a page is marked as a redirect in the page database table but the page is not actually a redirect.
Options/Arguments
This script does not take any options/arguments as input.
Usage
php maintenance/checkBadRedirects.php
Terminal
$ php maintenance/checkBadRedirects.php Fetching redirects... Found 67 redirects. Checking for bad redirects: Page-FooBar-1 Page-FooBar-2 Page-FooBar-3 Page-FooBar-4 Page-FooBar-5 Page-FooBar-6 Page-FooBar-7 Page-FooBar-8 Page-FooBar-9 Page-FooBar-10 Page-FooBar-11 Done.
See also
- Manual:Redirects
- Help:Redirects
- Manual:fixDoubleRedirects.php
This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.