Commit graph

3423 commits

Author SHA1 Message Date
jenkins-bot b07fe99249 Merge "ve.ui.MWParameterPage: Simplify handling of required parameters a bit" 2015-05-08 04:21:56 +00:00
jenkins-bot 07c85458c5 Merge "mw.Target: Fix API breakage of watchlist preference check" 2015-05-07 23:29:25 +00:00
Translation updater bot 7cb85d8e7c Localisation updates from https://translatewiki.net.
Change-Id: Id4a1efe832f63cc8ebdd4e3050f3a66e14ca77a8
2015-05-07 21:31:17 +02:00
Alex Monk 6c86046bd8 mw.Target: Fix API breakage of watchlist preference check
Bug: T97838
Change-Id: I413c300ad26dd87d9d6a7c6f0032a8165ea7f2c9
2015-05-07 08:40:03 -07:00
Bartosz Dziewoński 5a896f726f ve.ui.MWParameterPage: Simplify handling of required parameters a bit
OOjs UI now implements this behavior with the right configuration.

Change-Id: I7c25508d0e2e59bd013b3ce7aff75fb05f58d9b0
2015-05-07 16:55:18 +02:00
jenkins-bot 9275a0ae15 Merge "Follow-up 5c38995bd9: don't destroy toolbar twice" 2015-05-06 23:24:23 +00:00
Roan Kattouw e644d33a8d Follow-up 5c38995bd9: don't destroy toolbar twice
The toolbar.destroy() call that was added in 5c38995bd9 was
needed to destroy the dummy toolbar when tearing down VE
before a surface had been intialized. But when tearing down
VE after the surface had been initialized (e.g. exiting using
the Read tab), we would do:

* setTimeout in tearDownToolbar()
** Set toolbar height to 0 and wait for transitionend
*** toolbar.destroy() once transition complete
* toolbar.destroy() in cancel()

This meant that we'd listen for a transitionend event
on an unattached element (because once the setTimeout runs,
the toolbar has already been destroyed by the second call),
which of course never fires, so we'd never resolve the
tearDownToolbar deferred and never finish tearing down VE.

Bug: T98388
Change-Id: I504f0cb0bf13643773fc98cb18b7b380cccb2f88
2015-05-06 16:18:45 -07:00
jenkins-bot f1a6e87bc5 Merge "Don't show placeholder references in lists" 2015-05-06 23:17:28 +00:00
Translation updater bot ed9d7a8e08 Localisation updates from https://translatewiki.net.
Change-Id: I5aed29e22daedd8ffa0552b34e60edfd6a93c419
2015-05-06 22:03:28 +02:00
James D. Forrester 38239707b0 jshint: Kill file-level globals and add "moment" to the list
Change-Id: I923ba3490f5fc9b2aaf52d10a163f75dd6401c71
2015-05-06 19:01:27 +00:00
Ed Sanders 9811bc4fd9 Don't show placeholder references in lists
Allow references to be created as placeholders and exclude
them from ReferenceListNodes and the ReferenceSearchWidget.

Bonus: Fix reference numbering when items are skipped (in
list nodes and search widget).

Change-Id: I8dc5146c21f309e89ff4ddd939f7c65a0c358378
2015-05-06 19:15:20 +01:00
Ed Sanders 283047b604 Refactor reference source selection out into a widget
This can be re-used by Citoid.

Bonus: Improve placeholder copy.

Change-Id: I429ce5d7faae56955bcc09a9662d8a36c5098e44
2015-05-06 19:11:35 +01:00
jenkins-bot 873baa22b6 Merge "Revert "Be more selective in application of 0.8em font size"" 2015-05-06 17:33:57 +00:00
Bartosz Dziewoński d008a3bc7c Revert "Be more selective in application of 0.8em font size"
Causes more problems than it fixes.

This reverts commit cab44b55ef.

