MediaWiki master
SpecialRandomRedirect.php
Go to the documentation of this file.
1<?php
21namespace MediaWiki\Specials;
22
25
33
38 public function __construct(
39 IConnectionProvider $dbProvider,
40 NamespaceInfo $nsInfo
41 ) {
42 parent::__construct( $dbProvider, $nsInfo );
43 $this->mName = 'Randomredirect';
44 $this->isRedir = true;
45 }
46}
47
52class_alias( SpecialRandomRedirect::class, 'SpecialRandomRedirect' );
Redirect to a random redirect page (minus the second redirect)
__construct(IConnectionProvider $dbProvider, NamespaceInfo $nsInfo)
This is a utility class for dealing with namespaces that encodes all the "magic" behaviors of them ba...
Provide primary and replica IDatabase connections.