Commit graph

1588 commits

Author SHA1 Message Date
Brion Vibber a3b99c0d7c * (bug 31870) Fix regression in AbuseFilter: pass/fail checkmark images for syntax checks work again
Was broken by r81905 consolidating background-repeat and background-position into a single background rule, which implied a 'background-image: none' overriding the background-image values set by other rules.
Restored them & added a comment so the next person won't do the same.

Also moved the image files to match the reorg of the css in r95572, which would have broken these images if r81905 hadn't done it first. ;)
2011-11-03 00:13:27 +00:00
Raimond Spekking d512347270 Localisation updates for core and extension messages from translatewiki.net 2011-11-01 21:04:38 +00:00
Raimond Spekking 007ec1faa7 Localisation updates for core and extension messages from translatewiki.net 2011-10-31 20:25:58 +00:00
Raimond Spekking 1bbce368bf Localisation updates for core and extension messages from translatewiki.net 2011-10-30 20:15:17 +00:00
Raimond Spekking 01e7a6fe44 Localisation updates for core and extension messages from translatewiki.net 2011-10-29 19:34:33 +00:00
Siebrand Mazeland c68bcada56 Add space between number and unit. Spotted by Urhixidur. 2011-10-29 11:54:18 +00:00
Raimond Spekking 763d2b9e34 Localisation updates for core and extension messages from translatewiki.net 2011-10-28 19:53:17 +00:00
Raimond Spekking a19333ea0e Localisation updates for core and extension messages from translatewiki.net 2011-10-27 20:00:32 +00:00
Liangent 44f71ac0b7 Normalize newline before exploding by "\n" 2011-10-27 12:50:48 +00:00
Liangent 8ac1b4c619 Newline to <br> replacement should take place after escaping 2011-10-27 12:17:48 +00:00
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