Last modified: 2011-10-15 22:03:14 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 T33415, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 31415 - Noicon parameter for audio files is broken
Noicon parameter for audio files is broken
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
1.18.x
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
: need-integration-test
Depends on:
Blocks: 29876
  Show dependency treegraph
 
Reported: 2011-10-06 07:35 UTC by Yair Rand
Modified: 2011-10-15 22:03 UTC (History)
3 users (show)

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


Attachments

Description Yair Rand 2011-10-06 07:35:32 UTC
The noicon parameter for audio files is broken in Mediawiki 1.18.
Comment 1 Chad H. 2011-10-06 14:30:07 UTC
What is the noicon parameter? Could you provide a link to what's not working? (along with a clear description of what the expected behavior is)
Comment 3 Brion Vibber 2011-10-06 18:18:54 UTC
all the info there seems to have been hidden in a collapsed comment. :P

===
It seems the parameter |noicon in the code
[[File:Accordian chords-01.ogg|noicon|right]]
is no longer observed; vide:
noicon

The template {{Listen/core}} issues this parameter and ignoring it changes the appearance of {{Listen}}. What caused this change and how can it be reverted? -- Michael Bednarek (talk) 13:27, 6 October 2011 (UTC)
===

'noicon' seems to be a special magic word that OggHandler understands which can be used to disable the little 'info' icon that links to the file info page.

Handling still seems to be there, not sure offhand what would have broken it.
Comment 4 Derk-Jan Hartman 2011-10-06 23:11:40 UTC
hmm, remember that a while ago I activated input param validation that was already present, to actually do validation, somewhere in a few media handlers ? Perhaps this is one of the keywords that is not in the validator list ?
Comment 5 Brion Vibber 2011-10-06 23:15:15 UTC
Bingo, that looks suspicious -- in r87923 you tweaked OggHandler::validateParam to check width, height, and thumbtime properly (for bug 28886) but it's not checking anything for 'noicon'. Should be easy to add...
Comment 6 Brion Vibber 2011-10-06 23:20:48 UTC
Fixed on trunk in r99167.
Comment 7 Mark A. Hershberger 2011-10-15 22:03:14 UTC
tagging bugs for Marcus to look at

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


Navigation
Links