Commit graph

3550 commits

Author SHA1 Message Date
Ed Sanders eb7bed046b Template reflist: Re-render when converting for preview (e.g. visual diff)
Bug: T202324
Change-Id: I33dfb26a8f033f5ee5a89b2c1ad9aa081d3a55d1
2018-09-13 21:04:47 +01:00
James D. Forrester d95dda3f16 Unbreak visual diff results for checking node type change
Bug: T201721
Change-Id: I59fa13324083bfd8c77862d0d88b9b3cea1cfeb8
2018-09-13 11:08:46 -07:00
Translation updater bot 1401e9cf0b Localisation updates from https://translatewiki.net.
Change-Id: Idfc7ce1fcc94970e550ed1ca6cdf8bfc4d8c3f36
2018-09-13 10:15:21 +02:00
jenkins-bot 1c67723bfe Merge "Make Cite pass phan-taint-check" 2018-09-13 03:04:20 +00:00
jenkins-bot 8fde5b2251 Merge "Remove php entry point" 2018-09-13 02:48:23 +00:00
Brian Wolff 9ce0be6a78 Make Cite pass phan-taint-check
Because of how arrays are handled, phan-taint-check thought all
return values from refArg() were escaped, where really only $dir
was. We also split the error method into the parse and noparse
case as separate functions so that phan can better analyse these calls.
In linkRef() we suppress the double escaping as the escaping used
is appropriate for inserting into wikitext.

Bug: T195009
Change-Id: I3e04c8cceae727e5470d4ae4fdb2404639f9bf33
2018-09-13 01:10:59 +00:00
Reedy da70065793 Remove php entry point
Bug: T140007
Change-Id: I840b7419f92d7ba1e1ca2809cde0dc98ba7c0392
2018-09-12 23:39:41 +01:00
Kunal Mehta aa5d0ff171 Only register one name in MessagesDirs
Each name can have multiple directories though.

Change-Id: Ifed47cc7079c2fda96b659a8f887ce6afaa511fb
2018-09-12 16:49:10 +00:00
Ed Sanders 3a2b025e07 Convert bugzilla numbers to phab task numbers
Change-Id: I30e8c8d9eaff47185a61a093787cdfd25b3889d8
2018-09-12 16:48:17 +00:00
Jforrester 82c93513ac Merge "Replace deprecated 'advanced' by renamed to 'settings' icon" 2018-09-12 16:47:56 +00:00
Ed Sanders 0d866f13c7 build: Update linters
Change-Id: Ia558b35eab54b33e2faac1ae3324a17da18fcb49
2018-09-11 23:54:19 +01:00
Umherirrender 39aa50cb80 Remove @static doc annotations
@static is intended for use only when the language does
not support the concept of static methods natively

Change-Id: I9a0bf7db493d5667b22508e65a34034cefdbcbfa
2018-09-10 16:24:40 +00:00
Translation updater bot 687cfc7198 Localisation updates from https://translatewiki.net.
Change-Id: I9bb379a8d8917c5a5cbd997779f9fd1c9c749919
2018-09-10 09:31:30 +02:00
Translation updater bot de58933995 Localisation updates from https://translatewiki.net.
Change-Id: Icf18dddbccb13a0e40d72c132ec38a2d139922e7
2018-09-09 10:35:52 +02:00
Volker E a30925d229 Replace deprecated 'advanced' by renamed to 'settings' icon
Bug: T190581
Change-Id: I2151c9d6b1b3f7306ed4e049a6bd2efb59787100
2018-09-07 19:59:40 -07:00
Translation updater bot 1923d61e80 Localisation updates from https://translatewiki.net.
Change-Id: Ia1bea7b40e83c52601183e564b99d674492b70d4
2018-09-07 09:02:25 +02:00
Translation updater bot 26d143dbbe Localisation updates from https://translatewiki.net.
Change-Id: I3503161d590962c12d0628b400291e6be964cd67
2018-09-06 09:00:42 +02:00
Translation updater bot 93e2858322 Localisation updates from https://translatewiki.net.
Change-Id: I8904d205c34135b3975c8dc111448d1190cf5ca9
2018-09-04 22:19:24 +02:00
libraryupgrader cfb1858fa5 build: Updating mediawiki/mediawiki-codesniffer to 22.0.0
And updating CoC link to use Special:MyLanguage (T202047).

