jenkins-bot has submitted this change and it was merged.
Change subject: Version 1.0.1: Fix bug where only the first new category page
was actually created
......................................................................
Version 1.0.1: Fix bug where only the first new category page was actually
created
Change-Id: Ib2bd5469dfdc51f7360f0cc85a629af9e1dac5b7
---
M AutoCreateCategoryPages.body.php
M README
M extension.json
3 files changed, 4 insertions(+), 3 deletions(-)
Approvals:
FreedomFighterSparrow: Looks good to me, approved
jenkins-bot: Verified
diff --git a/AutoCreateCategoryPages.body.php b/AutoCreateCategoryPages.body.php
index 6860090..e6775b8 100644
--- a/AutoCreateCategoryPages.body.php
+++ b/AutoCreateCategoryPages.body.php
@@ -60,7 +60,7 @@
$catPage = new WikiPage( $safeTitle );
try {
$content = ContentHandler::makeContent(
$stub, $safeTitle );
- return $catPage->doEditContent(
$content, $summary, EDIT_NEW & EDIT_SUPPRESS_RC, false, $editor );
+ $catPage->doEditContent( $content,
$summary, EDIT_NEW & EDIT_SUPPRESS_RC, false, $editor );
} catch ( MWException $e ) {
/* fail silently...
* todo: what can go wrong here? */
diff --git a/README b/README
index 1f98e61..48095e1 100644
--- a/README
+++ b/README
@@ -8,7 +8,7 @@
== Compatibility ==
-version 1.0.0 is compatible with MediaWiki 1.25+.
+Version 1.0.0 and above is compatible with MediaWiki 1.25+.
The previous version should work with MediaWiki 1.21-1.24.
== Installation ==
@@ -35,6 +35,7 @@
The extension was released under GPLv3. See LICENSE file for more details.
== Short changelog ==
+* Version 1.0.1, 2016-02-01: Fix bug where only the first new category page
was actually created
* Version 1.0.0, 2015-05-24: Convert to extension registration for MW 1.25
* Version 0.2.0, 2013-10-28: updated to work with MW 1.21.x & MW 1.22alpha.
* Version 0.1.0, 2008-08-01: original release.
diff --git a/extension.json b/extension.json
index 1017ee3..4642145 100644
--- a/extension.json
+++ b/extension.json
@@ -1,6 +1,6 @@
{
"name": "AutoCreateCategoryPages",
- "version": "1.0.0",
+ "version": "1.0.1",
"license-name": "GPL-3.0",
"author": [
"Merrick Schaefer",
--
To view, visit https://gerrit.wikimedia.org/r/267661
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ib2bd5469dfdc51f7360f0cc85a629af9e1dac5b7
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/AutoCreateCategoryPages
Gerrit-Branch: master
Gerrit-Owner: FreedomFighterSparrow <[email protected]>
Gerrit-Reviewer: FreedomFighterSparrow <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits