Commit graph

9821 commits

Author SHA1 Message Date
suchetag 6983fbe3d0 Highlight matching parts of link suggestions
Bug: T93697
Change-Id: I1778dc204e45e0b124e3a171b9cce171a3138a58
2015-05-05 10:08:26 +00:00
Ed Sanders f95cebd8b1 Divide surface margins by 0.8
Change-Id: Ic9a0b3f4d8e82127649bb5ac100e3cbf42001489
2015-05-01 23:17:35 +01:00
Translation updater bot f698593366 Localisation updates from https://translatewiki.net.
Change-Id: I116109929440b27ab7cd7f89bab42e5b0ff9a7d2
2015-05-01 22:07:53 +02:00
James D. Forrester 0480a99b7d Update VE core submodule to master (424a9f4)
New changes:
c5284c7 Use consistent error state for text input widgets
941c1f4 Localisation updates from https://translatewiki.net.

Change-Id: I37a2d40d1a15f54c4e16911560977d7765987199
2015-04-30 18:14:12 -07:00
jenkins-bot 0cda56dc15 Merge "ve.ui.MWParameterPage: Remove dead CSS" 2015-05-01 00:47:39 +00:00
Bartosz Dziewoński 335a702ac3 ve.init.mw.ViewPageTarget: Set custom font-size for original .mw-body-content too
Bug: T97690
Change-Id: I6ac49030cdb40798ae50fadf8179dd3a58e0e4b3
2015-04-30 21:25:49 +00:00
jenkins-bot 2cda9f39a9 Merge "Fix line height inside notice/help popups" 2015-04-30 21:21:35 +00:00
jenkins-bot 79b202de19 Merge "Fix toolbar & debug bar negative margins" 2015-04-30 21:18:03 +00:00
Translation updater bot 10f555b8f2 Localisation updates from https://translatewiki.net.
Change-Id: I24591203264a76dad9115ead463e079d453c286c
2015-04-30 22:22:45 +02:00
Bartosz Dziewoński 2608a6c66b ve.ui.MWParameterPage: Remove dead CSS
Duplicates OOjs UI's 'invalid' flag styles.

Bug: T97516
Change-Id: Ic96c521ea07e02a4f3511550b0db09cf72111fc5
2015-04-30 22:19:12 +02:00
jenkins-bot fbbf4829fe Merge "Make 'page not found' label lowercase" 2015-04-30 19:27:45 +00:00
jenkins-bot f195a705c0 Merge "Remove unless, and almost-useless closures in response cache" 2015-04-30 17:30:50 +00:00
Ed Sanders ffd904022b Remove unless, and almost-useless closures in response cache
Change-Id: Ie02caefe3d8c43b6b1e6b523fb07042f5ae6db37
2015-04-30 17:26:05 +00:00
jenkins-bot 0824d064ec Merge "Make static methods static in linkCache" 2015-04-30 16:13:21 +00:00
Ed Sanders c32cccd90b Make static methods static in linkCache
Also switch out logic duplicated in MWLinkTargetInputWidget with
LinkCache#processpage.

Change-Id: Ie6f3599d4ea5cc9057cf4403f003da00f18cdebe
2015-04-30 17:00:45 +01:00
Ed Sanders 08ca318101 Make 'page not found' label lowercase
Matches case of wikidata labels and redirect message

Change-Id: Iac31531e6fe94abedf34ecaa6a8670b8a677b828
2015-04-30 14:06:32 +01:00
Ed Sanders fd538835ef Fix line height inside notice/help popups
In wikitext editor these messages were in mw-body-content where they
inherited a sensible line height, so apply one manually.

Bonus:
* Make header bold
* Remove some duplication with inheritance

Change-Id: Ia7eaa556815ee6645a85162de03198e5a4dc7b03
2015-04-30 14:02:36 +01:00
Ed Sanders 1a2a08cbf6 Fix toolbar & debug bar negative margins
Now 0.8em is set on the target wrapper, divide all these
margins by 0.8.

