r114383 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r114382‎ | r114383 | r114384 >
Date:17:46, 21 March 2012
Author:yaron
Status:ok
Tags:
Comment:
Follow-up to r114323 - changed newFromRedirect() to newFromRedirectRecurse()
Modified paths:
  • /trunk/extensions/SemanticForms/specials/SF_FormEdit.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticForms/specials/SF_FormEdit.php
@@ -110,7 +110,7 @@
111111 // If the form page is a redirect, use the other form
112112 // instead.
113113 if ( $form_title->isRedirect() ) {
114 - $form_title = Title::newFromRedirect( $form_definition );
 114+ $form_title = Title::newFromRedirectRecurse( $form_definition );
115115 $form_article = new Article( $form_title, 0 );
116116 $form_definition = $form_article->getContent();
117117 }

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r114323Added handling for forms that are redirects to other formsyaron22:53, 20 March 2012

Status & tagging log