$func = $activate ? 'canActivateTag' : 'canDeactivateTag';
$result = ChangeTags::$func( $tag, $user );
if ( !$result->isGood() ) {
- $out->wrapWikiMsg( "<div class=\"error\">\n$1" . $result->getWikiText() .
+ $out->addWikiText( "<div class=\"error\">\n" . $result->getWikiText() .
"\n</div>" );
if ( !$result->isOK() ) {
return;
* @return string[] subpages
*/
public function getSubpagesForPrefixSearch() {
+ // The subpages does not have an own form, so not listing it at the moment
return array(
- 'delete',
- 'activate',
- 'deactivate',
- 'create',
+ // 'delete',
+ // 'activate',
+ // 'deactivate',
+ // 'create',
);
}