Change-Id: If373eac4d2abb9f58da816163b27e4110c39a213
2015-04-30 14:01:37 +01:00
jenkins-bot 6cb513b29c Merge "Update for changes in OOjs UI (Ib40e3477)" 2015-04-30 02:19:18 +00:00
James D. Forrester 4b660ba983 Update VE core submodule to master (3fd7629)
New changes:
5bcaeb3 Update OOjs to v1.1.7
98d34b7 build: Bump various devDependencies
7e8fef2 Add unregister method to ModelRegistry
2fbb6fb Update jQuery from v1.11.2 to v1.11.3
3fd7629 Update OOjs UI to v0.11.0

Change-Id: I6fcd3ec3f11b45185a84d1e6e1405ffd3f9753a7
2015-04-29 19:00:55 -07:00
jenkins-bot 7a3d0e0fbe Merge "build: Bump various devDependencies" 2015-04-29 23:16:17 +00:00
Translation updater bot c9da61130b Localisation updates from https://translatewiki.net.
Change-Id: I99b41f7a7300f986d92839585ea99301828af8ff
2015-04-29 22:38:42 +02:00
Ed Sanders 432e2dcd91 Remove OOUI content icons
Were added to use 'article' in the link inspector, which now
has custom icons.

Change-Id: Id1a4ca8769125d66edac0e8976fc8f476b4cffe9
2015-04-29 19:01:01 +01:00
jenkins-bot 3e2f7f0728 Merge "Show different icons for different result types" 2015-04-29 17:01:33 +00:00
James D. Forrester 65112a7e10 Show different icons for different result types
* Disambiguation
* Redirect
* Not found
* Page exists

Bug: T93694
Change-Id: Ic4a60c95e37de372e8d0c12878dece67a2662343
2015-04-29 17:51:34 +01:00
jenkins-bot 1feb544afc Merge "Revert "Pre-fetch RESTBase DNS and negotiate TLS"" 2015-04-29 16:26:00 +00:00
James D. Forrester a69dcae3ab build: Bump various devDependencies
grunt-contrib-jshint:	0.11.0 -> 0.11.2
	grunt-jscs:				1.5.0 -> 1.8.0

Bug: T90816
Change-Id: I294bd46b2ce48b3839c4e6b200db08e935933379
2015-04-29 08:58:24 -07:00
Ed Sanders 702fc724d7 Follow redirects in the link inspector API
Show redirect targets first, then any redirects to it
immediately after.

Change-Id: Ifde579410b4fbf42e0598e4b069963162333da55
2015-04-29 11:53:40 +01:00
Ed Sanders df6a570f82 Only pull description from wikibase
Filters out 'alias' and other terms not being used yet.

Change-Id: I5d155c76b85de1e5d1d5fb234f565fd6f1658766
2015-04-29 11:17:24 +01:00
Ed Sanders 377f6e4eea Separate inputting of internal and external links
* If the user switches to external links, clear the input
* If the user types something with a protocol, automatically switch
  them to external links. If they manually switch back to internal,
  remember that and don't auto switch them again.
* If the user inputs something without a protocol into the external
  link box, prepend 'http://'

Bug: T93699
Bug: T93700
Change-Id: Ia0e3a04f34077e7bd56254112dafd86ad865cbe2
2015-04-29 11:17:24 +01:00
suchetag 00745cda87 Replacing current order of link suggestions
Replace current, sectioned, order of link inspector suggestions
(existing, redirect, disambig) with order from API.

Reduce number of matches to 5, and show new page suggestion last.

Bug: T93698
Change-Id: Ida887d889730d7749041942636d24e181c335697
2015-04-29 11:17:11 +01:00
James D. Forrester a4d42193f5 Update VE core submodule to master (170bc6b)
New changes:
a739a43 Move setDocument call from ve.dm.Document up to ve.Document
170bc6b bin: Enable 'set -e' and 'set -u' in bash scripts

Change-Id: I5b8767f9ff311e1ffca41839e17c88b72dc888bb
2015-04-28 19:03:49 -07:00
GWicke a44fbbf924 Revert "Pre-fetch RESTBase DNS and negotiate TLS"
This is no longer needed, as VisualEditor now loads the content
from the /api/rest_v1/ entry point at the main project domain.

This reverts commit c741db5378.

Bug: T97500

