MediaWiki master
SpecialRandomRedirect.php
Go to the documentation of this file.
1<?php
21namespace MediaWiki\Specials;
22
25
33
34 public function __construct(
35 IConnectionProvider $dbProvider,
36 NamespaceInfo $nsInfo
37 ) {
38 parent::__construct( $dbProvider, $nsInfo );
39 $this->mName = 'Randomredirect';
40 $this->isRedir = true;
41 }
42}
43
48class_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.