MediaWiki  master
SpecialRandomredirect.php
Go to the documentation of this file.
1 <?php
26 
33 
38  public function __construct(
40  NamespaceInfo $nsInfo
41  ) {
42  parent::__construct( $loadBalancer, $nsInfo );
43  $this->mName = 'Randomredirect';
44  $this->isRedir = true;
45  }
46 }
SpecialRandomredirect
Special page to direct the user to a random redirect page (minus the second redirect)
Definition: SpecialRandomredirect.php:32
SpecialRandomredirect\__construct
__construct(ILoadBalancer $loadBalancer, NamespaceInfo $nsInfo)
Definition: SpecialRandomredirect.php:38
NamespaceInfo
This is a utility class for dealing with namespaces that encodes all the "magic" behaviors of them ba...
Definition: NamespaceInfo.php:35
RandomPage
Special page to direct the user to a random page.
Definition: SpecialRandompage.php:33
Wikimedia\Rdbms\ILoadBalancer
Database cluster connection, tracking, load balancing, and transaction manager interface.
Definition: ILoadBalancer.php:81
RandomPage\$loadBalancer
ILoadBalancer $loadBalancer
Definition: SpecialRandompage.php:39