MediaWiki master
SpecialRandomRedirect.php
Go to the documentation of this file.
1<?php
25namespace MediaWiki\Specials;
26
29
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
55class_alias( SpecialRandomRedirect::class, 'SpecialRandomRedirect' );
Special page to direct the user to a random page.
Special page to direct the user 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.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU Ge...