Commit graph

3379 commits

Author SHA1 Message Date
Translation updater bot
1fd35bc924 Localisation updates from https://translatewiki.net.
Change-Id: I213ca5e0b1b5fc1bfb666d1246086b3ed5f2866b
2019-03-20 21:56:08 +01:00
Translation updater bot
f9640e0ab4 Localisation updates from https://translatewiki.net.
Change-Id: I2d4ac09f82c79444730cf9cf0c8f01fc5109b917
2019-03-17 21:54:44 +01:00
Translation updater bot
ba5384b5db Localisation updates from https://translatewiki.net.
Change-Id: I910aa8cc077a12f2a7ef00f41087f5c3e08ab0d4
2019-03-15 22:05:39 +01:00
jenkins-bot
a71210724c Merge "Bump minimum SQLite version to 3.8.0" 2019-03-11 20:27:59 +00:00
jenkins-bot
c1c3302286 Merge "Fix small typos" 2019-03-11 18:34:01 +00:00
Max Semenik
59f4c32323 Bump minimum SQLite version to 3.8.0
3.3.7 is 12 years old, no chance in hell you will find it somewhere
that supports modern MediaWiki. Since Ubuntu 14.04 LTS has 3.8.2, this
seems like a reasonable conservative version.

Change-Id: I5fbb35bd2d4c0993889b79f463a3c35ce6765d3b
2019-03-10 17:30:09 -07:00
Translation updater bot
59ae70f31b Localisation updates from https://translatewiki.net.
Change-Id: Ibf7f5a6cc435b330df709d40f8ea0687c65832c5
2019-03-10 21:56:09 +01:00
jenkins-bot
a73428bb88 Merge "installer: Remove redundant $key variable" 2019-03-09 22:38:59 +00:00
Timo Tijhof
e073c2619a installer: Remove redundant $key variable
Change-Id: Ie6d59a1fd94ccfb2a3b5248f1f98ae640a4d5c2c
2019-03-09 22:15:20 +00:00
Max Semenik
39a79151fb Installer: Fix an obsolete comment
Change-Id: I0ae459b016f491ff3bc2c702e55be29fdcfec5eb
2019-03-08 19:12:49 -08:00
Translation updater bot
fc71852064 Localisation updates from https://translatewiki.net.
Change-Id: I28265dca10ec71e558c1df9135430c9d9c498a4e
2019-03-07 22:02:12 +01:00
Translation updater bot
fc9d8df8ca Localisation updates from https://translatewiki.net.
Change-Id: I82b2f9fbde2a8c7524bd2de7ee207c829941a2cf
2019-03-05 22:01:23 +01:00
Translation updater bot
b8ad03bde6 Localisation updates from https://translatewiki.net.
Change-Id: If706f62773b164f4c26a0eedb1e6709971c77b17
2019-03-04 21:54:19 +01:00
Derick Alangi
3d662e93a2 installer: Replace the use of global $wgParser with services
global $wgParser was deprecated in 1.32 and services are used
instead to get the parser object via MediaWikiServices. Making
this replacement as we're avoiding globals.

Change-Id: I967a52c481bfcc83552053a03e88acb038810828
2019-03-03 15:05:16 +01:00
Fomafix
204126e7c7 Simplify strings in PHP code
Change-Id: I481810ade68b0c5a5be21d22e2a107646d5813e6
2019-03-01 22:16:26 +01:00
Translation updater bot
593f14fa18 Localisation updates from https://translatewiki.net.
Change-Id: Ibd3587a45d063cdd7f7276bd15319f1067819eab
2019-02-28 22:04:55 +01:00
Translation updater bot
b75bdf543c Localisation updates from https://translatewiki.net.
Change-Id: Id54b521705d09e65558ed7ce20f67280c7eac13d
2019-02-25 22:46:15 +01:00
Translation updater bot
09f85412af Localisation updates from https://translatewiki.net.
Change-Id: Iaa33d306da2a1daf0f99f7432b542f7bdbd72eca
2019-02-24 22:23:34 +01:00
jenkins-bot
d78efd2363 Merge "Various fixes for phan-taint-check" 2019-02-20 03:07:24 +00:00
Translation updater bot
76e300f46c Localisation updates from https://translatewiki.net.
Change-Id: I1959bd49bd394c4a206843a2967111df1de9081d
2019-02-19 22:01:52 +01:00
Timo Tijhof
3edaa0b37c resourceloader: Make $rl parameter mandatory for MessageBlobStore
Change-Id: I851b2417b7e495a1d0c7ee1aa8be2b2e970840bb
2019-02-19 17:16:57 +00:00
Timo Tijhof
a186dc62fd resourceloader: Instantiate main class via ServiceWiring
It also removes some code duplication which is nice.

This unlocks various future changes, including:

* Making the `$config` parameter mandatory for the ResourceLoader class
  constructor, which currently falls back to global state.
  This should be deprecated and removed.

* Making it possible to instantiate the ResourceLoader class
  without all the default MW modules being registered from
  global state. E.g. move MW module registration from main class
  constructor to ServiceWiring, and remove the 'EmptyResourceLoader'
  class hack from unit tests, and use regular 'new ResourceLoader'
  instead.

* Making ResourceLoader a standalone library (some day),
  e.g. allowing it to be instantiated from a basic PHP script,
  in a way that is still useful and perhaps able to serve
  (most) RL modules without MW itself.

Bug: T32956
Change-Id: I4939f296c705b268e9cf8de635e923a739410470
2019-02-18 17:55:09 +00:00
Translation updater bot
5b34aaecf1 Localisation updates from https://translatewiki.net.
Change-Id: I2316460e88bc758daa875638518105524f97ea1d
2019-02-17 21:55:23 +01:00
Brian Wolff
286d49011f Various fixes for phan-taint-check
Bug: T216348
Change-Id: I0adafdc680dae0e930f38f08fe926645c57be06c
2019-02-17 11:41:11 +00:00
Translation updater bot
ff75ea4f05 Localisation updates from https://translatewiki.net.
Change-Id: Ic40eaf0cedbbf6a81585f4f0d686f4aa3ae7d160
2019-02-14 22:05:28 +01:00
jenkins-bot
2e9c34c562 Merge "Use "try-catch" block instead of "if" block to prevent interruption of new installation" 2019-02-14 19:31:57 +00:00
Translation updater bot
e36ef661d9 Localisation updates from https://translatewiki.net.
Change-Id: Ia27cd1dfe1e1fecdff6431841c9e26a2daf3a865
2019-02-12 21:54:12 +01:00
RazeSoldier
56d2fc8081 Use "try-catch" block instead of "if" block to prevent interruption of new installation
New installation blocked when checking if the DB exists,
because when select DB, if it fails, it will throw an exception.

So I modify the checking logic to determine if there is an exception
thrown instead of detecting the return value.

Bug: T215566
Change-Id: I6817997434df7adc79fbc1b224b77c0daa8cc11d
2019-02-12 13:38:32 +08:00
Translation updater bot
134ac95779 Localisation updates from https://translatewiki.net.
Change-Id: Id809e80a46547f7bf042eb6073efd7a519666ce7
2019-02-11 21:54:25 +01:00
Translation updater bot
0a08a3144b Localisation updates from https://translatewiki.net.
Change-Id: I26dda2663489848ffc75fc54b766fb827eeff4de
2019-02-10 21:56:24 +01:00
Translation updater bot
c208e10de2 Localisation updates from https://translatewiki.net.
Change-Id: I36b74b2277e53dceeb60a3662eb14da9fa4f0589
2019-02-07 22:04:39 +01:00
Brad Jorsch
0abb9338f8 Mostly drop old comment schemas
This removes most of the pre-CommentStore text columns, and the
$wgCommentTableSchemaMigrationStage setting that used to determine
whether the columns were used.

rev_comment remains in the code, as on Wikimedia wikis the revision
table is too large to alter at this time. A future change will combine
that with the removal of rev_user_text, rev_content_model, and
rev_content_format (and the addition of rev_comment_id and rev_actor).

CommentStore's constructor continues to take a $stage parameter, and
continues to have the logic for handling it, for the benefit of
extensions that might need their own migration process.

