Commit graph

2511 commits

Author SHA1 Message Date
Translation updater bot
d7096d396c Localisation updates from https://translatewiki.net.
Change-Id: I4174fc3bca40d45f06dd93af10d009d23acae375
2016-06-07 22:13:01 +02:00
Emmanuel Gil Peyrot
7add24ec86 i18n: Use https: scheme for HSTS external links
When the local wiki is accessed in HTTP, clicking an external link
starting with // will (if this is the first visit) do an unencrypted
HTTP call to the target server before being redirected to the HTTPS
version, potentially allowing a man in the middle attack.

This commit changes the URI scheme to https: for every link with HSTS
enabled in the codebase, namely www.mediawiki.org, *.wikimedia.org,
*.wikipedia.org, translatewiki.net and bugs.php.net.

Change-Id: I002b502952f32fb49823e18b281252977ecca8cf
2016-06-07 16:17:17 +01:00
Translation updater bot
b862718fc6 Localisation updates from https://translatewiki.net.
Change-Id: Ib2318bbccf83f08e9f32c97b6fea0c6baa6d1cd7
2016-06-03 22:47:23 +02:00
Translation updater bot
5fa1ba7e23 Localisation updates from https://translatewiki.net.
Change-Id: I58c9f2c935838e27afd48890da19fda98d6c792e
2016-06-01 22:34:22 +02:00
Ori Livneh
873def9a99 Check that file is executable in Installer::locateExecutable
Just because the file exists doesn't mean that we can run.
Use is_executable(), a one-shot check for both existence and executability.

Change-Id: I705010b01cd3a17c3950eebae3066d7b007f706e
2016-06-01 10:44:22 -07:00
Translation updater bot
db4fc0d9d9 Localisation updates from https://translatewiki.net.
Change-Id: I3f77a9f17cd70c9ba120d024b0acb7a4de31a37e
2016-05-31 22:10:00 +02:00
Alexia E. Smith
45ebd3f0e6 Make the call match the function definition.
Change-Id: I381fbc9b6ddbf27f4f7a79dc19eec0547e0fddbb
2016-05-25 14:52:46 -05:00
Translation updater bot
5bff74281b Localisation updates from https://translatewiki.net.
Change-Id: I00c9bd3bf3a03e38b1cc2573212bfae257d3dc4c
2016-05-23 22:00:48 +02:00
Paladox
4b320e79af Remove unused messages in the installer
Removes messages:

config-db-charset
https://github.com/wikimedia/mediawiki/search?utf8=%E2%9C%93&q=config-db-charset&type=Code

config-charset-mysql5-binary
https://github.com/wikimedia/mediawiki/search?utf8=%E2%9C%93&q=config-charset-mysql5-binary&type=Code

config-charset-mysql5
https://github.com/wikimedia/mediawiki/search?utf8=%E2%9C%93&q=config-charset-mysql5&type=Code

config-charset-mysql4
https://github.com/wikimedia/mediawiki/search?utf8=%E2%9C%93&q=config-charset-mysql4&type=Code

config-charset-help
https://github.com/wikimedia/mediawiki/search?utf8=%E2%9C%93&q=config-charset-help&type=Code

Shows them as all being unused.

Plus we doint use mysql 4 any more nor support it.

Change-Id: I369e4f6d3fd934398d978d3fa8c0da6a62bd8a0f
2016-05-22 15:33:39 +00:00
Translation updater bot
88754ec791 Localisation updates from https://translatewiki.net.
Change-Id: I81eef8d9acdd8a2f0e0adeca28bfad36882e0fe9
2016-05-21 21:59:59 +02:00
Translation updater bot
81d862e34d Localisation updates from https://translatewiki.net.
Change-Id: Ia6f9b128f9747919c7263200b639ef8207079f3f
2016-05-20 21:56:30 +02:00
Translation updater bot
b84928c66f Localisation updates from https://translatewiki.net.
Change-Id: I23caefae3374028db6475f66244c1ec3627f49ec
2016-05-19 21:57:18 +02:00
daniel
fc1d4d7960 Fix installer issues introduces by MediaWikiServices
This fixes three issues with the installer:

1) Make sure LocalizationCache can find the installer's i18n files.
2) Make sure we don't try to use an SqlBagOStuff for caching before we have
   a functioning database.
3) Don't try to output HTML when redirecting (this is unrelated to
   MediaWikiServices, but came up during testing)

