Wrecked Games

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're just that awesome.

Author Topic: Grrr! wierd wiki problem.. :/  (Read 1840 times)

pjcast

  • Administrator
  • Veteran
  • *****
  • Karma: +0/-0
  • Posts: 2652
    • View Profile
    • http://www.wreckedgames.com
Grrr! wierd wiki problem.. :/
« on: November 11, 2005, 05:39:56 PM »

Ok, so the transition hasn't gone completely smooth.. There is this odd problem where my little simple wiki extension to draw a bar devider across the screen has gone hey wire.. And I cannot identify why. It seems that when the extension is enabled, mediawiki replaces all calls to it (<DRS3>) with some strange text "NaodW29-DRS37ba241d63f0c61de00000001"...

The code is really simple:
Code: [Select]

<?php

$wgExtensionFunctions
[&#93; = "wfDRS";

function wfDRS&#40;&#41;
&#123;
    
global $wgParser;

    
$wgParser->setHook&#40; "DRS3", "DrawRowSpecial3" &#41;;
&#125;

function DrawRowSpecial3&#40; $input &#41; 
&#123;
$path "http&#58;//www.wreckedgames.com/forum/templates/ezHyperShadow/images";
$output '<table cellpadding="0" cellspacing="0" bordor="1" width="100%"><tr>';
$output.= '<td style="background-image&#58; url&#40;'.$path.'/cellpic_topleader.jpg&#41;; background-position&#58; top left; background-repeat&#58; no-repeat;';
$output.= 'width&#58; 60px; height&#58; 25px;"></td>';
$output.= '<td style="background-image&#58; url&#40;'.$path.'/cellpic1.jpg&#41;; height&#58; 25px;">&nbsp;&nbsp;&nbsp;</td>';
$output.= '<td style="background-image&#58; url&#40;'.$path.'/cellpic2.jpg&#41;; background-repeat&#58; no-repeat; background-position&#58; right top; width&#58; 160px;" align="right">&nbsp;&nbsp;</td>';
$output.= '</tr></table>';

return $output;
&
#125;

?>

Logged

pjcast

  • Administrator
  • Veteran
  • *****
  • Karma: +0/-0
  • Posts: 2652
    • View Profile
    • http://www.wreckedgames.com
Grrr! wierd wiki problem.. :/
« Reply #1 on: December 15, 2005, 12:23:03 PM »

I've looked towards fixing the wiki problem.. And, I believe the wierd text issue is a result of the new severs PHP version. I will be updating the wiki software which should fix the problem.
Logged

pjcast

  • Administrator
  • Veteran
  • *****
  • Karma: +0/-0
  • Posts: 2652
    • View Profile
    • http://www.wreckedgames.com
Grrr! wierd wiki problem.. :/
« Reply #2 on: December 15, 2005, 01:28:34 PM »

Ok, I updated the wiki software. Though, I do not have access to the other Theme I had made.. I though I had a backup on this computer, but guess it is on my other computer. Though, I am not sure, but I think that maye the default look is actually ok in this Wiki version.. and may just leave that theme as default.
Logged