39 if ( $this->
getContext()->getConfig()->
get(
'UseMediaWikiUIEverywhere' ) ) {
41 $out->addModuleStyles( [
43 'mediawiki.ui.checkbox',
47 $this->page->protect();
getContext()
Get the IContextSource in use here.
getOutput()
Get the OutputPage being used for this instance.
Handle page protection (action=protect)
doesWrites()
Indicates whether this action may perform database writes.
getName()
Return the name of the action this object responds to.
onView()
Show something on GET request.
show()
The main action entry point.