Last modified: 2012-03-14 17:05:11 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 T37180, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 35180 - Direct linking of RDF specifications using GET parameter does not work (SMW 1.7.1)
Direct linking of RDF specifications using GET parameter does not work (SMW 1...
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Semantic MediaWiki (Other open bugs)
unspecified
All All
: Unprioritized normal with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-03-13 00:23 UTC by [[kgh]]
Modified: 2012-03-14 17:05 UTC (History)
2 users (show)

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


Attachments

Description [[kgh]] 2012-03-13 00:23:37 UTC
The documentation on [1] states that it is alternatively possible to link to the RDF specifications of a given page by using the GET parameter &page. However when trying to retrieve data with a link like e.g. [2] you get directed to the empty form on Special:ExportRDF. Either the documentation is wrong or this alternative is broken.

[1] http://semantic-mediawiki.org/wiki/Help:RDF_export
[2] http://semanticweb.org/index.php?title=Special:ExportRDF&page=SMWCon_Spring_2012
Comment 1 Jeroen De Dauw 2012-03-13 01:20:21 UTC
Docs are wrong, should be Special:ExportRDF/SMWCon_Spring_2012
Comment 2 [[kgh]] 2012-03-13 13:50:53 UTC
Are they wrong because this second alternative was abandoned? The parameters "recursive", "backlinks" and "xmlmine" do not work with this option.
Comment 3 Jeroen De Dauw 2012-03-13 15:35:39 UTC
Ok, I'll just add this again.

Looks like I broke it in a change attempting to get rid of bad code about 2 or 3 months ago. This page was using such bad code :)
Comment 4 Jeroen De Dauw 2012-03-13 15:39:47 UTC
Should be fixed in r113725
Comment 5 [[kgh]] 2012-03-13 21:31:05 UTC
I just tested r113728 and the "page" parameter seems to work now. I am not sure about "recursive", "backlinks" and "xmlmime" though, since the schema does not change when I vary the different options (0/1) etc.

Unfortunately the fix introduced another problem. As I proceed to Special:ExportRDF I get the RDF of this special page instead of the interface to enter the pages I need for RDF export.
Comment 6 Jeroen De Dauw 2012-03-13 22:43:22 UTC
I should have catched that...

Fixed in r113776 :)

I don't know about the other params. Never used this page, and never poked at the code. No one recent touched it, so if it is broken, it has been like that for a while. I suggest creating a new bug if they are broken :)
Comment 7 [[kgh]] 2012-03-14 17:05:11 UTC
Heiya, this fixed it regarding Special:ExportRDF.

When it comes to the results produced I have the feeling that the other parameters are ignored, both via the special page and via the GET parameters as soon as you set $smwgAllowRecursiveExport = true; I will report another bug for Markus to cross-check.

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


Navigation
Links