MediaWiki
1.39.10
SpecialRandomRedirect.php
Go to the documentation of this file.
1
<?php
25
use
Wikimedia\Rdbms\ILoadBalancer
;
26
32
class
SpecialRandomRedirect
extends
SpecialRandomPage
{
33
38
public
function
__construct
(
39
ILoadBalancer
$loadBalancer,
40
NamespaceInfo
$nsInfo
41
) {
42
parent::__construct( $loadBalancer, $nsInfo );
43
$this->mName =
'Randomredirect'
;
44
$this->isRedir =
true
;
45
}
46
}
NamespaceInfo
This is a utility class for dealing with namespaces that encodes all the "magic" behaviors of them ba...
Definition
NamespaceInfo.php:36
SpecialRandomPage
Special page to direct the user to a random page.
Definition
SpecialRandomPage.php:33
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
Wikimedia\Rdbms\ILoadBalancer
Create and track the database connections and transactions for a given database cluster.
Definition
ILoadBalancer.php:77
includes
specials
SpecialRandomRedirect.php
Generated on Tue Oct 1 2024 01:17:01 for MediaWiki by
1.10.0