MediaWiki  1.23.0
ReadOnlyError.php
Go to the documentation of this file.
1 <?php
29  public function __construct() {
30  parent::__construct(
31  'readonly',
32  'readonlytext',
33  wfReadOnlyReason() ?: array()
34  );
35  }
36 }
ReadOnlyError
Show an error when the wiki is locked/read-only and the user tries to do something that requires writ...
Definition: ReadOnlyError.php:28
php
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
array
the array() calling protocol came about after MediaWiki 1.4rc1.
List of Api Query prop modules.
ReadOnlyError\__construct
__construct()
Definition: ReadOnlyError.php:29
wfReadOnlyReason
wfReadOnlyReason()
Get the value of $wgReadOnly or the contents of $wgReadOnlyFile.
Definition: GlobalFunctions.php:1322
ErrorPageError
An error page which can definitely be safely rendered using the OutputPage.
Definition: ErrorPageError.php:27