mediawiki-slack icon indicating copy to clipboard operation
mediawiki-slack copied to clipboard

File creation triggers notification

Open RicoLaaa opened this issue 8 years ago • 1 comments

When a new image/file is added to a wiki it triggers a notification on slack. Is there a way to have the file creation to be handled as a minor change?

RicoLaaa avatar Mar 08 '16 10:03 RicoLaaa

fixed by adding to line 112 & 133

if ( $wikiPage->getTitle()->getNamespace() == NS_FILE ) { return true;}

RicoLaaa avatar Mar 16 '16 14:03 RicoLaaa