Bug ID: 63487
           Summary: refreshLinks.php is destroying SMW-Data
           Product: MediaWiki
           Version: unspecified
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Unprioritized
         Component: Maintenance scripts
       Web browser: ---
   Mobile Platform: ---

Everytime when I run refreahLinks.php without any options, the complete
semantic data from SMW is destroyed in the database (not on the pages).

The complete Attributes are destroyed, and semantic querys leats to no results.

After editing and safing a random page, the semantic data of this single random
page is recovered. This is working with every page.

I have figured out the following:

when I comment out the line ~244 in refreshLinks.php

$updates = $content->getSecondaryDataUpdates( $page->getTitle());

the semantic data is not destroyed.


Also I have figured out that inside the RefreshLinksJob.php

there is a very similar function in line 172

 $updates = $content->getSecondaryDataUpdates( $title, null, false,
$parserOutput );

with much more source code in front.

I have the feeling this second script is the one that runs after a single page
edit with saving. This one seems to work fine.

Am I right? What can I do to fix the problem?

You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
Wikibugs-l mailing list

Reply via email to