Commit graph

1478 commits

Author SHA1 Message Date
Raimond Spekking e2c96e6d83 Localisation updates for core and extension messages from translatewiki.net 2011-10-26 19:30:37 +00:00
Sam Reed d808b53fc4 Swap
/*
 *

for

/**
 *
2011-10-26 03:49:06 +00:00
Antoine Musso efecf8b244 (bug 31656) AbuseFilter skips non null edits
That bug is triggering when a user submit an old revision unchanged.
The previous Article->getContent() would fetch the old revision which is
then compared to the user submitted text. Since they are identical, filtering
is skipped entirely.
Any editor can then reinstate an old "bad" revision.

Fix:
* Get latest stored revision to compare user submitted text against. This is
  done by using: Article->getRevision()->getRawText().
* Move caching related calls after that.

Follow up r52740.
Redo r100687 I had reverted.
2011-10-25 12:46:05 +00:00
Antoine Musso c2d03ddd7f revert r100687 2011-10-25 12:12:02 +00:00
Antoine Musso 6cdebb7ac0 (bug 31656) AbuseFilter skips non null edits
This bug is triggering when a user submit an old revision again. AbuseFilter
considered it to be a null edit although the old revision is certainly
a different text than the current one in the database.

This patch make sure we skip filtering only if we will be comparing with the
lastest content.

Follow up r52740
2011-10-25 10:22:18 +00:00
Antoine Musso 5043700b44 Document onEditFilterMerged with hook doc 2011-10-25 09:41:25 +00:00
Raimond Spekking d9f2e91cfe Localisation updates for core and extension messages from translatewiki.net 2011-10-23 19:48:36 +00:00
Raimond Spekking 7af7b80b6e Localisation updates for core and extension messages from translatewiki.net 2011-10-21 20:30:08 +00:00
Victor Vasiliev dd289e2f89 Add comment explaining why we do not need second parameter to preg_quote, per Nikerabbit's comments on r100139 CR. 2011-10-19 18:57:36 +00:00
Victor Vasiliev eca7343487 (part of this commit is in r100135 due to SVN fail)
* (bug 24109) Add regex escaping function to abuse filter

Patch by Jérémie Roquet
2011-10-18 17:57:33 +00:00
Victor Vasiliev 9075e03709 * (bug 24109) Add regex escaping function to abuse filter 2011-10-18 17:54:25 +00:00
Raimond Spekking 4e578cac93 Run some filter IDs through formatNum() for better l10n 2011-10-17 07:56:05 +00:00
Raimond Spekking ae6b121510 Localisation updates for core and extension messages from translatewiki.net 2011-10-16 19:48:07 +00:00
Raimond Spekking acdc3a4444 Localisation updates for core and extension messages from translatewiki.net 2011-10-14 20:06:14 +00:00
Raimond Spekking 2ee4c5431a Localisation updates for core and extension messages from translatewiki.net 2011-10-13 19:52:53 +00:00
Raimond Spekking 7623a665c2 Localisation updates for core and extension messages from translatewiki.net 2011-10-12 20:32:07 +00:00
Raimond Spekking 0e37f6a316 Localisation updates for core and extension messages from translatewiki.net 2011-10-11 19:57:27 +00:00
Raimond Spekking ddd95a248a Localisation updates for core and extension messages from translatewiki.net 2011-10-10 21:36:52 +00:00
Raimond Spekking a4d718a41e Localisation updates for core and extension messages from translatewiki.net 2011-10-09 20:04:54 +00:00
Tim Starling da936e9bfe (bug 31379) Don't use the $errcontext parameter of a PHP error handler to get information for error display, this introduces an unexpected, difficult-to-maintain data flow which leads to bugs like the referenced one above. 2011-10-05 23:31:34 +00:00
Raimond Spekking f440e7e7ad Localisation updates for core and extension messages from translatewiki.net 2011-10-05 19:39:20 +00:00
Andrew Garrett 4a37f1b892 Respond to CR on r96225: use rawParam 2011-10-02 07:06:38 +00:00
John Du Hart 6018d5fc4c Followup r95572, replace insertAtCaret with textSelection per CR 2011-09-30 01:57:00 +00:00
John Du Hart 9c75f9907f Followup r95572, minor tweaks per CR 2011-09-30 00:48:00 +00:00
John Du Hart 4926aeae24 Followup r98490, since the module names changed the variable names need changing as well 2011-09-30 00:05:08 +00:00
John Du Hart 3f06314486 Followup r95572, rename API modules to reduce chance of collisions per CR 2011-09-29 23:30:42 +00:00
Raimond Spekking 44bf75184f Localisation updates for core and extension messages from translatewiki.net 2011-09-29 21:33:17 +00:00
Raimond Spekking 38a5cb1921 Localisation updates for core and extension messages from translatewiki.net 2011-09-27 19:58:34 +00:00
Raimond Spekking 51ab1afb44 Localisation updates for core and extension messages from translatewiki.net 2011-09-26 20:30:18 +00:00
Raimond Spekking 14ec5341de Localisation updates for core and extension messages from translatewiki.net 2011-09-25 19:40:13 +00:00
Raimond Spekking 45e03befdc Localisation updates for core and extension messages from translatewiki.net 2011-09-23 20:09:54 +00:00
Raimond Spekking 30c66bfb80 Localisation updates for core and extension messages from translatewiki.net 2011-09-22 19:48:56 +00:00
Raimond Spekking 8e03dc20ea Localisation updates for core and extension messages from translatewiki.net 2011-09-21 21:30:38 +00:00
Raimond Spekking e4594b66df Localisation updates for core and extension messages from translatewiki.net 2011-09-19 19:40:55 +00:00
Raimond Spekking 1ee68bff25 Localisation updates for core and extension messages from translatewiki.net 2011-09-18 19:42:47 +00:00
Raimond Spekking b161b3e809 Localisation updates for core and extension messages from translatewiki.net 2011-09-16 20:51:04 +00:00
Raimond Spekking e66b81866c Localisation updates for core and extension messages from translatewiki.net 2011-09-14 20:46:49 +00:00
Siebrand Mazeland 9d975acd8a Update for magic words and special pages localisation for extensions from http://translatewiki.net. 2011-09-13 13:33:40 +00:00
Raimond Spekking c2ca8b97eb Localisation updates for core and extension messages from translatewiki.net 2011-09-12 21:47:32 +00:00
Raimond Spekking f298b8aeb1 Localisation updates for core and extension messages from translatewiki.net 2011-09-11 20:12:21 +00:00
Raimond Spekking 92fe6f3666 Localisation update for core and extension messages from translatewiki.net 2011-09-09 20:33:58 +00:00
Raimond Spekking 43a38bec33 Localisation updates for core and extension messages from translatewiki.net 2011-09-08 20:11:29 +00:00
Raimond Spekking d3bc3c3ae6 Localisation updates for core and extension messages from translatewiki.net 2011-09-07 19:15:44 +00:00
Raimond Spekking 11e3aa4223 Localisation updates for core and extension messages from translatewiki.net 2011-09-06 20:24:15 +00:00
Raimond Spekking 6e85fe55d1 Localisation updates for core and extension messages from translatewiki.net 2011-09-05 20:53:36 +00:00
Raimond Spekking 6580b75f7a Localisation updates for core and extension messages from translatewiki.net 2011-09-04 19:01:32 +00:00
Andrew Garrett 137e0ece3a Do not use replaceafter, per r52735 CR 2011-09-04 14:12:18 +00:00
Raimond Spekking 1be54b47a0 Localisation updates for core and extension messages from translatewiki.net
ParserFunctions skipped today.
2011-09-03 13:52:53 +00:00
Raimond Spekking 6b45593082 Localisation updates for core and extension messages from translatewiki.net
ParserFunctions skipped today.
2011-09-02 15:48:13 +00:00
Siebrand Mazeland bb0748ba7a Add some translator documentation.
P.s. would love it if developers did this immediately when adding messages. This is *so* much harder...
2011-09-02 15:36:39 +00:00