r41823 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r41822‎ | r41823 | r41824 >
Date:21:57, 7 October 2008
Author:dale
Status:old
Tags:
Comment:
added stream notice
Modified paths:
  • /trunk/extensions/MetavidWiki/includes/MV_Hooks.php (modified) (history)
  • /trunk/extensions/MetavidWiki/includes/MV_MetavidInterface/MV_MetavidInterface.php (modified) (history)
  • /trunk/extensions/MetavidWiki/languages/MV_Messages.php (modified) (history)

Diff [purge]

Index: trunk/extensions/MetavidWiki/includes/MV_Hooks.php
@@ -309,7 +309,7 @@
310310 if ( $do_adjust == 'true' ) {
311311 // first edit then move
312312 $outputMVD = $MV_Overlay->do_edit_submit( $title_str, $mvd_id, false );
313 - print "got output: $outputMVD \n";
 313+ //print "got output: $outputMVD \n";
314314 // clear the wgOut var:
315315 $wgOut->clearHTML();
316316 // do move and display output page
Index: trunk/extensions/MetavidWiki/includes/MV_MetavidInterface/MV_MetavidInterface.php
@@ -91,6 +91,7 @@
9292 var mvAdvSearch =\'' . htmlspecialchars( $advSearch ) . '\';
9393 /*]]>*/</script>' );
9494
 95+
9596 // also add prev next paging
9697 $this->page_header = '<h1 class="videoHeader">' .
9798 $this->article->mvTitle->getStreamNameText() . ' :: ' .
@@ -99,7 +100,11 @@
100101 $this->components['MV_Tools']->stream_paging_links( 'next' ) .
101102 wfMsg( 'mv_of' ) . seconds2ntp( $this->article->mvTitle->getDuration() ) .
102103 '</h1>';
103 -
 104+
 105+ $wgOut->addWikiText( wfMsg('mv_warning_wiki'));
 106+ $this->page_header.=$wgOut->getHTML();
 107+ $wgOut->clearHTML();
 108+
104109 // add export roe icon:
105110 if($mvDispROEicon){
106111 $this->page_header .= '<span id="cmml_link"/>';
Index: trunk/extensions/MetavidWiki/languages/MV_Messages.php
@@ -15,6 +15,8 @@
1616 'mv_missing_stream' => 'Missing stream: $1',
1717 'specialpages-group-mv_group' => 'MetaVidWiki special pages',
1818
 19+ 'mv_warning_wiki' => '<i>Note: metavid video transcripts [[Help:FAQ#How_accurate_is_the_information.3F|may contain inaccuracies]], help us build [[Help:Participation#Improving_Archive_Accuracy|a more perfect archive]]</i>',
 20+
1921 # stream/files key descriptions:
2022 'mv_ogg_low_quality' => 'Web streamable - Ogg Theora 300kbs',
2123 'mv_ogg_high_quality' => 'High quality - Ogg Theora 900kbs',

Status & tagging log