From: Alex M. H. <ont...@on...> - 2010-03-07 22:14:39
|
I have many pages that get assigned properties based upon embedded queries that are placed on the pages by way of substituting a template ({{subst:templatename}}). Upon the first save after substitution, these properties appear in the factbox, but not in the browsing interface. As described at http://semantic-mediawiki.org/wiki/Help:Repairing_SMW's_data#Using_the_SMW_maintenance_script I have tried rebuilding the properties from scratch from the command line, i.e., SMW_setup.php --delete SMW_setup.php SMW_refreshData.php -ftpv SMW_refreshData.php -v (twice) I've even run a Special:SMWAdmin data update and runJobs.php after that for good measure, followed by a rebuildall.php from the main MW maintenance directory. Then, touch LocalSettings.php Then, I force reload the page, (and/or action=purge or delete the browser cache, then reload). Even after all that, the browse interface will not get updated unless I do at least a null edit, that is, edit and save the page without changing any text. I get the same result whether or not I have set the following in my LocalSettings.php: $wgEnableParserCache = false; $wgCachePages = false; I have tried using the ReplaceText extension to replace ' ' with ' ', which, in theory, should edit all pages (it certainly tells me it's going to), but this does not work. I have confirmed that pywikipediabot can perform an edit/save that SMW will recognize, and the browse interface will work properly after that. I cannot find a way to make pywikipediabot do a null edit, so this method has the unfortunate side effect of doubling all my page data for a current revision, not to mention taking quite some time. This is very frustrating, particularly so because the officially suggested fixes do not work. I'm using MW 1.15.1, SMWHalo 1.4.6, SMW 1.4.3; apache 2.2.8, php 5.2.5 Any ideas? For a temporary workaround, does anyone have a "null edit" script for pywikipediabot? I cannot seem to track one down and I don't know python. What about a mass "null edit" extension for MW (or the ReplaceText extension) in general? Thanks, Alex -- Alex M. Hendler ontolawgy(tm) LLC http://ontolawgy.com |