User talk:Dispenser

From Wikimedia Commons, the free media repository
Jump to: navigation, search
Welcome to Wikimedia Commons, Dispenser!
Afrikaans | Alemannisch | العربية | Asturianu | Azərbaycanca | Български | বাংলা | Català | Česky | Dansk | Deutsch | Deutsch (Sie-Form)‎ | Zazaki | Ελληνικά | English | Esperanto | Español | Euskara | Estremeñu | فارسی | Suomi | Français | Frysk | Galego | עברית | हिन्दी | Hrvatski | Magyar | Հայերեն | Interlingua | Bahasa Indonesia | Italiano | 日本語 | ქართული | 한국어 | Latina | Lietuvių | Македонски | മലയാളം | मराठी | Bahasa Melayu | Plattdüütsch | नेपाली | Nederlands | Norsk bokmål | Occitan | Polski | Português | Português do Brasil | Română | Русский | Scots | Slovenčina | Slovenščina | Shqip | Српски / srpski | Svenska | Kiswahili | தமிழ் | ไทย | Türkçe | Українська | Vèneto | Tiếng Việt | 中文 | 中文(简体)‎ | 中文(繁體)‎ | 中文(台灣)‎ | +/−

Giggy (talk) 01:35, 6 November 2008 (UTC)


Contents

Ships by IMO number [edit]

Hi Dispenser,

For categories in Category:Ships by IMO number, it would be interesting to have a page that links to various websites about ships that can be queried by IMO number, similar to booksources or the coordinates page. I made a request for a page similar to booksources in bugzilla, but it seems that it's unlikely to happen. Thus I was wondering if you would set one up on toolserver. --  Docu  at 07:43, 16 June 2012 (UTC)

As you may know, I don't particularly like GeoHack. Visitors are confused by the copious links, many of them second rate, and only use five out all the links. This mean the reset of the page is a waste. And then there's an ideological argument to prompt or limit links that meet a FLOSS definition.
Back to the topic, possibly the nicest way to implement this in JavaScript using &withjs= on the links. This would make editing, adding features, and maintenance easier and more reliable. Plus, it'll be implemented a lot sooner. You might need to pass the script off as a gadget to get it into the MediaWiki namespace. —Dispenser (talk) 03:22, 19 June 2012 (UTC)
Sounds good. Is there a sample I could build on? I checked Special:Preferences#mw-prefsection-gadgets, but there seems nothing similar. --  Docu  at 05:24, 23 June 2012 (UTC)
/* [[Commons:IMO sources]]
 * Quick and dirty for generic sources pages
 */
$(function() {
    // Retrieve and escape the replacement for MAGICNUMBER
    var mn_replacement = mw.util.getParamValue("imon");
    if(!mn_replacement) {
        // Null or blank value
        return;
    }
    if(!mn_replacement.match(/^\d+$/)) {
        // Invalid value
        return;
    }
    // Replace HTML with magic number text
    $("#content")[0].innerHTML = $("#content")[0].innerHTML.replace(/MAGICNUMBER/g, mw.html.escape(mn_replacement));
    // Remove the no JavaScript notice
    $("#nojs-notice").remove();
});
Drop that in MediaWiki:IMO_magic.js and open the specially crafted link. Dispenser (talk) 21:11, 23 June 2012 (UTC)
Excellent. Looks very compact. I made the corresponding edit request at MediaWiki talk:IMO magic.js. --  Docu  at 06:48, 24 June 2012 (UTC)

Mediawiki error lists [edit]

Could you please create a pair of subpages and give the full lists of effected files for the errors you brought to the village pump? Thanks! Sven Manguard Wha? 15:27, 1 September 2012 (UTC)

All files with problems that I know of have been listed on the wiki. Unless you're referring to Image scaler problems which should be done within two weeks. Or the secret report on frozen GIFs. —Dispenser (talk) 22:52, 1 September 2012 (UTC)

Update [edit]

Could you please update the list if this is no big deal. (I cleared some percent of all files and they could be deleted from this list "automatically"). --McZusatz (talk) 17:32, 7 September 2012 (UTC)

Done. —19:05, 7 September 2012 (UTC)

404 error at File:The Naval Temple, at The Kymin, Monmouth 3.jpg? [edit]

Hi Dispenser. What happened here? The image was working fine before, and File:The Naval Temple, at The Kymin, Monmouth 2.jpg was uploaded in the same minute yet doesn't exhibit any problem? Thanks. Mike Peel (talk) 19:15, 9 September 2012 (UTC)

I don't know. Likely an issue retrieving with the new storage engine (considering the horrible hack for "long" file name). Anyway, according to Bug 39615 WMFer User:Aaron Schulz is working to fix this. Dispenser (talk) 03:33, 21 November 2012 (UTC)

Broken Videos [edit]

No. Error type
3 File:Dmitry Volodikhin.ogg
Exitcode: 1
2970   av_interleaved_write_frame()
33   Error while opening encoder for output stream
11   could not find codec parameters
3   Audio encoding failed
4   Unable to decode input.
2   Output file #0 does not contain any stream
10 Exitcode: 134
1 Exitcode: 136
34 Exitcode: 137
5 Exitcode: 139
3076 TOTAL

Do you know how to find all "broken" videos such as this one? --McZusatz (talk) 17:30, 20 November 2012 (UTC)

I don't have too much time for investigations this month. I'd try asking on IRC (#wikimedia-tech) if someone could just grep the database. Or with Commons having only 25,208 videos it would take ~8 hours to download each description page and check for class="errorlink". Whichever way, the transcoding queue is probably backed up for the next month and the complete error report with it. —Dispenser (talk) 04:46, 21 November 2012 (UTC)
Thanks for the help so far. What do you think is the best method to download each description page? --McZusatz (talk) 12:53, 22 November 2012 (UTC)
jira:TS-1570. —Dispenser (talk) 21:31, 23 November 2012 (UTC)
Is it likely to get a response? --McZusatz (talk) 13:55, 30 November 2012 (UTC)
I poked DaB on IRC and he quickly added it. Sorry about being slow in posting a report. I left 1,655 av_interleaved_write_frame() affected files (11%) as it might be an implementation issue. A few interesting tid bits: the software upscales 240p ogg to 360p webm, the transcoding timestamps can be used for load and CPU time graphs, 26,969 video files. —Dispenser (talk) 07:42, 17 December 2012 (UTC)
Thank you for the list. I will have a look at the stuff soon. --McZusatz (talk) 09:09, 17 December 2012 (UTC)
Btw. I do not think the software upscales 240p ogg to 360p webm. (See: https://upload.wikimedia.org/wikipedia/commons/thumb/1/14/Tmh.rev.test.ogv/Tmh.rev.test.ogv.360p.webm ) --McZusatz (talk) 22:16, 17 December 2012 (UTC)

Could you please do another update of your sandbox. I cleaned a lot of the files. --McZusatz (talk) 14:15, 24 May 2013 (UTC)

Mismatched extensions [edit]

Rillke did some great progress on the cleanup. Could you please update the list? --McZusatz (talk) 11:47, 18 December 2012 (UTC)

Done Dispenser (talk) 18:29, 18 December 2012 (UTC)

Autopatrol given [edit]

Commons Autopatrolled.svg

Hello. I just wanted to let you know that I have granted autopatrol rights to your account; the reason for this is that I believe you are sufficiently trustworthy and experienced to have your contributions automatically sighted. This will have no effect on your editing, and is simply intended to help users watching Recent changes or Recent uploads to find unproductive edits amidst the productive ones. Thank you. --McZusatz (talk) 14:09, 26 January 2013 (UTC)


Coordinates log [edit]

Hi Dispenser,

Long time since I looked into this. It seems that finally someone else is working on them, see Template_talk:Location#10k_files_in_Category:Pages_with_malformed_coordinate_tags

BTW, the report at https://toolserver.org/~dispenser/logs/coord-commonswiki.log worked on the 26, but displays an error message today. Maybe it just needs re-starting. --  Docu  at 11:14, 1 March 2013 (UTC)