Commit graph

1706 commits

Author SHA1 Message Date
jenkins-bot 3cd5e80036 Merge "Add mw-scribunto-console placeholder to view source page" 2015-09-01 16:46:02 +00:00
Derk-Jan Hartman 7e5d5759b4 Add mw-scribunto-console placeholder to view source page
Add a placeholder in the HTML to have a more reliable position in the
HTML structure of the View source page.

Depends On: Ia03265a907212ee7bac1b839dcdd4d2f24c79bbe

Bug: T110050
Change-Id: I10ff67b359f04c0decd38fae750cc264e6bce50a
2015-09-01 16:37:41 +00:00
jenkins-bot cbf48fd706 Merge "Update namespace for gom-deva" 2015-09-01 13:19:00 +00:00
Translation updater bot 4522828bcf Localisation updates from https://translatewiki.net.
Change-Id: I941eb5483dddf4e4b6894b67d6d366e2026e6403
2015-08-30 21:10:29 +02:00
Amir E. Aharoni 35e687c676 Update namespace for gom-deva
Bug: T109182
Change-Id: I6a83f58efa6a8b6d36c487df7a915b560d6bce02
2015-08-30 14:26:37 +03:00
Translation updater bot d3e55f840e Localisation updates from https://translatewiki.net.
Change-Id: I4ebb4a79607af3f54a4bc074c348452f9fe3e173
2015-08-28 21:54:14 +02:00
Translation updater bot 530b598270 Localisation updates from https://translatewiki.net.
Change-Id: I4fe53352a68143aa4c909031f0958a09e00f61ca
2015-08-27 21:37:19 +02:00
Translation updater bot 7f68591b0f Localisation updates from https://translatewiki.net.
Change-Id: I242e92f790312e1e182e78c653361cec5e206254
2015-08-26 21:48:25 +02:00
Ori Livneh eec31286bc Fix-up for I32bad5fd9
Don't return nonexistent variable $content, and don't bypass loadString / callFunction.

Change-Id: Iae493606d0167853c3c79536e35eeb23a54bb6d1
2015-08-25 17:36:26 -07:00
Ori Livneh 7bd4959b55 Cache Lua code files in APC
Cache Lua libraries in APC (if available) for up to 5 minutes. Always check the
file's mtime to avoid serving a stale copy.

This code path is hot enough that using APC makes a difference.

Change-Id: I32bad5fd9443c1759fe6dc91f8df2ac2f120d75b
2015-08-25 16:28:36 -07:00
Translation updater bot 7ff15fc4ad Localisation updates from https://translatewiki.net.
Change-Id: I4b85a219665770eecd59c3c54148237e6463b2f5
2015-08-25 21:58:09 +02:00
Derk-Jan Hartman 87bc426b6b Don't override other content added to the edit page
Per the comment in EditPage.php:
extensions should take care to _append_ to the present value

Change-Id: Icaf3f250b5f65768e50b7983b5f018c38a13490a
2015-08-24 22:38:46 +02:00
Translation updater bot 2257a89374 Localisation updates from https://translatewiki.net.
Change-Id: I7b933a8ed72eb08f469e42efb09dc9d627601ebf
2015-08-24 21:34:06 +02:00
Translation updater bot 9c42eb101d Localisation updates from https://translatewiki.net.
Change-Id: I516a95b3a8d53388f17faec3597db2093fa15b15
2015-08-23 21:38:43 +02:00
Translation updater bot eb0ac25c26 Localisation updates from https://translatewiki.net.
Change-Id: I60931996e586862b0434f778e52f42b5bcc9fa0c
2015-08-11 22:09:51 +02:00
Translation updater bot d58feccafd Localisation updates from https://translatewiki.net.
Change-Id: Ib2442cbd434b79fb19f157a6e7c8923a74783ff6
2015-08-08 21:15:01 +02:00
Translation updater bot fa0ee5ea71 Localisation updates from https://translatewiki.net.
Change-Id: I4384d2ee3a397c124a135e5eec37f64f166b1b86
2015-08-05 22:36:31 +02:00
Translation updater bot 100bf84897 Localisation updates from https://translatewiki.net.
Change-Id: Ie121919c117edacd080985311a5c255223279c4e
2015-08-02 21:53:45 +02:00
Translation updater bot e789d79d5d Localisation updates from https://translatewiki.net.
Change-Id: Ia03571b44b2e2c733e297e776091bebfa0e2652b
2015-07-30 21:12:32 +02:00
Translation updater bot 563a62f067 Localisation updates from https://translatewiki.net.
Change-Id: I6fb5ed3d4aba9e4c46410e8e4e681b4462b21d1e
2015-07-28 21:50:33 +02:00
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