Commit graph

719 commits

Author SHA1 Message Date
Translation updater bot 6608c06c0d Localisation updates from https://translatewiki.net.
Change-Id: I2efe34346fcdd58d28584df8731a62c5c7a05421
2014-11-30 22:14:41 +01:00
Translation updater bot 8ad61e7efc Localisation updates from https://translatewiki.net.
Change-Id: I10c128e22b939621a505927e07d5e306914eb33b
2014-11-25 21:50:58 +01:00
Translation updater bot 9148c79baa Localisation updates from https://translatewiki.net.
Change-Id: I08ca1d010923e49a0682ddaaf5495dd6534f0aaa
2014-11-22 22:42:18 +01:00
jenkins-bot 398713b1a7 Merge "Use Parser::SFH_OBJECT_ARGS class const" 2014-11-18 20:30:06 +00:00
umherirrender 30c38929d2 Use Parser::SFH_OBJECT_ARGS class const
Instead of the global const

Change-Id: Iaf557f0f56964c8b545a4cd1582a852c12183def
2014-11-18 20:56:33 +01:00
Translation updater bot a4b812327c Localisation updates from https://translatewiki.net.
Change-Id: I7928a64f94f501d1703b608831ebd25d4dc070e3
2014-11-16 22:52:35 +01:00
Thiemo Mättig 55fe0b69d0 Add missing visibility keywords everywhere
Change-Id: I270d1dd9b6545e15398c2f8b8e9ae533844cc998
2014-11-14 10:10:23 +01:00
Thiemo Mättig 61af67b819 Fix visibility of setUp/tearDown
Required for Idf44d31.

Change-Id: If6d270549290bed2d1c7617da0fedbd385f3e96c
2014-11-12 12:28:58 +01:00
Translation updater bot 43996d8a95 Localisation updates from https://translatewiki.net.
Change-Id: Id117704e95a71ae9e99d605e383cd7c20af6dcbe
2014-11-09 21:53:39 +01:00
Translation updater bot d6938a0b9e Localisation updates from https://translatewiki.net.
Change-Id: I9ae3f3b962b50b99109c4fbacdc7ec44e61dded0
2014-11-06 21:53:34 +01:00
Translation updater bot 4d82ab4796 Localisation updates from https://translatewiki.net.
Change-Id: I22cafc5818213339dfe7c2e593f5a7b1b4eef29f
2014-11-05 21:47:12 +01:00
Brad Jorsch e5564cf942 Add mw.text.unstripNoWiki, mw.text.killMarkers, fix mw.text.unstrip
mw.text.unstrip is too broad, it's allowing for unstripping things that
cause problems when unstripped (e.g. bug 61268). Since the original
request was only for unstripping <nowiki>, let's add a function that
does only that.

We should also add an interface to StripState::killMarkers(), instead of
requiring everyone to roll their own work-alike.

Then, to fix the bug, we can make mw.text.unstrip be the combination of
the two. This is the most like the original behavior of mw.text.unstrip
(removes all strip markers, replacing them with text where applicable)
without causing issues.

Bug: 61268
Change-Id: I3a151fd678b365d629b71b4f1cb0d5d284b98555
2014-11-05 12:32:35 -05:00
Translation updater bot 32d7dc7ae9 Localisation updates from https://translatewiki.net.
Change-Id: Idbf39f6aa4ad983e91de798f3f1083261ba2d5c8
2014-11-04 23:31:03 +01:00
jenkins-bot 99ad35e755 Merge "Add i18n for API module help and mark ApiScribuntoConsole as internal" 2014-11-03 21:12:45 +00:00
Brad Jorsch 9443fda132 Add i18n for API module help and mark ApiScribuntoConsole as internal
MediaWiki core change I04b1a384 added support for i18n of API module
help. This takes advantage of that while still maintaining backwards
compatibility with earlier versions of MediaWiki.

Once support for MediaWiki before 1.25 is dropped, the methods marked
deprecated in this patch may be removed.

Change-Id: I67395aff48185f3e09da31b51a08aa2541fe6a17
2014-11-03 21:10:19 +00:00
Translation updater bot 7526f0f0fc Localisation updates from https://translatewiki.net.
Change-Id: Iee0697ebdf8e0f8183df9d6555ccfd48c1c9d225
2014-10-31 21:46:48 +01:00
Translation updater bot 24ff77a4a2 Localisation updates from https://translatewiki.net.
Change-Id: I46de71b1d8b7e02bda602415ab3942d1ff2e2e21
2014-10-29 22:07:18 +01:00
Translation updater bot 1a8a2c83bf Localisation updates from https://translatewiki.net.
Change-Id: Ia2334a3271f8786b7f969f4b59137539a997718f
2014-10-27 20:17:29 +01:00
glaisher 4280df5003 Add namespace translations for 'mai'
See https://bugzilla.wikimedia.org/show_bug.cgi?id=72346#c8

Bug: 72346
Change-Id: I4a8c0a2fa92a93117744c3051fb107b8bd47bfc2
2014-10-22 22:56:21 +05:00
Marius Hoch ec019970a1 Fix type hint for Scribunto_LuaEngine::registerInterface
Change-Id: I5f498f6d8fe5811ae7f61591170dd580d4622d49
2014-10-17 01:40:15 +02:00
Reedy 7c38e48c1f Fix file permissions
Bug: 71931
Change-Id: I3b40ab821cafccc30563baa031212f2a24a167a1
2014-10-15 12:17:26 +00:00
Translation updater bot 517fb0242e Localisation updates from https://translatewiki.net.
Change-Id: I3d2169910442f64107a3444931cb25164736425a
2014-10-12 22:18:50 +02:00
Thiemo Mättig d7c173b521 Add missing PHPDoc comments and type hints
There are like a billion things missing in the inline documentation
of this extension. Wow. This is what I can do for now.

Change-Id: I019c24d13cf5cb22dde4d710b86ef8f976e1ec96
2014-10-09 23:23:05 +02:00
Translation updater bot 7b73b22e35 Localisation updates from https://translatewiki.net.
Change-Id: I44efd1235e7fb7c5c2e7cb55f3158e52c9b0e3ef
2014-10-08 21:27:33 +02:00
Translation updater bot cabdd82cd8 Localisation updates from https://translatewiki.net.
Change-Id: I24b061e77e09a817ba84bac3914cd73ce7bff30f
2014-10-07 21:01:58 +02:00
Translation updater bot 591d4e0c11 Localisation updates from https://translatewiki.net.
Change-Id: I34378c424ed0cf1f7d6eb993222b413087f3b1c2
2014-10-05 22:15:24 +02:00
jenkins-bot 1fa52ef583 Merge "Allow for dynamically-loaded PHP libraries" 2014-10-03 14:01:46 +00:00
Brad Jorsch df38a296bf Allow for dynamically-loaded PHP libraries
Scribunto currently supports libraries with PHP callbacks that are
loaded on startup, and pure-Lua libraries that may be loaded from the
module with require().

This change allows for libraries with PHP callbacks to also be loaded
with require().

Change-Id: Ibdc1f4ef51b1c8644c3d4c98d57755b5c06447a5
2014-10-03 09:27:23 -04:00
Jackmcbarn ccba1c78f5 Allow numbers in tag names
HTML tags can contain numbers, like <h2>.

Bug: 71594
Change-Id: I3b7bbfa3aa8f41a28f8ce64086e4066ffda948b2
2014-10-03 07:52:17 -04:00
Translation updater bot 8e22e0f1f8 Localisation updates from https://translatewiki.net.
Change-Id: I08e60ce640c9e99466ada41255f8107f60b9c0d6
2014-09-30 22:54:00 +02:00
Jackmcbarn 9b0060c89a Remove "Allow saving code with errors"
This was never really a good idea. If you really want to save incomplete
code, you can put it all in a block comment. Since some modules may still
have errors from before this change, the tracking category for them has
not been removed.

Change-Id: Icb3da00a86b9773287dcd0c9277ad61446ec07ce
2014-09-30 04:05:12 +00:00
Translation updater bot 8823c8a70e Localisation updates from https://translatewiki.net.
Change-Id: Iccfc8f6124dffc5beb226798c26cd96935978e28
2014-09-29 23:32:44 +02:00
jenkins-bot 0886f4abfa Merge "Improve compatibility with TemplateSandbox" 2014-09-29 14:57:32 +00:00
jenkins-bot b71e36b816 Merge "Throw an exception if LuaSandboxFunction::call returns false" 2014-09-29 14:50:14 +00:00
Jackmcbarn 23199c2e81 Improve compatibility with TemplateSandbox
Use $title->exists() to see if a title exists, and use
$parser->fetchLatestRevisionOfTitle() when available, so that
TemplateSandbox works with title.exists and title.getContent().

Bug: 70495
Change-Id: I732da9daccdc35b11d726818c3a7c81f5e810a32
2014-09-29 13:55:06 +00:00
Translation updater bot 74b9a571c5 Localisation updates from https://translatewiki.net.
Change-Id: Ie547dc6cecb57f8a45d376ff20ddeaf34df0878c
2014-09-28 22:36:05 +02:00
Translation updater bot eedf6fd10d Localisation updates from https://translatewiki.net.
Change-Id: Ie4c878f756d04d25dff7b4e7bafbd4cb0c6f646d
2014-09-27 20:31:29 +02:00
Jackmcbarn 9270d30c50 Throw an exception if LuaSandboxFunction::call returns false
If LuaSandboxFunction::call returns false, it's an error on PHP's part.
Throw a "real" exception so that we can see what's causing it in server
logs.

Bug: 71045
Change-Id: I7185e186d3e0af6e467b73ea1ef13417ca96b088
2014-09-27 14:07:11 -04:00
Amir E. Aharoni 011610e770 Pass correct function name to checkType
Change-Id: Ib221c3195c0826610c9d3c470a4923ccf54f90e9
2014-09-26 22:53:05 +02:00
Translation updater bot ffe675735c Localisation updates from https://translatewiki.net.
Change-Id: Icb30f88ef7ae7e3da52ffadb2663d7d52c617e2d
2014-09-25 23:07:19 +02:00
Translation updater bot f2ab9bb73e Localisation updates from https://translatewiki.net.
Change-Id: Ic1a979b761f4bbcfa70c68c6c7dfa128cc4c6aa4
2014-09-23 22:04:15 +02:00
Translation updater bot 58fa79b926 Localisation updates from https://translatewiki.net.
Change-Id: I1af181524a246d188b190836b185e5b0b2c92441
2014-09-22 21:48:26 +02:00
jenkins-bot beb6691a24 Merge "Don't escape the delete character" 2014-09-22 13:35:28 +00:00
Jackmcbarn 634f75f53e Don't escape the delete character
Escaping the delete character breaks strip markers, so don't do it.

Bug: 68011
Change-Id: Ica97c898209c59c0084bf700d891b28603f79dd1
2014-09-21 22:59:52 -04:00
Yuri Astrakhan 66ac157c12 Use single quotes for <pre> (easier to read)
Change-Id: Ib666f56471fc8ea7dac36367c962788d1a304100
2014-09-21 22:51:46 -04:00
Translation updater bot a3a31f2fa1 Localisation updates from https://translatewiki.net.
Change-Id: I012a3a0a43b494171f0ff31cd253600e0bd48e7d
2014-09-21 21:59:37 +02:00
Translation updater bot 8feaaacffb Localisation updates from https://translatewiki.net.
Change-Id: I3e0001b83d88f7749d9b9d1edb7fb42bff8256d8
2014-09-20 21:43:12 +02:00
Translation updater bot 8995dd71aa Localisation updates from https://translatewiki.net.
Change-Id: I7433cfef80aa2f5116aebaaebd677777d72e5b0c
2014-09-19 22:06:58 +02:00
Jackmcbarn c5959b56e7 Display the full error message in wikitext
Instead of just displaying "Script error" in wikitext, display the actual
error string. Currently, many users don't see meaningful error messages
generated by modules, and instead just assume that "Script error" means
the module itself has a bug.

Bug: 71038
Change-Id: Ie5358049975352e0fef92088a06b97ad94717000
2014-09-19 12:11:38 +00:00
Translation updater bot 8650134c8c Localisation updates from https://translatewiki.net.
Change-Id: Ib3a622e59691f23a974be8cc3a3540f9b05bece4
2014-09-16 19:46:35 +02:00