Mollywhite has submitted this change and it was merged.
Change subject: Bugfix: Forgotten exclamation point
......................................................................
Bugfix: Forgotten exclamation point
This was causing seven PHPunit failures, not to mention unwanted
behavior.
Change-Id: Ic69ef7305ce7c78da4f96d367490ba1917228c42
---
M BookManagerv2.hooks.php
1 file changed, 1 insertion(+), 1 deletion(-)
Approvals:
Mollywhite: Verified; Looks good to me, approved
jenkins-bot: Checked
diff --git a/BookManagerv2.hooks.php b/BookManagerv2.hooks.php
index e157d0b..ee077a0 100644
--- a/BookManagerv2.hooks.php
+++ b/BookManagerv2.hooks.php
@@ -36,7 +36,7 @@
*/
static function onEditFilterMerged( $editor, $text, &$error, $summary )
{
$pageTitle = $editor->getTitle();
- if ( $pageTitle->inNamespace( NS_BOOK ) ) {
+ if ( !$pageTitle->inNamespace( NS_BOOK ) ) {
return true;
}
--
To view, visit https://gerrit.wikimedia.org/r/78482
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ic69ef7305ce7c78da4f96d367490ba1917228c42
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/BookManagerv2
Gerrit-Branch: master
Gerrit-Owner: Mollywhite <[email protected]>
Gerrit-Reviewer: Mollywhite <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits