Index: trunk/extensions/PlayerStatsGrabber/playerStats.js |
— | — | @@ -1,6 +1,5 @@ |
2 | 2 | //wgServerOveride: leave empty to use the current server |
3 | 3 | // (else provide the absolute url to index.php of the wiki you are recording stats to) |
4 | | -var wgServerOveride = ""; |
5 | 4 | var global_req_cb = new Array();//the global request callback array |
6 | 5 | |
7 | 6 | /*parseUri class:*/ |
— | — | @@ -21,8 +20,8 @@ |
22 | 21 | } |
23 | 22 | |
24 | 23 | //build our request url: |
25 | | - if( wgServerOveride!="" ){ |
26 | | - url= wgServerOveride; |
| 24 | + if( wgServerOverride!="" ){ |
| 25 | + url= wgServerOverride; |
27 | 26 | }else{ |
28 | 27 | url = wgServer +((wgScript == null) ? (wgScriptPath + "/index.php") : wgScript); |
29 | 28 | } |
— | — | @@ -71,6 +70,7 @@ |
72 | 71 | }); |
73 | 72 | } |
74 | 73 | } |
| 74 | + |
75 | 75 | //extend the OggHandler object for stats collection |
76 | 76 | if(typeof wgOggPlayer.doStats =='undefined'){ |
77 | 77 | for(var i in wgExtendedOggPlayerStats){ |