MediaWiki
master
SpecialRandomRedirect.php
Go to the documentation of this file.
1
<?php
25
namespace
MediaWiki\Specials
;
26
27
use
MediaWiki\Title\NamespaceInfo
;
28
use
Wikimedia\Rdbms\IConnectionProvider
;
29
35
class
SpecialRandomRedirect
extends
SpecialRandomPage
{
36
41
public
function
__construct
(
42
IConnectionProvider
$dbProvider,
43
NamespaceInfo
$nsInfo
44
) {
45
parent::__construct( $dbProvider, $nsInfo );
46
$this->mName =
'Randomredirect'
;
47
$this->isRedir =
true
;
48
}
49
}
50
55
class_alias( SpecialRandomRedirect::class,
'SpecialRandomRedirect'
);
MediaWiki\Specials\SpecialRandomPage
Special page to direct the user to a random page.
Definition
SpecialRandomPage.php:38
MediaWiki\Specials\SpecialRandomRedirect
Special page to direct the user to a random redirect page (minus the second redirect)
Definition
SpecialRandomRedirect.php:35
MediaWiki\Specials\SpecialRandomRedirect\__construct
__construct(IConnectionProvider $dbProvider, NamespaceInfo $nsInfo)
Definition
SpecialRandomRedirect.php:41
MediaWiki\Title\NamespaceInfo
This is a utility class for dealing with namespaces that encodes all the "magic" behaviors of them ba...
Definition
NamespaceInfo.php:39
Wikimedia\Rdbms\IConnectionProvider
Provide primary and replica IDatabase connections.
Definition
IConnectionProvider.php:35
MediaWiki\Specials
This program is free software; you can redistribute it and/or modify it under the terms of the GNU Ge...
includes
specials
SpecialRandomRedirect.php
Generated on Sun Dec 3 2023 10:10:42 for MediaWiki by
1.9.8