Commit graph

157 commits

Author SHA1 Message Date
Translation updater bot e5e1d0c3e9 Localisation updates from http://translatewiki.net.
Change-Id: Id0fce339f04afbaa43c7a9e2b77379a41ce290ca
2013-02-24 20:43:28 +00:00
Translation updater bot 8570ad6997 Localisation updates from http://translatewiki.net.
Change-Id: I22a75264b9ecaf4d620e06d45e752f593b56cc59
2013-02-23 20:40:02 +00:00
Translation updater bot 6a416270dc Localisation updates from http://translatewiki.net.
Change-Id: Ibd29126d3ab278478d0e3bf42871c945dc01fe11
2013-02-22 20:13:15 +00:00
Thomas Gries afa5cff8a9 version 2.18 + squashed commit RSS changes fromSVN
bump version number from 2.17 to 2.18 for the releas version

removed 4 white spaces tabs.

followed the advices of the code reviewer. removed an unwanted switch(true) structure
removed switch case by an assoc array, removed unneeded http factory comments Wikinaut 2013-01-04

removed unneeded INSTALL text file
new version 2.17 incl. code cosmetics. rebased on master bea4447d24  2012-12-22
bear with me ! It's my first real-life commit to gerrit. Wikinaut, 2012-12-30

Catrope squashed these together per Wikinaut's request. List of commit
summaries:

adding the long-wanted date format attribute.
implemented a date format equalising function,
so that dates of RSS feeds are rendered in a common format.

follow-up r111347 : adding escapeTemplateParameter around the user supplied optional date attribute

fix for bug30377 : add a new parameter to limit the number of characters when rendering the channel item <description>

follow-up r111350 . check if optional parameter  isset and is_numeric, otherwise limit to the built-in default (30000)

removed a wrong comment regarding PHP 5.3 function date_create_from_format,
which is not suited to auto-detect a time string in any formats -  only strtotime() can do it.

follow-up r111350 r111351 . switch replaced by if elseif construct.

name and behaviour change of wgRSSAllowedFeeds towgRSSUrlWhitelist.
The wgRSSUrlWhitelist is _now_ empty by default which was not the case until this version.
Admins who want to allow their users to insert arbitrary feed urls must now denote this expressly
with an asterisk in quotes as whitelist array element.
This is harmonised to the same method as recently introduced in E:EtherpadLite.
The RELEASE NOTES file has been updated, updates to the MediaWiki manual page will follow soon.

increased wgRSSFetchTimeout default from 5 to 15 seconds - many sites are too slow.

v2.00 can parse ATOM feeds, at least some.
This is a major improvement over pre-2.00 versions which only could read and parse RSS feeds but no ATOM feeds.
Version 2.00 begins to keep care of namespaces in the XML.
The parser still leaves room for further improvements.
At least, E:RSS can now read E:WikiArticleFeeds generated RSS _and_ ATOM feeds.

v2.01 fixed ATOM summary element was forgotten to be parsed.
Added handling of basic HTML layout tags (p br b u i s) in feed descriptions,
they are preserved in the wiki output after sanitizing.

improved code legibility function namespacePrefixedQuery

fix for ultra bug 30028 .
The RSS extension can parse RSS and ATOM feeds of different flavours.
The php xml dom xpath query uses now a namespace-safe method to find all elements like item (RSS, RDF)
or entry (ATOM).
Further fixed a hidden problem when the feed url was redirecting,
this threw the Cannot parse RSS for XML error, which is now history.
Introduced a new parameter wgRSSUrlNumberOfAllowedRedirects which defaults to zero,
i.e. no redirects are allowed by default. See Manual page

removed superfluous code for setting userAgent since r112466

function name typo correction. Version number update

fix for bug34763 'RSS feed items (HTML) are not rendered as HTML but htmlescaped';
tolerated controlled regression bug30377 'feed item length limitation',
because this now becomes very tricky when we allow some tags in order to close bug 34763.

add tracking category feature (enabled by default). Each page using this extensions gets
automatically the tracking category with MediaWiki:Rss-tracking-category name (= RSS).
Tracking-Cat-Feature can be disabled, or a different MediaWiki message text can be assigned.
Documentation of the switch is inline and follows on MediaWiki.

follow up r113508 : escaped html tag brackets to make translaters happy

beautifying the tracking category name

adding casts. better ?

removed the redundant code for handling tracking categories.
By using '-' for the message text rss-tracking-category , this can be disabled easily.

+ Patchset 11

rebased on master

+ Patchset 12

wrapped commit message text lines
version number bumped to 2.18

+ Patchset 13

improved and updated README
added history of the present version 2.18

+ Patchset 14

white space fixes
version number fixes

