Commit graph

9795 commits

Author SHA1 Message Date
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
Aaron Schulz e64c3bfd1d Use ResourceLoaderModule::safeFilemtime instead of using filemtime directly
Change-Id: Ic3a3a23e31b57b1508757ee6a1b0888b4e5f6cce
2015-03-31 17:08:24 +00:00
James D. Forrester b53f81361a i18n: Re-sort alphabetically
Change-Id: I68fecddaf30881541b19012e252d72374b50a443
2015-03-31 07:53:45 -07:00
James D. Forrester b57bb64866 Update VE core submodule to master (7bc93e7)
New changes:
8417448 Remove manager delay overrides
87d1c1a Fix comparison of null RangeStates
8335e08 Don't break the editor if paste handling fails
ad00c33 Remove lengthDifference property from transactions
7a31e9d Clear pasteTarget even when copying a multi-cell table selection
b09a29b Fix JS error when pasting only aliens
7bc93e7 Trim whitespace from link targets

Change-Id: Ia1f45c1e50fef39acccc573216c9e665b92ddf8c
2015-03-31 07:35:47 -07:00
Roan Kattouw 37bb76e13b Fake <base href> if missing or invalid
If the Parsoid document has an invalid base URI or none at all,
construct one based on wgArticlePath so link href resolution
still works properly. This is needed especially when creating
a new page, because the "Parsoid HTML" is an empty document
in that case.

Bug: T94315
Change-Id: I5d9709725ef471c7ce1987ce887708ac5ee4259a
2015-03-30 21:30:58 -07:00
Roan Kattouw 5026e9b4f5 MWInternalLinkAnnotation: Remove useless .toString() call
ve.resolveUrl() always returns a string, so .toString() is not needed.

Change-Id: Ia699821148687ca16ef642bf94740384779ecb5a
2015-03-30 21:14:27 -07:00
jenkins-bot 84cb0cac7b Merge "Update VE core submodule to master (fd7ee98)" 2015-03-31 00:05:02 +00:00
jenkins-bot ef304b3755 Merge "Fix choose event listeners" 2015-03-30 21:41:40 +00:00
James D. Forrester ce0b8d593e Update VE core submodule to master (fd7ee98)
New changes:
8151b6f Localisation updates from https://translatewiki.net.
fd7ee98 Add class="notranslate" to prevent Chrome from translating the CE DOM

Change-Id: I1d4be9f77d86a78bcedf7a6166ca43f74f74e249
2015-03-30 14:29:30 -07:00
jenkins-bot 026c015696 Merge "Correct font sizes of everything on MonoBook" 2015-03-30 21:25:33 +00:00
jenkins-bot 2a8c61b57f Merge "Support an "other" page for special characters" 2015-03-30 20:51:23 +00:00
jenkins-bot 2dbe12bc66 Merge "Handle a further 70 WikiEditor special characters" 2015-03-30 20:50:19 +00:00
jenkins-bot de41c333a8 Merge "mw.Target: Defer parsing of edit notices to MWNoticesPopupTool" 2015-03-30 20:26:09 +00:00
jenkins-bot 156ea81167 Merge "mw.Target: Remove visible text filter for edit notices" 2015-03-30 20:26:06 +00:00
Translation updater bot 6403e1c469 Localisation updates from https://translatewiki.net.
Change-Id: Ie41623a1bcfab60c46afc0dca631e76a0dceb02c
2015-03-30 21:50:17 +02:00
Timo Tijhof eca25738df mw.Target: Defer parsing of edit notices to MWNoticesPopupTool
Also use an array instead of an object. The keys were already
meaningless (index numbers). A "wikimedia/*" Git search did not
show any usage outside MWNoticesPopupTool. However, the array is
backward-compatible with any code using it as an object for keys
or looping (just in case).

This should also make the order more reliable.

Bug: T87412
Change-Id: I683cc902bda5ba768e962af6725e657871b79b9a
2015-03-30 20:47:25 +01:00
Timo Tijhof 97d7da6643 mw.Target: Remove visible text filter for edit notices
This removes the hack for bug 43013, since T91715 has been fixed.

Bug: T87412
Change-Id: I7f477d0815a8b9a7ca2f4405e4c2d6e914868c56
2015-03-30 20:43:25 +01:00