-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
<?php $wgExtensionFunctions[] = "wfTest"; function wfTest() { global $wgParser; $wgParser->setHook( "Test", "renderTest" ); } function renderTest( $input ) { [...] [preparing $opts] [...] $output .= new phpMyEdit($opts); //weird... return $output; } ?>
Why are you concatenating an object to what should be a string? Furthermore, you're currently working on a parser hook, which usually shouldn't need database information.
- -- Edward Z. Yang Personal: edwardzyang@thewritingpot.com SN:Ambush Commander Website: http://www.thewritingpot.com/ GPGKey:0x869C48DA http://www.thewritingpot.com/gpgpubkey.asc 3FA8 E9A9 7385 B691 A6FC B3CB A933 BE7D 869C 48DA
wikitech-l@lists.wikimedia.org