dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Add 3D filetype for STL files"
[lhc/web/wiklou.git]
/
includes
/
specials
/
SpecialTags.php
diff --git
a/includes/specials/SpecialTags.php
b/includes/specials/SpecialTags.php
index
898d170
..
e67356f
100644
(file)
--- a/
includes/specials/SpecialTags.php
+++ b/
includes/specials/SpecialTags.php
@@
-98,7
+98,7
@@
class SpecialTags extends SpecialPage {
],
];
],
];
- $form =
new HTMLForm(
$fields, $this->getContext() );
+ $form =
HTMLForm::factory( 'ooui',
$fields, $this->getContext() );
$form->setAction( $this->getPageTitle( 'create' )->getLocalURL() );
$form->setWrapperLegendMsg( 'tags-create-heading' );
$form->setHeaderText( $this->msg( 'tags-create-explanation' )->parseAsBlock() );
$form->setAction( $this->getPageTitle( 'create' )->getLocalURL() );
$form->setWrapperLegendMsg( 'tags-create-heading' );
$form->setHeaderText( $this->msg( 'tags-create-explanation' )->parseAsBlock() );
@@
-176,7
+176,7
@@
class SpecialTags extends SpecialPage {
$newRow .= Xml::tags( 'td', null, Xml::element( 'code', null, $tag ) );
$linkRenderer = $this->getLinkRenderer();
$newRow .= Xml::tags( 'td', null, Xml::element( 'code', null, $tag ) );
$linkRenderer = $this->getLinkRenderer();
- $disp = ChangeTags::tagDescription( $tag );
+ $disp = ChangeTags::tagDescription( $tag
, $this->getContext()
);
if ( $showEditLinks ) {
$disp .= ' ';
$editLink = $linkRenderer->makeLink(
if ( $showEditLinks ) {
$disp .= ' ';
$editLink = $linkRenderer->makeLink(
@@
-312,7
+312,7
@@
class SpecialTags extends SpecialPage {
$out->parse( $status->getWikiText() ) .
$this->msg( 'tags-create-warnings-below' )->parseAsBlock();
$out->parse( $status->getWikiText() ) .
$this->msg( 'tags-create-warnings-below' )->parseAsBlock();
- $subform =
new HTMLForm(
$fields, $this->getContext() );
+ $subform =
HTMLForm::factory( 'ooui',
$fields, $this->getContext() );
$subform->setAction( $this->getPageTitle( 'create' )->getLocalURL() );
$subform->setWrapperLegendMsg( 'tags-create-heading' );
$subform->setHeaderText( $headerText );
$subform->setAction( $this->getPageTitle( 'create' )->getLocalURL() );
$subform->setWrapperLegendMsg( 'tags-create-heading' );
$subform->setHeaderText( $headerText );
@@
-377,7
+377,7
@@
class SpecialTags extends SpecialPage {
'required' => true,
];
'required' => true,
];
- $form =
new HTMLForm(
$fields, $this->getContext() );
+ $form =
HTMLForm::factory( 'ooui',
$fields, $this->getContext() );
$form->setAction( $this->getPageTitle( 'delete' )->getLocalURL() );
$form->tagAction = 'delete'; // custom property on HTMLForm object
$form->setSubmitCallback( [ $this, 'processTagForm' ] );
$form->setAction( $this->getPageTitle( 'delete' )->getLocalURL() );
$form->tagAction = 'delete'; // custom property on HTMLForm object
$form->setSubmitCallback( [ $this, 'processTagForm' ] );
@@
-428,7
+428,7
@@
class SpecialTags extends SpecialPage {
'required' => true,
];
'required' => true,
];
- $form =
new HTMLForm(
$fields, $this->getContext() );
+ $form =
HTMLForm::factory( 'ooui',
$fields, $this->getContext() );
$form->setAction( $this->getPageTitle( $actionStr )->getLocalURL() );
$form->tagAction = $actionStr;
$form->setSubmitCallback( [ $this, 'processTagForm' ] );
$form->setAction( $this->getPageTitle( $actionStr )->getLocalURL() );
$form->tagAction = $actionStr;
$form->setSubmitCallback( [ $this, 'processTagForm' ] );