Change-Id: I9b0dba58484884cdf3c7917c633b9815de4c9f92
2015-04-29 01:14:42 +00:00
jenkins-bot 3152dc104f Merge "Follow-up a4bbe98cd: Kill emptiness hack check in bin/updateSubmodule.sh too" 2015-04-29 00:58:51 +00:00
James D. Forrester 1972afe27e Follow-up a4bbe98cd: Kill emptiness hack check in bin/updateSubmodule.sh too
Change-Id: Ia6e530512413268aeafa09918fa1edf4342dd7e1
2015-04-28 17:53:22 -07:00
jenkins-bot 478f24bf73 Merge "bin: Remove buildi18n-*.sh, unused since 2013" 2015-04-29 00:14:32 +00:00
James D. Forrester c4767d5b5e bin: Remove buildi18n-*.sh, unused since 2013
Change-Id: Iaab453082a4f0364cb6def5d50cd6f0d2c1c12e4
2015-04-28 17:10:33 -07:00
jenkins-bot 368f7a29a8 Merge "bin: Enable 'set -e' and 'set -u' in bash scripts" 2015-04-29 00:00:52 +00:00
jenkins-bot c8fd9f36ce Merge "Remove obsolete bin/generateDocs.sh script" 2015-04-29 00:00:49 +00:00
Timo Tijhof 6030043e31 Remove obsolete bin/generateDocs.sh script
No longer used by Jenkins. Entry point is now `npm run doc`.

Change-Id: Ie8ddb1657f6e5c7703b8ca611fd04506cf7c2a04
2015-04-28 23:57:03 +00:00
Timo Tijhof a4bbe98cd3 bin: Enable 'set -e' and 'set -u' in bash scripts
* set -e: Abort on error.
* set -u: Emit error for undefined variables.

There was one case of unconditional access of a possibly
undefined variable in listRecentCommits.sh. Fixed by replacing
the old "x$x"="x" hack with an explicit emptiness check. The hack
is needed when supporting ancient non-bash shells, but this script
explicitly invokes a bash environment which 'test -z'.

Change-Id: I41a1c0d1bd57b5e241b83224096d32876fd913af
2015-04-29 00:48:24 +01:00
Ed Sanders 59a638491d Fix height when descriptions not present
Change-Id: I9ae9043ebcc99c99d1226635ff408ae1d4015925
2015-04-28 23:26:15 +00:00
jenkins-bot ec62f4a4b8 Merge "Update for Id369ecaec704 in MW core" 2015-04-28 20:21:16 +00:00
jenkins-bot 76aa7c8ad6 Merge "Port ve.init.mw.Target to ve.fixBase()" 2015-04-28 20:21:12 +00:00
Roan Kattouw 9b6a3bb823 Update VE core submodule to master (d1d06fc)
New changes:
d057ec9 ve.ce.TextNode: Do "meaningful whitespace characters" first
49bf45f Fix typo
a1ae2e3 dm.Surface: Fix invalid documentation syntax
cc273a4 Don't skip inline slug contents in getNodeAndOffset()
17bc336 Follow-up I3b9804b00: Fix names of table context icons
8de238e ve.utils: Add ve.fixBase() utility
0993892 Localisation updates from https://translatewiki.net.

Change-Id: Icc68a0168b2243cea98197081eab8daaff7b5b74
2015-04-28 13:10:44 -07:00
jenkins-bot 588ff84dfa Merge "Update VE core submodule to master (345f2be)" 2015-04-28 20:10:17 +00:00
Roan Kattouw 3f38380723 Update for Id369ecaec704 in MW core
We need to load the new indicators and textures modules.

Change-Id: I2653fdf50e46599db4345f9b8dc0e72e815b15e9
2015-04-28 13:01:29 -07:00
jenkins-bot 4d01e4b97e Merge "Follow-up 85381a6b75: update another instance of 'language' to 'textLanguage'" 2015-04-28 20:01:06 +00:00
Roan Kattouw cd7cb6190d Follow-up 85381a6b75: update another instance of 'language' to 'textLanguage'
Change-Id: Id4e636c25fb50448659d24f5432c9ac12ca6f2c6
2015-04-28 12:55:58 -07:00
Translation updater bot 6ac83248a0 Localisation updates from https://translatewiki.net.
Change-Id: Ib078989d4d71b8718ed0a65ca3ea8ed94ba27d9e
2015-04-28 21:32:06 +02:00