41 if ( $this->
getContext()->getConfig()->
get( MainConfigNames::UseMediaWikiUIEverywhere ) ) {
43 $out->addModuleStyles( [
45 'mediawiki.ui.checkbox',
getContext()
Get the IContextSource in use here.
getOutput()
Get the OutputPage being used for this instance.
getArticle()
Get a Article object.
A class containing constants representing the names of configuration variables.
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.