Commit graph

1950 commits

Author SHA1 Message Date
Brad Jorsch fe094e7bae Update ustring data tables
normalization-data.lua is updated to Unicode 6.3.0.

upper.lua and lower.lua are updated to match HHVM 3.12.1's mb_strtoupper
and mb_strtolower. I don't know what version of Unicode that might be,
but it seems old.

Bug: T86096
Change-Id: I1a0c8be2756f86db5f36dd67319a1f79aea98b3e
2017-01-21 03:26:27 +00:00
Antoine Musso 1cf6339a1b test: change interwiki to a meaningful name
When investigating a test failure on T155600 I found the title
'scribuntotitletest:Module:TestFramework' to be rather obscure.  Had to
browse the code to findout 'scribuntotitletest' is an interwiki prefix.

Update TitleLibraryTest php/lua and change the interwiki prefix to the
more meaningful 'interwikiprefix'.

Bug: T155600
Change-Id: Iec63734c82b0835a7f2444ea9af35617876831d5
2017-01-19 09:48:55 +01:00
Translation updater bot edf1fea5f4 Localisation updates from https://translatewiki.net.
Change-Id: I5e978fadcdb0f6feddc83c2476fb8fbfcaf3e35b
2017-01-16 14:29:50 +01:00
Umherirrender 1d5355f190 Remove entry from ExtensionMessagesFiles
Scribunto.i18n.php is not part of this repo

Change-Id: Id016f163fcebf8f94197968c45c2189a25cb7c2e
2017-01-12 21:47:57 +01:00
Translation updater bot 96820f1c7b Localisation updates from https://translatewiki.net.
Change-Id: I0e92ec6fe2666061071de5273a5a2562e52d0668
2017-01-11 23:18:41 +01:00
Translation updater bot bf2ebc0b75 Localisation updates from https://translatewiki.net.
Change-Id: I4e1c182110bf2e773011ebf02ce349ccb5002cc6
2017-01-07 22:13:37 +01:00
Translation updater bot b083356eee Localisation updates from https://translatewiki.net.
Change-Id: I7846b782ed0ffde8897845dc835db7119b87a2c8
2017-01-06 23:12:53 +01:00
Translation updater bot fdc5d96de4 Localisation updates from https://translatewiki.net.
Change-Id: I008c7dab115a59fc450a310063c85fb410a2a1e1
2017-01-05 23:48:31 +01:00
Translation updater bot 45bbfcec4f Localisation updates from https://translatewiki.net.
Change-Id: Ibdc3b948df691120ca5915459d84aab89cbce43a
2017-01-01 10:10:08 +01:00
Translation updater bot a30e9cec04 Localisation updates from https://translatewiki.net.
Change-Id: I142986279b00d8a8cdfb9f3b7f8dd32298e4be4d
2016-12-26 22:41:01 +01:00
Translation updater bot e11080f680 Localisation updates from https://translatewiki.net.
Change-Id: Ibfc991e31e185d13cd477f81b2458a902c46a8fc
2016-12-25 22:19:40 +01:00
Translation updater bot af5d947cb3 Localisation updates from https://translatewiki.net.
Change-Id: I015441a17bec56c0652e0e213e27ad550cf3b05b
2016-12-24 22:39:48 +01:00
jenkins-bot 24e5ce2a14 Merge "Adding i18n for the Module tab" 2016-12-23 21:30:56 +00:00
Base 212325d8d3 Adding i18n for the Module tab
Adding i18n for nstab-module (tab) and tooltip-ca-nstab-module (tab's hovertext) messages

Change-Id: I8263b632f54b5caa22d412cde397a1d8dd96b2fb
2016-12-23 19:56:55 +00:00
Translation updater bot de4cb23e6f Localisation updates from https://translatewiki.net.
Change-Id: I783b3d382d871015a5a2c28d12358b469e039804
2016-12-22 22:57:48 +01:00
jenkins-bot ae677fbc0d Merge "Ustring: Let gcodepoint work with moderately long strings" 2016-12-16 00:42:02 +00:00
Paladox 4642a06887 Changing jshint configuation
Change-Id: I1f95f52199ae21c6c123fe4ec01d4bdacc7dfda2
2016-12-14 23:29:41 +00:00
jenkins-bot 83e173625c Merge "Update for API error i18n" 2016-12-07 09:01:20 +00:00
Translation updater bot 7ac4c1efa8 Localisation updates from https://translatewiki.net.
Change-Id: Iae671c6500b8cac85245d12caf0a0e70c321cd1c
2016-12-05 22:51:43 +01:00
Translation updater bot 3d3c58d955 Localisation updates from https://translatewiki.net.
Change-Id: I7c83916865aaf4ca3d51905a49d0e620c28b7a7a
2016-11-28 22:31:24 +01:00
Translation updater bot 9cd173c59a Localisation updates from https://translatewiki.net.
Change-Id: I39f421b07f70236c372ca7da00f20e507c765aa9
2016-11-25 22:53:57 +01:00
Amire80 de6645b46c Add Russian magic word as backwards compatibility for Ukrainian
Change-Id: Idd2f2b5150d9bbfc5cba1d87ed2d7c1aa9a62312
2016-11-24 14:54:09 +02:00
Translation updater bot 93dcde2188 Localisation updates from https://translatewiki.net.
Change-Id: Ifc898a9deb76cc2c8f30ec7a9f3560a23d107666
2016-11-22 23:27:51 +01:00
Translation updater bot fe8eadfaab Localisation updates from https://translatewiki.net.
Change-Id: If3ad9de10b93148994f67fca2a9d25ae58e22a58
2016-11-19 22:08:00 +01:00
Brad Jorsch c69e2e5049 Update for API error i18n
See Iae0e2ce3.

Change-Id: I1642929fa48e5354217e0c6de19b4f80b38d94f0
2016-11-14 12:48:25 -05:00
Umherirrender eb8699aef6 Expand .gitignore for more editors
List is from mediawiki/core

Change-Id: Ied75b1fe7075832b90492d3f5d50e421a1b58e94
2016-11-13 13:22:31 +01:00
Translation updater bot 9ba9a6c22c Localisation updates from https://translatewiki.net.
Change-Id: If4ed8f60e3804a63a3c9d9973860c11e33bd0a94
2016-11-10 23:34:57 +01:00
Translation updater bot 3e42dcde22 Localisation updates from https://translatewiki.net.
Change-Id: Ief5300ac87826c33d51ada2b222ccc6a98e436d4
2016-11-08 22:48:49 +01:00
Translation updater bot 539daba295 Localisation updates from https://translatewiki.net.
Change-Id: I329882af3b95e958cd86bc4c0cb4dc9b8bc302ad
2016-11-01 22:49:44 +01:00
Translation updater bot 3f8fabcbe4 Localisation updates from https://translatewiki.net.
Change-Id: Id0ba702c6c9c4edc0152bae16347ab0c6626af2d
2016-10-27 23:21:39 +02:00
Chad Horohoe a665621745 Whoops, track not trace
Change-Id: Icac94f6f02228090f3326685890a521b51e8305a
2016-10-24 17:03:31 -07:00
Chad Horohoe 73020ea433 Swapping defaultbranch for trace
The former is a maintenance nightmare when branching.

Bug:T146293
Change-Id: I8832a2b8df6f206fd114521ab97099abcd64e697
2016-10-24 16:38:19 -07:00
Translation updater bot 3f136c7a20 Localisation updates from https://translatewiki.net.
Change-Id: I30e64f5f52c4de3ded3e97a34040a47282910ced
2016-10-21 22:38:01 +02:00
Translation updater bot 519686407f Localisation updates from https://translatewiki.net.
Change-Id: Ibf39d245b5744e1cb05edea7dcd5a0348afe4ec5
2016-10-16 22:44:08 +02:00
Kunal Mehta edb1b51f8b Use EditFilterMergedContent hook
Bug: T147565
Change-Id: I37bc43392ffa950e230fbff6a902c061ca04b970
Depends-On: I1f0e463841298b8c59ed8bd898c8a4661c5e3aa4
2016-10-15 06:28:22 +00:00
Translation updater bot d8df7afdd8 Localisation updates from https://translatewiki.net.
Change-Id: Id96b1b44b6ca4361be1ae549adcf103690074430
2016-10-13 22:52:54 +02:00
Brad Jorsch db07787390 Cleanup backwards-compatibility code
https://www.mediawiki.org/wiki/Extension:Scribunto says that master
requires 1.25+, so let's remove checks for stuff that was added before
that.

* PPFrame::getTTL() was in 1.24.
* PPFrame::setTTL() was in 1.24.
* PPFrame::isVolatile() was in 1.24.
* Parser::fetchCurrentRevisionOfTitle() was in 1.24.
* ObjectCache::getLocalServerInstance() was added in 1.27, so restore the call to ObjectCache::newAccelerator() as BC.

This also removes BC with the php-luasandbox extension older than 1.6, which
was released before MediaWiki 1.22.

Bug: T148012
Change-Id: I36e37f3b65d0f167e1d28b00e0842d9721feee31
2016-10-13 11:07:44 -04:00
jenkins-bot ba5a76adb5 Merge "Clean up ObjectCache calls" 2016-10-11 21:45:33 +00:00
Aaron Schulz 3660ec17ba Clean up ObjectCache calls
Change-Id: I95b2d4d0f94a2e7f42372615ea9c612845502b30
2016-10-11 14:06:38 -07:00
Translation updater bot 895a3bc1e1 Localisation updates from https://translatewiki.net.
Change-Id: Idd9ca852e457e2e121682c6662ef9b4db45339d9
2016-10-11 22:48:47 +02:00
Brad Jorsch 629f11d0dd Fix pure-Lua ustring and empty patterns
An empty pattern isn't "safe" since it could match in between the
bytes of a UTF-8 character.

Also, it turns out there's a bug in PHP <5.6.9 preg_replace() that we
need to work around too.

Change-Id: I282e5909e4663461d60c5386693db182de2fd44c
2016-10-05 14:32:27 -04:00
jenkins-bot c48bda0698 Merge "Add handling for PCRE errors in ustringGsub" 2016-10-05 18:15:10 +00:00
Translation updater bot c922051e4c Localisation updates from https://translatewiki.net.
Change-Id: I0e883b5c5f60d6a1f2a67cffbd9e7084514af10b
2016-10-02 10:41:24 +02:00
Translation updater bot 902e636f4d Localisation updates from https://translatewiki.net.
Change-Id: I28689acec3ecab0ef7a26f0e19686fc857dba522
2016-09-28 22:26:56 +02:00
Brad Jorsch 7d676c3bd2 Specify license and add COPYING file
Bug: T123943
Bug: T128586
Change-Id: I5cb16829bb8a4debe4b0e6ca7d891a0c98591f9a
2016-09-16 01:38:15 +00:00
jenkins-bot 32b91bb6f7 Merge "Use ParserOutput::addTrackingCategory()" 2016-09-14 19:47:05 +00:00
Kunal Mehta 44ccde4861 Use ParserOutput::addTrackingCategory()
Change-Id: I2989df0e689df69a0c9cf2ec6001a568fe4f635d
2016-09-14 12:34:21 -07:00
jenkins-bot cd32961367 Merge "Improve validation of ScribuntoContent" 2016-09-14 19:27:29 +00:00
Kunal Mehta 48748a6046 Improve validation of ScribuntoContent
Implement Content::prepareSave() to ensure that any content
directly passed to WikiPage::doEditContent() that doesn't run edit
filters will still be validated. We have to use prepareSave() instead of
Content::isValid() because validation depends upon the current Title.

Create a ScribuntoContent::validate() convenience function to hold the
logic for that and add a todo to use it in the EditFilterMerged hook.

Also, remove a parser test that depended upon being able to save invalid
modules directly, as what it is testing is no longer possible (unless it
pre-dates making valid syntax a requirement).

Bug: T145548
Change-Id: Ie57eff36100963f02899d669df7375577f7375e1
2016-09-14 11:50:07 -07:00
Kunal Mehta b21cecbac1 ApiScribuntoConsole: Don't use $wgUser
Change-Id: I41d9b0961e98d7836e8d5e8236ec2503f30713b1
2016-09-13 17:11:11 -07:00