Change-Id: Ic0ee18f4f3dbf807483af5377b020f51f1484b86
2018-09-02 23:29:58 +00:00
Fomafix b7eed36a09 Start showing warning for deprecated PHP entry point
Change-Id: I88b1c49d1e03b241581fa024bfc9e8f27ad90c73
2018-08-24 18:28:56 +02:00
Arlo Breault 1d687e23f3 Use the dir parameter only from the full definition of a named ref tag
Bug: T196827
Change-Id: Iaf84966e37cea730c9eca07c19a555971ffeadf3
2018-08-22 19:31:23 -04:00
Translation updater bot fadce2ecf4 Localisation updates from https://translatewiki.net.
Change-Id: Ie80f3c35493c863d84de4949e4772ed75d1079c6
2018-08-22 22:35:35 +02:00
jenkins-bot 7bc115d318 Merge "Sync up with Parsoid citeParserTests.txt" 2018-08-21 14:09:19 +00:00
Translation updater bot 42f5c27b75 Localisation updates from https://translatewiki.net.
Change-Id: I486fbd7709258152b95acffd1325e0a261a4d743
2018-08-19 22:38:54 +02:00
Arlo Breault 97f346438c Sync up with Parsoid citeParserTests.txt
This now aligns with Parsoid commit 129d71f5d6eab8c87a0e6591fcad4ad5e55b8da2

Change-Id: If2f540f0adf317eaa3cac7d0413c6bde8adc58e7
2018-08-17 15:45:23 -04:00
Translation updater bot 4763e3dfd2 Localisation updates from https://translatewiki.net.
Change-Id: I65652c293084b1b43d53350b53f0c43d9a86aec9
2018-08-16 22:28:30 +02:00
Translation updater bot b7766532b7 Localisation updates from https://translatewiki.net.
Change-Id: I86e27c5d171bdec3f032e87c2b27b606c34e03bb
2018-08-15 22:18:22 +02:00
James D. Forrester a33f107079 VE: Make the OOUI citation icons available
This allows on-wiki use to be migrated to the standard icons rather than
in-repo ones, so that they can (later) be removed.

Change-Id: I19bec075c77396f163977962bbe1afb69a231c1e
2018-08-14 11:55:44 -07:00
Translation updater bot 627a674b99 Localisation updates from https://translatewiki.net.
Change-Id: I54d1f21c7d40edde19dbb76d21a22f88d45cc313
2018-08-10 22:18:08 +02:00
Translation updater bot 295d0f550b Localisation updates from https://translatewiki.net.
Change-Id: Id2059835f60d164e0ba24b50d1c5d14c5441b3fe
2018-08-09 22:23:30 +02:00
Translation updater bot 0b2f373c88 Localisation updates from https://translatewiki.net.
Change-Id: I49f20ed6cc83cd6e16d1d572acf680c19dad799a
2018-08-08 22:13:25 +02:00
Translation updater bot d859194323 Localisation updates from https://translatewiki.net.
Change-Id: Ib6a4285382bacd805602dae4e5154f3394a7abf3
2018-08-07 22:31:27 +02:00
Translation updater bot d4bad226c3 Localisation updates from https://translatewiki.net.
Change-Id: Ia58b72de17f26786121c6f0b5395aa1752f2ca47
2018-08-06 22:21:23 +02:00
Translation updater bot b4acd6e7fa Localisation updates from https://translatewiki.net.
Change-Id: Idbd2f12f412f0b7695f2d3def51fcaf03897fde7
2018-08-01 22:10:17 +02:00
Derk-Jan Hartman a603ef420f Make references not inherit bold or italic styling.
There is almost never a situation where this is desirable, yet it
happens quite a lot due to table headers etc having bold styling.
It confuses editors and tends to be less readable.

These style rules have been in en.wp:MediaWiki:Common.css for over 10
years or so, so probably a keeper.

Change-Id: If3d12383853a83d8ef14f1ec54c8c381b6c8f6a2
2018-08-01 14:57:37 +02:00
Translation updater bot 49285be063 Localisation updates from https://translatewiki.net.
Change-Id: I223a49833927444b4153b25bb521060fefc7a5bb
2018-07-31 22:32:50 +02:00
jenkins-bot d6dd82d782 Merge "Get document data using updated interface" 2018-07-29 00:32:45 +00:00
Thalia 2c77a9d66a Get document data using updated interface
Depends-On: Iea426be573f07c976b0c142357d5ed83e51db013
Depends-On: I36dad61ed614f007b16d7e9f47fcbfd02347f239
Change-Id: I9d9615f69d40822a72f31f0d86d7997dd0812523
2018-07-29 00:07:28 +00:00
Translation updater bot 6485e4ec2c Localisation updates from https://translatewiki.net.
Change-Id: Ifbb38f66c68561cb2423717199e731691c298a46
2018-07-28 22:29:33 +02:00
Translation updater bot 0be3b3f652 Localisation updates from https://translatewiki.net.
Change-Id: I8145d76cc0c4bc5beeb9bb9442b8920b71f8a972
2018-07-27 22:17:34 +02:00
libraryupgrader 19eb07b84d build: Updating mediawiki/mediawiki-codesniffer to 21.0.0
The following sniffs are failing and were disabled:
* MediaWiki.Commenting.FunctionAnnotations.UnrecognizedAnnotation

Change-Id: I97d67cdecbc4849a5d73a53852a9b8b4b6139d1c
2018-07-27 03:34:41 +00:00
jenkins-bot 10bb5b6157 Merge "Deal with <references/> inside a <ref> in automatic references list" 2018-07-25 16:23:11 +00:00
Timo Tijhof e86ffeba3a Deal with <references/> inside a <ref> in automatic references list
The Cite extension already had a recursion guard around the parsing of
`<references/>`, to prevent another `<ref>` containing `<references/>`
from producing a weirdly nested references list.

When an explicit `<references/>` tag is not included in the page, or
`<ref>` tags exist after the last explicit `<references/>`, the extension
automatically adds a reference list at the end of the page, to make the
references still displayed.

This automatic references list creation was bypassing the recursion
guard, causing the weirdly nested output *and* a PHP Notice from
`mRefs[$group]` becoming undefined. This commit sets the recursion guard
state during that automatic references list creation to prevent this.

Bug: T182929
Change-Id: I87737dcf39a4fc15e119a1090a9c34d6b9633c21
2018-07-25 15:39:20 +00:00
Translation updater bot 2f7e050056 Localisation updates from https://translatewiki.net.
Change-Id: I32191f9f09e790d44138ab44840642e6f86aa558
2018-07-24 22:09:40 +02:00
Translation updater bot 580a008af7 Localisation updates from https://translatewiki.net.
Change-Id: I5600138f4129aa90d751119b729f0bd358d9fb90
2018-07-23 22:31:02 +02:00
Translation updater bot eebab2324c Localisation updates from https://translatewiki.net.
Change-Id: Iad2da337807804cfc72b9e2409dfe9b1f7098092
2018-07-22 22:08:40 +02:00
Translation updater bot 8b8d2ef640 Localisation updates from https://translatewiki.net.
Change-Id: I6c49d27a991b58b220463c583793c8158abb85c7
2018-07-21 22:11:37 +02:00
Translation updater bot d07660a410 Localisation updates from https://translatewiki.net.
Change-Id: Ic23ea75fe75a3e64a113a7fd1007865d92ef77d6
2018-07-19 22:30:23 +02:00
Translation updater bot 1851e261ea Localisation updates from https://translatewiki.net.
Change-Id: I46dc02571083f2abb636635ba019a8328920295f
2018-07-18 22:12:25 +02:00
Translation updater bot e48b325bc4 Localisation updates from https://translatewiki.net.
Change-Id: I08521fe1f0b95434f0114fcabdb40438818aafc6
2018-07-16 22:19:50 +02:00