Go to file
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
api Update token handling for core API change 2014-08-09 16:27:19 +01:00
db_patches abuse_filter_log table only uses tinyint not int for namespace ID 2014-03-04 02:24:27 +00:00
i18n Localisation updates from https://translatewiki.net. 2014-08-04 21:51:51 +02:00
maintenance $res is a bool, not a resultwrapper.. 2014-01-03 18:06:49 +00:00
modules Improve error handling for HTTP requests 2014-08-02 11:56:32 +00:00
special Expose variables to JavaScript when viewing details or examining a log 2014-08-07 10:23:54 +00:00
tests Fix double escaping in AFPData::keywordLike() 2014-07-11 14:56:42 -07:00
Views Expose variables to JavaScript when viewing details or examining a log 2014-08-07 10:23:54 +00:00
.gitignore Add .gitignore 2012-05-21 01:27:29 +01:00
.gitreview
.jshintrc Add .jshintrc for AbuseFilter and make it pass 2013-04-17 15:03:36 +02:00
AbuseFilter.alias.php Localisation updates from https://translatewiki.net. 2014-07-31 22:13:22 +02:00
AbuseFilter.class.php Don't try to pass non Title objects into RequestContext::setTitle 2014-07-20 22:04:37 +02:00
AbuseFilter.hooks.php Add "abusefilter-bypass" userright as a hack for GlobalRename page moves 2014-07-22 23:04:40 -07:00
AbuseFilter.i18n.php Update i18n shim 2014-04-22 13:08:17 +00:00
AbuseFilter.parser.php Fix double escaping in AFPData::keywordLike() 2014-07-11 14:56:42 -07:00
AbuseFilter.php Improve error handling for HTTP requests 2014-08-02 11:56:32 +00:00
abusefilter.tables.pg.sql abuse_filter_log table only uses tinyint not int for namespace ID 2014-03-04 02:24:27 +00:00
abusefilter.tables.sql abuse_filter_log table only uses tinyint not int for namespace ID 2014-03-04 02:24:27 +00:00
abusefilter.tables.sqlite.sql abuse_filter_log table only uses tinyint not int for namespace ID 2014-03-04 02:24:27 +00:00
AbuseFilterVariableHolder.php Add user_rights variable 2014-07-06 22:18:57 -07:00
AbuseLogHitFormatter.php Add a few bits of method documentation 2012-06-21 14:32:05 +01:00
composer.json make composer use dev-master 2014-03-09 19:02:38 +01:00
COPYING Add COPYING 2014-01-22 21:21:10 +00:00
hooks.txt (bug 42064) AbuseFilter + EditFilterMergedContent 2013-01-17 11:18:28 +01:00