http://www.mediawiki.org/wiki/Special:Code/MediaWiki/73361
Revision: 73361
Author: dale
Date: 2010-09-20 07:53:05 +0000 (Mon, 20 Sep 2010)
Log Message:
-----------
bumped revision, don't display sequencer view if 'diff' is requested.
Modified Paths:
--------------
branches/MwEmbedStandAlone/modules/Sequencer/remotes/mw.MediaWikiRemoteSequencer.js
branches/MwEmbedStandAlone/remotes/mediaWiki.js
Modified:
branches/MwEmbedStandAlone/modules/Sequencer/remotes/mw.MediaWikiRemoteSequencer.js
===================================================================
---
branches/MwEmbedStandAlone/modules/Sequencer/remotes/mw.MediaWikiRemoteSequencer.js
2010-09-20 07:39:35 UTC (rev 73360)
+++
branches/MwEmbedStandAlone/modules/Sequencer/remotes/mw.MediaWikiRemoteSequencer.js
2010-09-20 07:53:05 UTC (rev 73361)
@@ -216,7 +216,6 @@
},
drawUI: function() {
-
// Check page action
if( this.action == 'view' ) {
this.showViewUI();
Modified: branches/MwEmbedStandAlone/remotes/mediaWiki.js
===================================================================
--- branches/MwEmbedStandAlone/remotes/mediaWiki.js 2010-09-20 07:39:35 UTC
(rev 73360)
+++ branches/MwEmbedStandAlone/remotes/mediaWiki.js 2010-09-20 07:53:05 UTC
(rev 73361)
@@ -4,7 +4,7 @@
*/
var urlparts = getRemoteEmbedPath();
var mwEmbedHostPath = urlparts[0];
-var mwRemoteVersion = 'r146';
+var mwRemoteVersion = 'r147';
var mwUseScriptLoader = true;
// Log the mwRemote version makes it easy to debug cache issues
@@ -144,7 +144,10 @@
if( wgPageName.indexOf( "Sequence:" ) === 0 ){
//console.log( 'spl: ' + typeof mwSetPageToLoading );
// If on a view page set content to "loading"
- if( wgAction == 'view' || wgAction == 'edit' ){
+ if( ( wgAction == 'view' || wgAction == 'edit' )
+ &&
+ document.URL.indexOf('&diff=') == -1
+ ){
if( wgAction == 'view' ){
mwSetPageToLoading();
}
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs