blob: ccf5cbcd978f48a426bc5218dfe9240264b0c630 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
<?php
/**
* Special page to direct the user to a random redirect page (minus the second redirect)
*
* @addtogroup SpecialPage
* @author Rob Church <robchur@gmail.com>, Ilmari Karonen
* @license GNU General Public Licence 2.0 or later
*/
class SpecialRandomredirect extends RandomPage {
function __construct(){
parent::__construct( 'Randomredirect' );
}
// Override parent::isRedirect()
public function isRedirect(){
return true;
}
}
|