Commit graph

23 commits

Author SHA1 Message Date
Kunal Mehta f49ad9081c Remove some PHP 5.3 compat code
Change-Id: I433ab9754606e2cbbaef534a1a5b70bad9b9387c
2017-08-22 22:39:15 -07:00
Brad Jorsch d913742e1b API: Split description messages into summary + additional text
See MediaWiki core patch I778bab2b

Change-Id: I78304ecfb4edf4e7c2ac4c0eb6fecfd1c4c66256
2017-06-13 13:27:50 -04:00
Translation updater bot e11080f680 Localisation updates from https://translatewiki.net.
Change-Id: Ibfc991e31e185d13cd477f81b2458a902c46a8fc
2016-12-25 22:19:40 +01: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 0e145c0561 Localisation updates from https://translatewiki.net.
Change-Id: If5d00222dff0122e520bd2615030ca9a7a6f1960
2015-05-14 22:09:02 +02:00
Translation updater bot 5603440cc2 Localisation updates from https://translatewiki.net.
Change-Id: I45a32a4a78f944ab7e0712676fe9463a1d99cb4c
2015-03-24 22:29:29 +01: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 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 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 5dd7e43cd4 Localisation updates from https://translatewiki.net.
Change-Id: I65708f2ce6affffb7dd251b0769a96b417064c19
2014-09-03 22:23:30 +02:00
Brad Jorsch 410229c312 Expose mw.log data on preview
People have been complaining that they can't find the log data anywhere.
The new parser limit report seems a good place to show this information.

Change-Id: If2abf27f7779d92ff7c7a1f32b2a54a5de521678
2014-07-07 16:14:30 -04:00
Translation updater bot b5adf6efa7 Localisation updates from https://translatewiki.net.
Change-Id: Ib41ead796a684aae7c1f95e451487186f4e4b778
2014-05-27 20:28:28 +00:00
Jackmcbarn 1201618b7d Keep modules' export tables inside Lua
When tables are passed from Lua to PHP, their metatables are lost. Because
of this, they need to be kept inside of Lua to allow the __index
metamethod to return a method to be called by #invoke.

Bug: 64141
Change-Id: I0840bc12b25dee72828ec97d2b205812e4929f2b
2014-05-26 20:01:18 -04:00
Translation updater bot b6b66fb9b5 Localisation updates from https://translatewiki.net.
Change-Id: Ice2cdcf3d1f743e7eeb2b2c4b8ef8a0d86a18a8b
2014-04-16 15:48:33 +00:00
Jackmcbarn d74c81c233 Add name to nosuchfunction and nosuchmodule errors
When displaying a nosuchfunction or nosuchmodule error, include the name
of the nonexistent function or module.

Change-Id: I17fc2c68dc8267302a82eee3cb2c5df9b5a3c46c
2014-04-13 21:29:05 -04:00
Translation updater bot 51ba96bd45 Localisation updates from https://translatewiki.net.
Change-Id: I31e13744574db8cf6de3fa6987f2cd23ff24f7c9
2014-04-08 20:06:27 +00:00
Translation updater bot 560f73f595 Localisation updates from https://translatewiki.net.
Change-Id: I8f7b1a8bb2f64471b2b345b5d4ca4ccd090882cf
2014-04-01 19:50:06 +00:00
Translation updater bot 67abd1e616 Localisation updates from https://translatewiki.net.
Change-Id: Ib3dd95ecc34ab1f5a6622c72ed69ea3b9fc24046
2014-03-31 20:16:45 +00:00
Raimond Spekking 07a39e9b07 Fix synax error. Make JSON valid
Followup to
https://gerrit.wikimedia.org/r/#/c/122270/1/i18n/qqq.json,unified

Change-Id: Ie6f2074306a64b09e0e10568619cc6c97aa3e882
2014-03-31 10:07:57 +02:00
Brian Wolff bf22c69263 Follow-up I7d4bb9062. Register tracking categories used.
This allows them to appear in the newly added
[[Special:TrackingCategories]].

Change-Id: I6f31298e4b215c905b133b893de5c6dd514997ba
2014-03-30 21:28:21 -03:00
Siebrand Mazeland eb4706125c Migrate to JSON i18n
Procedure per https://www.mediawiki.org/wiki/Manual:GenerateJsonI18n.php
with shim.

Change-Id: I6da0ed01298e6f13046415827c6d5619ad2cfeb9
2014-03-28 21:46:41 +01:00