Commit graph

595 commits

Author SHA1 Message Date
Mark A. Hershberger e03eee9134 Update per Reedy's mini-review on IRC:
* Make parens more spacey
* Use empty array instead of null for default.
2011-05-06 16:40:14 +00:00
Mark A. Hershberger 518d4b7a17 Update RSS to add the ability to restrict per-namespace. 2011-05-06 16:21:43 +00:00
Raimond Spekking 721dc2c237 Localisation updates for core and extension messages from translatewiki.net (2011-04-30 20:50:00 UTC) 2011-04-30 21:21:47 +00:00
Raimond Spekking 7276c273ab Localisation updates for core and extension messages from translatewiki.net (2011-04-28 20:00:00 UTC) 2011-04-28 20:38:36 +00:00
Raimond Spekking 790e864003 Localisation updates for core and extension messages from translatewiki.net (2011-04-27 20:00:00 UTC) 2011-04-27 20:22:02 +00:00
Raimond Spekking 9ab7356053 Localisation updates for core and extension messages from translatewiki.net (2011-04-21 19:30:00 UTC) 2011-04-21 19:43:03 +00:00
Sam Reed cef4704de6 Remove more bogus svn properties 2011-03-12 18:09:59 +00:00
Raimond Spekking 948d847081 Localisation updates for core and extension messages from translatewiki.net (2011-03-10 20:05:00 UTC) 2011-03-10 21:02:36 +00:00
Raimond Spekking bdf8c09bf8 Localisation updates for core and extension messages from translatewiki.net (2011-03-09 21:26:00 UTC) 2011-03-09 22:15:15 +00:00
Raimond Spekking f6f5505720 Localisation updates for core and extension messages from translatewiki.net (2011-03-04 19:51:00 UTC) 2011-03-04 20:06:34 +00:00
Raimond Spekking 2c32752420 Localisation updates for core and extension messages from translatewiki.net (2011-01-26 21:38:00 UTC) 2011-01-26 22:01:54 +00:00
Siebrand Mazeland 36289c4a5c Localisation updates for extensions from translatewiki.net. 2011-01-22 20:08:34 +00:00
Raimond Spekking 38404aa709 Localisation updates for core and extension messages from translatewiki.net (2011-01-17 18:14:00 UTC) 2011-01-17 19:48:22 +00:00
Raimond Spekking 9213e55132 Localisation updates for core and extension messages from translatewiki.net (2011-01-10 20:56:00 UTC) 2011-01-10 21:09:58 +00:00
Sam Reed 334d5e60b0 Fixup a few bits of documentation 2011-01-08 01:33:42 +00:00
Raimond Spekking db6653c109 Localisation updates for core and extension messages from translatewiki.net (2010-12-20 21:02:00 UTC) 2010-12-30 21:45:57 +00:00
Raimond Spekking d7000682ca Localisation updates for core and extension messages from translatewiki.net (2010-12-26 20:27:00 UTC) 2010-12-26 20:38:54 +00:00
Raimond Spekking 79d96ba577 Localisation updates for core and extension messages from translatewiki.net (2010-12-17 20:07:00 UTC) 2010-12-17 20:27:54 +00:00
Raimond Spekking e0ccf650cb Localisation updates for core and extension messages from translatewiki.net (2010-12-16 21:37:00 UTC) 2010-12-16 22:11:46 +00:00
Raimond Spekking 8ce8803ff1 Localisation updates for core and extension messages from translatewiki.net (2010-12-13 20:33:00 UTC) 2010-12-13 20:58:38 +00:00
Raimond Spekking abc06ccc39 Localisation updates for core and extension messages from translatewiki.net (2010-12-03 23:39:00 UTC) 2010-12-03 23:09:07 +00:00
Raimond Spekking 5abd1145c9 Localisation updates for core and extension messages from translatewiki.net (2010-11-30 20:23:00 UTC) 2010-11-30 20:47:01 +00:00
Raimond Spekking 7d94a337f9 Localisation updates for core and extension messages from translatewiki.net (2010-11-28 20:30:00 UTC) 2010-11-28 20:45:25 +00:00
Raimond Spekking 6cc2ca442c Localisation updates for core and extension messages from translatewiki.net (2010-11-26 21:27:00 UTC) 2010-11-26 21:52:21 +00:00
Tim Starling 4606c89f74 Proxy configuration feature, since $wgHTTPProxy tends to screw up unrelated code. 2010-11-25 12:38:25 +00:00
Tim Starling 87d6eb6c7d * Avoid XSS via malicious RSS on wikis with $wgRawHtml = true. Mostly reverts r77031.
* Avoid formatting errors due to RSS descriptions which contain "}}", which was ending the item template prematurely.
2010-11-23 02:16:05 +00:00
Raimond Spekking b31b73270b Localisation updates for core and extension messages from translatewiki.net (2010-11-21 19:57:00 UTC) 2010-11-21 20:20:38 +00:00
Raimond Spekking b6e0f1b50f Localisation updates for core and extension messages from translatewiki.net (2010-11-20 11:25:00 UTC) 2010-11-20 11:54:40 +00:00
Mark A. Hershberger 6003693caf followup r76848 by using wfEscapeWikiText() on all bits except links. Escape links using wfEscapeWikiText() that, after we've parsed them with parse_url(), don't have a scheme in our list of validSchemes. 2010-11-19 21:02:01 +00:00
Mark A. Hershberger b6befdf40b followup r76848 Make sure to use wfEscapeWikiText 2010-11-19 19:01:09 +00:00
Raimond Spekking 00e02ed838 Localisation updates for core and extension messages from translatewiki.net (2010-11-18 20:47:00 UTC) 2010-11-18 21:11:56 +00:00
Mark A. Hershberger d997781fb4 * Remove references to unused charset handling.
* Remove references to unused config variables.
* Consolidate renderItem() to a single loop instead of a separate one for highlighting displayFields.
* Make sure everything gets htmlspecialchars() treatment.
o
2010-11-16 23:21:36 +00:00
Mark A. Hershberger a5321b114b * Remove the call to disableCache(), that, upon double-checking, does undermine the caching that updateCacheExpiry() is trying to set up in the very next line.
* Fix renderItem so that it isn't overly complex and just subsitutes the parsed contents of RSS elements (e.g. {{{description}}} is substituted with the contents of the <description> tag).
2010-11-16 22:06:59 +00:00
Raimond Spekking 35365abac2 Localisation updates for core and extension messages from translatewiki.net (2010-11-16 20:13:00 UTC) 2010-11-16 20:33:22 +00:00
Raimond Spekking 4d7eab1c36 Fix encoding 2010-11-16 09:29:53 +00:00
Mark A. Hershberger c06345b95e Add back cache setting that was accidently removed 2010-11-15 23:47:12 +00:00
Roan Kattouw 61f5f7caba RSS extension:
* Prefix memcached keys with 'rss'
* Check is_array() rather than != null before using list() on the cache entry
* Fix language in comment
2010-11-13 19:16:39 +00:00
Roan Kattouw ff4e370bed RSS: instanceOf -> instanceof, $ERROR -> $error 2010-11-13 19:11:28 +00:00
Raimond Spekking 3381ea30b9 Localisation updates for core and extension messages from translatewiki.net (2010-11-09 21:07:00 UTC) 2010-11-09 21:12:00 +00:00
Raimond Spekking c206eac8c5 Localisation updates for core and extension messages from translatewiki.net (2010-11-08 20:05:00 UTC) 2010-11-08 20:25:23 +00:00
Raimond Spekking 05eaa56c4a Localisation updates for core and extension messages from translatewiki.net (2010-11-07 20:44:00 UTC) 2010-11-07 21:00:22 +00:00
Raimond Spekking da3692b53a Localisation updates for core and extension messages from translatewiki.net (2010-11-06 20:26:00 UTC) 2010-11-06 20:53:34 +00:00
Alexandre Emsenhuber 7ca3fed664 svn:eol-style native -R . -q 2010-11-05 19:46:45 +00:00
Raimond Spekking cac1354ec8 Localisation updates for core and extension messages from translatewiki.net (2010-11-05 15:10:00 UTC) 2010-11-05 15:34:04 +00:00
Jack Phoenix 4e23b840bc RSS: coding style and documentation tweaks 2010-11-05 00:59:28 +00:00
Mark A. Hershberger 4a06accf23 don't fail where itemTemplate is filled with 0s 2010-11-04 23:47:06 +00:00
Mark A. Hershberger 81d995c0aa Remove bogus check for !isGood() status. 2010-11-04 23:38:47 +00:00
Mark A. Hershberger f3c74eaeb3 followup r76053 — add missed i18n messages 2010-11-04 23:20:49 +00:00
Mark A. Hershberger 3aa74a03f8 Re Roan's new review on IRC yesterday:
* Add function documentation that I should have written before.
* Create separate RSSParser class to clean up RSS.php
* Create separate RSSHooks class to handle parser initialization and
  public interface for parser to use.
* Move User Agent definition to $wgRSSUserAgent from a define.
* Eliminate references to $wgRSSUseGzip (since were using MW's
  internal HTTP client, it didn't do anything anyway, ATM).

Re Tim's emailed review (discovered yesterday):
* Switch to DOMXPath::query() from DOMXPath::evaluate() at Tim's
  suggestion.
* Move highlighting callback to its own class, RSSHighlighter, so that
  it works as a callback without create_function() and other mess.
2010-11-04 23:19:00 +00:00
Mark A. Hershberger 70cd9b0503 re r75046 - implement highlighting in a (hopefully) less ugly way 2010-11-02 17:56:35 +00:00