summaryrefslogtreecommitdiff
path: root/includes/specials/SpecialRandomredirect.php
blob: 629d5b3c8521715dbfaa1631e2924045f03cb794 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?php

/**
 * Special page to direct the user to a random redirect page (minus the second redirect)
 *
 * @ingroup 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;
	}
}