Commit graph

5262 commits

Author SHA1 Message Date
Filippo Giunchedi
ba614300bc Return 400 on invalid CSP reports
Not really a server error since there's nothing we can do about invalid
user-provided data.

Bug: T166229
Change-Id: I87a7be32ae7e80c112be556bc13db19f11e614ca
2017-05-26 14:59:45 +02:00
Translation updater bot
04accdab9a Localisation updates from https://translatewiki.net.
Change-Id: I0772f5f25bb805291ffee1b8170d22a49c3aa317
2017-05-25 22:00:24 +02:00
Brad Jorsch
5ad73b8aab ApiParse: Use existing OutputPage for prop=categorieshtml
Follows up Iaa85ac49.

This also ensures that the Skin correctly refers back to the constructed
OutputPage even when 'useskin' isn't specified.

Change-Id: I983e907c05acd753733e88904953f355e26f393d
2017-05-25 11:29:04 -04:00
Translation updater bot
1fba226842 Localisation updates from https://translatewiki.net.
Change-Id: I2e981505c8fd591998178998508e923f9e9fbb41
2017-05-24 22:16:19 +02:00
Translation updater bot
41438a38e2 Localisation updates from https://translatewiki.net.
Change-Id: I005052043dc4c3025e18f6dd2e29b435e3afab3d
2017-05-23 22:11:50 +02:00
jenkins-bot
ed92658c2f Merge "ApiParse: Add Skin::getDefaultModules() in useskin mode" 2017-05-23 18:42:40 +00:00
jenkins-bot
c4f2f51142 Merge "ApiParse: Add 'useskin' param for general OutputPage/Skin support" 2017-05-23 18:29:40 +00:00
Kunal Mehta
42c91fe7fa ApiHelp: Avoid deprecated ObjectCache::getMainWANInstance()
And switch wfMemcKey() to $cache->makeKey() while we're at it.

Change-Id: I4e37fbe1ddd49cc7583dd0f2f950eaf21c9ef050
2017-05-22 21:37:33 -07:00
Translation updater bot
8103c7c89f Localisation updates from https://translatewiki.net.
Change-Id: I328e1ab3a6c6058838456ba3738537d3f918f86c
2017-05-22 22:08:39 +02:00
Translation updater bot
a3a2e91576 Localisation updates from https://translatewiki.net.
Change-Id: I2bb6141b1dab503cdde3ea2165166bad2fa91351
2017-05-21 22:08:00 +02:00
Timo Tijhof
90c95fc7f2 ApiParse: Add Skin::getDefaultModules() in useskin mode
Bug: T130632
Change-Id: Idc41934eb89ec8f928bbea3b2135c3f246fe3925
2017-05-21 19:06:43 +02:00
Timo Tijhof
df5b122641 ApiParse: Add 'useskin' param for general OutputPage/Skin support
Required for Idc41934eb89.

* If 'useskin' is set, run ParserOutput through OutputPage (with proper
  Skin set up). Specifically call addParserOutputMetadata().

  Then use OutputPage isntead of ParserOutput to retrieve that subset
  of meta data. Such as modules, lang links and config vars.

* Deprecate 'effectivelanglinks' in favour of 'useskin'.

* Simplify 'headhtml' support and re-use this new code.

Change-Id: Iaa85ac49f6e0cbdf7f1bb0f50a8f7730d119f0a2
2017-05-21 19:06:42 +02:00
Translation updater bot
0f223ea1ba Localisation updates from https://translatewiki.net.
Change-Id: Id9a991314902c759c4fac6202896c582e346737c
2017-05-20 21:58:31 +02:00
Federico Leva
c999ea789d Typofixes in two apihelp messages for search and templates
Spotted by Dgstranz:
* https://translatewiki.net/wiki/Thread:Support/MediaWiki:Apihelp-query%2Bsearch-param-enablerewrites/en
* https://translatewiki.net/wiki/Thread:Support/MediaWiki:Apihelp-query%2Btemplates-param-namespace/en

Change-Id: I5655d95c6cdd74433d358f15873d4a3a30738f50
2017-05-20 16:18:54 +02:00
Translation updater bot
f2cacb9af7 Localisation updates from https://translatewiki.net.
Change-Id: Icd2487d8cf826e9736277723e84e2520106b2a5c
2017-05-19 22:08:33 +02:00
Translation updater bot
f58c50e64d Localisation updates from https://translatewiki.net.
Change-Id: I9a4201e523e0e37756d4b70c7b85fc670a6fa1d7
2017-05-18 21:58:13 +02:00
Brad Jorsch
b6502d4894 ApiLogin: i18n for 'Aborted' reasons
Ia6c402a4 did it for 'Failed', but overlooked 'Aborted'.