Bug: T98193
Change-Id: Id40919ceda36a665e23c6f84965a3b979bb33289
2015-05-06 17:08:49 +00:00
jenkins-bot 79fd08b1d6 Merge "Remove bold from result titles so that query highlighting works" 2015-05-06 13:44:50 +00:00
Translation updater bot ddb5aa3691 Localisation updates from https://translatewiki.net.
Change-Id: Icb02aa756fbfe636b6aa9c670185cfe7c31434cc
2015-05-05 22:45:56 +02:00
Ed Sanders d2c096ceb8 Remove bold from result titles so that query highlighting works
Change-Id: I2ee03604ff000bbf9504236b4b3cf1120e1e100c
2015-05-05 19:17:15 +01:00
jenkins-bot b488dbeb8b Merge "Be more selective in application of 0.8em font size" 2015-05-05 17:50:17 +00:00
jenkins-bot b1e426d805 Merge "Convert 'external' links to internal pages pasted into the search field" 2015-05-05 17:47:43 +00:00
Amir E. Aharoni 6c28e1696e Replace "articles" with "pages"
This is the usual convention for consistency and portability.

Change-Id: I2df05ee38d85aa42b79a189bebaa176c2b2c6c4b
2015-05-05 16:28:37 +03:00
jenkins-bot 7d85bc3ae3 Merge "Highlight matching parts of link suggestions" 2015-05-05 10:12:28 +00:00
suchetag 6983fbe3d0 Highlight matching parts of link suggestions
Bug: T93697
Change-Id: I1778dc204e45e0b124e3a171b9cce171a3138a58
2015-05-05 10:08:26 +00:00
jenkins-bot 316d490ad8 Merge "Fix page restoration when Parsoid load fails" 2015-05-05 01:26:57 +00:00
jenkins-bot 1094dc82cc Merge "MWTemplateTitleInputWidget: Add missing local var" 2015-05-05 00:00:45 +00:00
Ed Sanders d921a942b4 MWTemplateTitleInputWidget: Add missing local var
Change-Id: I7faf7610d3d75a4df1fa0f565fb32b08581e44d1
2015-05-04 16:55:02 -07:00
jenkins-bot bb9ed54659 Merge "Make 'Search articles' / 'External links' i18n messages" 2015-05-04 22:25:04 +00:00
Translation updater bot 536ff31288 Localisation updates from https://translatewiki.net.
Change-Id: I9775130c406bfa88fbde903145fe4ab0af70ea0d
2015-05-04 22:28:50 +02:00
jenkins-bot c1b6632a53 Merge "ve.init.mw.ViewPageTarget.js: Fix indentation" 2015-05-04 20:06:07 +00:00
Ed Sanders 4a5cf2062d ve.init.mw.ViewPageTarget.js: Fix indentation
Change-Id: I09c4eac94b36e425cdc77a16fb4b9d30e5b8695d
2015-05-04 20:03:52 +00:00
Translation updater bot 67d8556d70 Localisation updates from https://translatewiki.net.
Change-Id: Ibce9ebba21b1861e4bce59123594ac003b59322a
2015-05-03 21:53:56 +02:00
Ed Sanders 563bb66fc6 Make 'Search articles' / 'External links' i18n messages
Change-Id: I85e13821079c1c04c5f183fc63ba9243ce01a12d
2015-05-03 12:54:33 +01:00
Ed Sanders cab44b55ef Be more selective in application of 0.8em font size
Prevents read-mode elements placed inside the target from
getting scaled down (e.g. firstHeading).

Change-Id: I55ed38e2855c4eb317ec71cebb1842b9b70790b6
2015-05-03 12:05:57 +01:00
Ed Sanders 5c38995bd9 Fix page restoration when Parsoid load fails
Change-Id: I42cd7801af73c97d8fa07a4537c6e1c104e52ac4
2015-05-03 11:51:48 +01:00
Translation updater bot bd112111a5 Localisation updates from https://translatewiki.net.
Change-Id: I83134541db3046f6501b30e4521e673a3bb42bbd
2015-05-02 22:07:36 +02: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
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