MediaWiki master
SpecialRandomRedirect.php
Go to the documentation of this file.
1<?php
7namespace MediaWiki\Specials;
8
11
19
20 public function __construct(
21 IConnectionProvider $dbProvider,
22 NamespaceInfo $nsInfo
23 ) {
24 parent::__construct( $dbProvider, $nsInfo );
25 $this->mName = 'Randomredirect';
26 $this->isRedir = true;
27 }
28}
29
34class_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.