Index: trunk/extensions/MetavidWiki/includes/MV_DefaultSettings.php |
— | — | @@ -129,6 +129,9 @@ |
130 | 130 | //The text Embed a metavid Stream inline in the wiki |
131 | 131 | $mvEmbedKey = 'EmbedStream'; |
132 | 132 | |
| 133 | +//wars people of archive inacuracys (given its a wiki and the source is close caption feed) |
| 134 | +$mvEnableStreamNotice=true; |
| 135 | + |
133 | 136 | /* |
134 | 137 | * All Available meta data layers |
135 | 138 | * these type keys are used to allow multiple layers of metadata per stream. |
Index: trunk/extensions/MetavidWiki/includes/MV_MetavidInterface/MV_MetavidInterface.php |
— | — | @@ -64,7 +64,7 @@ |
65 | 65 | $this->page_title = wfMsg( 'mv_edit_sequence', $wgTitle->getText() ); |
66 | 66 | } |
67 | 67 | function setupStreamView() { |
68 | | - global $mvgIP, $mvDefaultStreamViewLength, $wgOut, $mvgScriptPath, $wgUser, $mvDispROEicon; |
| 68 | + global $mvgIP, $mvDefaultStreamViewLength, $wgOut, $mvgScriptPath, $wgUser, $mvDispROEicon, $mvEnableStreamNotice; |
69 | 69 | |
70 | 70 | // set default time range if null time range request |
71 | 71 | $this->article->mvTitle->setStartEndIfEmpty(); |
— | — | @@ -101,10 +101,13 @@ |
102 | 102 | wfMsg( 'mv_of' ) . seconds2ntp( $this->article->mvTitle->getDuration() ) . |
103 | 103 | '</h1>'; |
104 | 104 | |
105 | | - $wgOut->addWikiText( wfMsg('mv_warning_wiki')); |
106 | | - $this->page_header.=$wgOut->getHTML(); |
107 | | - $wgOut->clearHTML(); |
| 105 | + if($mvEnableStreamNotice){ |
| 106 | + $wgOut->addWikiText( wfMsg('mv_warning_wiki')); |
| 107 | + $this->page_header.=$wgOut->getHTML(); |
| 108 | + $wgOut->clearHTML(); |
| 109 | + } |
108 | 110 | |
| 111 | + |
109 | 112 | // add export roe icon: |
110 | 113 | if($mvDispROEicon){ |
111 | 114 | $this->page_header .= '<span id="cmml_link"/>'; |
Index: trunk/extensions/MetavidWiki/skins/mv_allpages.js |
— | — | @@ -11,6 +11,9 @@ |
12 | 12 | if(typeof wgScript=='undefined') |
13 | 13 | var wgScript = "/w/index.php"; |
14 | 14 | |
| 15 | +if(typeof wgScriptPath=='undefined') |
| 16 | + var wgScriptPath = '/w'; |
| 17 | + |
15 | 18 | var gMvd={}; |
16 | 19 | function mv_setup_allpage(){ |
17 | 20 | js_log("mv embed done loading now setup 'all page'"); |