mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-09-26 19:56:49 +00:00
Update VE core submodule to master (9c19df0)
New changes: 0318f64 Fix copyright year range for one file not updated to 2011-2014 4dbd57e Add <base> for relative URLs in tests 554cde9 Localisation updates from https://translatewiki.net. c32448a Update OOjs UI to v0.1.0-pre (1c7875205a) 8f675c8 Localisation updates from https://translatewiki.net. 4fb929c Add a <base> to every test document by default 09c404c Protect against invalid/absent <base> in ve.resolveUrl() 05924db Use DOMParser in ve.createDocumentFromHtml() if available 9c19df0 Update OOjs UI to v0.1.0-pre (e697490c9b) Local changes: Use ve.dm.example.base for link tests in mwExample Change-Id: I384e2a2edeebe9379de4910889a61670d9f734f5
This commit is contained in:
parent
b55d28bd24
commit
c149b1c071
2
lib/ve
2
lib/ve
|
@ -1 +1 @@
|
|||
Subproject commit f127451b78f65e9df0f2884e48889e181ba3fc95
|
||||
Subproject commit 9c19df04295402abde23f09a9c3cb3a1c45fb492
|
|
@ -5,8 +5,6 @@
|
|||
* @license The MIT License (MIT); see LICENSE.txt
|
||||
*/
|
||||
|
||||
/*global mw */
|
||||
|
||||
/**
|
||||
* @class
|
||||
* @singleton
|
||||
|
@ -158,7 +156,7 @@ ve.dm.mwExample.MWTransclusion.mixedStoreItems = {
|
|||
};
|
||||
|
||||
ve.dm.mwExample.MWInternalLink = {
|
||||
'absoluteHref': new mw.Uri( '/wiki/Foo/Bar' ).toString()
|
||||
'absoluteHref': ve.resolveUrl( '/wiki/Foo/Bar', ve.dm.example.base )
|
||||
};
|
||||
|
||||
ve.dm.mwExample.MWInternalLink.absoluteOpen = '<a rel="mw:WikiLink" href="' + ve.dm.mwExample.MWInternalLink.absoluteHref + '">';
|
||||
|
@ -185,7 +183,7 @@ ve.dm.mwExample.MWInternalLink.absoluteData = {
|
|||
};
|
||||
|
||||
ve.dm.mwExample.MWInternalSectionLink = {
|
||||
'absoluteHref': new mw.Uri( '/wiki/Foo#Bar' ).toString()
|
||||
'absoluteHref': ve.resolveUrl( '/wiki/Foo#Bar', ve.dm.example.base )
|
||||
};
|
||||
|
||||
ve.dm.mwExample.MWInternalSectionLink.absoluteOpen = '<a rel="mw:WikiLink" href="' + ve.dm.mwExample.MWInternalSectionLink.absoluteHref + '">';
|
||||
|
|
Loading…
Reference in a new issue