Commit graph

2139 commits

Author SHA1 Message Date
Translation updater bot
b4b8e10c37 Localisation updates from https://translatewiki.net.
Change-Id: I073cc1399e22fb5c2dd5fc628bebb1cfe02b798d
2015-04-27 21:42:09 +02:00
Translation updater bot
efe79a9340 Localisation updates from https://translatewiki.net.
Change-Id: Icd09897d70a253338e09ff0eb2e20c4c229a8245
2015-04-26 21:49:26 +02:00
Translation updater bot
89cf404ec4 Localisation updates from https://translatewiki.net.
Change-Id: Ib8aa14e1dec9ee472abc25f38e77600544fd41a3
2015-04-25 22:26:39 +02:00
Translation updater bot
3b63f289e6 Localisation updates from https://translatewiki.net.
Change-Id: Id0523c7c8ced2bd9ce455c04d3bcd1515e76797b
2015-04-19 20:57:54 +02:00
Translation updater bot
ee19a69335 Localisation updates from https://translatewiki.net.
Change-Id: Ic5f208a41d986cf2ccd75af1eb2f4f90dcbeedd1
2015-04-18 23:55:54 +02:00
Translation updater bot
5ffcfd10db Localisation updates from https://translatewiki.net.
Change-Id: I7412d9b48894ae6a599adc4494efd83bf1d1b019
2015-04-17 21:57:26 +02:00
Translation updater bot
bd45f53f03 Localisation updates from https://translatewiki.net.
Change-Id: I655e14be267853043341809918d583003366bd7b
2015-04-15 23:07:52 +02:00
Translation updater bot
7058165c26 Localisation updates from https://translatewiki.net.
Change-Id: I29bea8f29d49d43dc501daf22ba6d572be7901b0
2015-04-14 21:40:40 +02:00
Translation updater bot
2ce9fee021 Localisation updates from https://translatewiki.net.
Change-Id: I0ed09090cdcf12ced0fe66f47045795f97a11b0b
2015-04-13 22:10:07 +02:00
Translation updater bot
e669754409 Localisation updates from https://translatewiki.net.
Change-Id: I27277eaf911553a14ed87622ca36a6212829a2b5
2015-04-12 21:30:10 +02:00
jenkins-bot
37297d5468 Merge "installer: Clear module_deps cache in updater" 2015-04-12 00:02:39 +00:00
Timo Tijhof
fad5b23816 installer: Clear module_deps cache in updater
Unless --nopurge is set in update.php, clear module_deps cache
tables.

We already clear the objectcache via purgeCache(), and
msg_resource and msg_resource_links via MessageBlobStore::clear().

The module_deps table should be included as well.

Bug: T37472
Change-Id: I7cb63bb39a62b7f5be3855d022a8c76e175e95b5
2015-04-11 16:32:57 -07:00
Translation updater bot
58de0a16d8 Localisation updates from https://translatewiki.net.
Change-Id: If81891b3a9bd94e4e60979f16798625a32b19640
2015-04-11 21:09:43 +02:00
Translation updater bot
d0c0ff836f Localisation updates from https://translatewiki.net.
Change-Id: Ib5c98b70064d107f2299169a33cc1f4d43e35953
2015-04-10 21:24:10 +02:00
Translation updater bot
aa62258646 Localisation updates from https://translatewiki.net.
Change-Id: I59a85ff5f09d46967e59feb3c65d76f1d04ec84d
2015-04-07 21:51:09 +02:00
jenkins-bot
9440d5228f Merge "installer: Read from extension.json if possible" 2015-04-07 16:14:35 +00:00
Translation updater bot
eb74ccdcee Localisation updates from https://translatewiki.net.
Change-Id: I61ce392554123f4e0ff300bed2e289cf02dd4cf6
2015-04-06 21:20:51 +02:00
Translation updater bot
302aba1bc2 Localisation updates from https://translatewiki.net.
Change-Id: I13e36a6ca3c35959e1e5912ac27193cc13d9c74f
2015-04-05 20:45:49 +02:00
Translation updater bot
34793c8c70 Localisation updates from https://translatewiki.net.
Change-Id: Ie48757c02285cbc60158862e2b73be9fe0d8b141
2015-04-04 20:38:02 +02:00
Translation updater bot
223a0ab562 Localisation updates from https://translatewiki.net.
Change-Id: I94574a6af0fbcc11b1ec6e7fc6adee2650bf2224
2015-04-03 20:02:47 +02:00
jenkins-bot
c864eab820 Merge "Don't trigger MessageBlobStore during tests" 2015-04-02 21:16:37 +00:00
Kunal Mehta
e33a719823 installer: Read from extension.json if possible
We still have to keep in the hacky include code to support extensions
not using extension registration yet.

