Commit graph

4705 commits

Author SHA1 Message Date
Translation updater bot 796f09f815 Localisation updates from https://translatewiki.net.
Change-Id: Ie55265921331083b1f93423ddae0e36e72e9adae
2018-09-24 09:17:47 +02:00
Translation updater bot ed369b26a2 Localisation updates from https://translatewiki.net.
Change-Id: Ic06434130e1f0981ab1510242e6fa29d6ecf6b25
2018-09-23 10:26:40 +02:00
Translation updater bot dc0d9647f3 Localisation updates from https://translatewiki.net.
Change-Id: I00ebfa62d02062d3e363aae70615a6896ad3b4b6
2018-09-22 10:03:17 +02:00
James D. Forrester 74fce4b5bf i18n: Drop unnecessary overwrites of en defaults from all languages
* cite_reference_link_key_with_num
  Dropped from: az diq fa is jv ka ksh min ru sr-ec sr-el tl uk ur

* cite_reference_link_prefix
  Dropped from: fa jv min ru sr-ec sr-el tl tmz uk ur

* cite_references_link_prefix
  Dropped from: jv min ru sr-ec sr-el tl uk

* cite_references_link_one
  Dropped from: diq ka kk-cyrl sr-ec sr-el tl uk

* cite_references_link_many
  Dropped from: diq ka kk-cyrl sr-ec sr-el tl tr

* cite_references_link_many_format
  Dropped from: az diq id ka ru sr-ec sr-el tl tr uk

* cite_references_link_many_format_backlink_labels
  Dropped from: diq es jv min scn tl tr

* cite_references_link_many_sep
  Dropped from: az diq is jv ka min ru sr-ec sr-el tl tmz uk

* cite_references_link_many_and
  Dropped from: az diq is jv ka ksh min ru sr-ec sr-el tl tmz uk

The other "magic" messages had no unnecessary over-rides:

* cite_reference_link_suffix
* cite_references_link_suffix
* cite_reference_link
* cite_references_no_link

Change-Id: I83eebfeb5ef5cb44a2971ee53b7484b480e5aba6
2018-09-21 08:54:49 -07:00
Jforrester 3506e03af9 Merge "i18n: Drop unnecessary overwrites of en defaults from pt-br" 2018-09-21 15:53:03 +00:00
Tobias Bengfort ca95ada425 i18n: Drop unnecessary overwrites of en defaults from pt-br
Change-Id: Idcfc5b23fe41dd742d4ebc924e48da17e0657985
2018-09-21 15:25:48 +00:00
Translation updater bot 5ed3d7e3cf Localisation updates from https://translatewiki.net.
Change-Id: I7b8374e0083d8a380964059e93ab166a03bca3a1
2018-09-21 10:34:52 +02:00
Translation updater bot 37421a7868 Localisation updates from https://translatewiki.net.
Change-Id: I169af1fde9b4a756a0047f546872b72533ab4fc9
2018-09-20 09:58:54 +02:00
jenkins-bot 557e311ab4 Merge "Template reflist: Re-render when converting for preview (e.g. visual diff)" 2018-09-19 23:49:12 +00:00
Translation updater bot f1cf01f878 Localisation updates from https://translatewiki.net.
Change-Id: Ic2bf30d4758f1dd51c2cfe9e57058ed9e54f5a7c
2018-09-18 09:52:00 +02:00
Umherirrender 1cc403429d Use tabs in extension.json
Change-Id: I614010709e7e8679a4382bb4f0d534cb32816e05
2018-09-16 11:12:25 +02:00
jenkins-bot 216d85adaf Merge "build: Update linters" 2018-09-13 22:47:59 +00:00
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
Subramanya Sastry 635be2e906 Tweak extension config a bit more
* Move the name property to the top level

Change-Id: Id8730f35e40ad9f01d250f29ef3c2545fd4fd612
2018-08-30 19:00:35 +00:00
Subramanya Sastry bf0a743c2d Document more extension-API related FIXMEs
* Cite-specific code has leaked in html2wt
* Other possible FIXMEs in Cite about generalizing or
  adding new extension API functions.

Change-Id: I30712a3af81edfce0760f4a45ab694c798fb294a
2018-08-29 21:48:43 +00:00
Fomafix b7eed36a09 Start showing warning for deprecated PHP entry point
Change-Id: I88b1c49d1e03b241581fa024bfc9e8f27ad90c73
2018-08-24 18:28:56 +02:00
Subramanya Sastry 62cd9789f2 Tweak extension DOM config for extensibility
* Make the dom part of extension registration / config more general
  to allow for other kinds of dom processors.

* For example, we will probably be letting extensions define DOM
  handlers that lets us take a document's subtree and convert it to
  self-contained top-level document.

Change-Id: I0ddfe3bc677041cedf63e79faa9c5af939953419
2018-08-23 19:39:16 +00:00
Arlo Breault 93371d4dee Support directionality for reference
Ports commit 1ca27aa from extensions/Cite

Bug: T198221
Depends-On: Iaf84966e37cea730c9eca07c19a555971ffeadf3
Change-Id: I28c8efa6fd5cb06220af4399aa26f3d01b8d3761
2018-08-23 14:36:04 -04: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
Arlo Breault a118efbbd7 Ensure the ref.cachedHtml isn't being regenerated needlessly
Change-Id: If319ad282ed7dd437dce400417e4555291a2dc38
2018-08-16 19:34:04 -04:00
Arlo Breault 9928fe4044 Separate which source of data attributes are used in extractRefFromNode
Follow up to 53ae5aa

It's somewhat unclear which attributes belong on the representation for
the fragment, so don't rely on them unnecessarily.

Change-Id: Ib5ba0110291f0c02bd703482813b9567dab63cd6
2018-08-16 19:33:22 -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
Subramanya Sastry 8fa5bc3376 Enable extensions to distinguish between <ext /> and <ext></ext>
* This now lets Cite distinguish between <ref></ref> and <ref />
  Seen in improvement in blacklisted output of a parser test.

Bug: T130224
Change-Id: If9511498fe8f6d091f8a725b51810eb452db95de
2018-08-14 21:47:43 +00: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
Subramanya Sastry 1a2b7e796f Remove Cite-specific flag from parser pipeline options
* Use a generic extTagOpts that is opaque to the core parser
  but the individual extension can inspect.

Change-Id: I4d1331604828d583b820084e00af68232ec767f8
2018-08-09 02:00:03 +00:00