Semantic MediaWiki and related extensions
hook

Signature

use Hooks;
Hooks::register( 'SMW::RevisionGuard::IsApprovedRevision', function( $title, $latestRevID ) {
// If you need to decline an update (aka is not approved)
// return false;
return true;
} );

See also


About | General disclaimer | Privacy policy