Commit graph

7723 commits

Author SHA1 Message Date
Brion Vibber edb3525992 Update a butt-ton of extension about URLs to point to https://www.mediawiki.org/ 2011-12-13 23:49:33 +00:00
Raimond Spekking aac47f8253 Localisation updates for core and extension messages from translatewiki.net 2011-12-13 20:50:04 +00:00
Liangent c576289635 Followup r100969: There may be Mac newlines as well. 2011-12-10 08:40:11 +00:00
Raimond Spekking f5673d37b7 Localisation updates for core and extension messages from translatewiki.net 2011-12-09 20:31:37 +00:00
Siebrand Mazeland c7399776ce * remove unused message key 'abusefilter-edit-global'.
* update message documentation for AbuseFilter.
2011-12-08 17:10:21 +00:00
Siebrand Mazeland 238a084cdc Follow-up r105549: fix typo pointed out by Santhosh. 2011-12-08 15:00:53 +00:00
Siebrand Mazeland e99e2d51f9 * remove unused message keys 'abusefilter-log-show-deleted', 'abusefilter-list-limit', 'abusefilter-links', 'abusefilter-tools-modifiertest-submit', 'abusefilter-tools', 'abusefilter-loglink'
* update message documentation for AbuseFilter. Still has some empty placeholders in qqq that I'm working on now. How wonderful would it be if all developers would just add that whenever they add keys? This saves so much time of translators and greatly improves translation quality.
2011-12-08 13:42:30 +00:00
Raimond Spekking df4540566d Localisation updates for core and extension messages from translatewiki.net 2011-12-06 21:36:57 +00:00
Raimond Spekking d7ad0221e5 Localisation updates for core and extension messages from translatewiki.net 2011-12-03 14:56:00 +00:00
Raimond Spekking fccc231210 Localisation updates for core and extension messages from translatewiki.net 2011-11-28 21:01:31 +00:00
Raimond Spekking 0131f15c55 Localisation updates for core and extension messages from translatewiki.net 2011-11-27 20:45:01 +00:00
Victor Vasiliev 0f89170b4e Fix a syntax error caused by using the same variable name for two different things. 2011-11-27 08:58:46 +00:00
Raimond Spekking 483ce17527 Localisation updates for ToolserverI18N from translatewiki.net 2011-11-24 20:50:30 +00:00
Siebrand Mazeland fab2acecd6 Localisation updates from http://translatewiki.net. 2011-11-23 18:43:52 +00:00
John Du Hart ee051870ae Adding @embed for RL 2011-11-22 16:10:49 +00:00
John Du Hart 7cf809bb0e Changes from r103817 2011-11-22 16:08:18 +00:00
Raimond Spekking 92ffc701da Localisation updates for core and extension messages from translatewiki.net 2011-11-21 21:20:36 +00:00
Raimond Spekking 73b1eb6958 Localisation update for core and extension messages from translatewiki.net 2011-11-19 14:32:52 +00:00
Raimond Spekking 21252c129f Localisation updates for core and extension messages from translatewiki.net 2011-11-17 22:50:20 +00:00
John Du Hart 453af554b9 Added context where possible to main AbuseFilter class
Most of the rest cannot get a context since it originates from hooks with no context sources. Instead of just getting the main context we might as well wait for a proper solution.
2011-11-17 00:55:53 +00:00
Raimond Spekking f1ce33bc5e Localisation updates for core and extension messages from translatewiki.net 2011-11-16 20:05:35 +00:00
John Du Hart 274dcd06a2 Pass one of converting AbuseFilter to use ContextSource
The main AbuseFilter class still needs to be fixed up, but that's a bigger job and I'm out of time
2011-11-16 05:34:24 +00:00
Raimond Spekking 02daab0aa3 Localisation updates for core and extension messages from translatewiki.net 2011-11-14 21:39:03 +00:00
Raimond Spekking 15c52bbcfd Localisation updates for core and extension messages from translatewiki.net 2011-11-14 09:16:03 +00:00
Raimond Spekking da3822dcfa Localisation updates for core and extension messages from translatewiki.net 2011-11-12 21:52:22 +00:00
Raimond Spekking cb57892455 Localisation updates for core and extension messages from translatewiki.net 2011-11-11 20:38:26 +00:00
Raimond Spekking 057efb9795 Localisation updates for core and extension messages from translatewiki.net 2011-11-10 20:56:42 +00:00
Alexandre Emsenhuber 567cce466a svn:eol-style native 2011-11-10 11:51:42 +00:00
Alexandre Emsenhuber 675e4c673a * (bug 29092) Removed usage of $wgArticle from AbuseFilter extension
Instead pass the Article object from the EditFilterMerged hook to the AFComputedVariable object and see whether the object is present to do a parse operation since other code paths won't pass an Article object

Also simplified the fallback code in AFComputedVariable::compute() to simply continue instead of calling the function again.
2011-11-09 08:36:26 +00:00
Raimond Spekking 7a512ab2cb Localisation updates for core and extension messages from translatewiki.net 2011-11-08 20:32:28 +00:00
Mark A. Hershberger f90dc2bcc9 Split AbuseFilter schema updates for SQLite out after briefly talking
with MaxSem about the desired course of action.  Perhaps later these
can be merged back, but this seemed to be the quickest way to get
AbuseFilter working with SQLite working for now.
2011-11-08 03:07:01 +00:00
Raimond Spekking 7ba7dd41dc Localisation updates for core and extension messages from translatewiki.net 2011-11-07 20:46:13 +00:00
Alexander K. 4e133035b8 Followup r102138 -- fixes according to Werdna's comment 2011-11-06 21:05:03 +00:00
Alexander K. f128bd5931 Allow to define custom actions and their callback functions 2011-11-06 01:15:55 +00:00
Raimond Spekking fcfaf6df5e Localisation updates for core and extension messages from translatewiki.net 2011-11-05 21:03:17 +00:00
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