Last modified: 2013-05-24 08:32:05 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 T50761, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 48761 - Disable TimedMediaHandler on wikis without local upload
Disable TimedMediaHandler on wikis without local upload
Status: RESOLVED WONTFIX
Product: Wikimedia
Classification: Unclassified
Site requests (Other open bugs)
wmf-deployment
All All
: Unprioritized minor (vote)
: ---
Assigned To: Dereckson
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-05-24 01:11 UTC by T. H. Kelly (Pink&)
Modified: 2013-05-24 08:32 UTC (History)
5 users (show)

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


Attachments

Description T. H. Kelly (Pink&) 2013-05-24 01:11:19 UTC
As far as I can tell there's no reason for TimedMediaHandler to be enabled on wikis without local upload. It just leaves us with empty special pages (e.g. [[d:Special:TimedMediaHandler]]), and superflous flags in ListGroupRights (e.g. [[d:Special:ListGroupRights#sysop]]).

I suppose there might be one or two cases of a wiki without local upload but that still has local files from before they disabled it, and uses TimedMediaHandler for those files. But I assume those would be the significant minority, and could be handled individually.
Comment 2 Dereckson 2013-05-24 07:54:17 UTC
Transcoding is already disabled on these wikis:

        //enable transcoding on all wikis that allow uploads
        $wgEnableTranscode = $wgEnableUploads;

The extension has another goal: to allow to play videos with the Kultura player. This is the extension job to print a player each time you have a [[File:...ogv]].

That means this extension could only be disabled on wikis where videos don't have to be played.

So it could sense for Wikidata, even there, what if someone would want to add to Commons Wikidata tutorial videos and add them on Help: pages in the future?
Comment 3 T. H. Kelly (Pink&) 2013-05-24 08:02:44 UTC
Oh. Okay. If it's necessary for playing videos, then I agree it shouldn't be disabled. (I assumed that that stuff was all just handled on Commons and transcluded in its entirety to the client sites. My bad!) Still, would there be a way to disable the stuff that's pointless on a no-local-files wiki (the Special page, the user rights, and anything else), while keeping the stuff that's necessary to play videos from Commons?
Comment 4 Dereckson 2013-05-24 08:32:05 UTC
Okay, closing this configuration bug.

* * *

For the UI cleaning, you could open a TimedMediaHandler bug to raise this issue with the extensions developers.

There are some settings (wgEnableLocalTimedText, wgEnableTranscode), which would allow that. But that could make the code more complicated and create some issues in the future.

Product: MediaWiki extensions
Component: TimedMediaHandler
Severity: enhancement
Prioriy: low

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


Navigation
Links