- 474 名前:nobodyさん mailto:sage [2008/02/07(木) 09:20:41 ID:???]
- $wgExtensionFunctions[] = "wfMypreExtension";
function wfMypreExtension() { global $wgParser; $wgParser->setHook( "mypre", "renderMypre" ); } function renderMypre( $input, $argv, &$parser ) { $output = "<pre>$input</pre>"; return $output; } こんな感じかな?<mypre>なんたら</mypre>
|
|