Determined (likely) editability of an OutputPage by inspecting this god object's properties.
More...
Determined (likely) editability of an OutputPage by inspecting this god object's properties.
Most things feel like they should be preconfigured properties but are only known on call time as this is used in a hook.
- Copyright
- GPL-2.0-or-later
◆ isDiff()
Wikibase\Repo\Hooks\Helpers\OutputPageEditability::isDiff |
( |
OutputPage |
$out | ) |
|
|
private |
◆ isEditView()
Wikibase\Repo\Hooks\Helpers\OutputPageEditability::isEditView |
( |
OutputPage |
$out | ) |
|
|
private |
This is mostly a duplicate of.
- See also
- \Wikibase\Repo\Actions\ViewEntityAction::isEditable()
- Parameters
-
- Returns
- bool
◆ isLatestRevision()
Wikibase\Repo\Hooks\Helpers\OutputPageEditability::isLatestRevision |
( |
OutputPage |
$out | ) |
|
|
private |
◆ isProbablyEditable()
Wikibase\Repo\Hooks\Helpers\OutputPageEditability::isProbablyEditable |
( |
User |
$user, |
|
|
Title |
$title |
|
) |
| |
|
private |
This is duplicated from.
- See also
- OutputPage::getJSVars - wgIsProbablyEditable
- Parameters
-
- Returns
- bool
◆ validate()
Wikibase\Repo\Hooks\Helpers\OutputPageEditability::validate |
( |
OutputPage |
$out | ) |
|
The documentation for this class was generated from the following file: