r106708 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r106707‎ | r106708 | r106709 >
Date:22:20, 19 December 2011
Author:jeroendedauw
Status:ok (Comments)
Tags:
Comment:
fix inf recursion fail
Modified paths:
  • /trunk/extensions/Contest/specials/SpecialContestPage.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Contest/specials/SpecialContestPage.php
@@ -192,7 +192,7 @@
193193 * @return Language
194194 */
195195 public function getLanguage() {
196 - return method_exists( $this, 'getLanguage' ) ? $this->getLanguage() : $this->getLang();
 196+ return method_exists( get_parent_class(), 'getLanguage' ) ? parent::getLanguage() : $this->getLang();
197197 }
198198
199199 }

Follow-up revisions

RevisionCommit summaryAuthorDate
r106838MFT r106452, r106603, r106708, r106709, r106713, r106714reedy19:15, 20 December 2011

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r106603restore compat w/ mw 1.18jeroendedauw21:43, 18 December 2011

Comments

#Comment by Nikerabbit (talk | contribs)   10:22, 20 December 2011

Or just 'SpecialPage', 'getLanguage'?

Status & tagging log