Commit graph

350 commits

Author SHA1 Message Date
Translation updater bot 6415a22ad7 Localisation updates from http://translatewiki.net.
Change-Id: I4caf9326831848dbc04932cc105888adcec794da
2013-08-14 19:26:59 +00:00
Translation updater bot 732e2c7419 Localisation updates from http://translatewiki.net.
Change-Id: I6deff152405655f7154a1921555f3cf76ed8c939
2013-07-24 19:55:18 +00:00
Translation updater bot fd2482f087 Localisation updates from http://translatewiki.net.
Change-Id: Ia02d6d86a4f50bd655f4397d7f59dc3d3eb31655
2013-07-07 19:44:54 +00:00
Wikinaut feaf0e186b trim white spaces around urls in feed item <link> or <id> tags
Change-Id: I2a8098cb5f0f8b01bf6b82f850bcbdfd8597be2d
2013-06-09 07:18:29 +00:00
Translation updater bot c61bc5282b Localisation updates from http://translatewiki.net.
Change-Id: Ifbd1d618b954e75292d9e0c7a65bdb0ea6084ba8
2013-06-03 18:59:44 +00:00
Translation updater bot 79d39bc4ce Localisation updates from http://translatewiki.net.
Change-Id: I141e3f1f8c96cf45afcbd84e438781f60a8d4909
2013-05-13 19:48:00 +00:00
Translation updater bot c9eb3b6108 Localisation updates from http://translatewiki.net.
Change-Id: Iff63db1daa4bbdbefd0d990f243dbcb43b3d0a1d
2013-04-27 20:28:35 +00:00
Translation updater bot 0bf92d2dfc Localisation updates from http://translatewiki.net.
Change-Id: Ide2b652d2c4296c9e5090a72ed6d572b34b9d567
2013-04-16 19:46:39 +00:00
Wikinaut 16c2dfa64a updated version number to 2.21
Change-Id: I6f5c3c83ee0c43d92ca8d295428efe58c216c4a7
2013-04-16 00:44:36 +02:00
csteipp 05e4e8fa64 Prevent xxe when loading feed XML
Turn off external entity loading while parsing feed xml.

bug: 46932
Change-Id: I41006fc10f2da1357d57c1566518c86351f522f1
2013-04-15 13:23:25 -07:00
Translation updater bot 00f05c4849 Localisation updates from http://translatewiki.net.
Change-Id: I811945bd9169b6c3f3fab67d3904203dd1fa7710
2013-04-08 20:03:31 +00:00
Translation updater bot 03cfdd510e Localisation updates from http://translatewiki.net.
Change-Id: Idb3c0486bccc0f63db79b847e424a279671a7688
2013-04-07 20:55:02 +00:00
shirayuki efaa879472 Add a full stop to error message
Change-Id: Ia694b6e02cb8586d48e01fa7bbb42c7cd14a04dc
2013-04-07 18:24:15 +09:00
Translation updater bot db04fcea38 Localisation updates from http://translatewiki.net.
Change-Id: I2ee216cc71c28ec63bd0bb6b23a04a1d9922ef84
2013-04-02 19:09:39 +00:00
Translation updater bot 3b0b611e9b Localisation updates from http://translatewiki.net.
Change-Id: I164b7cd8883e0390583bee8311cd42622a5160ab
2013-03-28 19:11:38 +00:00
Wikinaut 1b0f41812c RELEASE_NOTES changed: line formatting of legacy versions' RELEASE-NOTES
I changed only the old items in the Changes section of the RELEASE-NOTES
to make them better readible. Long lines were broken, and superfluous comments
removed. Names of contributors remain in that list.

Change-Id: I449d93066b6ba21ddf761abbbee69a337736955b
2013-03-21 16:41:14 +01:00
Translation updater bot 784a97b751 Localisation updates from http://translatewiki.net.
Change-Id: I0a51e2da3a0848a7274b7b36365705c683dee0be
2013-03-20 20:56:46 +00:00
Translation updater bot cf119adfce Localisation updates from http://translatewiki.net.
Change-Id: Ib8bf31d518fb6073ed44513e3fae7c96cd416949
2013-03-17 20:56:46 +00:00
Reedy 8d54970bdb Remove () from around date format
Change-Id: Icfd3e9e660f559f3af7e0f245c65d81da8bb54ac
2013-03-07 00:28:44 +00:00
Mwalker 57e6f9b8c7 Merge "Use American English spelling for behavior" 2013-03-04 18:46:33 +00:00
Siebrand Mazeland d22ca8753c Use American English spelling for behavior
Change-Id: I0330fd17a17a8c99b2d60b8a16441bf12cbed839
2013-03-04 09:56:30 +01:00
Wikinaut 2fa8bc3cd7 follow-up change (renaming) core class HttpRequest to MWHttpRequest
Change-Id: I2c44ab3323c6da8f4b787a8fd0e36d451115e92d
2013-03-04 00:05:06 +01:00
Wikinaut 08f2300932 (bug 45387) (bug 45388) $wgRSSAllowImageTag new name; bug fixed
+++ breaking change +++
variable name $wgAllowImageTag renamed to $wgRSSAllowImageTag

+ fixed a problem that $wgAllowImageTag was not obeyed
+ added $wgRSSAllowImageTag to the variable declaration list in RSS.php

Change-Id: I112ebcdf492dfe80ba187fe6ab2406d3eed10f6a
2013-03-03 19:47:20 +00:00
Translation updater bot e37ab0c96f Localisation updates from http://translatewiki.net.
Change-Id: I3f481ac8c769df15405092a3a7c74de42aa953ab
2013-02-27 21:20:49 +00:00
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
Siebrand Mazeland 876e323eb6 Maintenance for RSS extension.
* Replace deprecated methods.
* Remove superfluous newlines.
* Update docs.
* Remove unused local variable.

Change-Id: I38e053980c40fdaf2ffa43a664c03f34a82b5e7c
2012-10-07 12:11:49 +02:00
Translation updater bot 221ccc5c95 Merge "Localisation updates from http://translatewiki.net." 2012-10-02 20:40:59 +00:00
Translation updater bot 47891b5f21 Localisation updates from http://translatewiki.net.
Change-Id: I9ba3058471885714e02184650de2f3055166f555
2012-10-02 20:37:04 +00: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