Commit graph

9861 commits

Author SHA1 Message Date
Alex Monk 19dc7d31fe Set targetName for apiLoad and restbaseLoad metrics to the correct values again
If70ff601 didn't really fix anything. The only reason you'd want this data is
to distinguish between mobile and desktop data, but it just set the value to
the desktop version always...

Bug: T95432
Change-Id: I76722e3ad8b7dbe644374b24093bec696f27f48c
2015-04-09 13:57:25 +01:00
jenkins-bot 2c9d207d57 Merge "[BREAKING CHANGE] Make MWExtensionInspector inherit from NodeInspector" 2015-04-08 23:16:02 +00:00
Ed Sanders ed4278912c [BREAKING CHANGE] Make MWExtensionInspector inherit from NodeInspector
Also fix up logic duplicated between ExtensionInspector
and LiveExtensionInspector.

BREAKING CHANGE:
* nodeModel property no longer exists, use NodeInspector's modelClasses
  property, which is an array.

Bug: T93592
Change-Id: Ib0131c9485a903d73b770090bf8a938056782ba3
2015-04-08 20:51:20 +00:00
Roan Kattouw 25c718bc96 Explicitly pass oldid to ApiParse after saving
If we don't explicitly pass the revid of the new revision we
just created, ApiParse will be lazy and get the latest revid
from the slave DB, which will probably be out of date.

Bug: T95466
Bug: T94367
Change-Id: I2149c7a710075eff9292d0c25ca40d10b325ad44
2015-04-08 13:48:30 -07:00
jenkins-bot 685e7ffacb Merge "Adding minimum width and height to MWAlienExtensionNodes" 2015-04-08 17:17:42 +00:00
Ritsyy d67543745f Adding minimum width and height to MWAlienExtensionNodes
Bug: T92868
Change-Id: I9387f17e0ff1cf88283f290488ce900418ef3150
2015-04-08 18:08:00 +01:00
James D. Forrester 91a4f4ddd3 Update VE core submodule to master (24e4428)
New changes:
cee21ec Test untested branch nodes
494bc38 build: Fix rename of test-coverage to coverage in clean task
24e4428 Follow-up facbde556a: Fix showSelection fixup

Change-Id: I213cded586bcc3419b68dc3579eb8587f2d7e794
2015-04-08 13:50:53 +01:00
Ed Sanders 4379275062 Update VE core submodule to master (7058807)
New changes:
4c1a5ea [BREAKING CHANGE] Give the converter a 'fromClipboard' mode
d855043 Add core tests for annotation merging
fae083e Localisation updates from https://translatewiki.net.
11710e9 Encode and decode HTML entities in comment nodes

Local changes:
* Update getModelFromDom signature

Change-Id: Ida1b9b33d5e25e7d467ef16dd2240442270b9d32
2015-04-07 18:13:06 -07:00
jenkins-bot 8000633fee Merge "Set default size to category popup widgets" 2015-04-07 21:18:13 +00:00
Translation updater bot fc01f12be8 Localisation updates from https://translatewiki.net.
Change-Id: Iba4edca318763cde388a77fd25f7d2dd1e8e36a4
2015-04-07 22:21:15 +02:00
James D. Forrester 9e5cfab5da Update VE core submodule to master (a2b79e5)
New changes:
d54822f fixupInsertion: Don't attempt to call .getClonedElement() on the DocumentNode
2ad6afe gitignore: Update test-coverage to coverage (follows-up 04fb668)
a2b79e5 build: Run lint before build in grunt-test

Change-Id: I11dd1a7ba93207c70c489dc94b932ad9ca8a5fb1
2015-04-07 16:44:34 +01:00
jenkins-bot e8d2a657be Merge "Fix opening of specific reference dialog" 2015-04-07 15:43:46 +00:00
Ed Sanders 7d38c3023f Fix opening of specific reference dialog
Don't bypass WindowAction which does necessary things to the surface.

Bug: T95069
Change-Id: I1a3a480f000aa7500d1954cbe13787cd23f68360
2015-04-07 16:35:30 +01:00
Roan Kattouw f120d63ff4 Update VE core submodule to master (8c99a87)
New changes:
f696ef7 Don't use a inputFilter on LinkTargetInputWidget
04fb668 build: Add 'doc' entry point and move coverage to "/coverage"
b784a01 Ignore href DOM attribute when comparing links
d0b00e6 Localisation updates from https://translatewiki.net.
cbb01cf Fix typo in ve.ce.RangeState#compareSelections

Change-Id: I6d74e398334915d0094b4c2afb6ba45ec780cb68
2015-04-06 16:21:04 -07:00
Alex Monk 411a5578b5 Fix constructor name for ve.ce.MWNowikiAnnotation
Change-Id: I7d69b6f836f94a611c3fc6197035d4a793ab31d1
2015-04-06 21:47:56 +01:00
Translation updater bot 5d0c0b575e Localisation updates from https://translatewiki.net.
Change-Id: I1fe2618ebf734e83eb876ad7023ab2b15cf78478
2015-04-06 21:51:44 +02:00
jenkins-bot 5de7b8a461 Merge "Merge MW internal link annotations if they have the same target" 2015-04-06 19:32:05 +00:00
Timo Tijhof f08788acf8 build: Declare grunt-cli dependency
Change-Id: I6a7fafa3c6e40d2407f07c514167ab9fc7661685
2015-04-06 16:32:58 +00:00
Timo Tijhof 1082249691 build: Move pre/post 'doc' task into package.json
Standard entry point.

Change-Id: Ic6cdc9ac1b266a64dcb1522ac36132c5ef844d3c
2015-04-06 17:18:29 +01:00
James D. Forrester 92fca62022 Update VE core submodule to master (8e8b975)
New changes:
484980b Localisation updates from https://translatewiki.net.
d1da71f build: Use grunt-contrib-copy instead of our own implementation
8e8b975 Update OOjs UI to v0.9.7

Change-Id: I84daf4a3cc38ac4cecccf4b1ea4f121223844025
2015-04-06 17:17:01 +01:00
Ed Sanders dfdf7c3f28 Merge MW internal link annotations if they have the same target
Currently we compare some HTML attributes, but as wikitext doesn't
allow you to set arbitrary attributes on a link they can never
represent a meaningful difference (unlike <b style="color:red;"> vs. <b>)

Bug: T95028
Change-Id: I267604e4b2140d3c4fe4f9ab07961c6f17a1f2fa
2015-04-06 12:07:03 +01:00
jenkins-bot e1252b7e47 Merge "Avoid undefined index warning for oldid if it's not set in serializeforcache" 2015-04-04 23:14:40 +00:00
jenkins-bot 9b40a5fec4 Merge "Only try to load 'site' and 'user' modules on desktop" 2015-04-03 20:49:19 +00:00
Alex Monk 23e734b93a Only try to load 'site' and 'user' modules on desktop
These simply won't work with MobileFrontend, per jdlrobson

Bug: T95044
Change-Id: I3b899f55b31d4ed40e65e8d1b2f65b75d9ec339f
2015-04-03 21:41:33 +01:00
Alex Monk 4779f83cfe Avoid undefined index warning for oldid if it's not set in serializeforcache
Official VE client always sets this.

Bug: T95015
Change-Id: Ibcef5e4360e2f9d882e9441ff8d3bdbf7179f2f6
2015-04-03 19:58:11 +01:00
Alex Monk 54071c2187 Check whether html parameter is valid rather than allow warnings to be raised if it is not
Bug: T95015
Change-Id: Iece859db0b67c906ac1f6f3e2e948815b455626c
2015-04-03 19:20:09 +01:00
Roan Kattouw dd5608598f Use .apply() in MWInternalLinkAnnotation.static.toDomElements
Otherwise other parameters (there are 4 in total) get dropped.

Change-Id: I91cbb8391218cb7e9179b6b655bbfe22d21ade26
2015-04-03 08:54:45 +00:00
jenkins-bot b8f9e43187 Merge "Use ve.safeDecodeURIComponent()" 2015-04-03 08:49:55 +00:00
Moriel Schottlender de4a1d7012 Set default size to category popup widgets
Don't rely on this.$element.width()/height() when showing the
category widget popups - instead use the default sizing. If one
thing goes wrong and the popup is clipped, all subsequent popups will
have a smaller and wrong sizing.

Change-Id: I38ac0ae97dd5d7c38cdcdcfb31f736b19837bd5a
2015-04-02 16:50:25 -07:00
James D. Forrester f15ba5bf45 Update VE core submodule to master (ce9bde4)
New changes:
83db372 Localisation updates from https://translatewiki.net.
f208642 [BREAKING CHANGE] Split setupSlugs in to setup(Block|Inline)Slugs
0132318 Localisation updates from https://translatewiki.net.
facbde5 Re-apply selection when ContentBranchNode changes

Change-Id: I4bd4aac1bcd846b4a7c3e73d3c2bdf2de9b3cd14
2015-04-02 15:34:37 -07:00
Translation updater bot 66944cac44 Localisation updates from https://translatewiki.net.
Change-Id: Ic07260057e3edc5a56820e085dda8b8a3487c1df
2015-04-02 21:28:14 +02:00
Matthew Flaschen be9847c24f Allow parsefragment even if VE is not enabled for that title
Fixes T94282

Bug: T94282
Change-Id: Id3ee4dfba669b3119b8b4cbdfab20f70061856fb
2015-04-01 20:47:19 -04:00
Translation updater bot 792e1444de Localisation updates from https://translatewiki.net.
Change-Id: I5a3ee85aeafea151e80b42d0481c9f554ba33c27
2015-04-01 22:40:34 +02:00
Federico Leva 68e137afde Restore Leli Forte's mt translations
Follow up to 23b5f323: I pasted the removed translations, sorted and
removed duplicates.

Change-Id: Id59b5fcc1651abe9c1f6170de8c39ff6d62ec4e9
2015-04-01 10:35:30 +02:00
jenkins-bot 15e214f764 Merge "mw.ViewPageTarget: Disable pointer events on dimmed elements" 2015-04-01 03:47:47 +00:00
Timo Tijhof 8475d40b77 mw.ViewPageTarget: Disable pointer events on dimmed elements
Reduces event overhead and prevents accidental interaction with
content while loading, and with content sub while editing.

Change-Id: Ief997cd4d5cf444fb2ee0d28c709301d26e814f9
2015-04-01 01:46:22 +00:00
jenkins-bot aabd6a6274 Merge "Follow-up 7c0ba1e: Revert catastrophic breakage of qqq.json" 2015-03-31 22:38:41 +00:00
Roan Kattouw f3b7ccdefb Use ve.safeDecodeURIComponent()
Depends on Iacc50230a in VE core.

Change-Id: I7fc505c261726f8d83c86a9cc352a0bf9fcb455a
2015-03-31 22:08:46 +00:00
James D. Forrester 23b5f32351 Follow-up 7c0ba1e: Revert catastrophic breakage of qqq.json
Change-Id: I3baa8a2007eb1fe5f60de55bd58f2434198d1e21
2015-03-31 15:05:27 -07:00
Moriel Schottlender 545791648f Open the proper window when adding citation from the general dialog
When a citation is selected from the general citation dialog that
opens from the citoid inspector, make sure it opens the correct
citation window, namely the relevant cite-XXX window rather than
the transclusion window.

Bug: T94602
Change-Id: Idc8dd653e42011bd02c4bcec4aa9a02c9e2b7567
2015-03-31 14:38:52 -07:00
Translation updater bot 0d275f7022 Merge "Localisation updates from https://translatewiki.net." 2015-03-31 19:51:09 +00:00
Translation updater bot 7c0ba1efb9 Localisation updates from https://translatewiki.net.
Change-Id: Ib32c52f279eaf08d356a49bf2871cebe5e701534
2015-03-31 21:49:19 +02:00
James D. Forrester 839ab4cc37 Update VE core submodule to master (248fc5d)
New changes:
1a8e624 Make block slugs cursorable
7ccddd5 i18n: Remove duplicate message

Change-Id: Ibe8cbcc3e7c14f62166a131e0463be382d427b87
2015-03-31 12:37:45 -07:00
James D. Forrester bc18b81a10 Update VE core submodule to master (1d92641)
New changes:
3790ff1 Fix choose event listeners
8760695 Add utilities to work around decodeURIComponent() exceptions
c01b704 Make afterPaste operations optional again

Change-Id: I080e0be31b5b3dccfeb388ee7a341bcdefd84253
2015-03-31 12:24:07 -07:00
jenkins-bot e5ac4236a1 Merge "MWInternalLinkAnnotation: Remove useless .toString() call" 2015-03-31 19:23:17 +00:00
jenkins-bot 9652d321e2 Merge "Fake <base href> if missing or invalid" 2015-03-31 19:20:51 +00:00
jenkins-bot aa3f8b9eb9 Merge "Stash edits alongside the html -> wikitext stashing step" 2015-03-31 18:52:39 +00:00
Aaron Schulz 24c9f45816 Stash edits alongside the html -> wikitext stashing step
* The standard core method for page saving already checks the cache.
  By stashing the parser output as the user types, the final save step
  will be faster, just as with the wikitext editor.

Bug: T90040
Change-Id: If10a79381c6301d52f4a68ca91d0e1d7fbc79bb5
2015-03-31 18:19:59 +00:00
jenkins-bot 055d1db6d4 Merge "i18n: Re-sort alphabetically" 2015-03-31 17:44:49 +00:00
jenkins-bot 70c69f6097 Merge "Update VE core submodule to master (7bc93e7)" 2015-03-31 17:44:47 +00:00