Semantic MediaWiki and related extensions
hook

If you do alter a revision, please log the event and make it visible to a user (or administrator) that it was changed.

Signature

use Hooks;
Hooks::register( 'SMW::RevisionGuard::ChangeRevisionID', function( $title, &$latestRevID ) {
// Set a revision ID
// $latestRevID = 42;
} );

See also


About | General disclaimer | Privacy policy