Change-Id: I3f7379af3609c30f10ea8c648f2ec840310e8d97
2017-05-16 10:16:28 -04:00
Translation updater bot
28d3fa1d92 Localisation updates from https://translatewiki.net.
Change-Id: I4b723b8eac7d7df85781495c396db74ea0021dbc
2017-05-14 21:54:43 +02:00
Translation updater bot
2f5d5d4c37 Localisation updates from https://translatewiki.net.
Change-Id: Ia4e0aad6e4f8ee1f1cba85cf72c77d83bffae7f3
2017-05-13 21:54:02 +02:00
Brad Jorsch
9c8e3214f3 ApiQueryRevisions: Don't be so tricky handling rvstartid/rvendid
If someone strangely supplies 0 as an id, the tricky version confuses
that with null and winds up making the DB layer throw an exception. Just
do it more straightforwardly.

Bug: T165100
Change-Id: Id8376d419e7758c0bf92ad50dd7b7ac283a73101
2017-05-12 13:19:52 -04:00
Translation updater bot
1027d0dd21 Localisation updates from https://translatewiki.net.
Change-Id: I6d7f1e58cbbc0adbdd159ab7d37f2f22a8fd73d6
2017-05-11 21:57:23 +02:00
Translation updater bot
d9fc46d17a Localisation updates from https://translatewiki.net.
Change-Id: Iaaf6784416df518129277b41020f308d951c32b9
2017-05-10 22:39:39 +02:00
Translation updater bot
c22d28b17a Localisation updates from https://translatewiki.net.
Change-Id: I13d63f8e59ea5eea6b3a3760075d754064c5fea0
2017-05-09 21:56:20 +02:00
jenkins-bot
75bbde06dd Merge "ApiQueryRevisions: Restore use of rvstartid/rvendid as a tiebreaker" 2017-05-09 02:16:15 +00:00
Translation updater bot
162ce4474f Localisation updates from https://translatewiki.net.
Change-Id: I001225f92a48f46a6a9418958bd8603c2d3f403d
2017-05-08 22:03:26 +02:00
Brad Jorsch
09736bd00d ApiQueryRevisions: Restore use of rvstartid/rvendid as a tiebreaker
If rvstartid/rvendid are used with revisions that have the same
timestamp, we should omit any revisions with the same timestamp but
out-of-range IDs.

Bug: T163532
Change-Id: I6ba5e0724945668dad55eec0d09cb7d3fe08e347
2017-05-08 14:34:13 -04:00
Brad Jorsch
e72256a6d9 API: Convert rvstartid/rvendid to timestamps for query
We tried something like this once before, but reverted it because it was
an unintended behavior change (see T98467). This time it's intended, we
need it for query optimization.

The behavior changes here are:
* rvstartid/rvendid is exactly equivalent to specifying rvstart/rvend
  with the corresponding revisions' timestamps.
* If the revision for rvstartid/rvendid is not found in the database, an
  error will be thrown.

This will pull timestamps from deleted revisions, i.e. the `archive`
table. While this is technically an information leak (that some revision
ID exists as a deleted revision and the time the revision was made),
it's minor and in line with the information revealed in Tool Labs thanks
to T51088.

Bug: T163532
Change-Id: Ida64a377c38b3553aa82ac754d80e8f898caf6c5
2017-05-08 05:47:01 +00:00
Brad Jorsch
1aac0a2992 Wrap parser output in <div class="mw-parser-output">
This will allow CSS to target just the parser output, without also
accidentally targeting the edit form, diff tables, and so on.

Bug: T37247
Change-Id: If4eb5bf71f94fa366ec4eddb6964e8f4df6b824a
Depends-On: I330c6aa4aaee045614b1801ed34bc9e03be69650
Depends-On: I52a518fa44e017841fe78474012cd69823e0a41d
2017-05-08 05:32:03 +00:00
Translation updater bot
3926047767 Localisation updates from https://translatewiki.net.
Change-Id: I2b3b0cb604caa001245786be38730195e242e621
2017-05-07 21:55:28 +02:00
This, that and the other
f8008a7cb8 Remove $wgDisableUserGroupExpiry feature flag
This feature flag was added to comply with WMF's schema change policy.
It is no longer needed now that the feature is enabled on WMF sites.
External MW installations will run update.php or manually do DB updates
as required before upgrading MW.

