[ Index ]

PHP Cross Reference of MediaWiki-1.24.0

title

Body

[close]

/includes/specials/ -> SpecialRandompage.php (summary)

Implements Special:Randompage This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

Author: Rob Church <[email protected]>, Ilmari Karonen
File Size: 174 lines (5 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

RandomPage:: (10 methods):
  __construct()
  getNamespaces()
  setNamespace()
  isRedirect()
  execute()
  getNsList()
  getRandomTitle()
  getQueryInfo()
  selectRandomPageFromDB()
  getGroupName()


Class: RandomPage  - X-Ref

Special page to direct the user to a random page

__construct( $name = 'Randompage' )   X-Ref
No description

getNamespaces()   X-Ref
No description

setNamespace( $ns )   X-Ref
No description

isRedirect()   X-Ref
No description

execute( $par )   X-Ref
No description

getNsList()   X-Ref
Get a comma-delimited list of namespaces we don't have
any pages in

return: string

getRandomTitle()   X-Ref
Choose a random title.

return: Title|null Title object (or null if nothing to choose from)

getQueryInfo( $randstr )   X-Ref
No description

selectRandomPageFromDB( $randstr, $fname = __METHOD__ )   X-Ref
No description

getGroupName()   X-Ref
No description



Generated: Fri Nov 28 14:03:12 2014 Cross-referenced by PHPXref 0.7.1