[MediaWiki-commits] [Gerrit] Release version 8.1.0 to get improvments out to the public - change (mediawiki...MassEditRegex)
jenkins-bot has submitted this change and it was merged. Change subject: Release version 8.1.0 to get improvments out to the public .. Release version 8.1.0 to get improvments out to the public - Add position to the resource loader module - Provide translations done by the community of translatewiki.net - Extend file documentation - Provide CHANGELOG file Change-Id: I3b2457c2320add58976257d6f555443c4dbdc5c7 --- A CHANGELOG M MassEditRegex.php 2 files changed, 78 insertions(+), 3 deletions(-) Approvals: Legoktm: Looks good to me, approved Kghbln: Looks good to me, but someone else must approve jenkins-bot: Verified diff --git a/CHANGELOG b/CHANGELOG new file mode 100644 index 000..a793662 --- /dev/null +++ b/CHANGELOG @@ -0,0 +1,63 @@ +## MassEditRegex + +MassEditRegex is a MediaWiki extension allowing to use regular expressions for +editing mulitple pages at once. + +This file documents the development changes. + + +### Version 8.1.0 + +Released on 2016-06-14 + +- Hide action tab for users without the "masseditregex" permission +- Add position to the resource loader module +- Replace deprecated setText() call +- Provide translations done by the community of translatewiki.net +- Extend file documentation +- Provide CHANGELOG file + + +### Version 8.0.3 + +Released on 2016-03-11 + +- Define doesWrites() for SpecialPage classes +- Replace depreciated wfMsg* calls / take 2 +- Replace makeKnownLinkObj() +- Replace OutputPage::blockedPage() +- Replace use User::getSkin() +- Internal I18n tweaks +- Provide translations done by the community of translatewiki.net + + +### Version 8.0.2 + +Released on 2015-08-15 + +- Migrate to consistently use the __DIR__ constant +- Switch links to use https +- Provide translations done by the community of translatewiki.net + + +### Version 8.0.1 + +Released on 2015-08-12 + +- Add namemsg and license-name the $wgExtensionCredits +- Add COPYING file containing the extension's license +- Change extension's name to adhere with MW jargon +- Make extension's name translatable +- Add rawcontinue parameter to query +- Replace deprecated $wgSpecialPageGroups +- Provide translations done by the community of translatewiki.net + + +### Version 8.0.0 + +Released on 2015-02-08 + +- Add support for execution to be done on client side +- Internal code cleanup +- Replace depreciated wfMsg* calls / take 1 +- Provide translations done by the community of translatewiki.net diff --git a/MassEditRegex.php b/MassEditRegex.php index 98c0be8..78f91a0 100644 --- a/MassEditRegex.php +++ b/MassEditRegex.php @@ -7,10 +7,14 @@ * @ingroup Extensions * * @link https://www.mediawiki.org/wiki/Extension:MassEditRegex Documentation + * @link https://www.mediawiki.org/wiki/Extension_talk:MassEditRegex Support + * @link https://phabricator.wikimedia.org/diffusion/EMER/ Source Code * * @author Adam Nielsen* @author Kim Eik - * @copyright Copyright © 2009-2015 Adam Nielsen + * + * @copyright Copyright © 2009-2016 Adam Nielsen + * * @license https://www.gnu.org/copyleft/gpl.html GNU General Public License 2.0 or later */ @@ -24,7 +28,7 @@ 'path' => __FILE__, 'name' => 'MassEditRegex', 'namemsg' => 'masseditregex-extensionname', - 'version' => '8.0.3', + 'version' => '8.1.0', 'author' => array( 'Adam Nielsen', '...' @@ -34,21 +38,29 @@ 'license-name' => 'GPL-2.0+' ); +// Register extension messages and other localisation $wgMessagesDirs['MassEditRegex'] = __DIR__ . '/i18n'; $wgExtensionMessagesFiles['MassEditRegex'] = __DIR__ . '/MassEditRegex.i18n.php'; $wgExtensionMessagesFiles['MassEditRegexAlias'] = __DIR__ . '/MassEditRegex.alias.php'; + +// Register extension classes $wgAutoloadClasses['MassEditRegex'] = __DIR__ . '/MassEditRegex.class.php'; $wgAutoloadClasses['MassEditRegexSpecialPage'] = __DIR__ . '/MassEditRegex.special.php'; $wgAutoloadClasses['MassEditRegexAPI'] = __DIR__ . '/MassEditRegex.api.php'; + +// Register special page into MediaWiki $wgSpecialPages['MassEditRegex'] = 'MassEditRegexSpecialPage'; -// Required permission to use Special:MassEditRegex +// Create new right to use Special:MassEditRegex $wgAvailableRights[] = 'masseditregex'; +// Register hooks $wgHooks['SkinTemplateNavigation::Universal'][] = 'MassEditRegexSpecialPage::efSkinTemplateNavigationUniversal'; $wgHooks['BaseTemplateToolbox'][] = 'MassEditRegexSpecialPage::efBaseTemplateToolbox'; +// Register ResourcesLoaderModules $wgResourceModules['MassEditRegex'] = array( + 'position' => 'top', 'scripts' => array( 'MassEditRegex.js' ), -- To view, visit https://gerrit.wikimedia.org/r/294296 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I3b2457c2320add58976257d6f555443c4dbdc5c7
[MediaWiki-commits] [Gerrit] Release version 8.1.0 to get improvments out to the public - change (mediawiki...MassEditRegex)
Kghbln has uploaded a new change for review. https://gerrit.wikimedia.org/r/294296 Change subject: Release version 8.1.0 to get improvments out to the public .. Release version 8.1.0 to get improvments out to the public - Add position to the resource loader module - Provide translations done by the community of translatewiki.net - Extend file documentation - Provide CHANGELOG file Change-Id: I3b2457c2320add58976257d6f555443c4dbdc5c7 --- A CHANGELOG M MassEditRegex.php 2 files changed, 78 insertions(+), 3 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/MassEditRegex refs/changes/96/294296/1 diff --git a/CHANGELOG b/CHANGELOG new file mode 100644 index 000..3261ad2 --- /dev/null +++ b/CHANGELOG @@ -0,0 +1,63 @@ +## MassEditRegex + +MassEditRegex is a MediaWiki extension allowing to use regular expressions for +editing mulitple pages at once. + +This file documents the development changes. + + +### Version 8.1.0 + +Released on 2016-06-14 + +- Hide action tab for users without the "masseditregex" permission +- Add position to the resource loader module +- Replace deprecated setText() call +- Provide translations done by the community of translatewiki.net +- Extend file documentation +- Provide CHANGELOG file + + +### Version 8.0.3 + +Released on 2016-03-11 + +- Define doesWrites() for SpecialPage classes +- Replace depreciated wfMsg* calls / take 2 +- Replace makeKnownLinkObj() +- Replace OutputPage::blockedPage() +- Replace use User::getSkin() +- Internal I18n tweaks +- Provide translations done by the community of translatewiki.net + + +### Version 8.0.2 + +Released on 2015-08-15 + +- Migrate to consistently use the __DIR__ constant +- Switch links to use https +- Provide translations done by the community of translatewiki.net + + +### Version 8.0.1 + +Released on 2015-08-12 + +- Add namemsg and license-name the $wgExtensionCredits +- Add COPYING file containing the extension's license +- Change extension's name to adhere with MW jargon +- Make extension's name translatable +- Add rawcontinue parameter to query +- Replace deprecated $wgSpecialPageGroups +- Provide translations done by the community of translatewiki.net + + +### Version 8.0.0 + +Released on 2015-02-08 + +- Add support for execution to be done on client side +- Internal code cleanup +- Replace depreciated wfMsg* calls / take 1 +- Provide translations done by the community of translatewiki.net diff --git a/MassEditRegex.php b/MassEditRegex.php index 98c0be8..78f91a0 100644 --- a/MassEditRegex.php +++ b/MassEditRegex.php @@ -7,10 +7,14 @@ * @ingroup Extensions * * @link https://www.mediawiki.org/wiki/Extension:MassEditRegex Documentation + * @link https://www.mediawiki.org/wiki/Extension_talk:MassEditRegex Support + * @link https://phabricator.wikimedia.org/diffusion/EMER/ Source Code * * @author Adam Nielsen* @author Kim Eik - * @copyright Copyright © 2009-2015 Adam Nielsen + * + * @copyright Copyright © 2009-2016 Adam Nielsen + * * @license https://www.gnu.org/copyleft/gpl.html GNU General Public License 2.0 or later */ @@ -24,7 +28,7 @@ 'path' => __FILE__, 'name' => 'MassEditRegex', 'namemsg' => 'masseditregex-extensionname', - 'version' => '8.0.3', + 'version' => '8.1.0', 'author' => array( 'Adam Nielsen', '...' @@ -34,21 +38,29 @@ 'license-name' => 'GPL-2.0+' ); +// Register extension messages and other localisation $wgMessagesDirs['MassEditRegex'] = __DIR__ . '/i18n'; $wgExtensionMessagesFiles['MassEditRegex'] = __DIR__ . '/MassEditRegex.i18n.php'; $wgExtensionMessagesFiles['MassEditRegexAlias'] = __DIR__ . '/MassEditRegex.alias.php'; + +// Register extension classes $wgAutoloadClasses['MassEditRegex'] = __DIR__ . '/MassEditRegex.class.php'; $wgAutoloadClasses['MassEditRegexSpecialPage'] = __DIR__ . '/MassEditRegex.special.php'; $wgAutoloadClasses['MassEditRegexAPI'] = __DIR__ . '/MassEditRegex.api.php'; + +// Register special page into MediaWiki $wgSpecialPages['MassEditRegex'] = 'MassEditRegexSpecialPage'; -// Required permission to use Special:MassEditRegex +// Create new right to use Special:MassEditRegex $wgAvailableRights[] = 'masseditregex'; +// Register hooks $wgHooks['SkinTemplateNavigation::Universal'][] = 'MassEditRegexSpecialPage::efSkinTemplateNavigationUniversal'; $wgHooks['BaseTemplateToolbox'][] = 'MassEditRegexSpecialPage::efBaseTemplateToolbox'; +// Register ResourcesLoaderModules $wgResourceModules['MassEditRegex'] = array( + 'position' => 'top', 'scripts' => array( 'MassEditRegex.js' ), -- To view, visit https://gerrit.wikimedia.org/r/294296 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I3b2457c2320add58976257d6f555443c4dbdc5c7