Weird Thing with Soundcloud and Iframe Widget Syntax

28 views
Skip to first unread message

Patricia Barden

unread,
Feb 18, 2016, 2:52:15 PM2/18/16
to MediaWiki Widgets
Hello:

This may be a silly thing to report.

When I use the recommended syntax for both Widget:Iframe and Widget:SoundCloud, splitting up the parameters on separate lines, like this I get an error message.

{{#widget:Iframe
|url=http://docs.google.com/present/embed?id=dcn37mcz_22cmnwnwf8
|width=410
|height=342
|border=0
}}


{{#widget:SoundCloud
|id=16040214
|width=100%
}}

The error message is:

Error in Widget:SoundCloud

Error in Widget:Iframe

But if I put all of the parameters on a single line like this then the widget shows up:

{{#widget:SoundCloud|id=16040214|width=100%}}

Any idea why this is happening?

Thank you!

Patricia





Karsten Hoffmeyer

unread,
Feb 26, 2016, 4:07:03 AM2/26/16
to MediaWiki Widgets
Hello Patricia,

that indeed appears to be strange. However, I do not have a clue why this is happening. Perhaps a space after the parameter values is breaking things, though this is a wild guess and I would not expect this to be the issue.

Both Widgets are working on mediawikiwidgets.org using several lines to be embedded. The website is however still on MW 1.25 so I cannot tell what will happen after the next upgrade.

Besides the SoundCloud widget seems to be outdated and needs to be updated not to use Flash. Anyone up to it should do this.

Cheers Karsten

Camponez

unread,
Feb 26, 2016, 4:20:27 AM2/26/16
to mediawik...@googlegroups.com
Soundcloud widget stopped working for me since I upgrade to 1.23. I
could never make it work again.

If curious: cruzeiropedia.org
> --
> You received this message because you are subscribed to the Google Groups
> "MediaWiki Widgets" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to mediawiki-widg...@googlegroups.com.
> To post to this group, send email to mediawik...@googlegroups.com.
> Visit this group at https://groups.google.com/group/mediawiki-widgets.
> For more options, visit https://groups.google.com/d/optout.



--
[]'s
Camponez

Patricia Barden

unread,
Mar 1, 2016, 11:01:13 AM3/1/16
to MediaWiki Widgets
Hello again:

It looks like I was mistaken about syntax being a problem.

Neither the Iframe widget nor the Soundcloud widget is working on my wiki.

I'm getting this error message:


Error in Widget:SoundCloud

Error in Widget:Iframe

Here's my version info:

MediaWiki     1.25.3
PHP     5.6.17 (apache2handler)
MySQL     5.1.56-log

Any help you can give me with this is greatly appreciated.

Thank you!

Patricia

Karsten Hoffmeyer

unread,
Mar 4, 2016, 4:53:41 AM3/4/16
to MediaWiki Widgets
Indeed thats's strange.

You had a similar post here (https://groups.google.com/forum/#!topic/mediawiki-widgets/uVN0UFNXpmw) after your last upgrade. So the same fix may probably work again. I cannot replicate the issue.

* Are only these two widgets broken?
* What is the server's log saying?

Cheers Karsten

PS The SoundCloud widget is currently non-functional  anyway so this one has to be fixed. Iframe however is working.
Reply all
Reply to author
Forward
0 new messages