Bug: T166733
Change-Id: I1479c73774e01ead1490adf6128f820c09bce9d4
2019-02-07 16:59:27 +11:00
jenkins-bot
e26e0d1fc8 Merge "Fix grammar of "config-db-host-help"" 2019-02-05 10:45:42 +00:00
Translation updater bot
bed86f448f Localisation updates from https://translatewiki.net.
Change-Id: Ib354beb08668e1afe72246f382dc9e4396e96fea
2019-02-04 21:56:39 +01:00
jenkins-bot
930069cde8 Merge "Equialization of Serbian Latin translations with Serbian Cyrillic translations" 2019-02-04 07:03:56 +00:00
Translation updater bot
eaf0a3b004 Localisation updates from https://translatewiki.net.
Change-Id: Ic00ccbd3487d1861d3196670792ec529d1f81f73
2019-02-03 21:56:18 +01:00
Zoranzoki21
ac3425b937 Equialization of Serbian Latin translations with Serbian Cyrillic translations
This was done already before at I3c79ded77f16beee404ca3005ae7678838ab9d60

Change-Id: I09e704d3051a6177f5f41eff8c8085e85ef4e02a
2019-02-02 16:48:39 +00:00
Translation updater bot
326e393461 Localisation updates from https://translatewiki.net.
Change-Id: Ie2c639a0adbb91dc68109e58b6d74263e8ae0f0c
2019-01-31 21:53:43 +01:00
Matěj Suchánek
c8036ebbb0 Fix grammar of "config-db-host-help"
Change-Id: Ie95baf3de0ff8221c6502d4d77c616b278586447
2019-01-31 21:32:43 +01:00
Translation updater bot
e6a3c2b255 Localisation updates from https://translatewiki.net.
Change-Id: If0c6e253be60e3b6b0b36f1281936b4719cb1eeb
2019-01-30 21:53:36 +01:00
Brian Wolff
19619edf43 installer: Suggest using 127.0.0.1 in the db not found error message
Its a really common error people have where they specify
localhost, not realizing that mysql does socket magic for that
value, and they need to specify 127.0.0.1 instead.

Also remove windows specific language in the help text.
Although more of an issue on windows, it is not unheard of
to happen on linux if the mysql socket is not configured.

Change-Id: Ie8199ab50d37dc2bc43dfafe2e5ef7812e9d832c
2019-01-28 23:35:28 +00:00
Shreyas Minocha
d5b2a1621b
Fix small typos
"publically" → "publicly"

Change-Id: I712d97c0504d52c96532b4aac4f332ef39670955
2019-01-27 17:40:18 +05:30
Translation updater bot
9a95b226d0 Localisation updates from https://translatewiki.net.
Change-Id: Ia1d66a4d2b2aa5fb06b85b15c89cdc941dea363d
2019-01-26 21:54:18 +01:00
Translation updater bot
cd0860616a Localisation updates from https://translatewiki.net.
Change-Id: Ia3e8a3a29198b7032e95618445aa53ab72f65cf0
2019-01-24 22:16:57 +01:00
Translation updater bot
f2ef7b7fc7 Localisation updates from https://translatewiki.net.
Change-Id: Ia9ecbc8465dd445aa109916f2e8dda5161ed2ebd
2019-01-22 21:53:23 +01:00
jenkins-bot
cc844cc5a6 Merge "WebInstallerOutput: Add getLanguage()" 2019-01-21 22:45:19 +00:00
Fomafix
627e2c9b16 WebInstallerOutput: Add getLanguage()
Combine the functions getLanguageCode() and getDir() to the single
function getLanguage().

Also mark the class WebInstallerOutput as @private.

Change-Id: Ic7deea5f3040fe8f1211b96622bdae222ca9e072
2019-01-19 19:53:56 +01:00
Translation updater bot
ca7987ff9e Localisation updates from https://translatewiki.net.
Change-Id: I1fc5d6f7500437df862f9f3f7b8e42af4702a9d8
2019-01-18 21:54:03 +01:00
Translation updater bot
88cae6944c Localisation updates from https://translatewiki.net.
Change-Id: I86f2b814991862ac1d750445543e6d9a8117c23a
2019-01-17 08:24:35 +01:00
Lucas Werkmeister
7585985a46 Fully extract services framework as a library
This code doesn’t use any MediaWiki-specific code, so rename
MediaWiki\Services to Wikimedia\Services and move it below libs/. (Of
course, this does not apply to the MediaWikiServices subclass.)

Class aliases are added to retain backwards compatibity for now.

Bug: T211608
Change-Id: Ic14ea28ef21c359695b309d4293dbaaf5deedc09
2019-01-16 17:31:05 +01:00