Last modified: 2008-09-04 07:07:01 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 T17124, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 15124 - property containing page can not link to media files after upgrade to 1.2.1
property containing page can not link to media files after upgrade to 1.2.1
Status: RESOLVED INVALID
Product: MediaWiki extensions
Classification: Unclassified
Semantic MediaWiki (Other open bugs)
unspecified
PC Linux
: Normal normal (vote)
: ---
Assigned To: Markus Krötzsch
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-08-11 16:28 UTC by Franz
Modified: 2008-09-04 07:07 UTC (History)
0 users

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


Attachments

Description Franz 2008-08-11 16:28:33 UTC
we are running (in the moment as a test, thus non-critical) an internal mediawiki on Suse 11/Apache system

Produkt  	Version
MediaWiki 	1.12.0
PHP 	        5.2.6 (apache2handler)
MySQL 	        5.0.51a

Semantic Drilldown (Version 0.4.5) 	
Semantic Forms (Version 1.2.8) 	
Semantic Calendar (Version 0.2.7) 	
Semantic MediaWiki (Version 1.2) 	

We have assigned a property DOC (as Page) to link to documents and to make those documents directly accessible in queries. I am not sure if this use of the property was anticipated, but it turned out to be quite handy...

A nested statement [[DOC::[[Media:xyz.pdf]]]] works fine with 1.2 and assigns the document to the property. On the saved page only Media:xyz.pdf is shown
It is then possible to list all pages with defined properties and the documents being linked from those pages.

{{#ask: [[Project::08-15]]
| ?DOC
}}

will list all pages that contain information on the very project and all document links contained in those  pages. This is very handy to obtain automatic chronologies for the projects.

After upgrading to Semantic Mediawiki 1.2.1, the DOC property on those pages is no longer assigned.
The line on the saved page now looks like [[DOC::Media:xyz.pdf]].

After downgrading again to 1.2 everything works fine again. 

Is this a bug - or have I been using a bug as a feature?

Regards, Franz
Comment 1 Markus Krötzsch 2008-09-04 07:07:01 UTC
This change was due to a change in the SMW parser that disables nested links by default. if the problems associated with this do not matter for you, you can reenable this as described on http://semantic-mediawiki.org/wiki/SMW_1.2.1

Otherwise you can also simply drop the nested brackets and write [[DOC::Media:xyz.pdf]].

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


Navigation
Links