r41955 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r41954‎ | r41955 | r41956 >
Date:00:21, 11 October 2008
Author:dale
Status:old
Tags:
Comment:
fixed metavid2wiki stream output
Modified paths:
  • /trunk/extensions/MetavidWiki/includes/MV_Hooks.php (modified) (history)
  • /trunk/extensions/MetavidWiki/maintenance/metavid2mvWiki.inc.php (modified) (history)
  • /trunk/extensions/MetavidWiki/skins/mv_stream.js (modified) (history)

Diff [purge]

Index: trunk/extensions/MetavidWiki/maintenance/metavid2mvWiki.inc.php
@@ -493,8 +493,9 @@
494494 $file_list = $aos->getFileList( $stream->name );
495495 $out .= '==More Media Sources==' . "\n";
496496 // all streams have congretional cronical:
497 - $out .= '*[http://www.c-spanarchives.org/congress/?q=node/69850&date=' . $cspan_date . '&hors=' . $ch_type ;
 497+ $out .= '*[http://www.c-spanarchives.org/congress/?q=node/69850&date=' . $cspan_date . '&hors=' . $ch_type .
498498 ' CSPAN\'s Congressional Chronicle]' . "\n";
 499+
499500 if ( $file_list ) {
500501 $out .= '*[http://www.archive.org/details/mv_' . $stream->name .
501502 ' Archive.org hosted original copy]' . "\n";
Index: trunk/extensions/MetavidWiki/includes/MV_Hooks.php
@@ -135,7 +135,11 @@
136136 // confirm we are in the mvd Namespace & update the wiki_title
137137 if ( $old_title->getNamespace() == MV_NS_MVD ) {
138138 MV_Index::update_index_title( $old_title->getDBkey() , $new_title->getDBkey() );
 139+ //remove the old MVD having lots of redirects around is not fun
 140+
 141+
139142 }
 143+
140144 return true;// always return true, in order not to stop MW's hook processing!
141145 }
142146 /*
Index: trunk/extensions/MetavidWiki/skins/mv_stream.js
@@ -882,6 +882,7 @@
883883 js_log('f:mv_play_or_pause:should stop');
884884 ebvid.stop();
885885 ebvid.pauseed=true;
 886+ mv_lock_vid_updates=false;
886887 }else{
887888 js_log('f:mv_play_or_pause:should play');
888889 mv_do_play();

Status & tagging log