Commit graph

10466 commits

Author SHA1 Message Date
jenkins-bot f3c9784a76 Merge "Add spacer above basic reference option" 2015-08-23 20:46:52 +00:00
Translation updater bot ebc59b0c93 Localisation updates from https://translatewiki.net.
Change-Id: If545da604fffe1096618877fbdb8a53c4dfff973
2015-08-23 21:40:18 +02:00
Ed Sanders e59ee87887 Add spacer above basic reference option
Also add classes to basic/reuse so they can be differently styled.

Bug: T108725
Change-Id: I4d128afe86c7fae2d8cbd8a57749970942e39e76
2015-08-23 20:06:35 +01:00
Translation updater bot 544421a31d Localisation updates from https://translatewiki.net.
Change-Id: Ibb171514ab93770dfd18751c5a9da54d6cc7f644
2015-08-22 23:14:21 +02:00
jenkins-bot 614000851d Merge "Update VE core submodule to master (7ec7bb5)" 2015-08-21 19:35:58 +00:00
jenkins-bot a2060f57c1 Merge "MWLinkNodeInspector: Remove 'Open' button" 2015-08-21 19:30:40 +00:00
Translation updater bot d9af00392f Localisation updates from https://translatewiki.net.
Change-Id: I0c362dd030a23102524c0300d6bc6a6771f6b6fa
2015-08-21 21:00:37 +02:00
James D. Forrester d868a0f981 Update VE core submodule to master (7ec7bb5)
New changes:
0590b07 build: Enable jscs's checkParamNames jsdoc rule and make pass
8b845d7 doc: Fix jsdoc for ve.ui.WindowAction#getWindowManager
3819ff6 Localisation updates from https://translatewiki.net.
94651ca Follow-up 3819ff6: Fix build for added language 'su'
5feb0c7 build: Enable jscs's requireParamTypes jsdoc rule and make pass
0605837 build: Enable the remaining jscs jsdoc rules we can
e70f972 build: Enable jscs's checkTypes jsdoc rule and make pass
44eb8fe Localisation updates from https://translatewiki.net.
dc7c8ed Make focusing surfaces work in Firefox

Change-Id: I11248b4c190839cb87948b13b844d6171341d5c8
2015-08-21 10:46:01 -07:00
jenkins-bot ab950434c0 Merge "Use ve.dm.MWInternalLinkAnnotation for autolinks where appropriate" 2015-08-21 16:59:15 +00:00
jenkins-bot f2b5d4cc79 Merge "Builder for ve.dm.MWInternalLinkAnnotation" 2015-08-21 16:58:08 +00:00
Alex Monk 01f7207947 Don't retry request in tryWithPreparedCacheKey unless the error was badcachekey
Bug: T109787
Change-Id: I66cd40fadcdfd59bbea05240d0c9917342c6f5a2
2015-08-21 02:01:56 +01:00
Translation updater bot 6ae6373842 Localisation updates from https://translatewiki.net.
Change-Id: I897c31fac2447b0e7ae798e5a4b24888d0a5d0a0
2015-08-20 21:28:24 +02:00
jenkins-bot c20915032e Merge "QA: Upgrading to mw-selenium 1.x" 2015-08-20 17:27:12 +00:00
Dan Duvall 668a149103 QA: Upgrading to mw-selenium 1.x
Upgraded mw-selenium to 1.x, following the docs at
https://doc.wikimedia.org/rubygems/mediawiki-selenium/file.UPGRADE.html

Created an `environments.yml` file, converted page object definitions to
use relative paths, and refactored references to the global `ENV` using
methods of `MediawikiSelenium::Environment`.

Upgraded commons_upload as well to resolve a dependency conflict on
mediawiki_api.

Paired with: Rummana Yasmeen <ryasmeen@wikimedia.org>

Bug: T99661
Change-Id: I2a05cd816ea43afb48157e5dbe1ae42c6c124f6b
2015-08-20 09:52:16 -07:00
jenkins-bot 9ed7cd63ca Merge "build: Enable jscs jsDoc rules 'require*Types' and make pass" 2015-08-19 23:03:39 +00:00
jenkins-bot 0b0e17591c Merge "build: Enable jscs jsDoc rule 'checkTypes' and make pass" 2015-08-19 23:02:13 +00:00
jenkins-bot 94fdcf5699 Merge "build: Enable jscs jsDoc rules 'checkRedundant*' and make pass" 2015-08-19 23:02:11 +00:00
jenkins-bot 667e18cad2 Merge "build: Enable jscs jsDoc rule 'checkParamNames' and make pass" 2015-08-19 23:02:00 +00:00
James D. Forrester 55f78fcbf6 MWLinkNodeInspector: Remove 'Open' button
You can now do this from the context menu. No need to have extra buttons, and
this makes it consistent with the MWInternal/MWExternal link inspector.

Bug: T109646
Change-Id: Ifd4b3645c66ba2f32ccee7e2848967cf5e7ec82e
2015-08-19 15:58:13 -07:00
C. Scott Ananian 21b86a2b69 Use ve.dm.MWInternalLinkAnnotation for autolinks where appropriate
Change-Id: I904e797732c98a07654772a4f2432ba3ae5d7050
2015-08-19 16:57:06 -04:00
C. Scott Ananian 2852f6368f Builder for ve.dm.MWInternalLinkAnnotation
Add ve.dm.MWInternalLinkAnnotation.static.newFromTitle to build an
appropriate internal link annotation from a mw.Title.  Tweaked some
method signatures to avoid repeated reparsing of the title text.

Also refactor ve.dm.MWInternalLinkAnnotation.static.getTargetDataFromHref
to explicitly return a boolean indicating whether the result was determined
to be an internal link.

Bug: T64816
Change-Id: I74385d7b3ede1794398dabb749185f4080509b99
2015-08-19 16:57:06 -04:00
jenkins-bot 44ad757463 Merge "build: Enable jscs jsDoc rule 'requireNewlineAfterDescription' and make pass" 2015-08-19 20:52:38 +00:00
jenkins-bot 0d5803d6a5 Merge "build: Enable jscs jsDoc rule 'checkAnnotations' and make pass" 2015-08-19 20:50:00 +00:00
jenkins-bot 90b2717bb9 Merge "build: Enable jscs rule 'requireVarDeclFirst' and make pass" 2015-08-19 20:45:13 +00:00
jenkins-bot 8b50887e78 Merge "build: Enable jscs rule 'requireSpacesInsideBrackets' and make pass" 2015-08-19 20:31:38 +00:00
jenkins-bot c2ea2d8129 Merge "build: Enable jscs rule 'requireDotNotation' and make pass" 2015-08-19 20:31:36 +00:00
Translation updater bot 6f5de25be5 Localisation updates from https://translatewiki.net.
Change-Id: I08cf651d4e52d32b5c9a700630fa98308f7e6455
2015-08-19 22:16:27 +02:00
James D. Forrester bf520fee03 build: Enable jscs jsDoc rules 'require*Types' and make pass
Change-Id: I60c769f1cb028e4f4da7aeb04ed2383b689ddbc8
2015-08-19 11:38:35 -07:00
James D. Forrester 282ddfa1b6 build: Enable jscs jsDoc rule 'checkTypes' and make pass
Change-Id: Idbf6e698ba7015ee5e4f1cf78234ad3f187f1c06
2015-08-19 11:37:13 -07:00
James D. Forrester 9e7041f925 build: Enable jscs jsDoc rules 'checkRedundant*' and make pass
Change-Id: I36262ee1fe6116749586014fd30df3e00733fa6c
2015-08-19 11:35:43 -07:00
James D. Forrester 00d3226be1 build: Enable jscs jsDoc rule 'checkParamNames' and make pass
Change-Id: Ifcd3f67524c32148ff3591263d6374b31ee57d3b
2015-08-19 11:33:59 -07:00
James D. Forrester 85f91f394e build: Enable jscs jsDoc rule 'requireNewlineAfterDescription' and make pass
Change-Id: I7c0fabc93834d19198caea8f5dd1834e9e473d0a
2015-08-19 11:21:01 -07:00
James D. Forrester 945242a55a build: Enable jscs jsDoc rule 'checkAnnotations' and make pass
Change-Id: I76abb1eb1f3e1a2e8a4c03f577a080f4889b3a6d
2015-08-19 11:09:34 -07:00
James D. Forrester 19df1d4c8a build: Enable jscs rule 'requireVarDeclFirst' and make pass
Change-Id: Ia2f765d12bde001c329c2ff4c080a36b71de9803
2015-08-19 11:05:01 -07:00
James D. Forrester f5c6f61163 build: Enable jscs rule 'requireSpacesInsideBrackets' and make pass
Change-Id: I846d36c15e1b1f810d2ef7fd422f8412790bcb0f
2015-08-19 10:33:02 -07:00
James D. Forrester 06cdfe7acb build: Enable jscs rule 'requireDotNotation' and make pass
Change-Id: I2586e6959c3bbc7e4204242fc65551747c0e25a9
2015-08-19 10:26:19 -07:00
James D. Forrester 2efec36a10 build: Bump jscs devDependency from 1.8.0 to 2.1.0
Change-Id: I75a99990c61d7f1f0a963f003c0e8bdb9c5215b6
2015-08-19 10:25:11 -07:00
James D. Forrester 44d739c164 Update VE core submodule to master (4c8168a)
New changes:
7311e96 Localisation updates from https://translatewiki.net.
b517839 Revert "Localisation updates from https://translatewiki.net."
42db2eb Improve ve.ui.UrlStringTransferHandler.test.js
89e9227 ve.ce.Surface#afterPaste: Use only relevant HTML when creating DTI from image
9e80e7f build: Update various devDependencies to latest
c93722b build: Enable jscs's requireNewlineAfterDescription jsdoc rule and make pass
2a67aa8 Update OOjs UI to v0.12.5
82cc2a0 Rebuild tree when toggling input debugging

Change-Id: I2c5023a0b2e08f20b3544e8cab5d439ccc4088d7
2015-08-19 08:49:10 -07:00
Ed Sanders c0d2546617 Add down indicator to advanced menu in mobile
It is a dropdown list so give it the down indicator we use elsewhere.

Change-Id: I8976f2bc5edd1e221ca155da02660703318480ac
2015-08-19 13:05:14 +01:00
Alex Monk 5e02fe9f7c Save dialog: Don't try to pass in undefined checkboxes fields to setupCheckboxes
checkboxFields in the setup data is optional, it's only actually set up by
DesktopArticleTarget's overridden openSaveDialog function, not mobile's
(or presumably other Target classes).

Bug: T109501
Change-Id: Ibc5f821be822fa3704bbfb55345687dd7795e203
2015-08-18 20:34:32 +00:00
Jforrester 60fc27e0bb Revert "Localisation updates from https://translatewiki.net."
Removes a qqq message.

This reverts commit ca8fd38fc4.

Change-Id: Ib97216c5e413a475ab4f083ebfcdb15c04b2dad3
2015-08-18 20:16:29 +00:00
Translation updater bot ca8fd38fc4 Localisation updates from https://translatewiki.net.
Change-Id: Ifc40b26d5b180760ccdcee5cfa89c12e1240553c
2015-08-18 21:23:54 +02:00
Ed Sanders 17f0fffe85 Update VE core submodule to master (1191940)
New changes:
de69c36 Fix typos in function names
fa80099 [BREAKING CHANGE] Split out linear context from context
db1d28c Only show alien context for focusable nodes
1191940 build: Bump grunt-jscs to 2.0.0 and make pass

Local changes:
* Update context inheritance

Change-Id: I284e2b30cd1903770482ee1c554687b676a2d626
2015-08-18 11:24:08 -07:00
jenkins-bot d0b3c40239 Merge "Set the default feedback message to the page URL" 2015-08-18 15:55:25 +00:00
jenkins-bot 46f87b4aba Merge "Detect paste of wikitext and convert it" 2015-08-18 15:55:22 +00:00
jenkins-bot 679b8f3094 Merge "Fix typos in function names" 2015-08-18 15:49:29 +00:00
C. Scott Ananian a6775796fe Detect paste of wikitext and convert it
This invokes Parsoid to convert likely wikitext pastes.

This addresses about 20% of the <nowiki> insertion quantified at
https://fr.wikipedia.org/wiki/Wikip%C3%A9dia:%C3%89diteurVisuel/Avis/Nowiki
for 2015-04-08 which were due to inadvertent pastes of wikitext.

For a better user experience, suppress Parsoid's P-wrapping if the
output consists of a single top-level P element.  This ensures that
pasting '[[Foo]]' won't add an unexpected newline before the paste.

Bug: T54204
Bug: T109449
Change-Id: I26a4cd8dc5b7e7caf16ca081dbe7baf6a7db8e5c
2015-08-18 15:16:06 +00:00
C. Scott Ananian 550a979fdb Update VE core submodule to master (0bf4ce7)
New changes:
44f8204 Autolink pasted links

Local changes:
* Add UrlStringTransferHandler from core

Change-Id: I7eae6da2739fa47b22ed1e7fbf53e9473e037c5b
2015-08-18 07:20:29 -07:00
Ed Sanders 87daf4773d Fix typos in function names
Change-Id: Id8a9bcd1b4409bc8132ac6007b75274074f5f477
2015-08-18 13:54:51 +01:00
jenkins-bot b5dc12d50e Merge "Update VE core submodule to master (cf224ad)" 2015-08-18 09:49:08 +00:00