rebuildData.php gone?

From semantic-mediawiki.org

I am trying with SMW 2.3.1 (on MW 1.26.2). rebuildData.php does not seem to be available anymore? Has that been replaced by rebuildall.php? Should one (I?) update this Help page correspondingly?

Unfortunately, running rebuildall.php (after update.php) on my imported existing data gets this error while refreshing link tables:

PHP Catchable fatal error:  Argument 1 passed to SMW\Subobject::__construct() must be an instance of Title, null given, called in /home/mw_crm7dev/htdocs/w/extensions/SemanticMediaWiki/src/Query/ProfileAnnotator/QueryProfileAnnotatorFactory.php on line 29 and defined in /home/mw_crm7dev/htdocs/w/extensions/SemanticMediaWiki/includes/Subobject.php on line 42
PHP Stack trace:
PHP   1. {main}() /home/mw_crm7dev/htdocs/w/maintenance/rebuildall.php:0
PHP   2. require_once() /home/mw_crm7dev/htdocs/w/maintenance/rebuildall.php:67
PHP   3. RebuildAll->execute() /home/mw_crm7dev/htdocs/w/maintenance/doMaintenance.php:103
PHP   4. RefreshLinks->execute() /home/mw_crm7dev/htdocs/w/maintenance/rebuildall.php:60
PHP   5. RefreshLinks->doRefreshLinks() /home/mw_crm7dev/htdocs/w/maintenance/refreshLinks.php:58
PHP   6. RefreshLinks::fixLinksFromArticle() /home/mw_crm7dev/htdocs/w/maintenance/refreshLinks.php:175
PHP   7. AbstractContent->getSecondaryDataUpdates() /home/mw_crm7dev/htdocs/w/maintenance/refreshLinks.php:248
PHP   8. AbstractContent->getParserOutput() /home/mw_crm7dev/htdocs/w/includes/content/AbstractContent.php:230
PHP   9. WikitextContent->fillParserOutput() /home/mw_crm7dev/htdocs/w/includes/content/AbstractContent.php:497
PHP  10. Parser->parse() /home/mw_crm7dev/htdocs/w/includes/content/WikitextContent.php:331
PHP  11. Parser->internalParse() /home/mw_crm7dev/htdocs/w/includes/parser/Parser.php:439
PHP  12. Parser->replaceVariables() /home/mw_crm7dev/htdocs/w/includes/parser/Parser.php:1239
PHP  13. PPFrame_DOM->expand() /home/mw_crm7dev/htdocs/w/includes/parser/Parser.php:3342
PHP  14. Parser->braceSubstitution() /home/mw_crm7dev/htdocs/w/includes/parser/Preprocessor_DOM.php:1177
PHP  15. PPFrame_DOM->expand() /home/mw_crm7dev/htdocs/w/includes/parser/Parser.php:3665
PHP  16. Parser->braceSubstitution() /home/mw_crm7dev/htdocs/w/includes/parser/Preprocessor_DOM.php:1177
PHP  17. PPFrame_DOM->expand() /home/mw_crm7dev/htdocs/w/includes/parser/Parser.php:3442
PHP  18. Parser->braceSubstitution() /home/mw_crm7dev/htdocs/w/includes/parser/Preprocessor_DOM.php:1177
PHP  19. Parser->callParserFunction() /home/mw_crm7dev/htdocs/w/includes/parser/Parser.php:3523
PHP  20. call_user_func_array() /home/mw_crm7dev/htdocs/w/includes/parser/Parser.php:3789
PHP  21. SMW\ParserFunctionFactory->SMW\{closure}() /home/mw_crm7dev/htdocs/w/includes/parser/Parser.php:3789
PHP  22. SMW\ShowParserFunction->parse() /home/mw_crm7dev/htdocs/w/extensions/SemanticMediaWiki/src/ParserFunctionFactory.php:273
PHP  23. SMW\AskParserFunction->parse() /home/mw_crm7dev/htdocs/w/extensions/SemanticMediaWiki/includes/parserhooks/ShowParserFunction.php:67
PHP  24. SMW\AskParserFunction->doFetchResultsForRawParameters() /home/mw_crm7dev/htdocs/w/extensions/SemanticMediaWiki/includes/parserhooks/AskParserFunction.php:120
PHP  25. SMW\AskParserFunction->createQueryProfile() /home/mw_crm7dev/htdocs/w/extensions/SemanticMediaWiki/includes/parserhooks/AskParserFunction.php:185
PHP  26. SMW\Query\ProfileAnnotator\QueryProfileAnnotatorFactory->newJointProfileAnnotator() /home/mw_crm7dev/htdocs/w/extensions/SemanticMediaWiki/includes/parserhooks/AskParserFunction.php:198
PHP  27. SMW\Subobject->__construct() /home/mw_crm7dev/htdocs/w/extensions/SemanticMediaWiki/src/Query/ProfileAnnotator/QueryProfileAnnotatorFactory.php:29

Any hints?

19:43, 4 March 2016

rebuildData.php is still present in current master and so it should at your end. rebuildall.php is a core script that currently does not seem to play with SMW.

20:00, 4 March 2016
 

> PHP Catchable fatal error: Argument 1 passed to SMW\Subobject::__construct() must be an instance of Title, null given,

See [0] for the analysis of the issue.

> I am trying with SMW 2.3.1 (on MW 1.26.2). rebuildData.php

Is expected to work as described by the documentation (otherwise our tests would fail and you would see a red status alert on [1]).

[0] https://github.com/SemanticMediaWiki/SemanticMediaWiki/issues/1318

[1] https://github.com/SemanticMediaWiki/SemanticMediaWiki

Cheers

22:34, 4 March 2016