Phantom42 has uploaded a new change for review. ( https://gerrit.wikimedia.org/r/405663 )
Change subject: Fix multiple PHP class declarations in one file ...................................................................... Fix multiple PHP class declarations in one file All files containing more than one PHP class were split into multiple files. extension.json was updated to match new class locations. Bug: T177809 Change-Id: I61a20cbf83925ad07f7f665ad83032bf0f6f36c2 --- M extension.json R includes/CleanedText.php A includes/SegmentBreak.php 3 files changed, 19 insertions(+), 12 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Wikispeech refs/changes/63/405663/1 diff --git a/extension.json b/extension.json index 6f7cebb..4d50ef2 100644 --- a/extension.json +++ b/extension.json @@ -18,8 +18,8 @@ "AutoloadClasses": { "SpecialWikispeech": "specials/SpecialWikispeech.php", "WikispeechHooks": "Hooks.php", - "CleanedText": "includes/CleanedContent.php", - "SegmentBreak": "includes/CleanedContent.php", + "CleanedText": "includes/CleanedText.php", + "SegmentBreak": "includes/SegmentBreak.php", "Cleaner": "includes/Cleaner.php", "HtmlGenerator": "includes/HtmlGenerator.php", "Segmenter": "includes/Segmenter.php", diff --git a/includes/CleanedContent.php b/includes/CleanedText.php similarity index 89% rename from includes/CleanedContent.php rename to includes/CleanedText.php index c03e872..a0f3c66 100644 --- a/includes/CleanedContent.php +++ b/includes/CleanedText.php @@ -60,13 +60,3 @@ return $element; } } - -/** - * Denotes a break between to segments. Added by `Cleaner` and - * consumed by `Segmenter`. - * - * @since 0.0.1 - */ - -class SegmentBreak { -} diff --git a/includes/SegmentBreak.php b/includes/SegmentBreak.php new file mode 100644 index 0000000..497ebe2 --- /dev/null +++ b/includes/SegmentBreak.php @@ -0,0 +1,17 @@ +<?php + +/** + * @file + * @ingroup Extensions + * @license GPL-2.0+ + */ + +/** + * Denotes a break between to segments. Added by `Cleaner` and + * consumed by `Segmenter`. + * + * @since 0.0.1 + */ + +class SegmentBreak { +} -- To view, visit https://gerrit.wikimedia.org/r/405663 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I61a20cbf83925ad07f7f665ad83032bf0f6f36c2 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/Wikispeech Gerrit-Branch: master Gerrit-Owner: Phantom42 <nikita...@gmail.com> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits