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
Amir E. Aharoni
4d479d0bc5
Remove explicit direction: ltr
...
It's better to handle it in CodeEditor:
Ia7d6958a10481c39abb1406b67210cac998818e7
Change-Id: Ieb695bc8c85c07fd01f02bccbc94c6ab6b8bb579
2013-08-24 11:23:03 +03:00
Brad Jorsch
349fbb2daa
Fix possible fatal error
...
If an invalid title is entered into MediaWiki:Scribunto-doc-page-name,
it could cause "attempt to call function on a non-object" fatal errors
all over the place. Let's avoid that.
Bug: 52404
Change-Id: Id5c6e7cd01b13547095553358310605dd02e90aa
2013-08-22 10:16:06 -04:00
Translation updater bot
94fd595b7d
Localisation updates from http://translatewiki.net .
...
Change-Id: I24ae6aa517b9e1851905625b2acd27b115d4b5d4
2013-08-17 19:24:19 +00:00
Brad Jorsch
5a9b7cc5a6
More-compatible Linux standalone binaries
...
The binaries currently provided were compiled against glibc 2.11+, so
people using CentOS 5 (which has glibc 2.5) are not able to use them.
The binaries in this patch were compiled in VMs installed with CentOS
5.9, and so should work for more people; at a glance, it looks like
glibc 2.3 or later will probably work now.
Bug: 51333
Change-Id: Iac1f2373bbc0bbca8783c82c09eff51ffd5e3761
2013-08-13 01:32:50 +00:00
Translation updater bot
ec643ee46e
Localisation updates from http://translatewiki.net .
...
Change-Id: I1788b206af1de47fa053c2b18f91573ab4c06969
2013-08-11 19:49:08 +00:00
Translation updater bot
391e77b96f
Localisation updates from http://translatewiki.net .
...
Change-Id: I03735c35c011fa6b69bcac1ac5b5853201b269ab
2013-08-09 19:45:19 +00:00
Translation updater bot
1d0b8c48e6
Localisation updates from http://translatewiki.net .
...
Change-Id: If76b93a9bbfc7b48e93bf04230c40f82125e5202
2013-08-04 18:55:32 +00:00
Translation updater bot
7a287da2cb
Localisation updates from http://translatewiki.net .
...
Change-Id: I39a3f6b1c11574c3f840e9deed24babd0d87016f
2013-08-03 19:45:09 +00:00
Translation updater bot
0fcee818c1
Localisation updates from http://translatewiki.net .
...
Change-Id: I3a0084eb8c327ae5eed79fd61f9218afd65325b3
2013-08-02 21:37:58 +00:00
Translation updater bot
d5fe63dec6
Localisation updates from http://translatewiki.net .
...
Change-Id: I926390385bf74f648a8ddb0b5e0ea24f943107e8
2013-07-31 19:59:47 +00:00
Translation updater bot
2215cae9ad
Localisation updates from http://translatewiki.net .
...
Change-Id: I7c2727718cc4f90bab820eb8bff6e668a5fee35e
2013-07-28 19:13:51 +00:00
Brad Jorsch
d9ba200571
Add mw.logObject
...
People have requested a method to log a table as something more detailed
than just "table", to be able to inspect values while debugging.
Bug: 48173
Change-Id: Ia58cab834e87842927a2a13d153ee32473f74086
2013-07-26 05:15:20 +00:00
Translation updater bot
9824143a82
Localisation updates from http://translatewiki.net .
...
Change-Id: I7cd3d18df96652eb43b9e3ad61c848e5565cceaf
2013-07-25 19:30:50 +00:00
Mark A. Hershberger
e08b2a4524
Update ignores for some emacs tmp files
...
Change-Id: I7ea67b68e701f6b9ef6685d10988af347798cb67
2013-07-25 13:11:50 -04:00