Bug: T162517
Change-Id: I5b532d79fd1e8b178490cf2617499ae62967de2c
2017-05-06 20:50:42 +10:00
Translation updater bot
caddd4197b Localisation updates from https://translatewiki.net.
Change-Id: I498e214dec5f3939847016861b27ebd2a45e7fe1
2017-05-05 21:56:46 +02:00
Roan Kattouw
08f746478a ApiQueryTags: Use cached statistics instead of querying hit counts ourselves
The hit count query was quite slow. Unfortunately, it seems that we do need
tagUsageStatistics() even when hitcounts are not requested, because it
might list additional tags that aren't listed by the list*Tags() functions.
I don't know if this can happen in practice, but all the code around tags
seems to operate as if it might.

Bug: T164552
Change-Id: Ifccf7f5ac7a1220ff67a68589398cbf30aefd3ad
2017-05-04 18:04:58 -07:00
Translation updater bot
a3feb82b8f Localisation updates from https://translatewiki.net.
Change-Id: I6e3920bd06e5ca5462d392a569c817e46e041fcc
2017-05-04 22:11:51 +02:00
Translation updater bot
1790050e46 Localisation updates from https://translatewiki.net.
Change-Id: Ie59fc60d2680bc9ed62230834e1930f16c32fb14
2017-05-03 22:00:21 +02:00
jenkins-bot
933a55b624 Merge "api: Use NS_SPECIAL instead of -1 in ApiPageSet" 2017-05-01 23:07:37 +00:00
Fomafix
eca96053dc api: Use NS_SPECIAL instead of -1 in ApiPageSet
Follows-up e2055fe0a5.

Change-Id: Ifd33f339a3c5ec475cc3c6b2fba57c35386bab8b
2017-05-01 22:56:54 +00:00
Translation updater bot
e56e89c760 Localisation updates from https://translatewiki.net.
Change-Id: If2d4e2b342645f88f166ff54ce9102439599e24c
2017-05-01 21:56:47 +02:00
Translation updater bot
14926948b4 Localisation updates from https://translatewiki.net.
Change-Id: Id132ebc6e31dd5ef9c4a5e774c39c393aa67e3d5
2017-04-30 21:57:26 +02:00
Translation updater bot
31bb14311d Localisation updates from https://translatewiki.net.
Change-Id: Id5d126cf626391b5f7d562758a8a2e1a603fed21
2017-04-29 22:31:33 +02:00
Translation updater bot
2dad6ad2d3 Localisation updates from https://translatewiki.net.
Change-Id: Id3c6419b44d67846ad7aaf882a635a3b41a98cf3
2017-04-28 23:19:02 +02:00
Translation updater bot
53e8007157 Localisation updates from https://translatewiki.net.
Change-Id: Ia2686ac474c045e91fd29daef68ec0925b73823e
2017-04-27 22:00:32 +02:00
jenkins-bot
b182d9693e Merge "Do not add limit to ApiQueryPagePropNames when database type is mysql" 2017-04-27 13:51:28 +00:00
Translation updater bot
d3c72dede8 Localisation updates from https://translatewiki.net.
Change-Id: Ice5f1ec383e94de1b6e43c581a821e415edfe767
2017-04-26 23:21:00 +02:00
Translation updater bot
4d44448e88 Localisation updates from https://translatewiki.net.
Change-Id: I53453d3129920681a8eb8ece0c9c2cba400cab77
2017-04-25 22:08:37 +02:00
Amir Sarabadani
e2ad38f8e9 Do not add limit to ApiQueryPagePropNames when database type is mysql
It's a known bug in some versions of mysql (including WMF dbs) that it
won't do a loose index scan when a limit is applied. Given that number
of possible types is still very low, this shouldn't be a problem.
More info: https://bugs.mysql.com/bug.php?id=61517