Bug: T94668
Change-Id: Ifedbf8026d46e376181e957725cd91d365295fcb
2015-04-01 22:51:38 -07:00
jenkins-bot
26a052181c Merge "installer: Use wfLoadExtension/Skin in LocalSettingsGenerator" 2015-04-01 22:27:27 +00:00
Translation updater bot
9919a5136e Localisation updates from https://translatewiki.net.
Change-Id: I32d1c7cf05c4981322f4111c8d997f08b79b05bf
2015-04-01 21:31:59 +02:00
Kunal Mehta
7935bd4c80 installer: Use wfLoadExtension/Skin in LocalSettingsGenerator
Bug: T87791
Change-Id: I37cede7396d9677466ec68289702a3a73f1a1f8a
2015-04-01 00:16:17 -07:00
Kunal Mehta
7222312fd9 installer: Reduce some code duplication in LocalSettingsGenerator
Change-Id: Ie3c2e56ac4d20d6d547e89a4d6c6331f4222409b
2015-04-01 00:01:41 -07:00
Translation updater bot
dba6bbd728 Localisation updates from https://translatewiki.net.
Change-Id: I96ad4039d7c301dd444197040a6de86b6221ccea
2015-03-31 20:51:49 +02:00
jenkins-bot
b594c133f3 Merge "Use wikimedia/utfnormal library, add backwards-compatability layer" 2015-03-31 00:51:16 +00:00
Translation updater bot
a6a72cf00b Localisation updates from https://translatewiki.net.
Change-Id: I8b8619a0715efcec1117bf8d086ff9496be48ac2
2015-03-29 13:58:01 +02:00
Kunal Mehta
4fb5c877f6 Don't trigger MessageBlobStore during tests
The test for OutputPage::makeResourceLoaderLink was triggering database
queries through MessageBlobStore even though it doesn't use any
messages.

In bb03d1a8e0 I had made MessageBlobStore a singleton instead of static
functions, however there's no need for it to be one since the class is
stateless. Callers can just create a new MessageBlobStore instance and
call functions upon it. Using getInstance() is now deprecated.

ResourceLoader now has a setMessageBlobStore setter to allow overriding
which MessageBlobStore instance will be used. OutputPageTest uses this
to set a NullMessageBlobStore, which makes no database queries.

Change-Id: Ica7436fb6f1ea59bd445b02527829ab0742c0842
2015-03-28 21:25:25 -07:00
Translation updater bot
c1e01d1c42 Localisation updates from https://translatewiki.net.
Change-Id: I2c29611aa564f96e33980784eb64907598230542
2015-03-26 21:55:24 +01:00
Translation updater bot
c8521f08e4 Localisation updates from https://translatewiki.net.
Change-Id: I79e13cf2d6d3bc8c447b75a49ac0bdca2ae536d9
2015-03-25 21:44:14 +01:00
Kunal Mehta
13975fe76a Use wikimedia/utfnormal library, add backwards-compatability layer
This drops support for the custom utf8 normal PHP extension in favor
of the intl extension.

