MediaWiki REL1_37
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}
This is a utility class for dealing with namespaces that encodes all the "magic" behaviors of them ba...
Special page to direct the user to a random page.
ILoadBalancer $loadBalancer
Special page to direct the user to a random redirect page (minus the second redirect)
__construct(ILoadBalancer $loadBalancer, NamespaceInfo $nsInfo)
Database cluster connection, tracking, load balancing, and transaction manager interface.