r35957 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r35956‎ | r35957 | r35958 >
Date:23:34, 5 June 2008
Author:dale
Status:old
Tags:
Comment:
minor formatting updates
Modified paths:
  • /trunk/extensions/MetavidWiki/MV_CongressDynamicData.php (modified) (history)
  • /trunk/extensions/MetavidWiki/README (modified) (history)
  • /trunk/extensions/MetavidWiki/RELEASE (modified) (history)
  • /trunk/extensions/MetavidWiki/includes/MV_AutoCompleteCache.php (modified) (history)
  • /trunk/extensions/MetavidWiki/includes/MV_GlobalFunctions.php (modified) (history)
  • /trunk/extensions/MetavidWiki/includes/specials/MV_SpecialMVAdmin.php (modified) (history)
  • /trunk/extensions/MetavidWiki/skins/mv_allpages.js (modified) (history)
  • /trunk/extensions/MetavidWiki/skins/mv_common.js (modified) (history)
  • /trunk/extensions/MetavidWiki/skins/mv_embed/mv_embed.js (modified) (history)

Diff [purge]

Index: trunk/extensions/MetavidWiki/RELEASE
@@ -1,3 +1,10 @@
 2+version beta 02
 3+changes in this release:
 4+
 5+
 6+mv_embed
 7+
 8+
29 version: beta 01
310 First Release of the metavidWiki software (nothing too special just gziped the svn)
411 see http://metavid.ucsc.edu/wiki/index.php/MetaVidWiki_Features_Overview
Index: trunk/extensions/MetavidWiki/includes/MV_GlobalFunctions.php
@@ -13,7 +13,7 @@
1414 * Switch on Metavid MediaWiki. This function must be called in LocalSettings.php
1515 * its separated out to allow for overwriting semantic wiki hooks and functions
1616 * if semantic wiki is enabled for this wiki.
17 - */
 17+ */
1818
1919 //pre setup setup
2020 if ( !function_exists( 'extAddSpecialPage' ) ) {
Index: trunk/extensions/MetavidWiki/includes/specials/MV_SpecialMVAdmin.php
@@ -28,8 +28,6 @@
2929 */
3030
3131
32 -
33 -
3432 class MVAdmin extends SpecialPage {
3533
3634 /**
@@ -42,7 +40,7 @@
4341 }
4442
4543 public function execute($par = null) {
46 - global $IP;
 44+ global $IP, $mvgIP;
4745 require_once($IP . '/includes/SpecialPage.php' );
4846 require_once($IP . '/includes/Title.php' );
4947
Index: trunk/extensions/MetavidWiki/includes/MV_AutoCompleteCache.php
@@ -11,5 +11,5 @@
1212 */
1313 //@@todo populate this stub (use to store auto-complete stuff for a bit)
1414 class MV_AutoCompleteCache{
15 - }
 15+ }
1616 ?>
Index: trunk/extensions/MetavidWiki/skins/mv_allpages.js
@@ -3,7 +3,7 @@
44 mv_addLoadEvent(mv_setup_allpage);
55 var mv_setup_allpage_flag=false;
66 var base_roe_url = wgServer + wgScript + '?title=Special:MvExportStream&feed_format=roe&stream_name=';
7 -var gMvd={};
 7+var gMvd={};
88 function mv_setup_allpage(){
99 js_log("mv embed done loading now setup 'all page'");
1010 //make sure we have jQuery and any base requried libs:
Index: trunk/extensions/MetavidWiki/skins/mv_common.js
@@ -17,9 +17,8 @@
1818 }});
1919 //add onchange js hooks:
2020 $j('.mv_adj_hr').change(function(){
21 - //preserve track duration for nav and seq:
22 -
23 - //ie seems to crash so don't no interface updates for IE for the time being
 21+ //preserve track duration for nav and seq:
 22+ //ie seems to crash so no interface updates for IE for the time being
2423 if(!$j.browser.msie){
2524 if(mvd_id=='nav'||mvd_id=='seq'){
2625 add_adjust_hooks(mvd_id, track_dur);
Index: trunk/extensions/MetavidWiki/skins/mv_embed/mv_embed.js
@@ -14,7 +14,7 @@
1515 * http://stevenlevithan.com/demo/parseuri/js/
1616 *
1717 * config values you can manually set the location of the mv_embed folder here
18 - * (in cases where media will be in a different place than the javascript)
 18+ * (in cases where media will be hosted in a different place than the embbeding page)
1919 *
2020 */
2121 var mv_embed_path = null;
@@ -1956,13 +1956,13 @@
19571957 * IE and non-firebug debug:
19581958 */
19591959 var log_elm = document.getElementById('mv_js_log');
1960 - if(!log_elm){
 1960+ /*if(!log_elm){
19611961 document.write('<div style="position:absolute;z-index:50;top:0px;left:0px;right:0px;height:150px;"><textarea id="mv_js_log" cols="80" rows="6"></textarea></div>');
19621962 var log_elm = document.getElementById('mv_js_log');
19631963 }
19641964 if(log_elm){
19651965 log_elm.value+=string+"\n";
1966 - }
 1966+ }*/
19671967 }
19681968 }
19691969 //}
Index: trunk/extensions/MetavidWiki/MV_CongressDynamicData.php
@@ -9,9 +9,9 @@
1010 * @email dale@ucsc.edu
1111 * @url http://metavid.ucsc.edu
1212 *
13 - * This extention has a few hooks for embeding dynamic congress related widges and content
 13+ * This extension has a few hooks for embedding dynamic congress related widges and content
1414 * its a normal stand alone extension
15 - * its envoked with #cdd:type:key:
 15+ * its invoked with #cdd:type:key:
1616 * for example {{#cdd:bill_status:govtrack_bill_id}} //will pull up the status for bill_id from govtrack
1717 */
1818 if ( !defined( 'MEDIAWIKI' ) ) die( 1 );
Index: trunk/extensions/MetavidWiki/README
@@ -22,7 +22,7 @@
2323
2424 The Search functionality is extended to do basic metadata queries and
2525 return media results. (ie a category query can return all mvd chunks
26 -in a given category range).
 26+in a given category range). Search results export to rss video feeds.
2727
2828 Categories are extended to include streams, video segments and sequences.
2929 Categories are also extended to support rss video feed export.
@@ -38,6 +38,7 @@
3939 * MediaWiki: MetaVid is an extension to MediaWiki (we run off the svn but should work with anything > 1.10 or so.)
4040 * SemanticMediaWiki: you can get semantic wiki from http://semantic-mediawiki.org/ we use 1.0.1 release
4141 * mod_annodex: you will need a server side ogg segment server we use mod_annodex you can get that at annodex.net
 42+alternatively you could use oggz-chop instead of mod_annodex
4243
4344
4445 ==Install:==

Status & tagging log