MediaWiki
REL1_20
|
Maintenance script that reports the hostname of a slave server. More...
Public Member Functions | |
__construct () | |
Default constructor. | |
execute () | |
Do the actual work. |
Maintenance script that reports the hostname of a slave server.
Definition at line 31 of file getSlaveServer.php.
Default constructor.
Children should call this *first* if implementing their own constructors
Reimplemented from Maintenance.
Definition at line 32 of file getSlaveServer.php.
References Maintenance\addOption().
Do the actual work.
All child classes will need to implement this
Reimplemented from Maintenance.
Definition at line 37 of file getSlaveServer.php.
References $lb, Maintenance\getOption(), Maintenance\hasOption(), Maintenance\output(), wfGetDB(), and wfGetLB().