mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-29 00:30:44 +00:00
Merge "Enable change makers by default"
This commit is contained in:
commit
64abfff53c
|
@ -64,10 +64,10 @@ ve.init.mw.Platform.prototype.getModulesUrl = function () {
|
|||
*/
|
||||
ve.init.mw.Platform.prototype.useChangeMarkers = function () {
|
||||
var currentUri = new mw.Uri( window.location.toString() );
|
||||
if ( currentUri && 'vechangemarkers' in currentUri.query ) {
|
||||
return true;
|
||||
}
|
||||
if ( currentUri && 'venochangemarkers' in currentUri.query ) {
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue