Commit graph

2904 commits

Author SHA1 Message Date
Phantom42 67ed343ecc Add phan configuration for static analysis
Bug: T179554
Change-Id: I2bfd52c08aac1aa8f34e0664e6314835f79a0324
2017-12-29 11:50:01 -08:00
Translation updater bot a4e1b0e4e5 Localisation updates from https://translatewiki.net.
Change-Id: I04cb282cb27fa7802b81860f2f92a59fa1f4b8f1
2017-12-28 09:59:04 +01:00
Translation updater bot 9e2c5abfa9 Localisation updates from https://translatewiki.net.
Change-Id: Ieb195f0607ab8af66207ed3c9a0e4c8ca96e4652
2017-12-23 22:26:47 +01:00
Umherirrender 817c8a95bd Change typehint from DatabaseBase to IDatabase
Change-Id: I34bde9717d7799406dd9a30e8f9b610da53f374c
2017-12-22 21:28:29 +01:00
Translation updater bot 877179c20f Localisation updates from https://translatewiki.net.
Change-Id: I97c6dc4c457887c3e00d4ec33d56ee37bae93c74
2017-12-19 22:34:18 +01:00
Translation updater bot f3cc7166bd Localisation updates from https://translatewiki.net.
Change-Id: I8d06dbc5532e81a616323f604f3969becd85b8a0
2017-12-18 23:06:10 +01:00
Translation updater bot 197accfc96 Localisation updates from https://translatewiki.net.
Change-Id: Ic4a184d07a15bf3250c780ac81cf2a686a026fa8
2017-12-17 22:25:51 +01:00
Translation updater bot a48013507b Localisation updates from https://translatewiki.net.
Change-Id: Ia22461372f68a7880c52db27021f8395dd96b06e
2017-12-14 23:12:16 +01:00
Translation updater bot 4f0df71890 Localisation updates from https://translatewiki.net.
Change-Id: I570114d1cafe29ffe5166dacdd58f070b053c7d7
2017-12-11 23:38:40 +01:00
libraryupgrader 926b505e3e build: Updating mediawiki/minus-x to 0.2.1
Change-Id: I8e2716689d1b865106d898efd23cbdd42b4a7ddc
2017-12-10 02:30:08 +00:00
Translation updater bot a2b65a30de Localisation updates from https://translatewiki.net.
Change-Id: I753359ad4af7ba03740a0c7f58a4adba040ee158
2017-12-07 23:07:14 +01:00
Translation updater bot ed8f558748 Localisation updates from https://translatewiki.net.
Change-Id: I8477d205bb76b95620ce2af2ab08d8b1d30ed71a
2017-12-05 09:40:07 +01:00
Translation updater bot a2519d23ab Localisation updates from https://translatewiki.net.
Change-Id: I462e67bf3adfa494e7e31b4957816657669c699f
2017-12-03 22:48:13 +01:00
Translation updater bot 450789dcbf Localisation updates from https://translatewiki.net.
Change-Id: Ife0b7f2590b97fc39d9f8f6ec4ec828ba54e0f7d
2017-12-02 22:28:27 +01:00
Translation updater bot c952385d88 Localisation updates from https://translatewiki.net.
Change-Id: I44f7f2246d94cbf0ec9b5c50888e4a643fd0d693
2017-11-26 22:30:01 +01:00
C. Scott Ananian 0e8f1c961f Sync up with Parsoid citeParserTests.txt
This now aligns with Parsoid commit 0723e5c47845ff4361b9635b591e7d386c975fdf

Change-Id: Ic5b30a88189e5a8809d0f330d8b399bdb1994c60
2017-11-21 17:25:33 -05:00
jenkins-bot 53e260e90a Merge "Don't break when reference names contain []" 2017-11-21 21:59:22 +00:00
Translation updater bot 7b520194c2 Localisation updates from https://translatewiki.net.
Change-Id: Ic360393b602f3460ce0f8b8197d98f5b982753ef
2017-11-19 22:17:04 +01:00
Translation updater bot fc03726c71 Localisation updates from https://translatewiki.net.
Change-Id: I177f80a8c38b5ab81ba1f9c5a321b4ac8c4aa3f4
2017-11-18 22:37:16 +01:00
Max Semenik 351a08d1b7 Don't break when reference names contain []
Bug: T29694
Bug: T179544
Depends-On: I189bdefbc9034cf8d221a89d7158195de1c0fa6c
Change-Id: Iec3439f76ecc2a3543b30b35f8735c92b0cfb711
2017-11-15 23:23:45 +00:00
Translation updater bot dd9e18e3a4 Localisation updates from https://translatewiki.net.
Change-Id: I22036ca877d08a970fdc548bac0126a0d151df92
2017-11-15 22:18:17 +01:00
Translation updater bot aebb9b586a Localisation updates from https://translatewiki.net.
Change-Id: I0a13d8c773de66f293d4b35c83cab9a0df597b47
2017-11-14 22:20:22 +01:00
Translation updater bot 923b98d82f Localisation updates from https://translatewiki.net.
Change-Id: I6bae356d0f54569f83693018d84330ad24a10749
2017-11-11 22:31:02 +01:00
Translation updater bot ef605faf84 Localisation updates from https://translatewiki.net.
Change-Id: I6554d0a23a468c0b1b1024f7c6fb0832fc944a43
2017-11-10 22:31:32 +01:00
jenkins-bot b0bae90a29 Merge "MWReferencesList: drop autoGenerated attribute if changed" 2017-11-07 21:28:20 +00:00
David Lynch d54fbf287d MWReferencesList: drop autoGenerated attribute if changed
If the user has moved the reflist away from the end of the document, or
changed any properties on it, it shouldn't be treated as autoGenerated any
more.

Bug: T153754
Change-Id: I348601952dbfcf06bfb564e4db9cac820f3b2776
2017-11-07 11:56:08 -06:00
Translation updater bot 832261ea11 Localisation updates from https://translatewiki.net.
Change-Id: Ibb660e348f13a0df784cec0358e6980e23a7e02a
2017-11-06 22:46:36 +01:00
Volker E 2b446d7bca Unify SVG markup
Align SVG markup across Foundation products by
- unifying XML declaration,
- removing unnecessary groups and ids where applicable and
- unifying whitespace.

Bug: T178867
Change-Id: I8df6cb46d85a972b9f4319565dca89fd31629cf7
2017-11-04 19:04:30 -07:00
Translation updater bot bf27c21cde Localisation updates from https://translatewiki.net.
Change-Id: Iccb6859a62d9ead72922e0a11b40363af6bf76b5
2017-11-04 22:34:38 +01:00
Translation updater bot 2665e0dcb4 Localisation updates from https://translatewiki.net.
Change-Id: I0a5ba29b4ed1e4bb380255d4a18523f49d89acb8
2017-11-03 22:23:13 +01:00
jenkins-bot 1d5180c841 Merge "Align colors to WikimediaUI palette ones" 2017-11-03 09:43:24 +00:00
Kunal Mehta 7fcb6023c6 build: Adding MinusX
Change-Id: I377f76c5c5aaadcaa66d37c3581bf9872cabe752
2017-11-02 18:27:49 -07:00
Volker E 223662791c Align colors to WikimediaUI palette ones
Bug: T179608
Change-Id: Ie37b39b17d2e183c091d2e85dc729d75adf555d5
2017-11-02 20:17:19 +00:00
Translation updater bot 4818acfe54 Localisation updates from https://translatewiki.net.
Change-Id: I2d07b52c4b4b211fae52e05037421bf6167e806a
2017-10-31 22:22:09 +01:00
Translation updater bot 57f3628f71 Localisation updates from https://translatewiki.net.
Change-Id: I2e6d2218b62378dfb30ed9465c52fbd2336c9012
2017-10-30 22:29:20 +01:00
Translation updater bot 499091f420 Localisation updates from https://translatewiki.net.
Change-Id: I4d6fe919d1718cdeaadb1956d834ed2ef07f3fce
2017-10-29 22:39:03 +01:00
Translation updater bot 5e79a9bf4a Localisation updates from https://translatewiki.net.
Change-Id: I96c539337c3e514f9ee279b09ff8fbe41707be26
2017-10-28 22:40:33 +02:00
Translation updater bot f67b38b7f7 Localisation updates from https://translatewiki.net.
Change-Id: Ifce4cbf83d46584eb5145c9273c62d27c25ab9cb
2017-10-27 22:17:55 +02:00
Translation updater bot 9b31477cf6 Localisation updates from https://translatewiki.net.
Change-Id: If4af886520201e8cef61a3b47e8f8a1b8b9a6725
2017-10-26 23:14:14 +02:00
Translation updater bot 9f84ab467d Localisation updates from https://translatewiki.net.
Change-Id: Ie2ec044a26346c6d745d2b98d77f5b89cf765c63
2017-10-25 22:34:08 +02:00
libraryupgrader dfae87234d build: Updating mediawiki/mediawiki-codesniffer to 14.1.0
And moved phpcs.xml to .phpcs.xml (T177256).

