|
|
|
@ -1,4 +1,5 @@
|
|
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
namespace Isekai\AIToolbox\Special;
|
|
|
|
|
|
|
|
|
|
use SpecialPage;
|
|
|
|
@ -16,7 +17,6 @@ class SpecialAIToolbox extends SpecialPage {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
protected function showForm() {
|
|
|
|
|
$user = $this->getUser();
|
|
|
|
|
$out = $this->getOutput();
|
|
|
|
|
$out->setPageTitle($this->msg('special-isekai-ai-toolbox'));
|
|
|
|
|
$out->addModuleStyles([
|
|
|
|
@ -40,7 +40,7 @@ class SpecialAIToolbox extends SpecialPage {
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
$fields[] = new \OOUI\FieldLayout(
|
|
|
|
|
new \OOUI\ButtonWidget( [
|
|
|
|
|
new \OOUI\ButtonWidget([
|
|
|
|
|
'id' => 'btn-enter-ai-toolbox',
|
|
|
|
|
'label' => $this->msg('ok')->text(),
|
|
|
|
|
'flags' => ['primary', 'progressive'],
|
|
|
|
@ -51,11 +51,11 @@ class SpecialAIToolbox extends SpecialPage {
|
|
|
|
|
]
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
$fieldset = new \OOUI\FieldsetLayout( [
|
|
|
|
|
$fieldset = new \OOUI\FieldsetLayout([
|
|
|
|
|
'label' => $this->msg('isekai-ai-toolbox-enter-toolbox')->text(),
|
|
|
|
|
'id' => 'mw-aitoolbox-table',
|
|
|
|
|
'items' => $fields,
|
|
|
|
|
] );
|
|
|
|
|
]);
|
|
|
|
|
|
|
|
|
|
$out->addHTML(
|
|
|
|
|
new \OOUI\PanelLayout([
|
|
|
|
|