https://bugzilla.wikimedia.org/show_bug.cgi?id=56569
--- Comment #18 from cariaso <[email protected]> --- The problem originates near SF_FormEditAction.php Line 157 static function displayForm( $action, $article ) { // @todo: This looks like bad code. If we can't find a form, we // should be showing an informative error page rather than // making it look like an edit form page does not exist. $title = $article->getTitle(); $form_names = SFFormLinker::getDefaultFormsForPage( $title ); if ( count( $form_names ) == 0 ) { return true; } notice the @todo comment, suggesting this code was never quite finished. returning true here, bails out before the SFFormEdit::printForm( $form_name, $page_name ); a few lines further down in the code. for pages which exist, they eventually get down to the hook code via this route. #0 [internal function]: prefillForm(string, Title, Title) #1 /var/www/html/includes/Hooks.php(206): call_user_func_array(string, array) #2 /var/www/html/includes/GlobalFunctions.php(4004): Hooks::run(string, array, NULL) #3 /var/www/html/extensions/SemanticForms/includes/SF_AutoeditAPI.php(834): wfRunHooks(string, array) #4 /var/www/html/extensions/SemanticForms/includes/SF_AutoeditAPI.php(116): SFAutoeditAPI->doAction() #5 /var/www/html/extensions/SemanticForms/specials/SF_FormEdit.php(92): SFAutoeditAPI->execute() #6 /var/www/html/extensions/SemanticForms/includes/SF_FormEditAction.php(173): SFFormEdit::printForm(string, string) #7 /var/www/html/extensions/SemanticForms/includes/SF_FormEditAction.php(27): SFFormEditAction::displayForm(SFFormEditAction, Article) #8 /var/www/html/includes/Wiki.php(428): SFFormEditAction->show() #9 /var/www/html/includes/Wiki.php(292): MediaWiki->performAction(Article, Title) #10 /var/www/html/includes/Wiki.php(588): MediaWiki->performRequest() #11 /var/www/html/includes/Wiki.php(447): MediaWiki->main() #12 /var/www/html/index.php(46): MediaWiki->run() #13 {main} however empty pages bail out early, and never get the chance to prepopulate their page text. -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
