Commit graph

419 commits

Author SHA1 Message Date
Translation updater bot 339d888c9e Localisation updates from https://translatewiki.net.
Change-Id: I8eab8fe0b622b80aa0a1379a94ea53c4087c56f9
2013-12-10 20:44:08 +00:00
Brad Jorsch fcb6d9ff92 Add access to Language::fetchLanguageNames
Apparently this is useful on Commons, where they would like to iterate
over all language names in some of their templates.

Bug: 47833
Change-Id: I6e3291bedc72da6630c485ea9bf381d8d2f5453a
2013-12-10 12:22:09 -05:00
Brad Jorsch 0763e22292 Expose PPFrame::getTitle to Lua
This field already exists in PHP with exactly the content requested in
bug 47089, so we may as well expose it on the frame object.

Bug: 47089
Change-Id: I672820589f6ebc7c4daad29b5eb156733a5bc5cc
2013-12-10 04:26:03 +00:00
jenkins-bot 7cab36cea5 Merge "Tracking category for modules saved with errors" 2013-12-10 00:12:35 +00:00
Brad Jorsch 628c8b60ca Tracking category for modules saved with errors
When the "Allow saving code with errors" checkbox is used, an
automatically-added tracking category would be useful. And we may as
well also include the error message that would have been displayed when
trying to save without that checkbox checked.

Bug: 39605
Change-Id: Ideb72a58887fb1187b9adba80b7245cdca070ce4
2013-12-09 12:00:16 -05:00
Marius Hoch 99e69490d8 Fix a PHP Notice in Scribunto_LuaEngine
Change-Id: Ie09ec0a415c8ac72ede1ae77ba2257bbe6062505
2013-12-09 01:40:01 +01:00
Translation updater bot 6a1b0d5765 Localisation updates from https://translatewiki.net.
Change-Id: If26ffbd6e5e2696e0d378cb1901f1bcc91c27540
2013-12-08 20:27:28 +00:00
Translation updater bot dbbf1803c6 Localisation updates from https://translatewiki.net.
Change-Id: I1d60e9a2d12c44f0785ff11f7b9960f0f7696f31
2013-12-07 01:48:39 +00:00
Translation updater bot 1d65fd705b Localisation updates from https://translatewiki.net.
Change-Id: I7d4527b810069e7e21adea63bf9cf2b3d084c8e6
2013-11-24 20:36:03 +00:00
Translation updater bot e2c24b043b Localisation updates from https://translatewiki.net.
Change-Id: Ic27d05bbae53dc06c449ec1f3ea228196c0c6a6c
2013-11-21 20:40:17 +00:00
Tomasz W. Kozlowski 336116f9cf (bug 54951) Add Malayalam aliases for 828 and 829
This patch adds Malayalam language aliases for NS
828 and 829 per bug 54951 comment 7 (by praveenp)
and Santhosh's suggestion in bug 54951 comment 9.

Bug: 54951
Change-Id: I933f81782f3482334c9a8d820d4ea2b1120f5c59
2013-11-15 18:02:51 +01:00
Ebrahim Byagowi 6126644d92 Add CKB namespace aliases
Change-Id: I12aa46856c5ec43ddf5bf876dfe5fa8d1eaee3a2
2013-11-11 17:43:23 +00:00
jenkins-bot a18a762fd7 Merge "Add mw.isSubsting()" 2013-11-06 18:26:56 +00:00
Brad Jorsch 8872dd3eda Update phpunit @group annotations
Some tests weren't being run as they should have been when phpunit's
--group option was used.

Change-Id: I29ff9a04322b91cc085247e5663dfc7bc67d3439
2013-11-01 11:56:24 -04:00
Brad Jorsch d4331f0c96 Add mw.isSubsting()
It's already possible to detect whether the current template is being
substituted via ParserFunctions (see [[en:Template:Ifsubst]]), and a
similar trick works with frame:preprocess. So we may as well provide the
flag directly.

Bug: 47828
Change-Id: Id06d27c6283ee589a8830b78c04e56978e0ac6da
2013-10-31 22:05:00 -04:00
jenkins-bot 47fc1462c4 Merge "Properly handle spaces/underscores in mw.site.namespaces" 2013-10-31 19:36:03 +00:00
Brad Jorsch ec2f67c7ea Regularize whitespace handling in mw.title
Specifically:
* String conversion in non-URL contexts (e.g. .prefixedText) uses spaces
  instead of underscores.
* Setting .fragment now applies the same transformations that are done
  (in PHP) by mw.title.new.

Bug: 56217
Change-Id: I12e354636bcde3327864088175fb4de61aecc81a
2013-10-31 11:54:26 -04:00
Brad Jorsch f31aa37adc Properly handle spaces/underscores in mw.site.namespaces
The PHP call that makes mw.site.namespaces work case-insensitively
doesn't handle non-standard spaces/underscores. So standardize them
before the call.

Bug: 56216
Change-Id: I4758478b126858fb581614f64eb15472f42fef51
2013-10-31 11:09:16 -04:00
Translation updater bot b34573ba74 Localisation updates from http://translatewiki.net.
Change-Id: I66d39d1e2b5156c1ce52ada4273dd2f37ca75c35
2013-10-28 20:12:18 +00:00
Translation updater bot afc1a85c4e Localisation updates from http://translatewiki.net.
Change-Id: Iacbad8e63e409b917c61e84728dfeaffa3fc24d3
2013-10-25 18:59:08 +00:00
Translation updater bot 2fd69a8853 Localisation updates from http://translatewiki.net.
Change-Id: I34e16a30c3c66e25683c9ebc5d08c6d0a4027c61
2013-10-24 20:49:40 +00:00
Pavel Selitskas 184a649631 Translate namespaces for [be]
Change-Id: Ia9c52b379eb204d3e2852c795b33a7f7b21ae898
2013-10-23 19:23:02 +03:00
Translation updater bot aab9e691cc Localisation updates from http://translatewiki.net.
Change-Id: I7dd82a0a14ad3d06f614e7a0b0ff6a1120cb7dba
2013-10-21 19:39:39 +00:00
Translation updater bot 20d285d647 Localisation updates from http://translatewiki.net.
Change-Id: I4403892d4edcdc6b2f57e0f2232953a91bb556e0
2013-10-20 21:47:19 +00:00
Translation updater bot bf8501693c Localisation updates from http://translatewiki.net.
Change-Id: I5250dbbe89c2b01351592ac366ab7b76b8be33ce
2013-10-18 19:24:05 +00:00
jenkins-bot 32cc0a2979 Merge "Fix frame:extensionTag when not passed args" 2013-10-11 18:27:38 +00:00
Translation updater bot d86f29ce42 Localisation updates from http://translatewiki.net.
Change-Id: Ia9223f033cdfc20c6d7f315f7b1d8537e2eec302
2013-10-08 00:59:07 +00:00
Brad Jorsch 18f858314a Fix frame:extensionTag when not passed args
Bug: 55436
Change-Id: I82b638e89be1d57c941cc4534dc44944a7389740
2013-10-07 14:43:05 -04:00
This, that and the other fb8c34ecc0 Add namespace names for Malayalam (ml)
Bug: 54951
Change-Id: Icaafd460834425912e6c1bee2a95952a606b831a
2013-10-04 17:35:35 +10:00
Translation updater bot d7a4569de2 Localisation updates from http://translatewiki.net.
Change-Id: I25d772246155ec5111021a8e755f651719b73f9f
2013-10-02 19:50:05 +00:00
jenkins-bot 9ded458c28 Merge "Modules should be in English (while docs are not)" 2013-10-01 16:57:25 +00:00
Translation updater bot c1b7b7a116 Localisation updates from http://translatewiki.net.
Change-Id: I15b1683614b25830482451962337f7258f00e69f
2013-09-29 20:13:34 +00:00
Translation updater bot 6a4e8a2ba7 Namespace names for Macedonian (mk)
Per https://translatewiki.net/wiki/Thread:Support/Module_and_Education_Program_namespace_translations_%284%29