Bug: T115825
Change-Id: I4c3b885ac05b793088a92e054a38a36b9d07c0d4
2017-04-24 14:00:12 +00:00
Translation updater bot
7d6a1b8b94 Localisation updates from https://translatewiki.net.
Change-Id: Iba16aa2179c535c6d48a3745cb3b861ebd39b067
2017-04-23 21:54:59 +02:00
Translation updater bot
84138385d5 Localisation updates from https://translatewiki.net.
Change-Id: I4a646e2126a03104fbb2a23eeec923cdcea5d4a8
2017-04-22 21:58:16 +02:00
Translation updater bot
ec9a708e57 Localisation updates from https://translatewiki.net.
Change-Id: Ifec3cc97ff0bf69a31843968228c9bd9c1618068
2017-04-21 22:01:37 +02:00
Translation updater bot
aa63f7495c Localisation updates from https://translatewiki.net.
Change-Id: Ia8218a33495bb93bad4f4970047dde834bb61f8d
2017-04-20 22:16:29 +02:00
Translation updater bot
edda29d73a Localisation updates from https://translatewiki.net.
Change-Id: I6e67503e539268e66f495a594f29231e3ee4b6dd
2017-04-19 22:22:15 +02:00
Translation updater bot
8380cef07a Localisation updates from https://translatewiki.net.
Change-Id: I6c1534c40494dff1a9866fa5ec478c4646477688
2017-04-18 21:57:20 +02:00
jenkins-bot
d83306610d Merge "Move DB errors to Rdbms namespace" 2017-04-17 22:06:42 +00:00
Translation updater bot
a1b093aa1f Localisation updates from https://translatewiki.net.
Change-Id: I6518eb7aa39e3933714d2df77f881a0929196d71
2017-04-17 21:54:55 +02:00
Translation updater bot
c3a61a2748 Localisation updates from https://translatewiki.net.
Change-Id: Id03227c4e4d8963db6cd44ee0bde953dbe2128c6
2017-04-17 09:57:10 +02:00
Translation updater bot
8260bc20b0 Localisation updates from https://translatewiki.net.
Change-Id: Ib5b863d0778647034f75e65c45e4a10986ec1a3d
2017-04-16 09:43:40 +02:00
Aaron Schulz
dd359741cc Move DB errors to Rdbms namespace
Change-Id: I463bd86123501abc68fdb78b4cda6110f7af2549
2017-04-15 10:47:41 -07:00
Translation updater bot
b7235c6c65 Localisation updates from https://translatewiki.net.
Change-Id: I077d94de0c0681f31bac6aab7257151eb8b76fec
2017-04-15 09:56:12 +02:00
jenkins-bot
0432618416 Merge "Add comments to ApiBase::isWriteMode()" 2017-04-13 00:29:42 +00:00
Aaron Schulz
be4065c55f Add comments to ApiBase::isWriteMode()
Change-Id: I3581f5e3055c425367d265a5c57831bb34dd5a2f
2017-04-12 16:17:00 -07:00
Translation updater bot
79dead945e Localisation updates from https://translatewiki.net.
Change-Id: I9d431f5c949ec909d85949436b90ffde42139962
2017-04-12 21:57:18 +02:00
jenkins-bot
0697e41485 Merge "Move Database and subclasses to Rdbms namespace" 2017-04-12 18:07:43 +00:00
Aaron Schulz
d735dc562d Move Database and subclasses to Rdbms namespace
Change-Id: I52bef87512f9ddd155d1f4cc0052f6b7a0db5b42
2017-04-12 10:43:57 -07:00
Translation updater bot
39300f7196 Localisation updates from https://translatewiki.net.
Change-Id: I9d8d4197b88a4ded273ec2ed874b0965d9df1bb8
2017-04-11 22:18:15 +02:00
Kunal Mehta
de9f9bda7d API: Optionally include in job queue size in maxlag
maxlag is the default mechanism most bots and libraries use in
determining when to back off due to wiki overload. However these days,
there are other things that should be considered when asking bots to
back off, one of those is job queue size.

For compatibility and simplicity of use, the number of jobs is converted
into something resembling seconds using a configurable factor. We also
output the total number of jobs in the API error output so more
sophisticated clients can do a more advanced back off.

Bug: T160003
Change-Id: Iedae2344a3d93202efbdd1bf807cef6165b6257a
2017-04-10 19:24:24 -07:00
Translation updater bot
5f823d1e83 Localisation updates from https://translatewiki.net.
Change-Id: I742a743e37c056c2bc04d09a1ce86d05aa65ae1d
2017-04-09 21:52:36 +02:00
Translation updater bot
4b7be83909 Localisation updates from https://translatewiki.net.
Change-Id: I325563cad264df780d346f76427a324f7b58160d
2017-04-08 22:36:24 +02:00
jenkins-bot
4d609f015d Merge "ApiPageSet: Follow RedirectSpecialArticle redirects" 2017-04-08 09:36:21 +00:00
Translation updater bot
5c16eaa013 Localisation updates from https://translatewiki.net.
Change-Id: I4ccefb84808700373dfb0a694991a5c47fe9a48b
2017-04-07 22:04:40 +02:00
Brian Wolff
55035e01e5 SECURITY: Do not allow users to undelete a page they can't edit or create
If the page exists, it only checks edit rights, otherwise it
checks both edit and create rights.