Bug: T135169
Change-Id: I7caa932024cd771d6fa226a3ac6001c3148ecc9c
2016-05-17 15:24:31 +00:00
Translation updater bot
eb76695cce Localisation updates from https://translatewiki.net.
Change-Id: I3d5ebd735a385c8b9a6683d996ff54906bece98c
2016-05-16 22:15:59 +02:00
Translation updater bot
bd1bddcddd Localisation updates from https://translatewiki.net.
Change-Id: I79cf84152b3696200e8439b31fa851552b687a3a
2016-05-14 22:22:57 +02:00
Translation updater bot
37e7f383df Localisation updates from https://translatewiki.net.
Change-Id: Ic9f08416c57ebe67a3ebdac74c273f2b2a4abd4b
2016-05-10 21:57:33 +02:00
umherirrender
aa518a6d83 Use better styles for fake button in installer
The old style with visibilty:hidden does not let the enter button do the
submit in IE. The new style works in IE. Tested also with FF and Opera.

Change-Id: I7f86217c2905dabc6d222b3d7b896159b204db0a
2016-05-07 19:37:07 +02:00
Ryan Schmidt
4ea08502b1 Fix deleting pages/files when using Microsoft SQL Server
Right now we have a slew of foreign key violations whenever we try to
delete something due to the way MediaWiki handles page
deletions. Let's remove those foreign keys from places where IDs are
maintained even though the records they are pointing to have been deleted.

Also, work has begun on the massive (re)naming of every constraint in the
schema, so that icky hacks like those employed in these patch files don't
need to be used in the future; rather, we can simply refer to the
constraints by name.

Change-Id: I79938d36a8e35debd3e27052d8ef0e3e6c32f40c
2016-05-06 06:28:45 +00:00
jenkins-bot
f7dad57c64 Merge "Allow reset of global services (redux)." 2016-05-04 22:07:44 +00:00
Translation updater bot
d33dce5b65 Localisation updates from https://translatewiki.net.
Change-Id: I0d3a20114f1091e29f46da23be3a1b9906d8196d
2016-05-04 22:00:20 +02:00
daniel
d7410db0fd Allow reset of global services (redux).
(This is part of I6ec374ac9 wich was a re-submit of Ie98bf5af5
which got reverted by Ide7ab563)

This change provides a mechanism to reset global service instances
in an orderly manner. There are three use cases for this:

* the installation process
* integration tests (which most of the existing phpunit tests are)

In contrast to I6ec374ac9, this change does not cause singeltons
of legacy services to be reset. It is assumed that legacy services
use global state to access services and configuration, so any
change in confuguration would affect them immediately.

NOTE: the original I6ec374ac9 would cause session information to
get lost if the user session was creatsed before initialization
was complete. This was apparently triggered by the MobileFrontend
extension under some circumstances. Check with Addshore and Catrope.

Change-Id: Ie06782ffb96e675c0aa55dc26fb8f22037e8517d
2016-05-04 19:18:29 +02:00
jenkins-bot
2530a4c0a1 Merge "Update Microsoft SQL Server schema" 2016-05-02 21:34:50 +00:00
jenkins-bot
bbc68cba57 Merge "Pass through errors creating the main page to the installer." 2016-05-02 21:34:18 +00:00
Ryan Schmidt
8efca2635d Update Microsoft SQL Server schema
The MSSQL schema is now brought in-line with the MySQL schema.
Additionally, various issues that prevented successful installation or
updates via MSSQL were fixed, notably with respect to creating bits of
the database should other bits already exist as well as issues with
previous updater patches not working correctly.

Additional MSSQL bugfixes will come in separate patches, as they are less
related to the schema/install/upgrade process.

Change-Id: If3eea625499d3cb14abba40f528208173067a53a
2016-05-02 13:02:36 -05:00
Translation updater bot
6f9df79fa0 Localisation updates from https://translatewiki.net.
Change-Id: Ife995ee37ad1b23b10b802d7f765750892558609
2016-05-01 22:54:29 +02:00
Translation updater bot
e7f803b071 Localisation updates from https://translatewiki.net.
Change-Id: I75205fc07e65c44bd543a2fa890c6cca94a21b8e
2016-04-29 22:16:54 +02:00
Translation updater bot
ddde7661a2 Localisation updates from https://translatewiki.net.
Change-Id: I8e0a4883bd78e81a72bfafb8b7813dc45799e0f3
2016-04-27 22:30:11 +02:00
Translation updater bot
da227cffdb Localisation updates from https://translatewiki.net.
Change-Id: Ifece83af145eed33767bd4bc29e373aa00411ae6
2016-04-26 22:01:13 +02:00
Ryan Schmidt
ccdd94dc84 Pass through errors creating the main page to the installer.
Right now, any errors from inserting the main page are silently ignored by
the installer, causing it to report success even in case of failure. Let's
fix that.

