mirror of
https://github.com/Universal-Omega/PortableInfobox.git
synced 2024-11-24 00:06:25 +00:00
PortableInfoboxBuilder: actually check permissions
This commit is contained in:
parent
5ef16a60b6
commit
b0a072ff4a
|
@ -12,6 +12,8 @@ class SpecialPortableInfoboxBuilder extends SpecialPage {
|
|||
$this->setHeaders();
|
||||
$out->enableOOUI();
|
||||
|
||||
$this->checkPermissions();
|
||||
|
||||
$out->addModules( [ 'ext.PortableInfobox.styles', 'ext.PortableInfoboxBuilder' ] );
|
||||
$out->addHTML(
|
||||
'<div id="mw-infoboxbuilder" data-title="' . str_replace( '"', '"', $par ) . '">' .
|
||||
|
|
Loading…
Reference in a new issue