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 }
SpecialRandomPage\$loadBalancer
ILoadBalancer $loadBalancer
Definition: SpecialRandomPage.php:39
SpecialRandomRedirect\__construct
__construct(ILoadBalancer $loadBalancer, NamespaceInfo $nsInfo)
Definition: SpecialRandomRedirect.php:38
SpecialRandomRedirect
Special page to direct the user to a random redirect page (minus the second redirect)
Definition: SpecialRandomRedirect.php:32
SpecialRandomPage
Special page to direct the user to a random page.
Definition: SpecialRandomPage.php:33
NamespaceInfo
This is a utility class for dealing with namespaces that encodes all the "magic" behaviors of them ba...
Definition: NamespaceInfo.php:35
Wikimedia\Rdbms\ILoadBalancer
Database cluster connection, tracking, load balancing, and transaction manager interface.
Definition: ILoadBalancer.php:81