Commit graph

2400 commits

Author SHA1 Message Date
Reedy 1f439732b9 Add COPYING
Change-Id: Ic0c134e93aeea7ce3b8386e75b867e12a3cc9423
2014-01-22 21:21:10 +00:00
jenkins-bot 76c984cfe6 Merge "Don't pass empty strings to strpos" 2014-01-21 20:52:42 +00:00
Translation updater bot d6950fe542 Localisation updates from https://translatewiki.net.
Change-Id: I779ac92b51660fb7d6f66f8bbe2e7abf8050ad09
2014-01-21 19:49:34 +00:00
Translation updater bot 33bfba9b90 Localisation updates from https://translatewiki.net.
Change-Id: I1430311bb895f437f4e1b116afa3abfabacba79d
2014-01-20 20:21:37 +00:00
Liangent 25a15f641c New diff variables regarding pre-save transformed wikitext
Change-Id: Ie21041d96f1c4cf37d697fffcaffa1ff8242f886
2014-01-20 02:49:54 +01:00
jenkins-bot cb7dc7fa63 Merge "Make MOVED_TO* var generating from RecentChanges working" 2014-01-19 23:54:15 +00:00
nullzero 6c89ccc2fe Make MOVED_TO* var generating from RecentChanges working
This patch fixes the generation of MOVED_TO vars from
recentchanges rows.

Change-Id: I6c5471620a0fb5cb78b946fc162ff3d6a30b0e0e
2014-01-20 00:48:23 +01:00
Translation updater bot 25e3eb37fb Localisation updates from https://translatewiki.net.
Change-Id: I450a23699e695998e7ba086e5948f14fff754801
2014-01-19 20:11:55 +00:00
Translation updater bot 9069731283 Localisation updates from https://translatewiki.net.
Change-Id: Ib5fdc0adeaa8ebd59f87d24eccc780536e8c2030
2014-01-18 21:12:45 +00:00
Jackmcbarn 4046a3ceaf Don't pass empty strings to strpos
When an empty parameter is passed to a function using strpos, such as when
an extra comma appears at the end of contains_any's parameter list, don't
call strpos on the empty string.

Bug: 60203
Change-Id: I6221a01ad1ec9090de7bfc1d9d6583f22ba0eb2e
2014-01-18 12:10:42 -05:00
Translation updater bot 9c1d878b76 Localisation updates from https://translatewiki.net.
Change-Id: I8fc0901af4aadba4fd4158a98da3bfe997f86745
2014-01-17 20:37:46 +00:00
Translation updater bot d92b9d0449 Localisation updates from https://translatewiki.net.
Change-Id: Iee3bfc91ddf6bd9d5ebfcda540480b46cb7bfd38
2014-01-16 23:05:45 +00:00
Translation updater bot bed1266c06 Localisation updates from https://translatewiki.net.
Change-Id: I9d1c5435c596e8a31026a5bc838f9e12e904eace
2014-01-15 20:59:22 +00:00
jenkins-bot 90b18774fc Merge "Prevent fatal error in Special:AbuseFilter/test" 2014-01-15 00:18:49 +00:00
Translation updater bot 5ce2204f58 Localisation updates from https://translatewiki.net.
Change-Id: Ic224bf523d08565b0240677515fd63563eb50add
2014-01-14 20:43:00 +00:00
Translation updater bot ecca107497 Localisation updates from https://translatewiki.net.
Change-Id: Idee666e5feef82de724a45dcfa2cb2d1cb7e5b5c
2014-01-13 21:32:07 +00:00
Translation updater bot a8acee228b Localisation updates from https://translatewiki.net.
Change-Id: I6154b8e03bcab1398181216c937913597a0b5510
2014-01-12 20:33:11 +00:00
tonythomas01 c5dea20d99 Used [[MediaWiki:Parentheses]] instead of hardcoded parentheses
Corrected $s .= " ($examineLink)";
Corrected Wrong code
Added the ' ' before parantheses
Corrected spell error