Change-Id: I74424041abcddd8beb7cfe48ce991c112de4e0f2
2013-09-27 09:53:49 +00:00
jenkins-bot 53f699eceb Merge "Improve mw.text.nowiki, part 2" 2013-09-24 22:11:40 +00:00
Translation updater bot df615d3a87 Localisation updates from http://translatewiki.net.
Change-Id: Ice28e0720b29ed1d0b486613bec96808af0c4dd6
2013-09-21 19:40:24 +00:00
Brad Jorsch a0a1b05b74 Improve mw.text.nowiki, part 2
The following are now correctly escaped:
* Blank lines (including those with only tabs)
* ---- at the start of a line

Bug: 53658
Change-Id: Ib000ff4f21f76c310741de89de0e0b66f6450344
2013-09-20 13:17:38 -04:00
Translation updater bot 32bb3e21f2 Localisation updates from http://translatewiki.net.
Change-Id: I17a0479666585c7ab6e2e04e1e5bb7406501db82
2013-09-09 19:27:58 +00:00
Translation updater bot af8c8f6819 Localisation updates from http://translatewiki.net.
Change-Id: I1ff246800c144d13b35a9251a17b9fed3509405d
2013-09-05 20:27:59 +00:00
jenkins-bot ad3110660f Merge "Update ignores for some emacs tmp files" 2013-09-04 15:15:24 +00:00
jenkins-bot 5a3175fce8 Merge "Improve mw.text.nowiki" 2013-09-03 23:43:54 +00:00
Brad Jorsch 29eb0f4ea6 Improve mw.text.nowiki
The following are now correctly escaped:
* Space at the start of a line
* Start-of-line characters after \r
* Magic links such as "RFC 123" with non-space whitespace
* URIs that don't use "://", such as "urn:foo"
* Double-underscore magic words

Bug: 53658
Change-Id: I824417e2937dd27cd1e69bd4e74ab7d21a978c75
2013-09-03 17:36:36 -04:00
Translation updater bot 4516d505a0 Localisation updates from http://translatewiki.net.
Change-Id: I8d75b8ebe1ec2d5583244eb4ccaabc7ebe8c1db4
2013-09-03 20:58:44 +00:00
Translation updater bot 6419a01c5f Localisation updates from http://translatewiki.net.
Change-Id: If9d0c16971cde0466b1f88f6a80ce177d8c5b850
2013-09-02 19:24:33 +00:00
Translation updater bot 7fe87ca005 Localisation updates from http://translatewiki.net.
Change-Id: Ie2afbaf3aeeedf54653fd172b288919b8dd935cb
2013-08-30 19:24:54 +00:00
Mark A. Hershberger 6875792d03 Scribunto should error out sooner if lua isn't executable
Improve error reporting by causing Scribunto to fail earlier if lua
can't be run.

Change-Id: I43fb38c6c3facbd7b65b7ae16f1d23ee72f7a5ff
Bug: 52002
2013-08-30 11:34:19 -04:00
jenkins-bot 99b96d8b14 Merge "Add frontier pattern (%f[set]) to ustring" 2013-08-30 06:22:40 +00:00
Brad Jorsch 8e6e07c75f Handle backtrace where Lua can't guess the function name
Current logic is to display the funciton name if Lua provides us with
one, "main" if it's at the main level, or "?" if it's a C function or a
tail call. But we're not handling if it's a Lua call but Lua can't guess
a name for the function; use "?" for that too.

Change-Id: I938b5e5ca55cf4990dbcbb0db8dd8fc93b03bf15
2013-08-28 11:55:55 -04:00
jenkins-bot 97aede9e14 Merge "Remove explicit direction: ltr" 2013-08-27 19:54:05 +00:00
Translation updater bot c6ef3bcfd3 Localisation updates from http://translatewiki.net.
Change-Id: I1f4bd28932c7334821d23d886fa760b15adad2f4
2013-08-27 19:18:00 +00:00
Translation updater bot 47c2933cfb Localisation updates from http://translatewiki.net.
Change-Id: Ie13cdbe484acc9ec1a0f39cd96612fc341c68264
2013-08-25 20:06:00 +00:00