Index: trunk/extensions/SemanticForms/includes/SF_FormPrinter.php |
— | — | @@ -350,8 +350,8 @@ |
351 | 351 | // remove the '<nowiki>' tags, leaving us with what we need. |
352 | 352 | $form_def = "__NOEDITSECTION__" . strtr( $form_def, array( '{{{' => '<nowiki>{{{', '}}}' => '}}}</nowiki>' ) ); |
353 | 353 | if ( empty( $wgParser->mOptions ) ) { |
354 | | - $title = $this->mPageTitle; |
355 | | - $wgParser->startExternalParse( $title, ParserOptions::newFromUser($wgUser), Parser::OT_HTML, true ); |
| 354 | + if ( !StubObject::isRealObject($wgParser) ) $wgParser -> _unstub(); |
| 355 | + $wgParser->startExternalParse( $this->mPageTitle, ParserOptions::newFromUser($wgUser), Parser::OT_HTML, true ); |
356 | 356 | } |
357 | 357 | |
358 | 358 | // Get the form definition from the cache, if we're using caching and it's |