Commit graph

10438 commits

Author SHA1 Message Date
jenkins-bot a7fdaffb1b Merge "Clear all diff state when switching editors" 2017-06-24 11:10:32 +00:00
Translation updater bot 2a2b22c829 Localisation updates from https://translatewiki.net.
Change-Id: I157176fbd3f29a718b7b95974216db819c881cb9
2017-06-23 22:54:56 +02:00
jenkins-bot 93a44ef399 Merge "MWTransclusionDialog: fix conditions for "show options" button disabling" 2017-06-23 17:21:50 +00:00
Translation updater bot 48c6e558ea Localisation updates from https://translatewiki.net.
Change-Id: I03013c77fdaffbca561a7e3a3462a5469703b25b
2017-06-22 23:10:14 +02:00
Ed Sanders 11e6e25ac6 Clear all diff state when switching editors
Bug: T168618
Change-Id: I19ff5054b87568546bfe1202d67c5d863e1549be
2017-06-22 10:54:04 -07:00
David Lynch 9ded195f7e MWTransclusionDialog: fix conditions for "show options" button disabling
As I understand it, the button should be enabled whenever there's more than
one option in the sidebar, and disabled otherwise. The previously chosen
conditions weren't perfectly proxying this, and the button would be disabled
whenever editing an already-existing transclusion.

Bug: T167710
Change-Id: Id303b680c072642ae7b66066e28ecc9f1dc90fd7
2017-06-22 17:58:52 +01:00
jenkins-bot e285c8e4cb Merge "Show simple category list in preview" 2017-06-21 20:07:45 +00:00
jenkins-bot 090d26f9c5 Merge "Use Parsoid data for template names rather than detect from wikitext" 2017-06-21 01:15:38 +00:00
jenkins-bot 7cd5a5d61f Merge "Add newline to end of wikitext documents" 2017-06-21 01:10:57 +00:00
Ed Sanders 09519a24d2 Add newline to end of wikitext documents
Bug: T156609
Change-Id: I80d82ad87464b1c6e0344b29123bb96fcc4cffad
2017-06-20 17:51:51 -07:00
jenkins-bot 115f8e7ae5 Merge "Move preview document filtering into MWSaveDialog" 2017-06-21 00:41:26 +00:00
jenkins-bot fc4e836d4b Merge "Fix getWikitextFragment shortcut to return a promise" 2017-06-21 00:40:46 +00:00
Ed Sanders 6f72ef82d9 Show simple category list in preview
Bug: T153534
Change-Id: Ie86abdad76a38855d5ad1a394c0bfb3c8dd5a8c6
2017-06-20 23:50:52 +00:00
Ed Sanders 9dd638a5ab Move preview document filtering into MWSaveDialog
Also:
* Make mw-content-DIR nest inside mw-body-content
* Use ve.filterMetaElements

Change-Id: Ic70c7dff0f74b81f92b8bd48e8092549947990ba
Depends-On: I478fe1f39164b9fd7e71987b818b8f668d1a7020
2017-06-20 23:50:44 +00:00
jenkins-bot 87e1ede04a Merge "Return nothing from styleParsoidElements" 2017-06-20 23:11:46 +00:00
Translation updater bot 8beac44dab Localisation updates from https://translatewiki.net.
Change-Id: Ie734ca2986ad6f5a1da5f349b20756ef283246c3
2017-06-20 23:08:44 +02:00
Ed Sanders e1b4321b5a Return nothing from styleParsoidElements
The method modifies DOM elements in place, and the return
value is never used.

Change-Id: I6254389dbf8daa67795206cb508038b60e1a4761
2017-06-20 21:03:22 +00:00
jenkins-bot c4c4375b7d Merge "Remove old authorListWidget CSS" 2017-06-20 20:13:58 +00:00
Translation updater bot f7586d5f9d Localisation updates from https://translatewiki.net.
Change-Id: I59770f4737b52838d1c5cbdb2e9111986b76fc75
2017-06-19 23:12:02 +02:00
Translation updater bot c5dad8f018 Localisation updates from https://translatewiki.net.
Change-Id: I961fe87e1974dc12df7fd0df33745c95c926a871
2017-06-18 22:55:09 +02:00
Ed Sanders 585cf5f990 Fix getWikitextFragment shortcut to return a promise
Change-Id: Ide5c920332ba9dd0777a7c63e27ebbbc9a391172
2017-06-17 19:42:24 -07:00
Ed Sanders f400a6debe Remove old authorListWidget CSS
Change-Id: Ibeaae78f1424fc098dbc103438e7cb2c4d15c9d8
2017-06-17 19:42:22 -07:00
Translation updater bot b9a6dc8394 Localisation updates from https://translatewiki.net.
Change-Id: I53062bbd73eb478e27284f35320f5bc2bd4809bf
2017-06-17 22:50:13 +02:00
Translation updater bot d67005cdb8 Localisation updates from https://translatewiki.net.
Change-Id: Ic29540f87264d7541afa0a3be696cb47ed7e4f50
2017-06-16 23:02:01 +02:00
jenkins-bot 4b852d899b Merge "Use static parseDocument method" 2017-06-16 18:38:25 +00:00
jenkins-bot 14dd536d32 Merge "ve.ui.MWEducationPopupTool: Remove unnecessary manual popup positioning" 2017-06-16 18:32:51 +00:00
Bartosz Dziewoński 624211a60f Use Parsoid data for template names rather than detect from wikitext
We were incorrectly handling transclusions with trailing
newlines after the template name.

This also improves handling of non-template transclusions,
e.g. parser functions like `{{int:mainpage}}`, which are
no longer mangled as if they were page names.

ve.dm.MWTransclusionNode#isSingleTemplate will now match
a template even if it's name is itself template-generated.

