Nik has submitted this change and it was merged. Change subject: Fixed whitespace in license text. Fixed global ExtensionCredits variable. Fixed autoloading publisher class. ......................................................................
Fixed whitespace in license text. Fixed global ExtensionCredits variable. Fixed autoloading publisher class. Change-Id: I2834ca3b64d47d0160314cbae68992adc6d30cea --- M PubSubHubbub.body.php M PubSubHubbub.php M PublishChangesJob.php 3 files changed, 6 insertions(+), 6 deletions(-) Approvals: Nik: Verified; Looks good to me, approved diff --git a/PubSubHubbub.body.php b/PubSubHubbub.body.php index c175c96..6122ecf 100644 --- a/PubSubHubbub.body.php +++ b/PubSubHubbub.body.php @@ -18,7 +18,7 @@ * with this program; if not, write to the Free Software Foundation, Inc., * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * http://www.gnu.org/copyleft/gpl.html - * + * * @file */ diff --git a/PubSubHubbub.php b/PubSubHubbub.php index 0ff9688..0556ea0 100644 --- a/PubSubHubbub.php +++ b/PubSubHubbub.php @@ -18,7 +18,7 @@ * with this program; if not, write to the Free Software Foundation, Inc., * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * http://www.gnu.org/copyleft/gpl.html - * + * * @file */ @@ -26,9 +26,10 @@ die( 'Not an entry point.' ); } +global $wgExtensionCredits; +global $wgAutoloadClasses; global $wgHooks; global $wgJobClasses; -global $wgAutoloadClasses; $wgExtensionCredits['other'][] = array( 'path' => __FILE__, @@ -43,6 +44,7 @@ $wgAutoloadClasses['PubSubHubbub'] = $dir . 'PubSubHubbub.body.php'; $wgAutoloadClasses['PublishChangesJob'] = $dir . 'PublishChangesJob.php'; +$wgAutoloadClasses['Publisher'] = $dir . 'lib/publisher.php'; $wgHooks['PageContentSaveComplete'][] = 'PubSubHubbub::onPageContentSaveComplete'; $wgHooks['RawPageViewBeforeOutput'][] = 'PubSubHubbub::onRawPageViewBeforeOutput'; diff --git a/PublishChangesJob.php b/PublishChangesJob.php index e7bac26..b824895 100644 --- a/PublishChangesJob.php +++ b/PublishChangesJob.php @@ -18,11 +18,9 @@ * with this program; if not, write to the Free Software Foundation, Inc., * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * http://www.gnu.org/copyleft/gpl.html - * + * * @file */ - -require_once(__DIR__ . '/lib/publisher.php'); class PublishChangesJob extends Job { -- To view, visit https://gerrit.wikimedia.org/r/109072 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I2834ca3b64d47d0160314cbae68992adc6d30cea Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/PubSubHubbub Gerrit-Branch: master Gerrit-Owner: Nik <[email protected]> Gerrit-Reviewer: Alexander.lehmann <[email protected]> Gerrit-Reviewer: Legoktm <[email protected]> Gerrit-Reviewer: Nik <[email protected]> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
