Commit graph

12409 commits

Author SHA1 Message Date
Translation updater bot 047517fa22 Localisation updates from https://translatewiki.net.
Change-Id: I475a76215ab50328eb2c65d68b2c4be2a5afd6e2
2016-02-08 22:17:32 +01:00
jenkins-bot e5eb83ff8b Merge "build: Bump various devDeps to latest and make pass" 2016-02-08 18:18:03 +00:00
Ed Sanders 25be46a57d Fix transclusion node cloneElement method
* Override the static cloneElement. getClonedElement shouldn't
  be overridden as doing so misses static invocations.
* Apply the same fix to extension nodes
* Fix DOM loop to reference clone.originalDomElements[ i ]

Logically depends on Id8024c171c to work.

Bug: T126169
Bug: T126114
Change-Id: Icf4d3115db5b12b97a6c805ff3d0b71d9e88b804
2016-02-08 15:29:19 +00:00
jenkins-bot a996356e12 Merge "MWImageModel: Use clearDefaultDimensions" 2016-02-08 12:52:10 +00:00
Ed Sanders cfe21d317d MWImageModel: Use clearDefaultDimensions
setDefaultDimensions( {} ) is a no-op.

Bug: T126078
Change-Id: I1ef7cae04574e2561d21d4071d19a0067d81b263
2016-02-08 12:37:26 +00:00
jenkins-bot 0c49aa06a0 Merge "Update VE core submodule to master (c283af7)" 2016-02-08 12:12:54 +00:00
James D. Forrester e6e492efc6 build: Bump various devDeps to latest and make pass
* grunt-contrib-jshint: 0.11.3 -> 0.12.0
  This version of the linter cleans up a number of options. 'es5' is now assumed to be
  true by default, and replaced as 'esversion'; 'latedef' is extended to also cover
  functions' defintions, disabled for us for now; 'futurehostile' is introduced to aid
  future-incompatible names for ES6+ support.

  I adjusted ve.init.mw.DesktopArticleTarget.init.js based on this, as this file is
  meant to be loaded by all JS-capable clients to determine if it is (amongst other
  things) capable of ES5, so now we assert ES3 compatibility via jshint.

* grunt-jscs: 2.5.0 -> 2.7.0
  Minor version bump that doesn't affect us.

* grunt-jsonlint: 1.0.6 -> 1.0.7
  Trivial version bump that doesn't affect us.

Change-Id: Ieb7b6748b0cecf275cfc284fc66617189372461f
2016-02-07 19:41:21 -08:00
jenkins-bot 2b01e43777 Merge "DesktopTarget: Move generic VE desktop styles into a separate module" 2016-02-08 01:59:56 +00:00
Ed Sanders 739f924e98 Follow-up I7e1edcf05c: Remove MonoBook z-index hack
The cited reasons were that the the logo and search bar
have a z-index of 3, but that doesn't matter as they are
nested in other elements with z-indexes.

Change-Id: I7ff279efe7c01ba1ffb1fa0d460d59a493ccc47a
2016-02-07 17:40:50 -08:00
Ed Sanders c51cef07b9 DesktopTarget: Move generic VE desktop styles into a separate module
Here they can be re-used by other VE desktop targets,e.g. Flow.

Change-Id: I18431ff73fc1c6ab5639a579e85b0f0cc48cb9ce
2016-02-07 17:39:57 -08:00
James D. Forrester 1146b1656a Update VE core submodule to master (c283af7)
New changes:
c231686 getViewportDimensions: Fix calculation of 'bottom'
76d7f27 KeyDownHandlers: Make Tab behave the same in table cells as in table selections
19891d6 ResizableNode: Remove assumption about 'width'/'height' attributes
380ff04 cloneElements: Use the correct node type when cloning
5e31903 Localisation updates from https://translatewiki.net.

Change-Id: I1225329b99779d84390ca5ee70de5b431cd8cbda
2016-02-07 17:32:57 -08:00
Translation updater bot 0138f6a71f Localisation updates from https://translatewiki.net.
Change-Id: Ia7c748204f03aa2be7f403846118753c5f174669
2016-02-07 22:22:53 +01:00
jenkins-bot 31e4982256 Merge "[BREAKING CHANGE] Drop MW pre-1.25 PHP API documentation compatibility" 2016-02-07 17:15:36 +00:00
jenkins-bot 16c498fa97 Merge "DesktopArticleTarget#editSource: Use actionFactory to create a window with the surface" 2016-02-07 10:30:06 +00:00
Ed Sanders efd41fbc74 Remove global overlay hack now fixed in Vector
Change-Id: Ic5cfb7ae4d244799be56e12b4b0a44b6ddd00303
Depends-On: I5ebb4e59e3714dfaa3d755ecf6285009efe7b62a
2016-02-07 03:26:02 +00:00
Ed Sanders 9bf010c33c DesktopArticleTarget: Cleanup styles
* Use more specific ve-init-mw-desktopArticleTarget class
* Add comments and reorder in places

