MediaWiki  1.23.2
Go to the documentation of this file.
1 <?php
30  function __construct() {
31  parent::__construct( 'PermanentLink' );
32  $this->mAllowedRedirectParams = array();
33  }
35  function getRedirect( $subpage ) {
36  $subpage = intval( $subpage );
37  if ( $subpage === 0 ) {
38  # throw an error page when no subpage was given
39  throw new ErrorPageError( 'nopagetitle', 'nopagetext' );
40  }
41  $this->mAddedRedirectParams['oldid'] = $subpage;
43  return true;
44  }
45 }
skin txt MediaWiki includes four core it has been set as the default in MediaWiki since the replacing Monobook it had been been the default skin since before being replaced by Vector largely rewritten in while keeping its appearance Several legacy skins were removed in the as the burden of supporting them became too heavy to bear Those in etc for skin dependent CSS etc for skin dependent JavaScript These can also be customised on a per user by etc This feature has led to a wide variety of user styles becoming that gallery is a good place to ending in php
Definition: skin.txt:62
Shortcut to construct a special page alias.
Definition: RedirectSpecialPage.php:29
the array() calling protocol came about after MediaWiki 1.4rc1.
List of Api Query prop modules.
An error page which can definitely be safely rendered using the OutputPage.
Definition: ErrorPageError.php:27