Tweaking various bits and pices

* Provide license label for "Special:Version"
* Fixed some links to use https
* Consistently use __DIR__
* Updated RELEASE-NOTES

Change-Id: I32d8384029f2e1ce69ad0cd9c847f06bf818f337
This commit is contained in:
Kghbln 2016-03-05 15:43:28 +01:00
parent 61a6e52bf8
commit a65a265ce2
2 changed files with 17 additions and 11 deletions

View file

@ -1,8 +1,8 @@
RELEASE NOTES of the MediaWiki extension RSS RELEASE NOTES of the MediaWiki extension RSS
Version 2.24 20131017 Version 2.25 2014-03-28
Manual http://www.mediawiki.org/wiki/Extension:RSS Manual https://www.mediawiki.org/wiki/Extension:RSS
Browser view Browser view
https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/extensions/RSS.git;a=tree https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/extensions/RSS.git;a=tree
@ -27,6 +27,11 @@ git clone https://gerrit.wikimedia.org/r/p/mediawiki/extensions/RSS.git
The length limitation must be HTML tag-safe, but it is not at the moment. The length limitation must be HTML tag-safe, but it is not at the moment.
Length limitation is disabled by default. Length limitation is disabled by default.
=== Version 2.25 2014-03-28 ===
* Migrated I18n to use json-files
* Provide backwards compatible shim up to version MW 1.17+ and higher
* Drops compatibility with MW 1.16+ and lower
=== Version 2.24 2013-10-17 == === Version 2.24 2013-10-17 ==
* fix for Bug 55763 Undefined variable: txt in RSSParser.php on line 376 * fix for Bug 55763 Undefined variable: txt in RSSParser.php on line 376

19
RSS.php
View file

@ -4,14 +4,14 @@
* *
* @file * @file
* @ingroup Extensions * @ingroup Extensions
* @version 2.24 * @version 2.25.0
* @author mutante, Daniel Kinzler, Rdb, Mafs, Thomas Gries, Alxndr, Chris Reigrut, K001 * @author mutante, Daniel Kinzler, Rdb, Mafs, Thomas Gries, Alxndr, Chris Reigrut, K001
* @author Kellan Elliott-McCrea <kellan@protest.net> -- author of MagpieRSS * @author Kellan Elliott-McCrea <kellan@protest.net> -- author of MagpieRSS
* @author Jeroen De Dauw * @author Jeroen De Dauw
* @author Jack Phoenix <jack@countervandalism.net> * @author Jack Phoenix <jack@countervandalism.net>
* @copyright © Kellan Elliott-McCrea <kellan@protest.net> * @copyright © Kellan Elliott-McCrea <kellan@protest.net>
* @copyright © mutante, Daniel Kinzler, Rdb, Mafs, Thomas Gries, Alxndr, Chris Reigrut, K001 * @copyright © mutante, Daniel Kinzler, Rdb, Mafs, Thomas Gries, Alxndr, Chris Reigrut, K001
* @link http://www.mediawiki.org/wiki/Extension:RSS Documentation * @link https://www.mediawiki.org/wiki/Extension:RSS Documentation
*/ */
define( "EXTENSION_RSS_VERSION", "2.25.0" ); define( "EXTENSION_RSS_VERSION", "2.25.0" );
@ -26,21 +26,22 @@ $wgExtensionCredits['parserhook'][] = array(
'name' => 'RSS feed', 'name' => 'RSS feed',
'author' => array( 'Kellan Elliott-McCrea', 'mutante', 'Daniel Kinzler', 'author' => array( 'Kellan Elliott-McCrea', 'mutante', 'Daniel Kinzler',
'Rdb', 'Mafs', 'Alxndr', 'Thomas Gries', 'Chris Reigrut', 'Rdb', 'Mafs', 'Alxndr', 'Thomas Gries', 'Chris Reigrut',
'K001', 'Jack Phoenix', 'Jeroen De Dauw', 'Mark A. Hershberger' 'K001', 'Jack Phoenix', 'Jeroen De Dauw', 'Mark A. Hershberger',
'...'
), ),
'version' => EXTENSION_RSS_VERSION, 'version' => EXTENSION_RSS_VERSION,
'url' => 'https://www.mediawiki.org/wiki/Extension:RSS', 'url' => 'https://www.mediawiki.org/wiki/Extension:RSS',
'descriptionmsg' => 'rss-desc', 'descriptionmsg' => 'rss-desc',
'license-name' => 'GPL-2.0+'
); );
// Internationalization file and autoloadable classes // Internationalization file and autoloadable classes
$dir = __DIR__ . '/';
$wgMessagesDirs['RSS'] = __DIR__ . '/i18n'; $wgMessagesDirs['RSS'] = __DIR__ . '/i18n';
$wgExtensionMessagesFiles['RSS'] = $dir . 'RSS.i18n.php'; $wgExtensionMessagesFiles['RSS'] = __DIR__ . '/RSS.i18n.php';
$wgAutoloadClasses['RSSHooks'] = $dir . 'RSSHooks.php'; $wgAutoloadClasses['RSSHooks'] = __DIR__ . '/RSSHooks.php';
$wgAutoloadClasses['RSSParser'] = $dir . 'RSSParser.php'; $wgAutoloadClasses['RSSParser'] = __DIR__ . '/RSSParser.php';
$wgAutoloadClasses['RSSUtils'] = $dir . 'RSSParser.php'; $wgAutoloadClasses['RSSUtils'] = __DIR__ . '/RSSParser.php';
$wgAutoloadClasses['RSSData'] = $dir . 'RSSData.php'; $wgAutoloadClasses['RSSData'] = __DIR__ . '/RSSData.php';
// List tracking category on Special:TrackingCategories // List tracking category on Special:TrackingCategories
$wgTrackingCategories[] = 'rss-tracking-category'; $wgTrackingCategories[] = 'rss-tracking-category';