Change-Id: Ic9291d3e50304fe3a0efa7ace1ce93c7fba91d98
2016-02-06 19:26:06 -08:00
James D. Forrester bed5988be2 jsduck: Add Text type to external known styles
Used in VE-core since Ib7beda39; not entirely sure how the pull-through
merged without this.

Change-Id: Ib4b91d1cf7ed63550d47ac90d8972eff023950b6
2016-02-06 19:23:16 -08:00
James D. Forrester 8063603ca5 [BREAKING CHANGE] Drop MW pre-1.25 PHP API documentation compatibility
getDescription() and getParamDescription() have been replaced by a proper i18n-based
API documentation system since MediaWiki 1.25. Retaining these does not help us with
backwards-compatibility given that the repo already requires MediaWiki 1.27.0-alpha,
so just drop them before they become out of date.

Change-Id: Ic8b87235aeb7e1bcd7b24d5609c7d002658a66ba
2016-02-06 17:43:37 -08:00
jenkins-bot b7f710baa0 Merge "Set page title when we take over action=edit" 2016-02-06 15:38:39 +00:00
Alex Monk 138fafbbb9 DesktopArticleTarget#editSource: Use actionFactory to create a window with the surface
So the normal logic is used to close other windows etc.

Bug: T125479
Change-Id: Iee9ef7484de745f3adced28cdbcc87a0c2b597f5
2016-02-06 02:02:39 +00:00
James D. Forrester 04259b793a Update VE core submodule to master (f170d48)
New changes:
7d6d45c update-oojs-ui: Don't copy across oojs-ui.js, we don't use that
9ff6c85 Utility function for "index of node in its parentNode's childNode list"
fe6bb82 Remove uses of plain .contentEditable
890a9d7 VE demo: allow saving some markup to localStorage for testing
2504758 Localisation updates from https://translatewiki.net.
7e9f2de Localisation updates from https://translatewiki.net.
35664d6 Convert a bunch of HACK:/XXX:/FIXME: tags to a task reference
f170d48 Localisation updates from https://translatewiki.net.

Change-Id: I91af16e9de4ff60eb1bc4ca2585b5fe79121d095
2016-02-05 15:24:26 -08:00
jenkins-bot e0de4c4447 Merge "Remove all Extension:Cite code, now moved there" 2016-02-05 22:17:08 +00:00
jenkins-bot 5a360f4cbb Merge "Remove mwReference tests, moved to Cite extension" 2016-02-05 22:16:24 +00:00
James D. Forrester 1e0486a679 Remove all Extension:Cite code, now moved there
Depends-on: I39936ed83d5a60471a0a75da753f498e80aef234
Depends-on: Ifd853bf9f901065798bd0063aeaa786a3761aa71
Depends-on: I32c93c5118eafe5f071252290c58d3de8dacc81a
Change-Id: Iba0f25b3ebe4e5e63377da57afb760d6980f9907
2016-02-05 21:36:56 +00:00
Ed Sanders 094555cb3c Remove mwReference tests, moved to Cite extension
Change-Id: I07a2bf45117c2d14c7b00875c0a710e20980a23a
2016-02-05 21:36:56 +00:00
Translation updater bot bd848ac4f1 Localisation updates from https://translatewiki.net.
Change-Id: Ic65af97f6c29c1e0c47317997b18ab064f80a2f5
2016-02-05 21:54:43 +01:00
Alex Monk eb1cab32ff Set page title when we take over action=edit
Bug: T125670
Change-Id: If2ac6457ba82fbd046649afb1e24eab3232c5d85
2016-02-05 02:26:14 +00:00
Translation updater bot 7c07b2706b Localisation updates from https://translatewiki.net.
Change-Id: Ibd8991424c15ff9d6700c5103c75aff17aa452d9
2016-02-04 22:18:02 +01:00
jenkins-bot 740c6d0eff Merge "Default extensions to not use the 'invisible icon'" 2016-02-04 19:59:23 +00:00
jenkins-bot cf3ccd3b45 Merge "SET: Set user's editor to wikitext if the browser doesn't do JS" 2016-02-04 19:57:07 +00:00
Ed Sanders 5864a62134 Default extensions to not use the 'invisible icon'
Bug: T125767
Change-Id: I58c58080382974a887ebc52c1ac80cb5970db8c7
2016-02-04 19:38:16 +00:00
Alex Monk c2e792e334 SET: Set user's editor to wikitext if the browser doesn't do JS
Bug: T121257
Change-Id: I8c734934a76ac73ff943db1712e679a7e73aa1e1
2016-02-04 01:22:54 +00:00
Translation updater bot 622ca082ca Localisation updates from https://translatewiki.net.
Change-Id: I29d93111a508e8af12752b6b93dc13d106f01d5f
2016-02-03 23:09:41 +01:00
jenkins-bot 665731e552 Merge "Update mediawiki_selenium Ruby gem to version 1.6.5" 2016-02-03 17:59:42 +00:00
Željko Filipin 110ecb93b5 Update mediawiki_selenium Ruby gem to version 1.6.5
Bug: T125532
Change-Id: Ife574a2da17e0c8c7082f540f7a1cf475a5713cd
2016-02-03 18:17:12 +01:00
Timo Tijhof 7099ae0eef Fix "Uncaught TypeError: $.cookie is not a function"
Was being thrown on all read pages and caused VE to no longer
load properly.

Three places make use of $.cookie():
* ve.init.mw.DesktopArticleTarget.init.js
* ve.init.mw.DesktopArticleTarget.js
* ve.ui.MWEducationPopupTool.js

Presumably this worked by luck previously due to another extension
or core module depending on it and loading earlier but no more.

Change-Id: I6b00822f1d5d17add3e298cbd77f4790899aaec2
2016-02-03 16:50:31 +01:00
James D. Forrester a68330dda8 Update VE core submodule to master (7c7aa59)
New changes:
635979b Localisation updates from https://translatewiki.net.
cb724cf Update OOjs UI to v0.15.2
4218e04 Defer creation of cell slugs until end of cycle

Change-Id: I21fd0935b4a68c87714f55f596416c8f3230288d
2016-02-02 15:08:53 -08:00
Translation updater bot 0acd4160f4 Localisation updates from https://translatewiki.net.
Change-Id: Id1d12847d0c09993453c889af16266b9bac9d9ee
2016-02-02 21:33:11 +01:00
jenkins-bot 804ab26fb2 Merge "Check xhr.responseText is set before trying to send it to $.byteLength" 2016-02-02 19:08:08 +00:00
Alex Monk 9808d04bfe Check xhr.responseText is set before trying to send it to $.byteLength
Bug: T125399
Change-Id: I09881fe8b6db7d95e32732129d043c4a13fa7a9a
2016-02-02 18:52:56 +00:00
Ed Sanders 98bc5daba1 Use new iconWhenInvisible feature in Transclusion/Extenion nodes
Change-Id: Iba55676c06a1cd625187c38c1ae0c9c20b065827
Depends-On: I127bb5d34850cdc545ea3c05d0fc41a8ae1c6dea
2016-02-02 18:07:13 +00:00
Ed Sanders 6d97858188 Update VE core submodule to master (53476f4)
New changes:
b558ef1 Localisation updates from https://translatewiki.net.
53476f4 Move logic for showing icon for invisibles to focusable node

Change-Id: I4bda82918cb54a3cc77523137fa297960b1b1ba0
2016-02-02 10:06:43 -08:00
Translation updater bot 9ec0705a2b Localisation updates from https://translatewiki.net.
Change-Id: If02911bde5c9cdbaeeaf52a45f4746b1b61b7d16
2016-02-01 21:56:13 +01:00
Ed Sanders db5ed236dd Add controls for wikitable and sortable to table dialog
Bug: T95189
Depends-On: Ife3f3505b845db28dd29a07e9be1533c39726ce1
Change-Id: I1672d8cd2e138df1fad19dcfd948700942e87f2c
2016-02-01 10:58:42 -08:00
Ed Sanders 74358498da Update VE core submodule to master (70ff8cc)
New changes:
242ab45 DesktopContext: Float the context when it goes beyond the viewport
405c44d Rename TableContext to TableLineContext
6c564be Sort messages alphabetically
70ff8cc Introduce table and table cell context

Change-Id: I4357162bc192c90f99ca0aec12eb67bf848e5504
2016-02-01 10:51:26 -08:00
Ed Sanders 5e296a959b Sort messages alphabetically
Change-Id: I45b440b1b020ea79ab4c1eba78effb526c41ddc4
2016-02-01 17:36:43 +00:00
James D. Forrester a6e24f4643 Update VE core submodule to master (81fef4b)
New changes:
d1673d9 Localisation updates from https://translatewiki.net.
1b3516c Localisation updates from https://translatewiki.net.
81fef4b Follow-up 1b3516c6: Fix build for added language 'cdo'

Change-Id: Iddae595684554af653eac3bd59e55364eff73d3e
2016-01-31 15:37:55 -08:00
jenkins-bot 32c91bcf8c Merge "Re-add null appendix tab messages to extension.json" 2016-01-31 22:53:01 +00:00
Translation updater bot 122d76bfbe Localisation updates from https://translatewiki.net.
Change-Id: Ib037f762e584c8b6bc153a469057b362e31393fc
2016-01-31 21:42:24 +01:00
Alex Monk c4a1e2a3f7 Re-add null appendix tab messages to extension.json
Some old code (pre-Icebc378f) is still relying on these existing,
and some users are getting it loaded somehow.

Bug: T125249
Change-Id: I83190da98478bc702c23dfff2091cc5480174958
2016-01-31 18:25:23 +00:00