Error:Semantic Forms Select requires the Page Forms extension. Please install and activate this extension first.' );
}
if ( isset( $GLOBALS['wgPageFormsFormPrinter'] ) ) {
$GLOBALS['wgPageFormsFormPrinter']->registerInputType( \SFS\SemanticFormsSelectInput::class );
}
return true;
}
public static function onRegistration() {
if ( isset( $GLOBALS['wgAPIModules'] ) ) {
$GLOBALS['wgAPIModules']['sformsselect'] = \SFS\ApiSemanticFormsSelect::class;
}
}
}