Index: trunk/extensions/SemanticMediaWiki/specials/ExportRDF/SMW_SpecialExportRDF.php |
— | — | @@ -437,6 +437,7 @@ |
438 | 438 | } |
439 | 439 | $this->extra_namespaces = array(); |
440 | 440 | $this->printHeader(); // also inits global namespaces |
| 441 | + $linkCache =& LinkCache::singleton(); |
441 | 442 | |
442 | 443 | $start = 1; |
443 | 444 | $end = $this->db->selectField( 'page', 'max(page_id)', false, $fname ); |
— | — | @@ -477,6 +478,7 @@ |
478 | 479 | fwrite($file, $this->post_ns_buffer); |
479 | 480 | $this->post_ns_buffer = ''; |
480 | 481 | } |
| 482 | + $linkCache->clear(); |
481 | 483 | } |
482 | 484 | //DEBUG: |
483 | 485 | $this->post_ns_buffer .= "<!-- Processed $a_count regular articles. -->\n"; |