You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
It seems that the arguments are not being read correctly, or in the correct order, when using the classic #ev parser tag.
To Reproduce
Steps to reproduce the behavior:
Insert a classic parser tag for youtube on the page, such as {{#ev:youtube|oCghUlTLKVA||center|||rel=0&enablejsapi=1&origin=https://mywiki.example}}
Save the page
See error EmbedVideo was given an illegal value for the valignment parameter "rel=0&enablejsapi=1&origin=https://mywiki.example". Valid values are "top", "middle", "bottom", or "baseline".
Expected behavior
The arguments should be read in this order:
Between alignment and urlargs there should be two arguments description and container. If these are not used, there should be three pipes. However the only way to get rid of this error is to remove a pipe, and put the urlargs in the place of the container argument. However this would require updating all #ev parser tags on all wiki pages.
Screenshots
Technical information:
OS: Ubuntu 20.04
Browser: chrome
Extension Version: v3.0.4
MediaWiki Version: v1.36.2
Host type: dedicated
Additional context
The text was updated successfully, but these errors were encountered:
Perfect, I'll tag the next version later today
Am 6. Oktober 2021 19:09:30 MESZ schrieb JohnRDOrazio ***@***.***>:
I can confirm that 04f9a20 fixes this issue
--
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
#12 (comment)
--
Diese Nachricht wurde von meinem Android-Gerät mit K-9 Mail gesendet.
Describe the bug
It seems that the arguments are not being read correctly, or in the correct order, when using the classic
#ev
parser tag.To Reproduce
Steps to reproduce the behavior:
{{#ev:youtube|oCghUlTLKVA||center|||rel=0&enablejsapi=1&origin=https://mywiki.example}}
EmbedVideo was given an illegal value for the valignment parameter "rel=0&enablejsapi=1&origin=https://mywiki.example". Valid values are "top", "middle", "bottom", or "baseline".
Expected behavior
The arguments should be read in this order:
Between
alignment
andurlargs
there should be two argumentsdescription
andcontainer
. If these are not used, there should be three pipes. However the only way to get rid of this error is to remove a pipe, and put theurlargs
in the place of thecontainer
argument. However this would require updating all#ev
parser tags on all wiki pages.Screenshots
Technical information:
Additional context
The text was updated successfully, but these errors were encountered: