Commit graph

920 commits

Author SHA1 Message Date
Jan Berkel fb20934b16 Fix a problem with simple pattern detection
A string with a dot pattern is only "simple" if
followed by +, - or *. The end of string condition was not checked
properly.

Change-Id: Ia10b9164caeabe464c76441cc82eef37a7013048
2015-10-07 10:27:45 -04:00
Translation updater bot dfb59d508d Localisation updates from https://translatewiki.net.
Change-Id: I06402e78565b28edc0c13652738d584e2f7bd160
2015-10-03 22:13:45 +02:00
Translation updater bot a51644831d Localisation updates from https://translatewiki.net.
Change-Id: I3fd6fe9e1f3ff3fcbc90b38985fed088a4195c13
2015-09-26 21:16:20 +02:00
Translation updater bot c663dcde12 Localisation updates from https://translatewiki.net.
Change-Id: Idccff25c64128773a05ac0c1caaa58dee847ebfa
2015-09-24 21:31:32 +02:00
Translation updater bot 0038ca1c0e Localisation updates from https://translatewiki.net.
Change-Id: Ic09bfa8f215708593d0a15d8d917e8e717069df2
2015-09-23 21:34:35 +02:00
Jan Berkel 7c5454b36c Fix off-by one error in gsub
Change-Id: I49c0386970e007271d23087fd112580af7b21c9c
2015-09-23 17:41:15 +01:00
Translation updater bot 49e26b6f38 Localisation updates from https://translatewiki.net.
Change-Id: I7535df3ad6fc4bf44843d2f758ada803df821cdd
2015-09-22 22:27:16 +02:00
Translation updater bot 36c5f82b9e Localisation updates from https://translatewiki.net.
Change-Id: I4d0e827feb5b2e6d0f7893262eab150aedf64544
2015-09-21 21:58:08 +02:00
Translation updater bot dd26eaa8e7 Localisation updates from https://translatewiki.net.
Change-Id: I6e7615bfe40ad58ed0957f7ff8d0a16bdf7291b6
2015-09-19 23:11:35 +02:00
Translation updater bot 715e904425 Localisation updates from https://translatewiki.net.
Change-Id: I52bc25e26548bfb10c32dca514a9752cfff7f906
2015-09-14 22:07:08 +02:00
Translation updater bot 003ad2caec Localisation updates from https://translatewiki.net.
Change-Id: Idedab5785520da5abf4ad6e906c05861188810c2
2015-09-06 21:42:42 +02:00
jenkins-bot 99c0e198e4 Merge "Localize Module and Module_talk namespaces for Armenian wikis" 2015-09-05 10:53:01 +00:00
Translation updater bot 9192d586d3 Localisation updates from https://translatewiki.net.
Change-Id: I3e56e2534966b06c1d0328cb72eb07adeaecdefe
2015-09-04 21:53:17 +02:00
maurelio ead95a5f71 Localize Module and Module_talk namespaces for Armenian wikis
Bug: T111376
Change-Id: I312082aba0eff4f434a1ba05715161b0df69dee3
2015-09-03 16:21:25 +00:00
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