Commit graph

9810 commits

Author SHA1 Message Date
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
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
jenkins-bot 116e8ca84b Merge "Add images and descriptions to link context items" 2015-04-28 17:23:00 +00:00
jenkins-bot 32491bf54c Merge "Explicitly define module position" 2015-04-28 14:32:40 +00:00
Gilles Dubuc 0149c3dbb5 Explicitly define module position
Style modules currently added through addModuleStyles default
to being in the head ("top" position). This is an unhealthy default,
since only critical styles that are needed at pageload should be
in the head. In order to be able to switch the default to "bottom",
existing module positions have to be defined explicitly.

Bug: T97410
Change-Id: I20cc23390f02b5d39b379fc985a7a6b601f3323e
2015-04-28 07:29:47 -07:00
jenkins-bot d8c0f9e8b3 Merge "Link inspector images and descriptions" 2015-04-27 23:51:38 +00:00
Ed Sanders f83f9ddc1e Add images and descriptions to link context items
Bug: T93695
Change-Id: Ieaa3ced06887f561085f892c6fb34de75a20ff88
2015-04-28 00:23:40 +01:00
suchetag 3963b1daf2 Link inspector images and descriptions
Fetches images from PageImages extension and descriptions
from Wikibase.

Bug: T93693
Bug: T93694 (partial)
Change-Id: I1bea6b7b57ab951e79468cfa00e9eecddc113d18
2015-04-28 00:23:40 +01:00
Translation updater bot 994aace05b Localisation updates from https://translatewiki.net.
Change-Id: Ibc99f9a3382c07a93bc020212e8b7124671e123e
2015-04-27 22:18:33 +02:00
James D. Forrester beb277f7cf Update VE core submodule to master (345f2be)
New changes:
d58157f Localisation updates from https://translatewiki.net.
a0029a2 Localisation updates from https://translatewiki.net.
d834fa4 ve.utils: Rename supportSplice to supportsSplice
15f48c3 Test language annotation
4d903b1 Add tests of other textStyle annotations
550b0db Add missing close tag to tests
167e998 Add unit tests for CE HTML
e02c9c7 Add test for annotation without nodeName
749a2c5 Test direction- and language-only annotations
584a5d2 Create unit tests for createDocumentFromHtml
7a9bec2 Add unit tests for preservation of <html> tag attributes
345f2be Update OOjs UI to v0.10.1

Change-Id: I5d93ccad7c19d16eeecf313ea53815356ba9c36b
2015-04-27 10:36:43 -07:00
Translation updater bot f09d3da451 Localisation updates from https://translatewiki.net.
Change-Id: I14c8d34febbea8d657df8f39d31eb5ec5f024bdb
2015-04-26 22:35:41 +02:00
Translation updater bot 349426e5ed Localisation updates from https://translatewiki.net.
Change-Id: Ic3207f8d10493e91663e2cc02fa5d089b3b6a199
2015-04-25 23:08:37 +02:00
jenkins-bot a615e8e1d2 Merge "Update VE core submodule to master (40ff4c2)" 2015-04-24 22:17:33 +00:00