r38756 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r38755‎ | r38756 | r38757 >
Date:08:44, 7 August 2008
Author:mkroetzsch
Status:old
Tags:
Comment:
Fix __NOFACTBOX__
Modified paths:
  • /trunk/extensions/SemanticMediaWiki/includes/SMW_Factbox.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticMediaWiki/includes/SMW_Factbox.php
@@ -250,6 +250,7 @@
251251 switch ($showfactbox) {
252252 case SMW_FACTBOX_HIDDEN: // never
253253 wfProfileOut("SMWFactbox::printFactbox (SMW)");
 254+ SMWFactbox::$m_printed = true; // do not print again, period (the other cases may safely try again, if new data should come in)
254255 return;
255256 case SMW_FACTBOX_SPECIAL: // only when there are special properties
256257 if ( !SMWFactbox::$semdata->hasVisibleSpecialProperties() ) {

Status & tagging log