Commit graph

1090 commits

Author SHA1 Message Date
Translation updater bot c460c5a792 Localisation updates from https://translatewiki.net.
Change-Id: Iac6a45d3a67425a94f3fc1e26d638c7688d9ca22
2016-08-07 22:41:22 +02:00
Translation updater bot 1791007870 Localisation updates from https://translatewiki.net.
Change-Id: I4eda6d02a0f3d8fa6db64a275762bcf269067d0e
2016-07-27 22:39:45 +02:00
Translation updater bot 0f82e5a8c6 Localisation updates from https://translatewiki.net.
Change-Id: Iae3b90e8490936ac9ef47f4d15987ba6d11c4bcd
2016-07-26 22:55:53 +02:00
Kunal Mehta 98436e2008 Have ScribuntoContentHandler extend CodeContentHandler
Change-Id: I8d99ba9db7f804e898a74a47d9e4e02cac45e945
2016-07-26 00:38:47 +00:00
Translation updater bot 0c0ae3d681 Localisation updates from https://translatewiki.net.
Change-Id: I9bf5f7b5ba0ca84860b6827ca2b35c8e1084c24f
2016-07-25 22:25:47 +02:00
Translation updater bot b72cca48be Localisation updates from https://translatewiki.net.
Change-Id: Ia12cd7886f8c4c7c4741135805edc3f75a9aaf4f
2016-07-24 22:25:41 +02:00
Reedy 4292de1f08 Add tcy translations for Scribunto namespaces
Bug: T140898
Change-Id: I750ce01d260f087b369e75604e6c61af2d407be1
2016-07-22 19:08:41 +01:00
Translation updater bot bccef9c35e Localisation updates from https://translatewiki.net.
Change-Id: Ie8fe5eb4cf8dcc11c3d0d28e0efc7dc7b5a922d2
2016-07-17 22:30:51 +02:00
Translation updater bot bac88b142f Localisation updates from https://translatewiki.net.
Change-Id: I6e28b7fa45025cff48f3daff36bfdc86dd435dfe
2016-07-15 22:30:59 +02:00
Brad Jorsch ba19a82c06 Add handling for PCRE errors in ustringGsub
Bug: T130823
Change-Id: I6fab71c82ddab92daf6b369cb9857d9892f2d246
2016-07-15 15:43:58 -04:00
Brad Jorsch d643f40de9 Ustring: Let gcodepoint work with moderately long strings
For the PHP implementation, return the codepoints as a table instead of
multiple return values that get table-ified in Lua, to avoid hitting
too-many-values stack limits.

For the pure-Lua version, inline most of ustring.codepoint instead of
calling it to avoid what's effectively "{ unpack( stuff ) }".

Bug: T118687
Change-Id: I105f388cc23ab55d4124739700ef89d5354b7dbc
2016-07-15 19:35:58 +00:00
Translation updater bot 35b3cdcb72 Localisation updates from https://translatewiki.net.
Change-Id: Ie3acaab7d38d6d8f23c5d013e2da642e93ded194
2016-07-10 22:23:19 +02:00
Translation updater bot 2e8ea999bb Localisation updates from https://translatewiki.net.
Change-Id: I51aef74361e898289f10777036c9dd5d06b547fd
2016-07-02 22:54:23 +02:00
Translation updater bot f3eefb406f Localisation updates from https://translatewiki.net.
Change-Id: I920264bb1f44c841d266bd2fc750fdf269c76010
2016-07-01 23:27:02 +02:00
Translation updater bot 74c16df201 Localisation updates from https://translatewiki.net.
Change-Id: Ifd9868d877b8d56531a0b3b39b5ebb39c83b5001
2016-06-24 11:16:36 +02:00
Translation updater bot 2078ff0daf Localisation updates from https://translatewiki.net.
Change-Id: I037dfb4b7f9421d60ab7e22b02583e72b0525c86
2016-06-21 23:31:50 +02:00
Kunal Mehta 9275cc14fb Expose ParserOutput::addWarning() to modules
Bug: T137900
Change-Id: Ibdd2506f4ab27f531ae49187bc57ba0d5c56b7cc
2016-06-16 15:48:53 -07:00
Raymond 1855331518 Add namespace translation for gd
Change-Id: I6515008dfc9b055cae23580cef19789999fe6a5e
Source: gd:user:GunChleoc
2016-06-16 17:16:24 +02:00
Translation updater bot f1aa381dad Localisation updates from https://translatewiki.net.
Change-Id: I52a23b751c3df70c8f3caf216928a18f952615b5
2016-06-15 22:38:33 +02:00
Translation updater bot 28364d2836 Localisation updates from https://translatewiki.net.
Change-Id: I39448d5857221db11045ef1a764c48b00f63edeb
2016-06-11 22:23:38 +02:00
Jackmcbarn f4501ccd22 Only use mw.ustring when necessary
mw.ustring is really really slow. I've discovered that in a lot of modules
on enwiki, upwards of 2/3 of the total runtime gets used when mw.html
calls mw.ustring.gsub. This change checks whether any Unicode characters
are present, and if not, calls string.gsub instead.

Change-Id: Ia50061584be3901ae7428354c449236225c318db
2016-05-30 18:38:32 +00:00
Kunal Mehta 08a39470c0 build: Updating mediawiki/mediawiki-codesniffer to 0.7.2
Also added "composer fix" command.

Change-Id: I8da17b799929b7caed0e0a89014c6ab15c39f0c6
2016-05-27 18:24:16 -07:00
Brad Jorsch c9de00aeff SECURITY: Don't escape strip markers when escaping attributes in mw.html
Core strip markers were changed in T110143 to include characters that
are normally encoded in attributes, however we want to pass them through
here so they can be unstripped correctly in the output wikitext.

This fix makes "Strip markers in CSS" parser test pass again.

Bug: T110143
Bug: T135961
Change-Id: I1353931a53c668d8a453dfa2300a99f59fdb01c5
2016-05-22 21:40:32 -04:00
Translation updater bot 05e8a08b66 Localisation updates from https://translatewiki.net.
Change-Id: I473d9948aa2c7f460df1ceace59467433a76126a
2016-05-22 22:27:35 +02:00
Translation updater bot d0b9bc069f Localisation updates from https://translatewiki.net.
Change-Id: I98f610ae344da3de21275765c2388aa85d90a9eb
2016-05-21 22:23:50 +02:00
Brad Jorsch aa4d72e3ff Fix uncontroversial phpcs errors
The following continue to be ignored:
* Generic.Arrays.DisallowLongArraySyntax.Found, because I'm not sure
  Scribunto is ready to abandon old version support in master.
* MediaWiki.ControlStructures.AssignmentInControlStructures.AssignmentInControlStructures,
  because it's overly strict for its purpose.

Squiz.Classes.ValidClassName.NotCamelCaps isn't ignored globally, we
just ignore it explicitly every place it's needed.

Change-Id: I307668da6ef7b3e23da19b1fd1e08914239b99b3
2016-05-18 16:31:28 -04:00
Ricordisamoa 7ec8675e85 Add mediawiki/mediawiki-codesniffer
Failing rules are disabled for now.

Change-Id: I9c4cbd7865a0793703b3ca39045087c5ab691bd1
2016-05-18 15:16:32 +02:00
jenkins-bot c753698eaa Merge "Provide a standard way to get the target of a redirect page" 2016-05-12 19:32:17 +00:00
Sébastien Santoro 5c1a9c9703 Localisation in Breton language
Translation authors:

  - Ash Crow
  - VIGNERON

Bug: T134734
Change-Id: I0e6f244b0dc15df3d3e1ae090f19f6678f3bc21f
2016-05-09 09:25:35 +00:00
Translation updater bot da0ac79906 Localisation updates from https://translatewiki.net.
Change-Id: I3090be34eea249be3bdbf256f938d3d7dfda0bbd
2016-05-01 23:20:19 +02:00
Translation updater bot 60422dfd25 Localisation updates from https://translatewiki.net.
Change-Id: I0e9f3033db37e0412e7db13b0f585227ef31466a
2016-04-26 22:31:12 +02:00
Translation updater bot 811cd06ea2 Localisation updates from https://translatewiki.net.
Change-Id: Ic3065cde5c1b072d4fa74d323cd933c72376aa83
2016-04-24 22:36:06 +02:00
Raymond c93ff0c51e Add namespace translation for diq
https://translatewiki.net/wiki/Thread:Translating_talk:MediaWiki/Namespace_translation_for_diqwiki

Change-Id: I10e5188106d0a1a8236db0077e7d2e58b250f363
2016-04-22 10:14:39 +02:00
Translation updater bot 3b982a1c6f Localisation updates from https://translatewiki.net.
Change-Id: I9a439cb12c5cb0dc6d9f0ceb460ff7c351682409
2016-04-20 23:14:31 +02:00
Translation updater bot ea5728c063 Localisation updates from https://translatewiki.net.
Change-Id: I4415ed38a7e8d5803782cf4588fff2a5dbd1a052
2016-04-19 22:22:22 +02:00
Translation updater bot 7774414e88 Localisation updates from https://translatewiki.net.
Change-Id: Ie727f46cab00ccc235c762340cc644218dc9af6a
2016-04-16 23:14:43 +02:00
Translation updater bot 8279e718c7 Localisation updates from https://translatewiki.net.
Change-Id: I5490f815ccf4d7dfc0b81986139147e3acba868d
2016-04-11 22:39:17 +02:00
Brad Jorsch 507827aaf5 Avoid fataling Special:Version if LuaSandbox is enabled without the PHP extension
Such a configuration is completely broken, but it's easy enough to
detect and avoid here.

Bug: T131910
Change-Id: I0bf108ec191a59f5506c0cdab00f3e5e68158ed5
2016-04-06 11:20:20 -04:00
Brad Jorsch b3da8a698d Add toNFKC and toNFKD to mw.ustring
This also makes some updates to make-normalization-table.php to handle
the move of UtfNormal to a separate library.

Bug: T126427
Change-Id: Id4985c3ca441cf92f08ba1f1af85c762ba43d7d2
2016-04-02 15:22:42 +00:00
Sorawee Porncharoenwase 22153435a2 Change the translation of th namespace
Change the translation of "Module" from "เกณฑ์สำหรับวัด" which is totally wrong and meaningless
to "โมดูล" which is the correct one. The consensus to modify this can be found at
https://th.wikipedia.org/wiki/วิกิพีเดีย:ศาลาชุมชน/อภิปราย/เปลี่ยนชื่อเนมสเปซ_module

This commit corrects [[gerrit:243617]].

Change-Id: I1eeb295c25a34c2852bc7c71921534b578b73e35
2016-04-02 05:54:45 -04:00
Translation updater bot 74dd520ab2 Localisation updates from https://translatewiki.net.
Change-Id: I3f4eab45dd07d366cdb547c5e2ffa723c5836ce4
2016-04-01 22:28:34 +02:00
jenkins-bot c812a5418b Merge "Modify Scribunto namespaces for Aragonese" 2016-03-28 02:27:33 +00:00
maurelio fa21479147 Modify Scribunto namespaces for Aragonese
Bug: T131025
Change-Id: I7c2baeca08fd8cb95c0eff281b0c3c39f784fb46
2016-03-28 02:17:42 +00:00
Translation updater bot 55e2eb071e Localisation updates from https://translatewiki.net.
Change-Id: I412b23aee7106d013af4cadb8e4f3c693d1b2911
2016-03-27 21:22:59 +02:00
jenkins-bot 8a898a6bbd Merge "Update LanguageLibraryTests per changes in core" 2016-03-21 12:53:54 +00:00
aude 399b94fa24 Update LanguageLibraryTests per changes in core
appears the test depends on kk-cyrl translation of
limitreport-cputime-value, which has changed:

https://gerrit.wikimedia.org/r/#/c/278597/1/languages/i18n/kk-cyrl.json

Change-Id: Iedf847b7dd0dde094ce0c1c2af4f44b71b9c477f
2016-03-20 18:02:22 -04:00
Translation updater bot 4daf25e4c1 Localisation updates from https://translatewiki.net.
Change-Id: I4ab9b1160a1dafbfe3dd4b5eeb62ca6b95156a4a
2016-03-20 22:41:51 +01:00
Translation updater bot 6708409f21 Localisation updates from https://translatewiki.net.
Change-Id: Ibe17e80f993d0d532e1bcc482287d4a43548cc31
2016-03-17 23:22:07 +01:00
Sébastien Santoro 5e3c86bae5 Namespace localisation for Sanskrit
Translation author: Nehal Dave (NehalDaveND)

Bug: T101634
Change-Id: I93e44daa8980bc5f75e2a0577a1ccfa6dd758d34
2016-03-17 15:06:20 +00:00
Jackmcbarn b82ed4aa7d Restrict cached results to their original frame
When caching results from frame:preprocess and frame:expandTemplate,
restrict the scope of the cache to the frame object that was used. This
allows the integrity of the empty-frame expansion cache to be maintained
while also allowing parent frame access. This change is the equivalent of
I621e9075 in core.

Change-Id: Iae4c00e7e19ba12cfdaac135be16c991d9d0cea1
2016-03-09 11:27:23 -05:00