Change-Id: I257cc4b0f62f96583cb822aac772600d40182af3
2017-10-21 04:18:33 +00:00
Translation updater bot 3c281d1ac5 Localisation updates from https://translatewiki.net.
Change-Id: I3e9128ac86ace474723efbb9b1a136648ac7c666
2017-10-19 23:03:23 +02:00
Translation updater bot 90b10d1e36 Localisation updates from https://translatewiki.net.
Change-Id: Iefc9fed3e665f0c3fba68213f0591348e31dbbf1
2017-10-18 22:24:33 +02:00
Translation updater bot 85098ea373 Localisation updates from https://translatewiki.net.
Change-Id: I2e1ce79f3da6fa586a20587710d180cb7a930055
2017-10-17 22:39:20 +02:00
Translation updater bot 3556fec94f Localisation updates from https://translatewiki.net.
Change-Id: I420dfeece7703c3379ffe632dbf4621f696b25da
2017-10-15 22:34:55 +02:00
Translation updater bot 3fd8344f00 Localisation updates from https://translatewiki.net.
Change-Id: If947e3bfcabadac41bc6275b9d5405044e226011
2017-10-13 22:32:20 +02:00
Translation updater bot 37a484c74f Localisation updates from https://translatewiki.net.
Change-Id: I7d0f2a36cb590f93610cc2f44a8bc8b9f5b1ca6d
2017-10-11 22:51:46 +02:00
Alexander Mashin 3023f55605 T177134: Nulls passed to preg_match in Cite
Line 334 of Cite/includes/Cite.php contains two preg_match () calls. The subject lines for them are produced by Cite::refArgs () and are set to null or false when no name or follow attribute is provided in the <ref></ref> tag.

However, preg_match () is supposed to accept only strings as its subject, and the nowhere in the documentation it is said that it is nullable.

At least, in HHVM 3.12 this causes an exception.

The enclosed patch adds simple checks making sure that preg_match () is not called when $key or $follow are null or false.

Change-Id: I3e00d31d6bf216271ace7e851d88c68c4fd5ed00
2017-10-11 17:01:37 +00:00
Translation updater bot 7ba81b0ede Localisation updates from https://translatewiki.net.
Change-Id: I273ba905bb1b4f5ff02e95bac054af7ab60b6495
2017-10-09 22:43:01 +02:00
Umherirrender 0802a73cae Improve some parameter docs
Change-Id: I7d50eaabfba309a62d1dbd16ded0cbcab3beb82f
2017-10-06 21:22:30 +02:00