Commit graph

4183 commits

Author SHA1 Message Date
Translation updater bot 6fd90ebb71 Localisation updates from https://translatewiki.net.
Change-Id: I23824725ea13186486eb3397cd2286dd85903d49
2014-08-26 21:44:30 +02:00
Translation updater bot bfc1197418 Localisation updates from https://translatewiki.net.
Change-Id: I7faa642ba21199f889d2a34652ba07917df092a9
2014-08-23 21:48:52 +02:00
Translation updater bot d9c0efa578 Localisation updates from https://translatewiki.net.
Change-Id: If06d025350ee459555b0456b7ebe271a90434892
2014-08-20 22:22:48 +02:00
Translation updater bot 92210d6d96 Localisation updates from https://translatewiki.net.
Change-Id: Ic9e56d550cfe17d1c91f961cba674f5e0a7d2519
2014-08-18 22:35:27 +02:00
Translation updater bot 1ccd05bb23 Localisation updates from https://translatewiki.net.
Change-Id: Idd75c506b6e473bb0c8bd1b00be11cbe2a5cfae1
2014-08-17 22:58:50 +02:00
Translation updater bot e6a44a3d81 Localisation updates from https://translatewiki.net.
Change-Id: I6c086119dc27aea4898a6ab0666fae3989271e48
2014-08-14 23:33:55 +02:00
Translation updater bot 73e73801e6 Localisation updates from https://translatewiki.net.
Change-Id: I77a8bd32683c2ed1fb177e625828da2443ba4798
2014-08-13 23:01:00 +02:00
Translation updater bot a47c698bb3 Localisation updates from https://translatewiki.net.
Change-Id: I14d0b26674755e0901b4f24474a08128de306e02
2014-08-12 21:32:36 +02:00
Translation updater bot ce847ede01 Merge "Localisation updates from https://translatewiki.net." 2014-08-11 21:26:10 +00:00
Translation updater bot 63dc5655d6 Localisation updates from https://translatewiki.net.
Change-Id: I0c5553ea66c6c7b063671237e3d35a17dd76813c
2014-08-11 22:13:08 +02:00
Liangent a86019d2d3 Add new variable article_first_contributor
Bug: 67793
Change-Id: I725b7150de52bdc6518f73a6302f850e8d596824
2014-08-11 11:51:44 +00:00
jenkins-bot 0d74309d09 Merge "Update token handling for core API change" 2014-08-10 12:04:51 +00:00
Translation updater bot f87f1bd7be Localisation updates from https://translatewiki.net.
Change-Id: Ib171ef2c6d25aa0664f1cf7bc11dd2d3d28cd59c
2014-08-09 19:50:26 +02:00
Brad Jorsch ad4ea2c79c Update token handling for core API change
Core change I2793a3f2 changes API handling in a way that needs updates
to extensions for proper operation:
* needsToken() now returns a string
* Most custom token types are being replaced with a 'csrf' token (the
  former 'edit' token); any others need a new hook.
* All tokens must use a static salt. Compat with web UI using non-static
  tokens is supported and also serves to handle the now-deprecated token
  fetching.
* Documentation in getParamDescription() should return a string (not
  array) for 'token', as the signal to core that it should be replaced
  with a standardized message.

When compatibility with earlier versions of MediaWiki is no longer
maintained, the entry for 'token' from getAllowedParams() and
getParamDescription() may be removed, as may getTokenSalt(). This patch
leaves them in place.

Note this is intended to be compatible with earlier versions of
MediaWiki, and so should be safe to merge before the core change.

Change-Id: Ie1f483e2d0fd97d6ff5b2b953aa6390c35c75ee7
2014-08-09 16:27:19 +01:00
helderwiki 3b284d8ef2 Expose variables to JavaScript when viewing details or examining a log
When examining AbuseFilter logs using user scripts, it is convenient to have
access to the variables shown in the table, without having to interact with
the page to get the content of the table cells.

This change introduces the variable wgAbuseFilterVariables on these pages:
* Special:AbuseFilter/examine
* Special:AbuseLog/<logId>

Change-Id: I2cebf141e6c1d26e62ed7e6ba0b5c327694e2ef8
2014-08-07 10:23:54 +00:00
Translation updater bot 34b21f8b68 Localisation updates from https://translatewiki.net.
Change-Id: Ic7edc7ad759071a37ffe8a4fcd6dee897cd1498f
2014-08-04 21:51:51 +02:00
Translation updater bot 727a937085 Localisation updates from https://translatewiki.net.
Change-Id: I090f5fd2bbf62ecf2a24018e77bda1b4af023978
2014-08-03 22:05:57 +02:00
Translation updater bot d6a43b0b7a Localisation updates from https://translatewiki.net.
Change-Id: I00f0a294dd0b85c3306a805c92ee1c4d29bc119c
2014-08-02 22:21:25 +02:00
helderwiki 20dabefe22 Improve error handling for HTTP requests
The API provides more details about HTTP errors, so show these to
the user instead of a generic "An unknown error occurred."

Bug: 68767
Change-Id: I3188b9729c815a07c65a7dbef4d40deebe29b87d
2014-08-02 11:56:32 +00:00
helderwiki f73b148a82 Do not ignore the "vars" parameter on action=abusefiltercheckmatch
For this, we just need to convert the associative array to an
instance of AbuseFilterVariableHolder.

Bug: 53501
Change-Id: Ie6925e1ce7df6c6c179e32ff69ff4138a3285545
2014-08-02 11:38:19 +00:00
Translation updater bot 273cf528ce Localisation updates from https://translatewiki.net.
Change-Id: Iff0c44023e45e0bbef531d82de246c26a46874a1
2014-08-01 21:31:23 +02:00
Translation updater bot e7cd09437d Localisation updates from https://translatewiki.net.
Change-Id: I5548f57537552acd9f34ae317b678a259cef0aa1
2014-07-31 22:13:22 +02:00
Translation updater bot 2163edd799 Localisation updates from https://translatewiki.net.
Change-Id: Ib636da4d08932cac888b03200c6f3d35235111de
2014-07-29 21:52:34 +02:00
helderwiki 1717b743f8 Use POST method for action=abusefilterevalexpression API requests
Needed as tests take arbitrary user input through a textarea,
which can get rather big. GET cuts it off sometimes.

Follow-up to I317f5d7c372710617a7a6526cd4613de9660a40a

Bug: 47298
Bug: 68767
Change-Id: Ibab02be4c4e5640a09a1a76a4aa3e1a9520f489d
2014-07-28 20:21:14 -03:00
Translation updater bot a2f52e8834 Localisation updates from https://translatewiki.net.
Change-Id: I940b4e6c355b4783241652da050be5491f9827f3
2014-07-27 22:15:50 +02:00
Translation updater bot 16a0f42be1 Localisation updates from https://translatewiki.net.
Change-Id: Ib8e4b1cb39c2ba8079e904dd41f7803dc9e46972
2014-07-26 21:46:18 +02:00
Translation updater bot 4dc1168d2f Localisation updates from https://translatewiki.net.
Change-Id: I262055be81b4bb67df1dde99f79d384a90579ac3
2014-07-23 22:48:45 +02:00
Kunal Mehta d962b418a9 Add "abusefilter-bypass" userright as a hack for GlobalRename page moves
GlobalRename is having its page moves stopped by AbuseFilter rules
that shouldn't affect it at all. This is a temporary hack until
something like bug 67936 is fixed.

This is less evil than unsubscribing AbuseFilter from $wgHooks IMO.

Change-Id: I6b301fda119be167d3f092d86ba5914289045fab
2014-07-22 23:04:40 -07:00
Marius Hoch 39fb819b9c Don't try to pass non Title objects into RequestContext::setTitle
That will cause a fatal error...

Change-Id: Ib12765ca696ee9c8c5a0572dab54d30a4434e6ce
2014-07-20 22:04:37 +02:00
Translation updater bot 203e570414 Localisation updates from https://translatewiki.net.
Change-Id: I73d87d52c2c23ecaee2d204facceacf787a67472
2014-07-20 21:06:09 +02:00
Translation updater bot d4d9ac9867 Localisation updates from https://translatewiki.net.
Change-Id: I1a960edb02e90dbd0860a1553d1c9addcea2ba2d
2014-07-19 22:01:51 +02:00
Translation updater bot c6b8f782fd Localisation updates from https://translatewiki.net.
Change-Id: I41d19f0a56363b30c461e228bd2806360fdd0df0
2014-07-17 22:54:42 +02:00
Translation updater bot 32253a8557 Localisation updates from https://translatewiki.net.
Change-Id: I13a48802c4d46c02b9f10cc97cedcc161b5966bb
2014-07-16 21:59:24 +02:00
Translation updater bot 031e11d741 Localisation updates from https://translatewiki.net.
Change-Id: I4af77e69932c0d65be4dbd2e540d4911c356f534
2014-07-14 21:58:02 +02:00
Translation updater bot d2831387ea Localisation updates from https://translatewiki.net.
Change-Id: I4605818b79a7b085c409f55de2e38956c7ae4242
2014-07-13 22:19:32 +02:00
Translation updater bot f2ffcde1b6 Localisation updates from https://translatewiki.net.
Change-Id: Ie842a6d229a9c6091c1636663133251fc00d020d
2014-07-12 23:18:55 +02:00
Ori Livneh 0e36b728e3 Fix double escaping in AFPData::keywordLike()
If we don't map '\-' and '\+' to themselves, the leading slash gets escaped,
and the resultant pattern only matches a literal slash.

Bug: 67670
Change-Id: Ifa1e3edd6f41985a3bb97bfb1497985f8fa64af5
2014-07-11 14:56:42 -07:00
Translation updater bot d239ab117f Localisation updates from https://translatewiki.net.
Change-Id: I53a2c13915b92a157408988f1c22a5e39b11957b
2014-07-11 21:54:07 +02:00
Translation updater bot 125a57e669 Localisation updates from https://translatewiki.net.
Change-Id: I764d2c4164336b494f4453b71913d43fb1a62a0d
2014-07-09 20:29:49 +00:00
Translation updater bot 819d6f4cc5 Localisation updates from https://translatewiki.net.
Change-Id: I537b5db4458b5769df7dae226c6c71bce8fa16c8
2014-07-08 20:58:45 +00:00
Translation updater bot 10c2bef0d9 Localisation updates from https://translatewiki.net.
Change-Id: I444f8b8c397548ae547e483fb50237d75386839a
2014-07-07 20:17:31 +00:00
Kunal Mehta b40416c037 Add user_rights variable
Allows for more broad filters to check for a given right, rather
than having to check against multiple groups, which becomes useful
with global groups.

Bug: 60191
Change-Id: I95b5477d6d868d4b83bcd98e779e6d535aa755b3
2014-07-06 22:18:57 -07:00
jenkins-bot 355fb4781d Merge "Separate parameters for the filter ID and localized filter name in AbuseFilter" 2014-07-06 23:20:15 +00:00
Translation updater bot 0e2321e0cf Localisation updates from https://translatewiki.net.
Change-Id: I9741c2b5152252f49713038770f5ab45daaf3a3b
2014-07-05 19:53:30 +00:00
Translation updater bot b22822dfd8 Localisation updates from https://translatewiki.net.
Change-Id: Ifaabe36710b88bc8235ef8d1f088d308f12dc5ab
2014-07-04 21:29:18 +00:00
Jackmcbarn 9409452698 Add tags from all matching filters
If multiple filters all add tags to an edit, make all of them be added
rather than just one of them.

Bug: 66387
Change-Id: Ib666c2765718d7d0603921ab94d22a7d51cbd3d2
2014-07-02 23:20:47 +00:00
Translation updater bot 43745392ed Localisation updates from https://translatewiki.net.
Change-Id: I1bd49d0976283054e08622a03e14b0a1b8f41eb4
2014-06-29 18:33:16 +00:00
huji edabcbc6aa Separate parameters for the filter ID and localized filter name in AbuseFilter
Bug: 67254
Change-Id: I0343971b8be6984820ddf861a76132c9dd064829
2014-06-28 15:23:43 -04:00
Translation updater bot 6d3f163a94 Localisation updates from https://translatewiki.net.
Change-Id: I33c2cf53c0d1c6843ac751074b04b84a8bfb62df
2014-06-27 20:16:55 +00:00
Translation updater bot 24c2f3fad2 Localisation updates from https://translatewiki.net.
Change-Id: Idf726a50ba18521d8e828dd4f78794f77053a734
2014-06-26 19:25:23 +00:00