LinkTitles extension for MediaWiki
Automatically add links to existing pages.
All Classes Namespaces Functions Variables Modules Pages
LinkTitles\Cli Class Reference

Core class of the maintanance script. More...

Inheritance diagram for LinkTitles\Cli:

Public Member Functions

 __construct ()
 Constructor.
 
 execute ()
 

Private Member Functions

 singlePage ()
 Processes a single page. More...
 
 allPages ($index=0)
 Process all pages in the Wiki. More...
 

Detailed Description

Core class of the maintanance script.

Note
Note that the execution of maintenance scripts is prohibited for an Apache web server due to a .htaccess file that declares deny from all. Other webservers may exhibit different behavior. Be aware that anybody who is able to execute this script may place a high load on the server.

Definition at line 60 of file linktitles-cli.php.

Member Function Documentation

LinkTitles\Cli::allPages (   $index = 0)
private

Process all pages in the Wiki.

Parameters
integer$indexIndex of the start page.
Returns
bool True on success, false on failure.

Definition at line 153 of file linktitles-cli.php.

LinkTitles\Cli::singlePage ( )
private

Processes a single page.

Returns
bool True on success, false on failure.

Definition at line 134 of file linktitles-cli.php.


The documentation for this class was generated from the following file: