MediaWiki
REL1_33
ReadOnlyError.php
Go to the documentation of this file.
1
<?php
28
class
ReadOnlyError
extends
ErrorPageError
{
29
public
function
__construct
() {
30
parent::__construct(
31
'readonly'
,
32
'readonlytext'
,
33
wfReadOnlyReason
() ?: []
34
);
35
}
36
}
wfReadOnlyReason
wfReadOnlyReason()
Check if the site is in read-only mode and return the message if so.
Definition
GlobalFunctions.php:1222
ErrorPageError
An error page which can definitely be safely rendered using the OutputPage.
Definition
ErrorPageError.php:27
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
ReadOnlyError\__construct
__construct()
Definition
ReadOnlyError.php:29
includes
exception
ReadOnlyError.php
Generated on Mon Nov 25 2024 15:49:20 for MediaWiki by
1.10.0