Commit graph

11704 commits

Author SHA1 Message Date
Ed Sanders 6ee6ac7bdf Make namespace and content model lists extensible
This should really be done automatically by resource loader,
but merging only works on globals. We use this same hack
for plugin modules.

Change-Id: I5f729ddb6146565dc839f60353ac8fa5b2a29ca8
2016-06-01 09:29:34 -07:00
jenkins-bot 02b3d6bad9 Merge "Follow-up If67bab93: Try to unbreak content model checking more" 2016-06-01 13:58:44 +00:00
Ed Sanders b33cd5d8f1 Fix loading bar opacity
* Ensure ve-loading isn't removed early
* Quickly detach then reattach the loading bar during
  activation so it doesn't get moved and marked as original content

Change-Id: I263c9627348953a11966f8bcc435d0d89b0b6084
2016-06-01 14:52:57 +01:00
Alex Monk e91fd07a5c Follow-up If67bab93: Try to unbreak content model checking more
Some code was expecting an associative array with content model IDs
as keys, and some wwas expecting a numeric array.

Make it work more like namespace checks.

Change-Id: I804db88ed4562a6eea2b6723cb5cc8ae39d7c08f
2016-06-01 02:59:13 +01:00
jenkins-bot c09287d1a5 Merge "Fix fatal error in our SkinTemplateNavigation handler" 2016-06-01 01:37:48 +00:00
Alex Monk 1aeedf2f4b Fix fatal error in our SkinTemplateNavigation handler
I must've been testing with some state that didn't trigger this

Change-Id: I6e74ea8c23b0a37fd7e808a66484d5b547b1f844
2016-06-01 02:28:34 +01:00
jenkins-bot d70485244d Merge "Allow extensions to support extra namespaces and content models" 2016-06-01 01:02:51 +00:00
Ed Sanders 796da84576 Allow extensions to support extra namespaces and content models
Change-Id: If67bab93da355da609b6df274514b5c72a6ed91a
2016-06-01 01:55:03 +01:00
jenkins-bot 04f84d4d37 Merge "ve.init.MWWelcomeDialog: Don't mess with the actions dynamically" 2016-05-31 22:20:10 +00:00
jenkins-bot 67d9929049 Merge "ve.init.MWWelcomeDialog: Fix keyboard focus on dialog actions" 2016-05-31 22:20:03 +00:00
Bartosz Dziewoński adffe3788c ve.init.MWWelcomeDialog: Don't mess with the actions dynamically
This removes an "ew" comment, which I presume indicates a hack.

Change-Id: I57dfb173d5f37466686f3f9dd9c97a5e7d685199
2016-05-31 23:15:49 +02:00
Bartosz Dziewoński 3dfd203d1b ve.init.MWWelcomeDialog: Fix keyboard focus on dialog actions
Just remove the setTimeout() call. See the task for explanation.

Bug: T135808
Change-Id: I24509046999ef06cef27adb9266167af29d5f76b
2016-05-31 23:05:38 +02:00
Translation updater bot 3d994ac23e Localisation updates from https://translatewiki.net.
Change-Id: I6ab9559b62d7b80727795a612d3e98c4ff271ed6
2016-05-31 22:46:04 +02:00
jenkins-bot 337109fef1 Merge "Un-blacklist Firefox versions 12,13,14" 2016-05-31 16:55:38 +00:00
Ed Sanders 20fa650a6b Un-blacklist Firefox versions 12,13,14
T52720 (link corruption in FF13/14) appears to be fixed.
T52780 (editor not loading in FF11/12) appears to be fixed.

FF11 has a new issue where templates are normalised even
when not touched (T136607)

Change-Id: I34358e3d90b8186e6b89c04c038ab79c908fc81b
2016-05-31 09:46:50 -07:00
Ed Sanders 4d466f16b5 Add fallback selectors if image page has no existing local content
Change-Id: I1fac3b35b5d498115c96b07c29cf409be72a1389
2016-05-31 16:42:21 +01:00
jenkins-bot d5ad1d3ff8 Merge "Use cloneWithData" 2016-05-30 21:21:46 +00:00
Ed Sanders 35c0a0dc69 Use cloneWithData
Change-Id: I7ffe3c7ab20d5f785a6642c8293f271f4dc08ff8
2016-05-30 21:40:07 +01:00
Translation updater bot 0f61ca8196 Localisation updates from https://translatewiki.net.
Change-Id: Iab577857a9468e5eb02947d7d23469aeb8b9c7af
2016-05-30 22:26:56 +02:00
jenkins-bot eb9c346221 Merge "Update VE core submodule to master (a4a5afa)" 2016-05-30 17:03:51 +00:00
Ed Sanders 5581394ea3 Update VE core submodule to master (a4a5afa)
New changes:
4a5aa37 Clean up debug bar buttons
15f016c Undo sequence input stripping if window is dismissed
e874734 Localisation updates from https://translatewiki.net.
8db33b4 Follow-up e874734: Fix build for added languages 'gom-latn' and 'gor'
79c5d51 build: Update stylelint config version and make it pass
3804f5e build: Remove grunt-cli
cea7b63 Update OOjs UI to v0.17.3
9f648f4 [BREAKING CHANGE] Always get registries/factories via surface
1252814 Add cloneWithData() utility
5ccdef3 [BREAKING CHANGE] Fix debug bar encapsulation

Local changes:
* Fix debug bar encapsulation

Change-Id: I2c5d722278c5f71b59ee2f8849d9babb5aff6af2
2016-05-30 09:53:31 -07:00
Translation updater bot 3a2838f2ba Localisation updates from https://translatewiki.net.
Change-Id: Ieb1a96f43256e8d56d6780e7e30db5bdd3a3670c
2016-05-29 22:33:50 +02:00
jenkins-bot 51ceeda189 Merge "Remove unused namespace class" 2016-05-29 17:19:32 +00:00
jenkins-bot c2c997081f Merge "Fix z-index of surface for debug bar" 2016-05-29 17:19:29 +00:00
Ed Sanders 73a1127981 Fix font size in target widget debug bar
Change-Id: Ic5120fd1d2cc4955a502fa57478a19851f9f6b33
2016-05-29 17:39:09 +01:00
Translation updater bot 5f815996fc Localisation updates from https://translatewiki.net.
Change-Id: I13f5c6866a08bfde9e66f9bdc44ca3058216596e
2016-05-28 22:20:59 +02:00
Ed Sanders d6a770bb4d Remove unused namespace class
Introduced recently but then abandoned.