Change-Id: I2d9724314f94c216650370071b31390c5c2c97fc
2013-02-20 20:10:11 +01:00
Translation updater bot bea4447d24 Localisation updates from http://translatewiki.net.
Change-Id: I5c9f1db4ea81c8b22e13d31a6edbee257868a01a
2012-12-22 22:17:13 +00:00
Translation updater bot 06f11f8ef1 Localisation updates from http://translatewiki.net.
Change-Id: I55fa53522b5bc4c2fd2f199447b6ff33d03ef389
2012-12-20 21:05:01 +00:00
Translation updater bot 1c26aaaadd Localisation updates from http://translatewiki.net.
Change-Id: I20bb224d34b6cdcbd983677ff79532024309624c
2012-12-18 20:39:06 +00:00
Translation updater bot 1026cd2bbd Localisation updates from http://translatewiki.net.
Change-Id: I2fcdfddb1e871ca6a051785807a0d7b858bbef4c
2012-12-16 20:52:24 +00:00
Translation updater bot 0afd281701 Localisation updates from http://translatewiki.net.
Change-Id: I9fae63d6908e7076dffad05dc8f85257ecc23175
2012-10-22 01:42:48 +00:00
Siebrand Mazeland 5c4fdca535 Normalize i18n file.
Change-Id: I421e828cf90de8687c58c86059acbfb8943ac888
2012-10-21 21:14:06 +02:00
Translation updater bot ef01a78313 Localisation updates from http://translatewiki.net.
Change-Id: Ib8dd76a3f068e874acde477ab011e06a51099fe2
2012-10-02 13:54:49 +00:00
Translation updater bot 917b58b0f0 Localisation updates from http://translatewiki.net.
Change-Id: I3447f3e714e209d192be92ee1693e02503326b39
2012-09-30 19:20:36 +00:00
Translation updater bot 53df7b3d6d Localisation updates from http://translatewiki.net.
Change-Id: I7c690bb2ab1aee58f9f5ae18ede88f32030e2425
2012-09-05 19:24:03 +00:00
Translation updater bot b4f816b6be Localisation updates from http://translatewiki.net.
Change-Id: I8e38ee7eb2186cb6f30aa149e39a30688b682e09
2012-09-01 20:46:53 +00:00
Translation updater bot 801d68e453 Localisation updates from http://translatewiki.net.
Change-Id: I7b539e5a39d2151bbe5bf27429884f6130911358
2012-08-16 20:28:02 +00:00
Translation updater bot 110f0761d7 Localisation updates from http://translatewiki.net.
Change-Id: I44673be38058fa6e2669abece7c315443391440f
2012-08-12 20:26:10 +00:00
Translation updater bot abbcc05dee Localisation updates from http://translatewiki.net.
Change-Id: I06e588503949c2658c44e959c2137d6e4df31155
2012-08-01 20:08:48 +00:00
Translation updater bot 783e55cafe Localisation updates from http://translatewiki.net.
Change-Id: I9cf98059d2b9e72cbde00b63f005bdafdbd8161d
2012-07-23 13:44:34 +00:00
Translation updater bot c12a023bf4 Localisation updates from http://translatewiki.net.
Change-Id: Ie58dc20c8b612bf01b3448b63de1e144690bdd88
2012-07-11 07:20:21 +00:00
Translation updater bot 7853b8930c Localisation updates from http://translatewiki.net.
Change-Id: I0dcfa7006cbb2bcf088ab419f4800546b9c2a6b4
2012-07-09 20:10:36 +00:00
Translation updater bot d7f1e75f1c Localisation updates from http://translatewiki.net.
Change-Id: I4c3cfeb8ea3771456fd370d73d658af1b6b71593
2012-07-08 19:22:46 +00:00
Translation updater bot 76de6093d1 Localisation updates from http://translatewiki.net.
Change-Id: If281e1a0d0d381db00282682ad39d58370721036
2012-07-01 14:10:55 +00:00
Translation updater bot 1a042793e3 Localisation updates from http://translatewiki.net.
Change-Id: Ibaf79036ec58446bb6f6d0d932dad542c16b716a
2012-06-14 19:58:51 +00:00
Translation updater bot 4cdc4c714a Localisation updates from http://translatewiki.net.
Change-Id: Ieb60ea83c3c2539c88025e4b0501e725815fdea7
2012-06-10 20:04:21 +00:00
Translation updater bot 69fbc42e20 Localisation updates from http://translatewiki.net.
Change-Id: I707367249f42b7485be192e104a82ce2876d43c0
2012-06-06 20:16:14 +00:00
Translation updater bot 0df616c5bd Localisation updates from http://translatewiki.net.
Change-Id: Iee30d63a6466d3c62521c93b7f562f5937dfbaae
2012-05-21 20:24:44 +00:00
Translation updater bot 2a2c00515f Localisation updates from http://translatewiki.net.
Change-Id: Ia81d9ae8a3f7ca7279dae9e510a0734bbad07a3d
2012-05-12 17:52:55 +00:00
Raimond Spekking 42cb71b3b8 Localisation update for core and extension messages from translatewiki.net
The last via SVN ...
2012-03-21 19:44:27 +00:00
Roan Kattouw f31547eb82 Revert r111347, r111348, r111350, r111351, r111515, r111816, r112243, r112251, r112308, r112314, r112315, r112465, r112467, r112709, r113297, r113508, r113510, r113524, r113546, r114168. Unreviewed revisions in the RSS extension and their dependencies.
All of these revisions are tagged with 'gerritmigration' and will be resubmitted into Gerrit after the Gerrit switchover. See also http://lists.wikimedia.org/pipermail/wikitech-l/2012-March/059124.html
2012-03-21 18:40:06 +00:00
Raimond Spekking 3532eef36e Localisation updates for core and extension messages from translatewiki.net 2012-03-19 21:21:48 +00:00
Raimond Spekking 194249cb28 Localisation updates for core and extension messages from translatewiki.net 2012-03-16 20:39:04 +00:00
Raimond Spekking 668499cb1c Localisation updates for core and extension messages from translatewiki.net 2012-03-12 20:46:25 +00:00
Raimond Spekking a400a6a9bd Localisation updates for core and extension messages from translatewiki.net 2012-03-11 20:39:18 +00:00
Raimond Spekking e8aa626694 Localisation updates for core and extension messages from translatewiki.net 2012-03-10 22:57:43 +00:00
Raimond Spekking 8580bf3267 Localisation updates for core and extension messages from translatewiki.net 2012-03-09 22:30:45 +00:00
Thomas Gries 1b388985ef beautifying the tracking category name 2012-03-09 21:03:19 +00:00
Thomas Gries 6d69f88741 follow up r113508 : escaped html tag brackets to make translaters happy 2012-03-09 19:50:03 +00:00
Thomas Gries ca38b650d8 add tracking category feature (enabled by default). Each page using this extensions get automatically the tracking category with MediaWiki:Rss-tracking-category name (= RSS). Tracking-Cat-Feature can be disabled, or a different MediaWiki message text can be assigned. Documentation of the switch is inline and follows on MediaWiki. 2012-03-09 19:43:44 +00:00
Raimond Spekking dc94c95fb2 Localisation update for core and extension messages from translatewiki.net 2012-03-03 21:32:20 +00:00
Raimond Spekking cfdc4d2d21 Localisation update for core and extension messages from translatewiki.net 2012-03-01 22:21:50 +00:00
Raimond Spekking d6b3383044 Localisation update for core and extension messages from translatewiki.net 2012-02-29 12:34:33 +00:00
Raimond Spekking c2d2f3529d Localisation update for core and extension messages from translatewiki.net 2012-02-27 21:36:19 +00:00
Thomas Gries 896a9a3274 fix for ultra bug 30028 . The RSS extension can parse RSS and ATOM feeds of different flavours. The php xml dom xpath query uses now a namespace-safe method to find all elements like item (RSS, RDF) or entry (ATOM). Further fixed a hidden problem when the feed url was redirecting, this threw the Cannot parse RSS for XML error, which is now history. Introduced a new parameter wgRSSUrlNumberOfAllowedRedirects which defaults to zero, i.e. no redirects are allowed by default. See Manual page 2012-02-27 01:10:57 +00:00
Raimond Spekking 0811ae7d49 Localisation updates for core and extension messages from translatewiki.net 2012-02-25 20:36:21 +00:00
Raimond Spekking f2825408bb Localisation updates for core and extension messages from translatewiki.net 2012-02-24 21:11:11 +00:00
Thomas Gries 01c12d4927 name and behaviour change of wgRSSAllowedFeeds towgRSSUrlWhitelist. The wgRSSUrlWhitelist is _now_ empty by default which was not the case until this version. Admins who want to allow their users to insert arbitrary feed urls must now denote this expressly with an asterisk in quotes as whitelist array element. This is harmonised to the same method as recently introduced in E:EtherpadLite. The RELEASE NOTES file has been updated, updates to the MediaWiki manual page will follow soon. 2012-02-23 21:12:54 +00:00
Raimond Spekking cb82d962c8 Localisation updates for extension messages from translatewiki.net
Core skipped today, conflicts with dupe messages... Will report on CR soon
2012-02-23 19:45:08 +00:00
Raimond Spekking 83f155ebbd Localisation updates for core and extension messages from translatewiki.net 2012-02-21 21:17:58 +00:00
Raimond Spekking 207bd5abe6 Localisation updates for core and extension messages from translatewiki.net 2012-02-15 20:11:31 +00:00
Raimond Spekking 559d041d5e Localisation updates for core and extension messages from translatewiki.net 2012-02-10 20:57:24 +00:00