Bug: T90825
Change-Id: Ifbaeb2ef684217cf6187ccc4fb4d303f89608300
2015-03-24 12:59:26 -07:00
Translation updater bot
41b86bea62 Localisation updates from https://translatewiki.net.
Change-Id: I8313b4e6f3fddaf9ee468e10972a5923bb1201d5
2015-03-22 20:45:06 +01:00
Translation updater bot
b760f8c53d Localisation updates from https://translatewiki.net.
Change-Id: I2a30a623d1e70298d50d59fc7d2261bf638fb4db
2015-03-20 21:09:00 +01:00
Translation updater bot
f2993fb8ec Localisation updates from https://translatewiki.net.
Change-Id: Ib9939c0c66487999e57e72e57767612460023b04
2015-03-19 20:28:46 +01:00
Translation updater bot
ce366abebe Localisation updates from https://translatewiki.net.
Change-Id: I0dcd569bbef7ee98f9341af08a2c3d19e7a02e4f
2015-03-18 15:35:24 +01:00
jenkins-bot
d3efb28185 Merge "Clean up $wgSQLiteDataDir handling and removed standalone sqlite class" 2015-03-16 17:22:10 +00:00
Translation updater bot
5ae7b2159c Localisation updates from https://translatewiki.net.
Change-Id: I5547cae4cf155c31b20a231e1fd7f81848e14612
2015-03-15 21:17:22 +01:00
Translation updater bot
2952fc9503 Localisation updates from https://translatewiki.net.
Change-Id: I695a54629fa78b7ccfe20c9f76df25eeffd1d181
2015-03-14 21:10:52 +01:00
Translation updater bot
6cb2778515 Localisation updates from https://translatewiki.net.
Change-Id: I2cdf3805a5d8e395e040a069d16c53ab5ed0c164
2015-03-13 21:57:47 +01:00
Brian Wolff
5d9b67e09e Allow edit summaries to be up to 767 bytes long
This is just the db part. The changes to UI validation code will
come in a dependent patch later.

This changes the max size of various *_comment, *_description
and *_reason fields to be 767 bytes. This size is chosen to
be consistent with the largest we can get away with while
still having covering indexes.

It also unifies the various data types of these fields to
varbinary. (Note, this was previously done and reverted in
r80547, but I don't think the reason for revert applies to
the edit summary fields)

MyISAM has a much smaller max index size, and this wouldn't
work with that storage engine. However, none of these fields
are used in default indexes (only in WMF indexes), so this
should not be an issue for anyone using MyISAM. Postgress
and sqlite already supported the larger edit summary size.

Note: This patch increases min mysql version to 5.0.3.

Bug: T6715
Change-Id: I8558e80a18e4591f07f2c3e80f792ea4435c4e71
2015-03-11 13:36:38 +00:00
Translation updater bot
608e7b19e5 Localisation updates from https://translatewiki.net.
Change-Id: I3be2b9a50b5695cd9c247bb9a0a49af82eed6ffd
2015-03-10 22:09:43 +01:00
Translation updater bot
e83bb46bf4 Localisation updates from https://translatewiki.net.
Change-Id: I361e11d5dbbc13010b24e6dd49ff8153f5163535
2015-03-09 21:44:38 +01:00
Aaron Schulz
46cf4f1e30 Clean up $wgSQLiteDataDir handling and removed standalone sqlite class
* The data directory can now be set via the construction params
* A standalone factory method now replaces the subclass
* Also made mDatabaseFile protected

Change-Id: I1791fd4f630e5c121fa7f68f473411a7c12d0c97
2015-03-09 18:35:24 +00:00
Translation updater bot
17607cf896 Localisation updates from https://translatewiki.net.
Change-Id: Ifc570f5a883ef4269e9d85b9e634f09e95716581
2015-03-08 21:20:44 +01:00
Translation updater bot
03a7192f5b Localisation updates from https://translatewiki.net.
Change-Id: I5e91846766f3558874fd179fd7a1a3702901bda4
2015-03-06 22:23:26 +01:00
Translation updater bot
f988ef004c Localisation updates from https://translatewiki.net.
Change-Id: I8fd55473983eff489284bbc3ff46c1bcffdb1ce1
2015-03-05 21:34:15 +01:00
umherirrender
b21bf82bb1 Fixed detection of unsigned mysql column in updater
MediaWiki running with an old mysql or php without mysqli cannot
use the newly added flags property of Database::fieldInfo.
For backward compatibility add the missing properties using the flags
property to the result of Database::fieldInfo.

Added missing unsigned, numeric, blob and zerofill properties to the
MysqlField using flags in mysqli.
The missing fields in mysqli are taken from
http://php.net/manual/en/function.mysql-fetch-field.php

Follow-Up: I641dc1fad0a5bb14815f55e0357243a562fd672b
Change-Id: I1da904df72f8af7725fc7ff94121ef85b18a36f8
2015-03-05 18:25:50 +00:00
Translation updater bot
631186747a Localisation updates from https://translatewiki.net.
Change-Id: I4d53140c8b780ef5d6118ac535ab2a70c7e0082b
2015-03-04 20:29:14 +01:00