Change-Id: Ifa999f0e60fe1b6d68c63813025c9fd48b79ad5f
2016-05-28 20:54:24 +01:00
Ed Sanders 293163131b Fix z-index of surface for debug bar
Change-Id: I938f2d959cd7cb72c43c2efd666838a9cd9d3e39
2016-05-28 20:53:40 +01:00
Kunal Mehta c2c26e4afa build: Updating mediawiki/mediawiki-codesniffer to 0.7.2
Change-Id: I8538753d09dba636b21aff20ac08fc8054780adc
2016-05-27 18:26:36 -07:00
jenkins-bot ce149e49d7 Merge "DesktopArticleTarget.init: Make surface hiding hack work with padding" 2016-05-27 18:46:36 +00:00
Ed Sanders 5d9ed11815 DesktopArticleTarget.init: Make surface hiding hack work with padding
Change-Id: Ia8508199c80ef3da7f4ae30bd4e053273fe44d8a
2016-05-27 18:33:33 +00:00
jenkins-bot c6aa99a7b7 Merge "Send edit stash metrics for cache attempts" 2016-05-26 23:01:34 +00:00
jenkins-bot 6334609637 Merge "Track ETag header responses in special event logging schema" 2016-05-26 23:00:52 +00:00
Alex Monk 51dd790710 Track ETag header responses in special event logging schema
Bug: T135171
Change-Id: I70d6db0897c3f08c28d5841302ba7e196f362e48
2016-05-26 23:29:02 +01:00
Aaron Schulz 838d5bc7e4 Send edit stash metrics for cache attempts
Change-Id: Ic5ffcb20ca9062748c2cde232d6aa4ee1522aa55
2016-05-26 21:27:33 +00:00
Translation updater bot 6d9ae3c638 Localisation updates from https://translatewiki.net.
Change-Id: I033ff3bf6882ae805006f12e89fb7e0235206840
2016-05-26 22:47:49 +02:00
jenkins-bot 16ec100cad Merge "Hooks: Replace AddNewAccount, AuthPluginAutoCreate with LocalUserCreated" 2016-05-26 17:39:15 +00:00
Alex Monk afd5944bde Followup I9280fe4d: Merge main case with default, they are identical
Change-Id: I280f0eba1c99f5e96ffe5466e8398115fbc5f4f8
2016-05-26 18:15:27 +01:00
James D. Forrester 0549dc0e47 Hooks: Replace AddNewAccount, AuthPluginAutoCreate with LocalUserCreated
The first two are deprecated. Take advantage of this to consolidate the
code and add comments. Note that these config options are not currently
used in WMF production, and might never be used again, depending on how
futher roll-outs go.

Bug: T135071
Change-Id: Ie7638b1aed9f71c19d0735e831956f853201902b
2016-05-26 18:09:22 +01:00
jenkins-bot 3fbb170c7a Merge "Follow-up 1dc933be: Don't fatal when editing non-NS0/6/14 pages" 2016-05-26 17:03:34 +00:00
jenkins-bot 628e1098af Merge "Use insertContent with templates when range is collapsed" 2016-05-26 16:32:06 +00:00
Ed Sanders bc3edc7712 Use insertContent with templates when range is collapsed
We may be trying to insert a block into a paragraph. fixUpInsertion
handles this, but not if use a replace transactions.

Bug: T136279
Change-Id: I1401da52676e79f38ef835a32d2c76004b75fb4e
2016-05-26 17:10:52 +01:00
James D. Forrester 1b9427c5dd Follow-up 1dc933be: Don't fatal when editing non-NS0/6/14 pages
Change-Id: I9280fe4d771cf7ce1ee3874a34d7a14b672b222c
2016-05-26 09:07:07 -07:00
jenkins-bot 02a8369777 Merge "Clear save caches when toolbar is re-attached" 2016-05-26 16:00:08 +00:00
jenkins-bot 24d313c255 Merge "Append surface & toolbar components in the correct places" 2016-05-26 15:59:35 +00:00
Ed Sanders 67d24eb83f Clear save caches when toolbar is re-attached
Change-Id: I14ddcba9fa4fd5f39341312d241ce59980276a2b
2016-05-26 15:53:04 +00:00
Ed Sanders 1c5c1fc6b9 Append surface & toolbar components in the correct places
Use setSurface and setupToolbar to position the surface and the
toolbar save button in the DOM.

Change-Id: Ide634848f4e78501724c358bcb1fdab8abd491b9
2016-05-26 08:50:21 -07:00
jenkins-bot 6eac839150 Merge "Genericise target initialisation across namespaces" 2016-05-26 15:49:54 +00:00
Gergő Tisza 1f38c6bcfc Update mediawiki_api gem to 1.7.1
Required for selenium test compatibility with AuthManager

Bug: T135884
Change-Id: Iffc3e0aad539316bfcd71f3831ab8eda02916761
2016-05-26 16:05:16 +02:00
Translation updater bot 173067afe6 Localisation updates from https://translatewiki.net.
Change-Id: Ib0280407fd858e968666dc55308753b7beaf108a
2016-05-25 22:27:45 +02:00