Bug: 50796
Change-Id: I50a0b93a86101e6556045d91d03a4784deacaaea
2014-01-12 19:59:41 +05:30
Translation updater bot 274bc08b24 Localisation updates from https://translatewiki.net.
Change-Id: Iaefad3b4e4f42c5be1ae5ce755c455d026121445
2014-01-11 21:53:50 +00:00
Translation updater bot 706c26378d Localisation updates from https://translatewiki.net.
Change-Id: I073f3cfe339645585a3720a19deb78a4298809f1
2014-01-10 22:42:43 +00:00
Translation updater bot ce391456cd Localisation updates from https://translatewiki.net.
Change-Id: I237f1032602327cb74822f8f9fbdedbcaebc6837
2014-01-09 20:25:59 +00:00
jenkins-bot a23ca862e4 Merge "always show diff link if available" 2014-01-09 13:40:20 +00:00
nullzero ecaa6dcb0d always show diff link if available
This patch makes a diff link appear in Special:Abuselog no matter a filter
is public or private. Because there is much information to figure out which
revision a filter catches, showing a diff link will make patrollers more
convenient without leaking more information.

Bug: 59695
Change-Id: I6a4432cbb41ae78583cc87355514f252984c1005
2014-01-09 04:57:44 +07:00
Translation updater bot 64da11f9e9 Localisation updates from https://translatewiki.net.
Change-Id: I18e655205e59b0560398fe29e45552554aa9b464
2014-01-08 20:30:31 +00:00
Jackmcbarn 2bea87c1d0 Restore the Details link in Special:AbuseLog
The fix for bug #50808 resulted in the Details link being hidden from the
log page as well as the details page. This restores it to the log page.

Change-Id: I651f0f41e0d603cbd28cbf920842d6bdd879f4b1
2014-01-07 21:09:30 +00:00
Translation updater bot 9d067123b7 Localisation updates from https://translatewiki.net.
Change-Id: I62b7f1be78f7e939794799bf537b52410689aeaa
2014-01-07 20:39:38 +00:00
jenkins-bot 2125c3e341 Merge "Removing AbuseFilter::checkConditions' param" 2014-01-07 19:28:46 +00:00
Translation updater bot caa38381c8 Localisation updates from https://translatewiki.net.
Change-Id: Id1930707aba2d4c4c7e66e1ba2228e7f36e136b6
2014-01-06 20:02:40 +00:00
Hoo man 91ff9853ce Merge "Add triggered filter id as parameter to messages" 2014-01-05 21:04:09 +00:00
Translation updater bot 9613e06938 Localisation updates from https://translatewiki.net.
Change-Id: Iabd225207cccf0f7cbc879283e56c09415077a56
2014-01-05 20:06:42 +00:00
jenkins-bot a459444ddc Merge "Removed the "details" link if the user is already in details page" 2014-01-05 14:42:26 +00:00
Jackmcbarn 4255e3810b Prevent fatal error in Special:AbuseFilter/test
When an invalid page name is entered in Special:AbuseFilter/test, display
a sane error message rather than throwing a PHP fatal error.

Bug: 55411
Change-Id: I5ec005180c9009f6d14244f3b03221e525cfaed3
2014-01-04 15:28:37 -05:00
Translation updater bot da75edb95c Localisation updates from https://translatewiki.net.
Change-Id: I5efcf29e1e5c058e080b05a25875a3b881e377d5
2014-01-03 20:35:21 +00:00
tonythomas01 d96f951afa Removed the "details" link if the user is already in details page
Removed the detailsLink creating code and assignment.
Cleaned Whitespace

Patch courtesy: Sakshi Bansal

Bug: 50808
Change-Id: I06a473550db79752aacb874f17f879f3b1ee1991
2014-01-03 23:40:17 +05:30
Reedy b7fa8d5d20 $res is a bool, not a resultwrapper..
Display running count. Silent scripts are annoying

Change-Id: I4dcebbf1cd49dce6332ed1bdc0e2ba7aced4b8f1
2014-01-03 18:06:49 +00:00
jenkins-bot b3667dfd61 Merge "Removed visibility status of "Notes" section" 2014-01-03 18:04:50 +00:00
tonythomas01 521203ebd4 Removed visibility status of "Notes" section
The "description" says "publicly viewable", but the
actual visibility depends on the visibility of the
filter.

