r52883 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r52882‎ | r52883 | r52884 >
Date:04:20, 8 July 2009
Author:dale
Status:deferred
Tags:
Comment:
fixed inline play links for recent changes
Modified paths:
  • /trunk/extensions/MetavidWiki/includes/MV_MetavidInterface/MV_EditPageAjax.php (modified) (history)
  • /trunk/extensions/MetavidWiki/skins/mv_allpages.js (modified) (history)

Diff [purge]

Index: trunk/extensions/MetavidWiki/includes/MV_MetavidInterface/MV_EditPageAjax.php
@@ -161,7 +161,7 @@
162162 $lTitle = Title::makeTitle( NS_SPECIAL, 'Userlogin' );
163163 $loginLink = $lTitle->getFullURL('returnto=' . MWNamespace::getCanonicalName( MV_NS_STREAM ) . ':' . $stream_name );
164164
165 - $wgOut->addWikiText( wfMsg( 'mv_user_cant_edit', $loginLink, $cancel ) );
 165+ $wgOut->addHTML( wfMsg( 'mv_user_cant_edit', $loginLink, $cancel ) );
166166 $wgOut->readOnlyPage( $this->mArticle->getContent(), true, $permErrors );
167167 $wgUser->setOption( 'rows', $non_ajax_rows );
168168 wfProfileOut( $fname );
Index: trunk/extensions/MetavidWiki/skins/mv_allpages.js
@@ -165,8 +165,8 @@
166166 $j('#mvd_link_im_'+inx).replaceWith('<div style="height:300px;width:400px;">' +
167167 '<video roe="'+base_roe_url + gMvd[inx]['sn']+'&t='+gMvd[inx]['st']+'/'+gMvd[inx]['et']+'" ' +
168168 'autoplay="true" id="mvd_vid_'+inx +'"></video>' +
169 - '</div>');
170 - init_mv_embed(true);
 169+ '</div><div style="height:10px;clear:both"/>');
 170+ rewrite_by_id('mvd_vid_'+inx );
171171 });
172172 $j('#mv_mvd_ex_'+inx).css('background', 'url(\''+wgScriptPath+'/extensions/MetavidWiki/skins/images/opened.png\')');
173173 $j('#mv_mvd_ex_'+inx).unbind();

Status & tagging log