https://bugzilla.wikimedia.org/show_bug.cgi?id=26692

           Summary: Properties should be parsed by SMW before being used
                    as input for other extensions
           Product: MediaWiki extensions
           Version: any
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: major
          Priority: Normal
         Component: Semantic MediaWiki
        AssignedTo: mar...@semantic-mediawiki.org
        ReportedBy: cre...@gmail.com
                CC: jeroen_ded...@yahoo.com


Extensions using parser function hooks receive the raw wikitext.

To reproduce:

Wiki page: SampleAudioFilePage:

{{TestDoc
|HasAudioFile
}}

Wiki page: Template:TestDoc:

{{#widget:Html5media|url={{{HasAudioFile}}} }}  (Widget extension) 
<player>{{{HasAudioFile}}}</player> (Player extension)

Result of viewing SampleAudioFilePage:

Extensions fail to locate asset and report an error.  At the code level, the
extension's hooked function will contain the raw template wikitext
"{{{HasAudioFile}}}" instead of the expected page value "sample.mp3".

Expected results:

The value "sample.mp3" should be passed as the extension's input.



MediaWiki 1.16
Semantic Bundle 0.4.2.20101105

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to