http://www.mediawiki.org/wiki/Special:Code/MediaWiki/73420
Revision: 73420
Author: dale
Date: 2010-09-20 23:15:40 +0000 (Mon, 20 Sep 2010)
Log Message:
-----------
added link to sequence page in publish summary
Modified Paths:
--------------
branches/MwEmbedStandAlone/modules/Sequencer/actions/mw.SequencerActionsSequence.js
branches/MwEmbedStandAlone/modules/Sequencer/mw.SequencerServer.js
Modified:
branches/MwEmbedStandAlone/modules/Sequencer/actions/mw.SequencerActionsSequence.js
===================================================================
---
branches/MwEmbedStandAlone/modules/Sequencer/actions/mw.SequencerActionsSequence.js
2010-09-20 23:06:53 UTC (rev 73419)
+++
branches/MwEmbedStandAlone/modules/Sequencer/actions/mw.SequencerActionsSequence.js
2010-09-20 23:15:40 UTC (rev 73420)
@@ -35,7 +35,7 @@
// XXX todo we should have an autocomplete on sequence name!
var buttons = {};
- buttons[ gM('mwe-cancel') ] = function(){ $j( this ).dialog(
'cancel' ) };
+ buttons[ gM('mwe-cancel') ] = function(){ $j( this ).dialog(
'cancel' ); };
// For now just support server based open .. ideally we could
browse for file
var $dialog = mw.addDialog({
@@ -80,7 +80,7 @@
// Follow the link
return true;
})
- )
+ );
},
/**
* present an open dialog to the user, and open the sequence in a new
window
@@ -101,7 +101,7 @@
// XXX todo we should have an autocomplete on sequence name!
var buttons = {};
- buttons[ gM('mwe-cancel') ] = function(){ $j( this ).dialog(
'cancel' ) };
+ buttons[ gM('mwe-cancel') ] = function(){ $j( this ).dialog(
'cancel' ); };
// For now just support server based open .. ideally we could
browse for file
var $dialog = mw.addDialog({
@@ -146,7 +146,7 @@
// Follow the link
return true;
})
- )
+ );
},
save: function(){
var _this = this;
@@ -167,7 +167,7 @@
if( !_this.sequencer.getServer().hasLocalChanges() ){
$dialog.html( gM('mwe-sequencer-save-no-changes') );
var closeButton = {};
- closeButton[ gM('mwe-ok') ]= function(){
$j(this).dialog('close') };
+ closeButton[ gM('mwe-ok') ]= function(){
$j(this).dialog('close'); };
$dialog.dialog( "option", "buttons", closeButton);
return ;
}
Modified: branches/MwEmbedStandAlone/modules/Sequencer/mw.SequencerServer.js
===================================================================
--- branches/MwEmbedStandAlone/modules/Sequencer/mw.SequencerServer.js
2010-09-20 23:06:53 UTC (rev 73419)
+++ branches/MwEmbedStandAlone/modules/Sequencer/mw.SequencerServer.js
2010-09-20 23:15:40 UTC (rev 73420)
@@ -406,7 +406,7 @@
'action' : 'upload',
'format': 'json',
'filename':
_this.getVideoFileName(),
- 'comment': 'Published Sequence:
' + saveSummary,
+ 'comment': 'Published [[' +
_this.getTitleKey() + ']] : ' + saveSummary,
'ignorewarnings' : true
}
// Return the apiUrl and request
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs