Commit graph

2751 commits

Author SHA1 Message Date
jenkins-bot af7d6c1632 Merge "PostgreSQL: Fix magic-value code for AbuseFilter" 2015-03-25 22:11:08 +00:00
Jeff Janes 942a95e80e PostgreSQL: Fix magic-value code for AbuseFilter
When importing filters, the code is using the magic value
of 'new' for the af_id field, which is of type bigint, to
indicate a not-yet-inserted record.

In MySQL, comparing a bigint to 'new' is legal but always false,
while in PostgreSQL it is illegal, and led to errors when checking
if the filter is hidden.

Fix this by adding special-case code to filterHidden so that it
always returns false for 'new' records. In PostgreSQL this fixes
the error, and in MySQL it avoids a pointless trip to the database.

Should be back patched to 1.23 and 1.24

Bug: T89514
Change-Id: Ib4b5585ac9889a1760ec930c555e7809a424538e
2015-03-25 22:07:55 +00:00
Translation updater bot f3b3fc1938 Localisation updates from https://translatewiki.net.
Change-Id: I8105d54940f826e277fd7c5726fdca32bb381680
2015-03-24 22:18:03 +01:00
Translation updater bot 5533ed8dba Localisation updates from https://translatewiki.net.
Change-Id: I0f9edad0629bf25ab7e858bdbeba577ef9ed781c
2015-03-23 21:44:24 +01:00
Translation updater bot fa5d22f23c Localisation updates from https://translatewiki.net.
Change-Id: I8362b46bb9ea5549ed09ec5c792725dfeadae929
2015-03-20 21:29:04 +01:00
Translation updater bot 87f044bbc1 Localisation updates from https://translatewiki.net.
Change-Id: I378f6577d8150b041b45713320a7ce4b11796960
2015-03-19 21:08:32 +01:00
Translation updater bot d30c83841e Localisation updates from https://translatewiki.net.
Change-Id: Iab0f20037a5e8afd65f56f3ba2b3d25c152082dd
2015-03-18 15:56:53 +01:00
Translation updater bot 6587a1399f Localisation updates from https://translatewiki.net.
Change-Id: Ice619912acc5bd82f4fdb9275d83b2071d7aed1a
2015-03-16 21:53:14 +01:00
Translation updater bot 36826eb45d Localisation updates from https://translatewiki.net.
Change-Id: I3c5bdf66e67a56eba89a3d9da72cc8ef24c9aa07
2015-03-15 21:46:12 +01:00
jenkins-bot 25e3a91592 Merge "Don't define tags from deleted filters" 2015-03-14 10:38:09 +00:00
Translation updater bot 9814bcc29d Localisation updates from https://translatewiki.net.
Change-Id: Ic823ad7074916a9baded30ba88c17251e374bdf6
2015-03-13 22:30:32 +01:00
Translation updater bot f28f5d40ab Localisation updates from https://translatewiki.net.
Change-Id: Idb3fc41fd1b9edea8ff060a24933cba80f68b648
2015-03-12 21:23:02 +01:00
Translation updater bot 1a3707c96a Localisation updates from https://translatewiki.net.
Change-Id: Ifd788b82143aab3e61c60d6dcd0f2321edbc8a0b
2015-03-11 22:12:00 +01:00
Translation updater bot ea1b837a65 Localisation updates from https://translatewiki.net.
Change-Id: Ic6c65381f1502f8d213a8b22b41f26661ae50dac
2015-03-10 22:28:11 +01:00
Translation updater bot 4c6c93b277 Localisation updates from https://translatewiki.net.
Change-Id: I81351e6e2c21d23f60e7513d7b62649ea870b4b8
2015-03-08 21:40:57 +01:00
Translation updater bot 6130fd34fe Localisation updates from https://translatewiki.net.
Change-Id: I6ec809a17714fcab50438c45becfc8837388bf22
2015-02-28 22:02:12 +01:00
Translation updater bot 044b0611bf Localisation updates from https://translatewiki.net.
Change-Id: I9509622673a459c53eba61abb08818b8c35e63ef
2015-02-27 21:52:32 +01:00
Translation updater bot 4dec51359a Localisation updates from https://translatewiki.net.
Change-Id: Ifc3f3e714c6231a3cebf2bf6ca88bb7470e1d701
2015-02-26 21:29:50 +01:00
cenarium 8bf9c62cbe Don't define tags from deleted filters
Tags from deleted filters are excluded when the list of tags
is fetched. So they aren't defined by the extension and can
be deleted. They are excluded in all cases just to be sure.

Bug: T90349
Change-Id: I41ec5203f689b4eb6ccf1f85ca9560a8c272705c
2015-02-26 03:50:14 +01:00
Translation updater bot 3a938cc9d2 Localisation updates from https://translatewiki.net.
Change-Id: I523ad773f9e94487cfa63f79736123edb3111930
2015-02-24 21:57:12 +01:00
jenkins-bot c8f98bf992 Merge "Update ApiResult handling for mediawiki/core change I7b37295e" 2015-02-23 21:53:43 +00:00
Translation updater bot 0b58a13400 Localisation updates from https://translatewiki.net.
Change-Id: I7fe5732c3fa0186f23356e8fd73810bdab8f7654
2015-02-23 21:53:22 +01:00
Translation updater bot ff7fa92eec Localisation updates from https://translatewiki.net.
Change-Id: I2486a5f32e3a9264f51fcb9185deeef8c8837b4d
2015-02-22 21:33:29 +01:00
Translation updater bot 30176c8ffc Localisation updates from https://translatewiki.net.
Change-Id: I673dfcfc798650b6ae093eb832be89e3de0541b0
2015-02-21 23:28:45 +01:00
jenkins-bot f331770bce Merge "Avoid "recent-contributors" queries that cause timeouts" 2015-02-20 22:47:44 +00:00
Aaron Schulz 42120d3921 Avoid "recent-contributors" queries that cause timeouts
* This works by only scanning the last 100 edits

bug: T90036
Change-Id: I803b06f9eb7a4a61bcb0248520b4144158963983
2015-02-20 17:02:54 +00:00
Translation updater bot aaf02aae64 Localisation updates from https://translatewiki.net.
Change-Id: I29b228980a53f911af602e6d299d04de5047c6c6
2015-02-19 22:03:03 +01:00
Translation updater bot 0609413a65 Localisation updates from https://translatewiki.net.
Change-Id: I43a48411fe857a71e83700875e2e6b62d380b10c
2015-02-18 21:59:58 +01:00
se4598 6d316690a9 add filter option for local rules only on central wiki
only affects filter list on central wiki. You can now select to see
local only, global ones or both filters.

Bug: T78495
Change-Id: Idb37aa4f5c3515e0295b74a43176edd2c62508f8
2015-02-17 09:00:44 +01:00
jenkins-bot 5831602415 Merge "Add license name to credits and add minor config code comment" 2015-02-17 07:25:00 +00:00
se4598 616b9fb34c Add license name to credits and add minor config code comment
Change-Id: I4add882647275b6031f14e3c5ce3713533e7d04e
2015-02-17 01:26:10 +01:00
Translation updater bot e8c050ac2c Localisation updates from https://translatewiki.net.
Change-Id: I6fdd11979842901b3ed5fa4dbc3e27523c5f33e3
2015-02-16 21:49:55 +01:00
Translation updater bot d642e4aa7d Localisation updates from https://translatewiki.net.
Change-Id: Ia1b9cc83976f046d91bbe779c9dadf2b9f6c5e26
2015-02-13 22:16:41 +01:00
Translation updater bot f33db26331 Localisation updates from https://translatewiki.net.
Change-Id: I80b21dca1adbf2efb4549f1adabea12984b4b17c
2015-02-10 22:13:58 +01:00
jenkins-bot ad79ca8c6a Merge "Remove obvious function-level profiling" 2015-02-10 19:51:07 +00:00
Translation updater bot de699f1878 Localisation updates from https://translatewiki.net.
Change-Id: I260ba2bf0f94ae5a607b85090bcc540366e877a1
2015-02-08 21:44:47 +01:00
Translation updater bot 35f2313468 Localisation updates from https://translatewiki.net.
Change-Id: Ic2cf02ff6afd494bb0acf3c89e019269158b7503
2015-02-07 21:43:59 +01:00
Translation updater bot 95a937e286 Localisation updates from https://translatewiki.net.
Change-Id: Id92214d0d61cc618f3d184826154d84563e859fb
2015-02-06 21:02:27 +01:00
Translation updater bot a15330f1ba Localisation updates from https://translatewiki.net.
Change-Id: I30eebe5c232d4d2176cd3704520b5870f9081d2e
2015-02-05 23:04:20 +01:00
Translation updater bot 58220afc9d Localisation updates from https://translatewiki.net.
Change-Id: I22c46aa6a2f065c122088a6c4173a41dcd5934d4
2015-02-04 22:18:33 +01:00
This, that and the other e00c245beb Implement ChangeTagsListActive hook
This allows users to visit Special:Tags or use the API to see
which change tags are still in active use.

The ChangeTagsListActive hook was introduced to core in
I77f476c8d0f32c80f720aa2c5e66869c81faa282

Change-Id: I456da1d151b576a4b4b62569a7804e3a3dd5e611
2015-02-04 19:22:00 +00:00
Chad Horohoe 0715c05ed9 Remove obvious function-level profiling
Change-Id: I85f65a65abb5b91b44441caa21fb9c5e8edb2ebe
2015-02-04 10:26:04 -08:00
Translation updater bot 41c49a39fe Localisation updates from https://translatewiki.net.
Change-Id: Ifeb5150bd022770cef665aaeaded4e4ed8a27fe1
2015-02-03 22:52:14 +01:00
Translation updater bot 20662c4ae3 Localisation updates from https://translatewiki.net.
Change-Id: Ib484d7ea418888ec5ca7220c979b399c6f264b3f
2015-02-02 22:23:13 +01:00
Translation updater bot 17ad7861bf Localisation updates from https://translatewiki.net.
Change-Id: Ifc2234b7a38c2c947f968d7ceb603334a7a21d18
2015-01-30 21:47:43 +01:00
Translation updater bot 93cf848470 Localisation updates from https://translatewiki.net.
Change-Id: Ia79c71d8a022ca4453ca434697e9a814e8f1b7ff
2015-01-29 22:56:55 +01:00
Translation updater bot d7917ed477 Localisation updates from https://translatewiki.net.
Change-Id: I6a97940565cdc9847e0a51bd0735e454e2d8779b
2015-01-27 22:13:10 +01:00
jenkins-bot 10a8326f26 Merge "parse AF error message on action delete" 2015-01-27 17:30:51 +00:00
Translation updater bot 5d8ff73853 Localisation updates from https://translatewiki.net.
Change-Id: I3edcea90be257c6f232fda330fad2062339d9885
2015-01-26 22:36:32 +01:00
se4598 323848c2f3 parse AF error message on action delete
parse the error message, so wikitext gets HTML for display

Bug: T87586
Change-Id: I5bd5ea19283319fd3e1e884c66992d038ea1b19d
2015-01-26 20:36:56 +01:00