Logic for turning Parsoid's hrefs into page names stolen
from ve.dm.MWImageNode.prototype.getFilename.

Bug: T167613
Change-Id: Ibecf71338eb37bb3da81a7372e4ed41140a9af57
2017-06-14 23:15:18 +00:00
Bartosz Dziewoński 433e7b5069 ve.ui.MWEducationPopupTool: Remove unnecessary manual popup positioning
OOjs UI Popups position themselves automatically relative to their
$floatableContainer these days.

Also added explicit `$floatableContainer: this.$element` in the config
(although not strictly needed, since the parent node is used by
default, this makes the code more robust in case we move the popup
somewhere else in the DOM).

Bug: T167751
Change-Id: Id4267fce6499a4c217f7dc1d18871c02dd078aee
2017-06-14 23:19:09 +02:00
Bartosz Dziewoński 39b82f7b00 Revert 032fb292, a97eacd0
Reverting a new weird hack for an issue and bringing back the
old, tried and true hack that was removed in the mistaken belief
that if a bug is marked as fixed, it is really fixed.

* Revert "MWTransclusionDialog: size footer correctly"
  This reverts commit 032fb2924e.
* Revert "Remove dialog height hack tagged against resolved bug"
  This reverts commit a97eacd05b.

Bug: T93290
Bug: T167483
Change-Id: If1cc07837892bb0248c74025d5403f9698e77705
2017-06-14 20:38:38 +02:00
jenkins-bot 5fbe84a4e6 Merge "MWTransclusionDialog: size footer correctly" 2017-06-14 11:39:41 +00:00
Translation updater bot 98568e734f Localisation updates from https://translatewiki.net.
Change-Id: I751ac55b2a10f014c1db8df1d6915d71711ee5c9
2017-06-13 22:51:12 +02:00
Brad Jorsch 7ec68ed168 API: Split description messages into summary + additional text
See MediaWiki core patch I778bab2b

Change-Id: I642895c0e77dabfde3a7cdc744c5de4df9489aa5
2017-06-13 13:27:52 -04:00
David Lynch 032fb2924e MWTransclusionDialog: size footer correctly
Changing label means a refresh is needed.

Bug: T167483
Change-Id: Ie4b35696bdf21d2a74e786875615d8753a57972d
2017-06-13 11:48:38 -05:00
Translation updater bot 2dc77148cb Localisation updates from https://translatewiki.net.
Change-Id: I182b53a98bb4d7c5e471b23a4665c1c3a84c8b46
2017-06-12 22:52:07 +02:00
jenkins-bot 7e892bbc97 Merge "MWParameterPage: Fix missed remove -> trash icon name rename" 2017-06-12 18:55:05 +00:00
jenkins-bot b170e81d83 Merge "Fix i18n TODOs in CollabPad" 2017-06-12 18:51:31 +00:00
jenkins-bot 27c6f624ae Merge "[DEPRECATING CHANGE] Make Target#createModelFromDom static" 2017-06-12 18:50:38 +00:00
jenkins-bot 076a7feef2 Merge "Add filename to gallery dialog page" 2017-06-12 18:46:48 +00:00
James D. Forrester a7d48228dc MWParameterPage: Fix missed remove -> trash icon name rename
Bug: T167598
Change-Id: I1701bd426ea66a40937bcc69183c697a8e39710d
2017-06-12 11:39:50 -07:00
Translation updater bot 678949a23d Localisation updates from https://translatewiki.net.
Change-Id: Ia2bd46f3bbe52d17c6ea187dbd8a516de564adf8
2017-06-11 22:48:17 +02:00
Translation updater bot a84164a38b Localisation updates from https://translatewiki.net.
Change-Id: Ia38f09ce88980b0954a81b72ff32954e286fed23
2017-06-11 00:39:40 +02:00
Ed Sanders 23c0b6997e Fix i18n TODOs in CollabPad
Change-Id: Ifa802773881e2f2763578223bc76ca2798a08b17
2017-06-10 12:48:09 +01:00
Translation updater bot 44d0e3336b Localisation updates from https://translatewiki.net.
Change-Id: I3d19d4fed087b2f3b2fea902f2a223e765eceddd
2017-06-09 23:04:23 +02:00
Ed Sanders 75d583a0d9 Use static parseDocument method
Change-Id: I545a58ffcbf1c7c57c197f4858958de835a40394
Depends-On: I5b36e187a5e8bb68b47b2fccf5b46c08b81b01d9
2017-06-08 14:43:09 +01:00
Ed Sanders f178061117 [DEPRECATING CHANGE] Make Target#createModelFromDom static
Change-Id: I019689f87ac0f7f40a8a7600029b5ce1bc92e77f
2017-06-08 14:35:31 +01:00
jenkins-bot e97393434a Merge "Give extensions a fallback icon when invisible" 2017-06-07 23:34:20 +00:00
Ed Sanders 8fb56b8d75 Give extensions a fallback icon when invisible
Bug: T166526
Change-Id: I5eafbef3b751a83cef353c8a9f09d90820fa9409
2017-06-07 22:29:19 +01:00
Translation updater bot 94be609bb4 Localisation updates from https://translatewiki.net.
Change-Id: I881fdd18a2a6eda2af0f9b48d0e93ba05b845ee0
2017-06-07 22:56:46 +02:00
L10n-bot 46bcf496fe Merge "Localisation updates from https://translatewiki.net." 2017-06-06 21:03:23 +00:00
Translation updater bot 6c802d059f Localisation updates from https://translatewiki.net.
Change-Id: I927c7fe0f0c1dae63d337245a6e40723a69fd379
2017-06-06 22:50:16 +02:00