Change-Id: I1da3aa076eefa212b5cc0f796a48f944e8c06fd2
2016-04-24 19:19:04 -07:00
Translation updater bot
98df387de3 Localisation updates from https://translatewiki.net.
Change-Id: I08afd3e2ef249cd2392012537592f33703cbfe4d
2016-04-23 21:53:14 +02:00
Translation updater bot
0c223c1d86 Localisation updates from https://translatewiki.net.
Change-Id: I945074db5ba068c8e6b49b0cef3990938e766f16
2016-04-19 21:59:09 +02:00
Translation updater bot
61bfc4ca7a Localisation updates from https://translatewiki.net.
Change-Id: I862b3058c7538e56264257b44bc0b0bff04f1da0
2016-04-16 22:43:27 +02:00
Translation updater bot
38cf91c1f5 Localisation updates from https://translatewiki.net.
Change-Id: I97436ec70e5c33350f413162201ced484c5a9484
2016-04-15 21:57:25 +02:00
Translation updater bot
5344ca897e Localisation updates from https://translatewiki.net.
Change-Id: I7264e3c32d5a088999af65c1e597a2ed6a400e27
2016-04-14 21:58:54 +02:00
Translation updater bot
4f49fd4933 Localisation updates from https://translatewiki.net.
Change-Id: If98c4a1a477e70076aa3ebf8e12a64b5b111cafc
2016-04-13 21:53:57 +02:00
Catrope
1162ed5f88 Revert "Allow reset of global services."
Completely breaks login.

This reverts commit 8e7a0a0912.

Change-Id: Ide7ab5632e987e81374c21173df6ab3998649df7
2016-04-11 13:40:28 -07:00
Translation updater bot
e84bce4fb8 Localisation updates from https://translatewiki.net.
Change-Id: I065f082606ccb1d6df353f503ee8f393d8d6466b
2016-04-11 21:57:01 +02:00
daniel
8e7a0a0912 Allow reset of global services.
This change provides a mechanism to reset global service instances
in an orderly manner. There are three use cases for this:

* the installation process
* forking processes
* integration tests (which must of the existing phpunit tests are)

Depends-On: I5d638ad415fc3840186a0beaa09ac02ea688539b
Change-Id: Ie98bf5af59208f186dba59a9e971c72ea0b63e69
2016-04-11 16:22:40 +02:00
Translation updater bot
9098802ae3 Localisation updates from https://translatewiki.net.
Change-Id: I01a967bb1fc77fa9a4f8dd9c8bab4e238b682cd5
2016-04-10 19:14:49 +02:00
Translation updater bot
a8602d862c Localisation updates from https://translatewiki.net.
Change-Id: I3bd0664b4ce71182be57e062204c0ae039fd8f84
2016-04-08 22:01:29 +02:00
Translation updater bot
a0e2f5e403 Localisation updates from https://translatewiki.net.
Change-Id: Ib3d0e6a16e61f0443aaa7e929d8bf66c45f5d4df
2016-04-07 22:32:53 +02:00
Max Semenik
943563062f Kill mbstring fallbacks
In the age when we require PHP 5.5, pretending that mbstring emulation
is not slow and silly is silly.

Bug: T129435
Change-Id: Ic8235c9da9a926df63ec7388900c44eab454eebe
2016-04-06 22:14:48 +00:00
Translation updater bot
53727a0391 Localisation updates from https://translatewiki.net.
Change-Id: I17458dc07e3b940238dc2395e2fcc08833e303ab
2016-04-05 22:10:22 +02:00
Translation updater bot
84abebcd93 Localisation updates from https://translatewiki.net.
Change-Id: If37db4144db777658d3d2f3aa6bd140469a2547e
2016-04-04 21:53:49 +02:00
Translation updater bot
2cd31f2660 Localisation updates from https://translatewiki.net.
Change-Id: Ie0a08fde2970106bae564551bb6ed6bd76f8a9da
2016-04-01 21:58:59 +02:00
Translation updater bot
ace407e276 Localisation updates from https://translatewiki.net.
Change-Id: I977112d0c7c10d043c8f71ace015cf0d97e373f3
2016-03-27 20:29:34 +02:00
Translation updater bot
855dfc341d Localisation updates from https://translatewiki.net.
Change-Id: I31cbae4f585f73a2a0ab97909206185a0d1c0aef
2016-03-24 22:09:30 +01:00
Translation updater bot
fa9b2e6d02 Localisation updates from https://translatewiki.net.
Change-Id: Idf395e9379605a64103df4ee0ce3847b600f5ede
2016-03-23 21:54:56 +01:00
Brian Wolff
eec016ece6 Add new index to make updateCollation.php painless
We want to update categories in order, to minimize disruption
to users. Previous indexes required a filesort to do this, which
exploded things on large wikis. See bug for details

Bug: T58041
Change-Id: Iee6cd997ff87a313a46fda19d8ab063d0fed8ce8
2016-03-22 16:32:52 -06:00
Translation updater bot
f62f84f175 Localisation updates from https://translatewiki.net.
Change-Id: Iba1610b61c1658b22216e57ed5d60d131073feab
2016-03-22 22:00:03 +01:00