Commit graph

836 commits

Author SHA1 Message Date
Jackmcbarn 828c6cf513 Prevent leaking title fragments across invokes
Bug: T106951
Change-Id: Iace5d75deac3d8ffde6f3dec6a4f910dcb77d1e2
2015-07-27 10:46:23 -04:00
Translation updater bot cccdc1e524 Localisation updates from https://translatewiki.net.
Change-Id: I729d57c503b1a3e7855fd804af45d1e10d4fa20f
2015-07-24 21:09:21 +02:00
Brad Jorsch b630ecdd3a Re-restrict the Scribunto content handler to NS_MODULE
I94ae07bc arbitrarily removed this restriction, which seems liable to
result in confusion where non-Module-namespace pages can be marked as
modules but can't be #invoked.

Change-Id: Ia80f49d14b1f5cded0d3f5bffb6b450fb26cd986
2015-07-24 10:17:45 -04:00
Jackmcbarn bd5e46b941 Check content model instead of title
Make Scribunto compatible with storing content model in the database, by
checking for it directly instead of guessing it based on the title.

Change-Id: I94ae07bc47273fbf65d64b2909e5895c1c3fd7e9
2015-07-19 22:16:21 -04:00
Translation updater bot a68021a702 Localisation updates from https://translatewiki.net.
Change-Id: I302adf59d6421e1b9f8b18f4fc55bdd2ca719064
2015-07-19 21:37:49 +02:00
Amir E. Aharoni ab229ee5ce Add Module namespace translation for Albanian (sq)
See
https://translatewiki.net/wiki/Thread:Translating_talk:MediaWiki/Module_namespace_for_sqwiki

Change-Id: I10fce8028a9de4ce9143fd3ea0a7cd37acf66237
2015-07-18 08:20:52 -05:00
mjbmr 259a2e2f7c Add namespace aliases for South Azerbaijani (azb)
Change-Id: I375c48487bab8b8ee094c901e5b45a229945bd7e
2015-07-17 13:30:22 +00:00
Mr. Stradivarius d59d852290 Fix accidental global in mw.uri.parseQueryString
The result of the type function should be compared against the
string "table", not the global variable. This bug probably went
undetected until now, as "table" is also the global variable for the Lua
table library.

Change-Id: Ia28fa10388bfc587d95b522bfa8f3524b4a3ee5f
2015-07-15 23:07:37 +09:00
Translation updater bot 7efc87c113 Localisation updates from https://translatewiki.net.
Change-Id: I7e17a4b77e616a435abe7a73ec427122caafc86d
2015-07-11 22:07:18 +02:00
Translation updater bot ea034357ce Localisation updates from https://translatewiki.net.
Change-Id: I1b77732957ed42e8aa1def1e38d5d0d465cfc9db
2015-07-06 21:47:33 +02:00
Translation updater bot b855d76339 Localisation updates from https://translatewiki.net.
Change-Id: I38b3e57fc53246efc5fd408f4e1d837e39084400
2015-07-02 21:27:46 +02:00
jenkins-bot 7cf15f43e5 Merge "Display backtraces in the Scribunto console" 2015-07-01 17:01:36 +00:00
Jackmcbarn 52d4915201 Display backtraces in the Scribunto console
When the Scribunto console produces an error, display a full backtrace
instead of just the error message.

Bug: T74462
Change-Id: I305438284eae8e19a51a70b1e83d54e4831de396
2015-07-01 12:21:24 -04:00
jenkins-bot c582834a09 Merge "Mark metatables from mw.loadData" 2015-06-30 20:31:53 +00:00
jenkins-bot cfb77778c8 Merge "Fix some PHPCS issues" 2015-06-30 19:47:56 +00:00
Translation updater bot 5cc0a8d0cf Localisation updates from https://translatewiki.net.
Change-Id: Ieccf7844ebe2444391c20dc30ac51967b9b786e6
2015-06-30 21:24:20 +02:00
Jackmcbarn ca7a84b5b2 Fix some PHPCS issues
Change-Id: I5a44d07553d45bc01db070c99856b35a3d275bd1
2015-06-30 13:14:58 -04:00
Translation updater bot 888e9c8f80 Localisation updates from https://translatewiki.net.
Change-Id: Ie0bf372d53923624e5173da0ae8d554cf9f849f9
2015-06-29 20:51:32 +02:00
jenkins-bot 30df458546 Merge "Add Module/Module_talk namespace translations for Gujarati" 2015-06-29 18:07:13 +00:00
Glaisher 3f3e7c9d58 Add Module/Module_talk ns translations for or
Bug: T103645
Change-Id: I9e55edddef33107567db89d8e92a29856a7b886e
2015-06-29 17:41:42 +05:00
harshkothari410 53c89d74dc Add Module/Module_talk namespace translations for Gujarati
Bug: T104137
Change-Id: Iaad4eb8e86cfe8e65ff1421bdf85cc6664ab42bb
2015-06-29 11:11:28 +05:30
harshkothari410 934383cca5 Add Module/Module_talk namespace translations for Marathi
Bug: T103656
Change-Id: I82dfa29e0958fcffad48e6b3fc1815518db2cd22
2015-06-28 21:22:45 +05:30
Jackmcbarn a4cb7efd0d Mark metatables from mw.loadData
Add mw_loadData=true to metatables set by mw.loadData, so that modules can
distinguish them from other tables.

Change-Id: I0795d738891c85600af2621908376474ae21b3fe
2015-06-27 22:38:23 -04:00
Translation updater bot 670c49b3fb Localisation updates from https://translatewiki.net.
Change-Id: I7a4b2732177aec29d2b81a4e4d47eaba528766bd
2015-06-25 20:46:48 +02:00
Glaisher 1a0221b8f5 Add Module/Module_talk namespace translations for Telugu and Kannada
Bug: T103650
Bug: T103657
Change-Id: I8ffc22b4d90917d5611aa28f6c4038fca6afa5a4
2015-06-25 22:02:47 +05:00
jenkins-bot d167e19501 Merge "Add Brad Jorsch (Anomie) to extension credits" 2015-06-22 22:41:34 +00:00
jenkins-bot 992cb86b5c Merge "build: Configure banana-checker and jsonlint" 2015-06-22 22:40:09 +00:00
Translation updater bot d4f2aa047a Localisation updates from https://translatewiki.net.
Change-Id: I194e0dcf0a3d387753d6c6bb6d36bdf8f4b798d8
2015-06-21 20:03:54 +02:00
Kunal Mehta ddfd65b790 Replace deprecated wfRunHooks by Hooks::run
Change-Id: Ie6f3280aa740304a0dadd6d00ca388c5ad6a648e
2015-06-21 15:34:10 +00:00
Ori Livneh d426627c9b lint: 'if(' => 'if ('
Change-Id: I056ff6bbc5f992bddfd7e3bd82803de107651b80
2015-06-20 21:38:56 -07:00
Kunal Mehta 956170560d build: Configure banana-checker and jsonlint
Change-Id: I9c3597e4fea669ff7ec5086dfc6a61d797fa48fe
2015-06-19 22:17:55 -07:00
Translation updater bot c0e23404a0 Localisation updates from https://translatewiki.net.
Change-Id: I98521ad7e727b1defcbdcc8188cd6218578a77b1
2015-06-16 22:42:09 +02:00
Brad Jorsch 58d722bcdf Allow nil in mw.text.jsonEncode
If it somehow gets in there (e.g. via a crafty __pairs), let it through.

Change-Id: I9f79dbb1a09cd62b2a8f4b6beb84a3e2f1c85560
2015-06-16 16:36:30 +00:00
Kunal Mehta 590c00f9ca Add Brad Jorsch (Anomie) to extension credits
Change-Id: Ibb87ef7c190bcb72815f26e578fca5039e550895
2015-06-16 16:36:26 +00:00
jenkins-bot 6c87ccd128 Merge "Fix unit test for core change I31d4556b" 2015-06-16 16:36:12 +00:00
Brad Jorsch e55c5ee946 Fix unit test for core change I31d4556b
Replace deprecated $parser->uniqPrefix() with Parser::MARKER_PREFIX.

Change-Id: I53721e1aa9022ad6bbfdb08b1a07feac81806514
2015-06-16 10:22:10 -04:00
Translation updater bot 55580d64a9 Localisation updates from https://translatewiki.net.
Change-Id: Iab954d14a1b9e216106265506da1d3fd78f41c6f
2015-06-15 22:51:54 +02:00
Translation updater bot 85f48c9433 Localisation updates from https://translatewiki.net.
Change-Id: I6c9ece150a0eb30d754a68fdc03450b034fb80a8
2015-06-13 22:31:40 +02:00
Translation updater bot af71f5c2bc Localisation updates from https://translatewiki.net.
Change-Id: I655a4d0e34f9908e3ba23687d11e5ae7517d85c8
2015-06-11 21:14:11 +02:00
Translation updater bot 512d605f0c Localisation updates from https://translatewiki.net.
Change-Id: Id27fbe9b20c71563dc0f1ba4844c920a09165eb4
2015-06-09 22:49:08 +02:00
Translation updater bot 6839fba78f Localisation updates from https://translatewiki.net.
Change-Id: Ic053cd51b7728d036ba60b4f7f3e50a1ac82c18b
2015-06-06 22:22:23 +02:00
Translation updater bot b49e48c040 Localisation updates from https://translatewiki.net.
Change-Id: Ia5698272bd5dfd17a4c0845028e7821da0cf242b
2015-06-05 21:12:02 +02:00
Translation updater bot 79fc3dc45b Localisation updates from https://translatewiki.net.
Change-Id: I70ed3237742c4fc8cb06ad132f247434a3436a9f
2015-06-03 22:12:33 +02:00
Translation updater bot 5db32df35c Localisation updates from https://translatewiki.net.
Change-Id: Ia9eb982920bac17f5b4c58caa0b751af5b3acc50
2015-05-30 23:10:00 +02:00
Translation updater bot da7738bbbd Localisation updates from https://translatewiki.net.
Change-Id: I62c5831b4d9647c34cd2a1dc2d04a9502829da4a
2015-05-27 22:30:09 +02:00
Translation updater bot ecc9281e57 Localisation updates from https://translatewiki.net.
Change-Id: I28d910383189974c286d68ad0cdec86bd9565499
2015-05-25 22:36:20 +02:00
Hoo man a0cf831f5f Merge "Fix race condition in SIGXCPU handling" 2015-05-25 16:46:53 +00:00
Tim Starling e7f5aae520 Fix race condition in SIGXCPU handling
Marius found a race condition in the handling of SIGXCPU: the pipes
would close, causing the read/write to complete, before the status of
the process changed, so the status would randomly be "running" for a few
milliseconds after proc_get_status() was called.

So: terminate the process unconditionally after an I/O error. Get the
exit status from proc_close(), since that's the only way to get the
status of a terminated process while simultaneously waiting for it to
exit. Also fix signal identification as in unmerged patch I57cdf8aa.

Change-Id: I252ec046e82063a868c1094e81705cb5e847db92
2015-05-25 16:40:31 +00:00
Translation updater bot 0c26a10510 Localisation updates from https://translatewiki.net.
Change-Id: I50f46727d2770b29fd5facb72d57092a6b0bfe7c
2015-05-24 00:14:14 +02:00
Translation updater bot 75399c8e1a Localisation updates from https://translatewiki.net.
Change-Id: I18706f9b41d8d44580bf6046e418be6034076779
2015-05-21 23:00:26 +02:00