This would only matter on wikis that have a non-default rights
configuration where there are users with undelete rights but a
restriction level enabled that prevents them from creating/editing
pages (or they otherwise aren't allowed to edit/create)

It should be noted that the error messages aren't used in the
normal UI currently, but they could be in the future, and
extensions could potentially be using them (The backend functions
return them, but the UI functions in Special:Undelete ignore
them)

Bug: T108138
Change-Id: I164b80534cf89e0afca264e9de07431484af8508
2017-04-06 13:44:55 -07:00
Brad Jorsch
4d38a489b0 SECURITY: API: Don't log "sensitive" parameters
Stuff like passwords and CSRF tokens shouldn't be in the logs.

The fact of being sensitive is intentionally separated from the need to
be in the POST body because, for example, the wltoken parameter to
ApiQueryWatchlist needs to be in the query string to serve its purpose
but still shouldn't be logged.

Bug: T125177
Change-Id: I1d61f4dcf792d77401ee2e2988b1afcb2a2ad58f
2017-04-06 13:42:48 -07:00
Reedy
26bec934a0 Add ar_ prefix back to usertext_timestamp USE INDEX
This is the correct/canonical index name. For usages on mysql it will
map to the unprefixed version.

Bug: T154872
Change-Id: Ie2daf7b33428855ac59c85bf04a99a9bca7feba1
2017-04-05 23:40:03 +00:00
Translation updater bot
7f4ba2d1b5 Localisation updates from https://translatewiki.net.
Change-Id: Ia1e572056c019182ccb486df6c75de2acfe44459
2017-04-05 21:59:32 +02:00
Baha
036b9c4167 Make API documentation links language aware
Links generated by the API are now aware of the user's preferred
language and will show documents in that language if available.

To test, log in to mediawiki.org and set your language preference to 'es',
then on an MediaWiki installation with this patch view the generated
expanded API help at `api.php?action=help&recursivesubmodules=1&modules=main`.
Each link to documentation on mediawiki.org should take you to its
translated /es subpage, if one exists.

Bug: T104518
Change-Id: I339a1f3ae1bce9d759cf251899d57c32b1def91e
2017-04-05 11:08:25 -04:00
Translation updater bot
9c8f2c4597 Localisation updates from https://translatewiki.net.
Change-Id: I78124a764a2b8c0a7fc26c251621a68bdf86a92f
2017-04-04 21:54:51 +02:00
Translation updater bot
888ae46bc3 Localisation updates from https://translatewiki.net.
Change-Id: I60c8477ebebcc647c3d9b3e0ac0902401fe10f28
2017-04-03 21:59:59 +02:00
Translation updater bot
4aebee77c4 Localisation updates from https://translatewiki.net.
Change-Id: I4e9b249b425cdd6cd5ccda7d63a4d61748c387c5
2017-04-02 21:53:56 +02:00
Translation updater bot
c89995594d Localisation updates from https://translatewiki.net.
Change-Id: Ib10af896efdc2a9e354ca77776b17bb546357518
2017-04-01 21:54:23 +02:00
jenkins-bot
2efdb4da88 Merge "API: Allow returning parse warnings for action=parse" 2017-03-31 22:01:28 +00:00
Translation updater bot
350cf248b2 Localisation updates from https://translatewiki.net.
Change-Id: Idfecf37225dbcb6d02fcb7988263437dbb01af16
2017-03-31 22:34:04 +02:00
Baha
2326d420c7 API: Allow returning parse warnings for action=parse
Passing in the 'parsewarnings' property will return warnings related
to parsing content.

Bug: T92634
Change-Id: I7e54765ee9a24ffb78e7763f73a520151023baf6
2017-03-31 13:07:31 -07:00
Translation updater bot
c3c730f494 Localisation updates from https://translatewiki.net.
Change-Id: Ia2c8ceda86ed0cfcc66d5be2c9b7653931379245
2017-03-30 22:16:21 +02:00
jenkins-bot
c6436de8f6 Merge "Allow filtering by username on Special:NewFiles" 2017-03-29 14:11:40 +00:00
jenkins-bot
ea747bb2d4 Merge "Move IDatabase/IMaintainableDatabase to Rdbms namespace" 2017-03-29 00:46:59 +00:00
jenkins-bot
13a2d7b1f9 Merge "Deprecate "Avoid page_touched update for HTTP GET action=purge requests"" 2017-03-28 23:32:06 +00:00
Aaron Schulz
488a647831 Move IDatabase/IMaintainableDatabase to Rdbms namespace
Change-Id: If7e8a8ff574661fd827de8bcec11d2c39a687300
2017-03-28 15:32:38 -07:00
Translation updater bot
1d7acae597 Localisation updates from https://translatewiki.net.
Change-Id: I9a519432d6d8d818987818a6d7c07d1fdebe2f81
2017-03-27 22:56:37 +02:00
Brad Jorsch
f4a306fb18 Deprecate "Avoid page_touched update for HTTP GET action=purge requests"
This reverts most of commit c84ba4d864.
The changes made there are no longer needed, and nothing in Gerrit seems
to have started using them since they were added.

The added constants in WikiPage, WikiPage::getLastPurgeTimestamp(), and
Article::getLastPurgeTimestamp() are deprecated, useless, and unused,
but not removed yet since they snuck into 1.28 so we can't revert them
without a deprecation period. Sigh.

Bug: T145649
Change-Id: I526fd4e004bee84c831a4cee71e44e92ee73480b
2017-03-27 10:10:26 -04:00
Translation updater bot
8c0b8ebb58 Localisation updates from https://translatewiki.net.
Change-Id: I52bcb35ec9bae29b0adf6d745ad63706fd69e011
2017-03-26 21:56:00 +02:00
Translation updater bot
2c38d0c364 Localisation updates from https://translatewiki.net.
Change-Id: I52ddf38b7a669842ed8157f5929cf4519ff9a57a
2017-03-24 21:53:45 +01:00
Translation updater bot
82a0199bd8 Localisation updates from https://translatewiki.net.
Change-Id: I83074d7d6edd5cf2e3b69d0bb2382012a5b4e438
2017-03-22 22:02:54 +01:00
Translation updater bot
1f6811eac2 Localisation updates from https://translatewiki.net.
Change-Id: Iecc7b545f9858bef1789765e5abf010802638fd1
2017-03-21 22:01:20 +01:00
Reedy
454b199537 Disable filter by redirect Special:AllPages and query=allpages in miser mode
Bug: T160916
Change-Id: Ib9562b404731e1f621b9f07c33821d04cd2aa6ae
2017-03-20 19:15:59 +00:00
jenkins-bot
aa5eca02b3 Merge "Replace deprecated Context::getStats() with MWServices::getStatsdDataFactory()" 2017-03-20 09:32:48 +00:00
Translation updater bot
d8852217e2 Localisation updates from https://translatewiki.net.
Change-Id: I8909bf70bc12c12dd42e318e70987b0597760b67
2017-03-19 21:53:59 +01:00
Translation updater bot
16ee5a7756 Localisation updates from https://translatewiki.net.
Change-Id: Ibf1d7374533428a2024f5f252c6d91ecc866455d
2017-03-17 21:57:16 +01:00
WMDE-Fisch
7b5f08e703 Replace deprecated Context::getStats() with MWServices::getStatsdDataFactory()
Change-Id: I1756f69ca2ebd301a5049bf758d1a87c37771fe6
2017-03-17 12:07:03 +01:00
Translation updater bot
0b0297c653 Localisation updates from https://translatewiki.net.
Change-Id: I700258b10dc880529bb6f37c7a31b54b765310ef
2017-03-14 21:59:01 +01:00
Matthias Mullie
de36abea5f Allow filtering by username on Special:NewFiles
Meanwhile, also change ApiQueryAllImages to search by
user ID instead of username. This is also how ContribsPages,
LogPager, ... work already.

This will use the new index on img_user. The old index is still
around, but is likely not going to be used in practice (users
have to logged in to upload)

Do not merge until I4db7bd0f917a428f40eb315246f89d49c7ae5b6a has
been deployed.

Bug: T125071
Bug: T121865
Change-Id: Ida22555f00530f393e739366fa9e79ecabf3c0eb
2017-03-14 14:38:41 +00:00
Translation updater bot
dc35b44b20 Localisation updates from https://translatewiki.net.
Change-Id: I5d800846ef2aa196635559493dbc1b8acb3802b5
2017-03-12 21:59:32 +01:00
Translation updater bot
e715b99a8c Localisation updates from https://translatewiki.net.
Change-Id: I6e0a0fa411473a40ebae5035fd559f37a36fff52
2017-03-10 21:53:16 +01:00