Last modified: 2009-06-09 16:10:54 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T20986, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 18986 - Smw_import_ is plain broken
Smw_import_ is plain broken
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Semantic MediaWiki (Other open bugs)
unspecified
All All
: Normal major with 1 vote (vote)
: ---
Assigned To: Markus Krötzsch
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-05-28 16:14 UTC by Sergey Chernyshev
Modified: 2009-06-09 16:10 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Sergey Chernyshev 2009-05-28 16:14:32 UTC
Smw_import_ is broken which prevents quite a few use cases for SMW to take place, including collaborative vocabulary creation and full-featured RDF export.

More info is available in this thread:
http://thread.gmane.org/gmane.comp.web.wiki.semediawiki.devel/1399/focus=1406

Markus, please update this with more details about the culprits - I'm not sure about what needs to be done:

    There have indeed been some changes there somewhere around SMW 1.3/1.4. I
    assumed that this is a very rarely used feature, hence did not send any
    warnings. Effectively, there is currently no more datatype enforcement for
    imported properties and you always need to specify the property datatype
    explicitly.
Comment 1 Sergey Chernyshev 2009-05-28 21:59:15 UTC
Applied changes that Li Ding submitted to the list (http://article.gmane.org/gmane.comp.web.wiki.semediawiki.devel/1493):
http://www.mediawiki.org/wiki/Special:Code/MediaWiki/51141

Markus, it seems to work - does this solve the issue or there is anything else we should pay attention to?
Comment 2 Stuart Chalmers 2009-05-29 12:43:04 UTC
Have put my vote in for this bug. Have just started trying out tools (the main one being SMW) as a basis for collaborative editing of the International Virtual Observatory Alliance (IVOA) ontologies (http://www.ivoa.net/). Would like to export the vocabularies using custom includes from various auxilliary ontologies. SMW seems ideal for this, if the include and export is broken.
Comment 3 Markus Krötzsch 2009-06-09 16:10:54 UTC
Thanks for the patch (which actually did a good job as a workaround). The patch enforced unstubbing of all data values whenever retrieved with a certain method. The idea of unstubbing is to do it only whne needed, i.e. when a data value is actually accessed. For the data value that is used for importing, this was simply forgotten: it was never unstubbed before accessing its data. I have now inserted the on-demand unstubs and removed the "isValid" workaround in SVN. I close this bug now, since this is the main issue (and the major bug) that it refers to. If there are any other issues with import of vocabulary, please create new bug reports.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links