Index: trunk/extensions/SemanticMediaWiki/includes/SMW_Factbox.php |
— | — | @@ -213,7 +213,6 @@ |
214 | 214 | if (!$smwgStoreActive) return; |
215 | 215 | if (SMWFactbox::$m_printed) return; |
216 | 216 | wfProfileIn("SMWFactbox::printFactbox (SMW)"); |
217 | | - SMWFactbox::$m_printed = true; |
218 | 217 | |
219 | 218 | // Global settings: |
220 | 219 | if ( $wgRequest->getCheck('wpPreview') ) { |
— | — | @@ -249,6 +248,7 @@ |
250 | 249 | break; |
251 | 250 | // case SMW_FACTBOX_SHOWN: display |
252 | 251 | } |
| 252 | + SMWFactbox::$m_printed = true; |
253 | 253 | |
254 | 254 | smwfRequireHeadItem(SMW_HEADER_STYLE); |
255 | 255 | $rdflink = SMWInfolink::newInternalLink(wfMsgForContent('smw_viewasrdf'), $wgContLang->getNsText(NS_SPECIAL) . ':ExportRDF/' . SMWFactbox::$semdata->getSubject()->getPrefixedText(), 'rdflink'); |