Bug: 57305
Change-Id: I04301fc9f188862b2a23d6b316d7e5eef111ade0
2014-01-03 18:03:01 +00:00
Translation updater bot 31f8068fd8 Localisation updates from https://translatewiki.net.
Change-Id: Ica555bad0f64b60f557f22c8fd06126d41a533ce
2014-01-01 19:54:16 +00:00
Matthias Mullie 84536df324 Removing AbuseFilter::checkConditions' param
I'm not really sure why it exists; I assume to minimize overhead of init'ing
multiple AbuseFilterParser objects that would be exactly the same.

However, checkConditions() - which checks one specific condition - is not really
an "endpoint" you will want to call in <your-extension-that-uses-AbuseFilter>.
You're more likely to call something higher-lever (like
AbuseFilter::filterAction, which will take care of fetching all appropriate
filters, as well as run them through checkConditions, and much more). This will
trickle down to ::checkAllFilter, down to ::checkFilter, which would eventually
call ::checkConditions with the 'keepvars' argument.
Basically, unless you're re-implementing much of AbuseFilter yourself, you won't
get to pass anything other than 'keepvars' to checkFilter.
As a result, even though you may call AbuseFilter to call on multiple different
vars, it will re-use the same parser with the first vars.

I'm proposing to drop the 'keepvars' and just keep the vars around instead.
checkFilter can compare previous vars with new vars, and only init a new Parser
if the vars are different.

Change-Id: I96ccc60c77f3cdbb82c0f9f16782a1a44ffb1592
2013-12-30 12:15:59 +01:00
Translation updater bot 70da56cd99 Localisation updates from https://translatewiki.net.
Change-Id: Ib7dfe95cbc90d3987b2686f898ba7ab028b6c301
2013-12-29 19:27:06 +00:00
Translation updater bot 355ff3491a Localisation updates from https://translatewiki.net.
Change-Id: I67cbcbf95aef325a06d370d21f02c53412ef4867
2013-12-28 19:24:48 +00:00
Translation updater bot 9b9fd3fe1a Localisation updates from https://translatewiki.net.
Change-Id: I9ff25b79181eb47fec81d1d16e4e86a4c7c85f2b
2013-12-27 18:33:14 +00:00
Kunal Mehta f7ed4cffee Restore b/c for pre-1.23 MediaWiki versions
Change-Id: Ibcc48b519271645f85f186ecb20fc6d2854aee06
Follows-Up: I67701856297927b94aa443a78376bae7d7860def
2013-12-27 01:32:24 -08:00
Kunal Mehta e7f8acf709 Replace usage of SpecialPage::getTitle with getPageTitle
Was deprecated in 1.23, see Icdcf5d5295ef5e7f08b1d403e0c123f78738fd40

Change-Id: I67701856297927b94aa443a78376bae7d7860def
2013-12-26 22:36:34 -08:00
jenkins-bot 1f6936c8b3 Merge "Send AbuseFilter hits to CheckUser" 2013-12-26 22:13:45 +00:00
se4598 2c30df42c5 Add triggered filter id as parameter to messages
Bug: 50464
Change-Id: I82f1c7f021c8d95fe50fd4da4bc57a8850bbbb84
2013-12-26 22:09:03 +01:00
Translation updater bot c78086d286 Localisation updates from https://translatewiki.net.
Change-Id: If776c6d314c7bea928a4ab4f0666133a11fa13f1
2013-12-26 19:29:11 +00:00
Translation updater bot bafe485ed8 Localisation updates from https://translatewiki.net.
Change-Id: I3f5b116f6c0e23ff4417d597cb7f0669b1d4e9e1
2013-12-25 19:58:06 +00:00
Translation updater bot fd63f18e6d Localisation updates from https://translatewiki.net.
Change-Id: Idf071a81b5dd2912ebb629b12ba30981c6fa5aa7
2013-12-23 20:45:39 +00:00
Dereckson a2c9ffc8cf Adding back /*_*/ prefix to table in patch-afl_action_id.sql
This is a follow-up of change Ie2ea51b854df6bc1c8d3219663a9e91ff8a91d2b.

Change-Id: Id52ba8892880d97ae605b9d7052206e30f80bc60
2013-12-23 01:39:33 +01:00