[ Index ] |
PHP Cross Reference of MediaWiki-1.24.0 |
[Source view] [Print] [Project Stats]
Check for articles to fix after adding/deleting namespaces Copyright © 2005-2007 Brion Vibber <[email protected]> https://www.mediawiki.org/
File Size: | 338 lines (9 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 1 file maintenance/Maintenance.php |
NamespaceConflictChecker:: (10 methods):
__construct()
execute()
checkAll()
getInterwikiList()
checkNamespace()
checkPrefix()
getConflicts()
reportConflict()
resolveConflict()
resolveConflictOn()
Class: NamespaceConflictChecker - X-Ref
Maintenance script that checks for articles to fix after__construct() X-Ref |
execute() X-Ref |
No description |
checkAll( $fix, $suffix = '' ) X-Ref |
param: bool $fix Whether or not to fix broken entries param: string $suffix Suffix to append to renamed articles return: bool |
getInterwikiList() X-Ref |
Get the interwiki list return: array |
checkNamespace( $ns, $name, $fix, $suffix = '' ) X-Ref |
param: int $ns A namespace id param: string $name param: bool $fix Whether to fix broken entries param: string $suffix Suffix to append to renamed articles return: bool |
checkPrefix( $key, $prefix, $fix, $suffix = '' ) X-Ref |
param: int $key param: string $prefix param: bool $fix param: string $suffix return: bool |
getConflicts( $ns, $name ) X-Ref |
Find pages in mainspace that have a prefix of the new namespace so we know titles that will need migrating param: int $ns Namespace id (id for new namespace?) param: string $name Prefix that is being made a namespace return: array |
reportConflict( $row, $suffix ) X-Ref |
Report any conflicts we find param: stdClass $row param: string $suffix return: bool |
resolveConflict( $row, $resolvable, $suffix ) X-Ref |
Resolve any conflicts param: stClass $row Row from the page table to fix param: bool $resolvable param: string $suffix Suffix to append to the fixed page return: bool |
resolveConflictOn( $row, $table, $prefix ) X-Ref |
Resolve a given conflict param: stdClass $row Row from the old broken entry param: string $table Table to update param: string $prefix Prefix for column name, like page or ar return: bool |
Generated: Fri Nov 28 14:03:12 2014 | Cross-referenced by PHPXref 0.7.1 |