User talk:Krinkle: Difference between revisions

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search
Content deleted Content added
→‎A barnstar for you!: new WikiLove message
Line 347: Line 347:
:It was intended as uncontroversial maintenance. If there is any reason to belief something is odd... I've restored both in their original state. –''[[User:Krinkle|Krinkle]]''<sup>[[User talk:Krinkle|talk]]</sup> 19:02, 11 June 2012 (UTC)
:It was intended as uncontroversial maintenance. If there is any reason to belief something is odd... I've restored both in their original state. –''[[User:Krinkle|Krinkle]]''<sup>[[User talk:Krinkle|talk]]</sup> 19:02, 11 June 2012 (UTC)
::Thank you for restoring the images. The odd thing was that two duplicate images had different authors. But now that I can see both images I see that they are different and not duplicates. /[[User:Ö|Ö]] 19:52, 11 June 2012 (UTC)
::Thank you for restoring the images. The odd thing was that two duplicate images had different authors. But now that I can see both images I see that they are different and not duplicates. /[[User:Ö|Ö]] 19:52, 11 June 2012 (UTC)

== A barnstar for you! ==

{| style="background-color: #fdffe7; border: 1px solid #fceb92;"
|rowspan="2" style="vertical-align: middle; padding: 5px;" | [[File:Vitruvian Barnstar Hires.png|100px]]
|style="font-size: x-large; padding: 3px 3px 0 3px; height: 1.5em;" | '''The Technical Barnstar'''
|-
|style="vertical-align: middle; padding: 3px;" | For literally writing the entire code for two (very important) gadgets today. [[User:Siddhartha Ghai|Siddhartha Ghai]] ([[User talk:Siddhartha Ghai|<span class="signature-talk">talk</span>]]) 01:35, 5 July 2012 (UTC)
|}

Revision as of 01:35, 5 July 2012

User:Krinkle/X

I reply to messages left on my talk, on my talk page. If I left a message on your talk page, I will reply there (unless you specify otherwise)
Welcome to my talk page. Please sign and date your entries by inserting ~~~~ at the end. Start a new talk topic.

Deutsch  English  français  magyar  日本語  한국어  македонски  português do Brasil  русский  Tiếng Việt  +/−

help on writing sql

Hi, I want to write a query than give me user's contribute in each namespace in each month. I want to use it for most editing users in last month. would you please help me on writhing this code?--Reza1615 (talk) 11:15, 23 September 2011 (UTC)[reply]

  1. ... using the API?
  2. ... using toolserver.org?
  3. ... using index.php and parsing HTML?

I assume 2. since you'd like to use SQL. Contributions count? Something like http://toolserver.org/~soxred93/pcount/index.php?name=Reza1615&lang=commons&wiki=wikimedia does? RE rillke questions? 12:02, 23 September 2011 (UTC)[reply]

I appreciate asking me but please post this somewhere central and public. Such as Commons:Village pump (if it's Commons specific), mw: Project:Support (if it's for the MediaWiki in general), or meta: Project:Babel (if it's in general for Wikimedia/Wikipedia wikis). I read those three pages regularly and so do other experts, that way others can answer easily as well and there's less chance of people asking the same question twice, since the questions+answered are archived there together. Thanks! –Krinkletalk 16:35, 23 September 2011 (UTC)[reply]

Hi Krinkle, Thanks for your comments and removing the bot comments on my page. Regards, Alf

PD-geq

Hi, you created {{PD-geq}} as a placeholder, and then the uploader did this. Seems rather messy. How to fix it? Rd232 (talk) 23:20, 26 September 2011 (UTC)[reply]

Thanks, deleted again. –Krinkletalk 23:27, 26 September 2011 (UTC)[reply]
Thanks, but that leaves quite a lot of files relying on the deleted template. Judging by a sample of files, the uploader was using {{PD-self}} for the license. Can we recreate PD-qeq with PD-self, or would we need to substitute PD-geq on every file? Rd232 (talk) 23:41, 26 September 2011 (UTC)[reply]
Recreating with {{PD-self}} would put two PD-self's on the page. I'm removing those PD-geq uses now. –Krinkletalk 23:42, 26 September 2011 (UTC)[reply]
OK. Rd232 (talk) 07:11, 27 September 2011 (UTC)[reply]

Bot created categories

Dag, zou je de 500 ledige en uncategorised cats van Babel Autocreate kunnen deleten ? Het vult Special:UncategorizedCategories helemaal op. Beste groet. --Foroa (talk) 12:03, 28 September 2011 (UTC)[reply]

Hoi Foroa, ik kom hier denk ik niet aan toe. Op Commons:Bots/Work requests is er vast wel iemand die het wil doen. –Krinkletalk 17:41, 28 September 2011 (UTC)[reply]

idea, js expert wanted ;)

Hi Krinkle, as suggested in IRC, I put my thoughts here, hope it's more or less clear. Do you think it's easy to implement? A JS script to implement it on a user-base would suffice for the moment. Thank you! --Elya (talk) 18:46, 3 October 2011 (UTC)[reply]

Gadgets

Hi, I see you working on the gadgets, could you do the following as well:

  1. User:Rillke/Gadget-GallerySlideshow.js to check
  2. User:Rillke/Gadget-GallerySlideshow.css to check
  3. User:Rillke/Gadget-GallerySlideshow.cssMediaWiki:Gadget-GallerySlideshow.css
  4. User:Rillke/Gadget-GallerySlideshow.jsMediaWiki:Gadget-GallerySlideshow.js
  5. MediaWiki:Gadget-GallerySlideshow.js l. 16 importStylesheet('User:Rillke/Gadget-GallerySlideshow.css');importStylesheet('MediaWiki:Gadget-GallerySlideshow.css');

and optimize it by doing the same as here? Thanks. I also asked DieBuche but it seems to me this user took vacation. -- RE rillke questions? 17:50, 5 October 2011 (UTC) [reply]

DieBuche is back. But we need probably help or advice regarding resource loader. Thank you. -- RE rillke questions? 10:43, 10 October 2011 (UTC)[reply]

Bot has administrator status now. Please continue testing to finalize request. --EugeneZelenko (talk) 14:56, 11 October 2011 (UTC)[reply]

I'll prepare a test run soon. Thanks! –Krinkletalk 16:55, 11 October 2011 (UTC)[reply]
Hi Krinkle, the main page of zhwiki is at zh:Wikipedia:首页, the next day's main page is at zh:Wikipedia:首页/明天, so you can include that in your testing when you have time ;) --Bencmq (talk) 13:14, 16 October 2011 (UTC)[reply]
Commons:Auto-protected files/wikipedia/zh Krinkletalk 21:24, 16 October 2011 (UTC)[reply]

MediaWiki:JSONListUploads.js

Hi Krinkle, can you please clarify what's happening with MediaWiki:JSONListUploads.js? Are we waiting for you to find the time to review the script (or changes to it), or what? I appreciate the 1.18 MediaWiki update caused all sorts of issues that may have taken your time, but this thing has dragged on so long and it's not clear to me what's going on. Thanks. Rd232 (talk) 18:52, 14 October 2011 (UTC)[reply]

MediaWiki:Gadget-ExtraTabs2.js

Hi Krinkle, are you sure the Thumbnail Purge of MediaWiki:Gadget-ExtraTabs2.js is working? I've got both ExtraTabs2 and Thumbnail Purge enabled, but I don't get any "generate thumbnail" links on file pages. Am I missing something? Rd232 (talk) 23:58, 31 October 2011 (UTC)[reply]

Abusefilter pages make my client freezing

Recently, you added Tiny textareas in AbuseFilter are annoying, and never the right size. to common.js. I am not sure whether this causes that my browser becomes unresponsive when loading a abuse-filter-page or whether it is caused by something else.

Client: Firefox 7.0.1

Additionally this is superflous for users of modern browser since they can resize textareas without a js-plugin. Therefore I would appreciate being able to opt-out it. And: Please remember that $.getScript( isn't secure for Firefox. Sometimes it executes the function befor the script is actually interpreted. Happy fixing. Regards. -- RE rillke questions? 17:44, 2 November 2011 (UTC)[reply]

Making Cat-a-lot use RL causes i18n to fail because catALot is expected to exist globally so i18n files can modify it. Also please have a look at my editprotected requests on the talk page. Thanks. Liangent (talk) 05:12, 14 November 2011 (UTC)[reply]

Strange. I tested it and it worked after I explicitly bound it to the window-object. window.catALot = { -- RE rillke questions? 08:48, 14 November 2011 (UTC)[reply]
Not strange as ResourceLoader modules are not executed in the global scope. This is one of the core principles of how ResourceLoader works. A local var statement is kept local and not implied as a global. We found that in most cases people only want a variable to be local, and to avoid pollution of the global scope or accidental overwriting/overloading of other things we want to encourage people to take the object oriented approach (as far as possible in JavaScript – which you already seem to be doing in Cat-a-lot :)) and define your main object once as a global object and then refer to it by it's name and call/extend/do whatever with it –Krinkletalk 00:06, 19 November 2011 (UTC)[reply]
This also forces/ensures that code is easier to understand. var catALot does not make clear in any way that another file may be using this variable, or is even supposed to, whereas window.catALot makes this clear. –Krinkletalk 00:07, 19 November 2011 (UTC)[reply]
So window.catALot = { should work? But this message was posted after I did this edit. Maybe it is too late today and I didn't get it. BTW, DieBuche wrote Cat-a-lot. -- RE rillke questions? 00:38, 19 November 2011 (UTC)[reply]

Following up part of MediaWiki_talk:Gadgets-definition#Location_of_category_interface_gadgets: is there any way to make the |page parameter of {{Gadget-desc}} work again? In view of Bugzilla29398 is it worth filing a bug to support this, if necessary? If so, perhaps you'd be best placed to do it. Rd232 (talk) 17:39, 3 December 2011 (UTC)[reply]

The {{Gadget-desc}} template (and the related JavaScript in MediaWiki:Common.js) work just fine. The problem is that the descriptions using that template are still using the old format. Sections have a name instead of numbers (eg. 'rc', 'watchlist') see also template documentation at Template:gadget-desc. –Krinkletalk 19:36, 3 December 2011 (UTC)[reply]
While debugging I discovered that nothing of Common.js loaded (well not Common.js in particular but anything that is site-specific (including Vector.js)). On Special:Preferences, certain scripts are not loaded. This is intended (to prevent corrupted gadgets from doing anything security related etc. - or locking yourself out unintentionally). However in MediaWiki 1.17 this system only prevented user-scripts from loading. In MediaWiki 1.18 this system was rewritten and it looks like it now prevents both user-scripts ánd site-scripts from loading. I'm not sure this was an intended change, I'm reporting this upstream now and will come back to you. –Krinkletalk 19:39, 3 December 2011 (UTC)[reply]
Thanks. Rd232 (talk) 19:53, 3 December 2011 (UTC)[reply]
See also bugzilla:18186. Helder 13:38, 17 December 2011 (UTC)
Thanks. In view of that WONTFIX, Bugzilla33220 requests a native MediaWiki replacement for what was previously done in Javascript. Rd232 (talk) 17:36, 17 December 2011 (UTC)[reply]

CommonsDelinker sleeping

Hi Krinkle, User:CommonsDelinker/commands is sleeping (inactive) since 24 hours now. Could you take a look? Thanks. --Túrelio (talk) 17:58, 20 December 2011 (UTC)[reply]

Thanks, I've killed the bot process and it should restart shortly. –Krinkletalk 18:56, 20 December 2011 (UTC)[reply]
Yeah, it's running again. Thanks. --Túrelio (talk) 07:19, 21 December 2011 (UTC)[reply]

Edit comments

Hallo Krinkle, do you know what an edit comment is? :-) Best wishes for the new year! --Saibo (Δ) 00:49, 28 December 2011 (UTC)[reply]

Thanks for doing the script cleanup! :) --Saibo (Δ) 02:03, 28 December 2011 (UTC)[reply]
Thanks. And I'll try to fill in the edit summary more often :) –Krinkletalk 02:04, 28 December 2011 (UTC)[reply]
I know, it happens every now and then - but especially in those important pages it is important. ...and it will happen despite this. Thanks for trying and good night! --Saibo (Δ) 02:19, 28 December 2011 (UTC)[reply]

May I ask why you moved that above user's talkpage to an archive then deleted the re-direct? All this instead of blocking this obvious serial copyvio uploader? You've moved, out of sight, all the evidence of his 'crimes'. I don't understand why. --Fred the Oyster (talk) 01:41, 28 December 2011 (UTC)[reply]

Hi, you're right, there was no need to archive. I mixed up two tabs. I've linked to the archive now (since it exists now) and have re-instated the block. –Krinkletalk 01:45, 28 December 2011 (UTC)[reply]
Many thanks for taking the time to explain it and to action it, I'm much obliged. --Fred the Oyster (talk) 02:00, 28 December 2011 (UTC)[reply]
You're welcome. –Krinkletalk 02:01, 28 December 2011 (UTC)[reply]

Hi Krinkle, I understand if you dislike me, since my visits on your talk-page always occur if something does not work ;-)

Following the latest changes at Special:PrefixIndex/MediaWiki:Stockphoto.js/ causes a runtime-error -at least in Firefox- preventing my common.js to be loaded. (This was a very strange symptom and it took me hours to find out what was responsible for this madness on file-pages, including deactivating all my gadgets) The folling is going on:

Firebug tells me the following stack (but I assume it is wrong... somehow weird)

init > ready > DOMContentLoaded > init > ParseXML
Error:
object is undefined
Sourcefile: https://secure.wikimedia.org/wikipedia/commons/w/load.php?debug=false&lang=fr&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=20111213T185322Z
Line: 8

But there is no "object" in ParseXML; instead it is in each: function (object, callback, args) {. All in all, I am unable to understand what exactly caused the problem but I assume it was passing the pointer instead using the anonymous function. I am really curious whether you find it out. I just reverted de so far so you can play with &uselang=fr - e.g. [1]. Thank you. -- RE rillke questions? 22:53, 2 January 2012 (UTC)[reply]

And here is the output from Opera:

Uncaught exception: TypeError: Cannot convert 'object' to object
Error thrown at line 8, column 1641 in <anonymous function: each>(object, callback, args) in https://secure.wikimedia.org/wikipedia/commons/w/load.php?debug=false&lang=fr&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=20111213T185322Z:
    var name,i=0,length=object.length,isObj=length===undefined||jQuery.isFunction(object);
called from line 63, column 3 in <anonymous function: init>() in https://secure.wikimedia.org/wikipedia/commons/w/index.php?title=MediaWiki:Stockphoto.js&action=raw&ctype=text/javascript:
    $.each(this.information_template_hints, function (k, v) {
called via Function.prototype.apply() from line 14, column 0 in <anonymous function: resolveWith>(context, args) in https://secure.wikimedia.org/wikipedia/commons/w/load.php?debug=false&lang=fr&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=20111213T185322Z:
    callbacks.shift().apply(context,args);
called from line 6, column 248 in <anonymous function: ready>(wait) in https://secure.wikimedia.org/wikipedia/commons/w/load.php?debug=false&lang=fr&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=20111213T185322Z:
    readyList.resolveWith(document,[jQuery]);
called from line 12, column 1813 in <anonymous function: DOMContentLoaded>() in https://secure.wikimedia.org/wikipedia/commons/w/load.php?debug=false&lang=fr&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=20111213T185322Z:
    jQuery.ready();


Ah, I forgot: I wish you a wonderful and happy new year. -- RE rillke questions? 22:54, 2 January 2012 (UTC)[reply]
Thanks, I'm on it. Major edit. –Krinkletalk 00:04, 3 January 2012 (UTC)[reply]
This was fixed last night, can you confirm ? –Krinkletalk 15:15, 3 January 2012 (UTC)[reply]
Yes, thank you. -- RE rillke questions? 15:37, 3 January 2012 (UTC)[reply]

Getting the Upload Wizard but not the old form.

I've noticed that you've being playing around with some of the MediaWiki pages, not sure if you've done it or not but I now get Special:UploadWizard link rather then Commons:Upload with the "Upload file" in the Participate section of the side bar (in the Monobook skin). I don't want the file wizard since I hate using it, I've already did one javascript work around and I'm not wanting to spend more time getting the upload page (Commons:Upload) I want. It was working this morning (my time) but this afternoon I get the page that I dread seeing. Bidgee (talk) 04:44, 3 January 2012 (UTC)[reply]

Hi, I assume I was the culprit. Please look at Commons:Village pump#MediaWiki:Gadget-NoUploadWizard.js (deactivate Gadget-UploadWizard). Thank you. -- RE rillke questions? 11:15, 3 January 2012 (UTC)[reply]
Deactivating it doesn't work. I still get it. Bidgee (talk) 11:43, 3 January 2012 (UTC)[reply]
Now it should. Otherwise you have to disclose your language setting to me. -- RE rillke questions? 13:53, 3 January 2012 (UTC)[reply]
Krinkle, I wonder how we could speed-up the link replacement in MediaWiki:Gadget-UploadWizard.js since it sometimes takes long until $(document).ready fires but I experienced that it never caused problems to change the link right away. So why not doing so and simply doing again after $(document).ready? Objections? BTW, thanks for reviewing and correcting! -- RE rillke questions? 11:33, 3 January 2012 (UTC)[reply]
When working in MediaWiki core it's important to wait until document ready as the element doesn't exist yet otherwise. However gadgets are by default loaded from the bottom of the page (after the end of the main content, a little bit before "document ready"). At that point it is safe to manipulate anything above that line, so yes, feel free to remove the document ready wrapper for that gadget. –Krinkletalk 15:14, 3 January 2012 (UTC)[reply]

Can you confirm this? Thank you. -- RE rillke questions? 14:49, 5 January 2012 (UTC)[reply]

CUP - Commons Upload Patrol

Hi, just tried it and found it useful to be a gadget. So here it is: MediaWiki:Gadget-CUP.js. If you have concerns, let me know. Thanks. -- RE rillke questions? 21:27, 10 January 2012 (UTC)[reply]

Thanks, very nice! –Krinkletalk 22:54, 10 January 2012 (UTC)[reply]

Hi, I see you've recently protected the uploads of Jorm (WMF): various SOPA-related icons and things, e.g. (1), (2), (3). Could I possibly ask that you add them to Category:SOPA initiative at some point? Thank you! It Is Me Here t / c 00:33, 18 January 2012 (UTC)[reply]

✓ Done Rd232 (talk) 00:49, 18 January 2012 (UTC)[reply]

Google files : restoration or mass deletion ?

Hi,

I just discover Commons:Deletion requests/File:Ricci - Trigault - Histoire de l expédition chrestienne au royaume de la Chine, 1616.pdf. This is a total non-sense for several reasons :

  • the Google logo is not copyrighted (how could it be ? plus see Category:Google logos Clin)
  • nearly 90% of the PDF/DJVU files used on the Wikisources come from Google (directly or not). And most of it have this two first pages (because it’s easier and more “honest”). Even without this two pages, this pages are still on the original source, so deleting them didn’t change anythong.

So to be logical, there is two solutions : restore this file or procede to a mass deletion.

Cdlt, VIGNERON (talk) 15:30, 23 January 2012 (UTC)[reply]

Thanks for contacting me, however I can't help you. I nominated the file (instead of speedy-deleting as copyright violation) because I wasn't sure it was a violation. For those questionable situations, deletion nominations are ideal because they allow for discussion. The admin who decided to delete it was User:Jcb. Please re-open the nomination page or contact User:Jcb personally if you believe the taken action was not correct, or if additional actions should be taken. –Krinkletalk

Sloppy ;-) problem tag removal

Hallo Krinkle, please have a look here http://commons.wikimedia.org/w/index.php?title=File:Srinagar_Sher_Garhi_Palace_01.jpg&action=history Why do you release the file to the wild (without problem tags) with such a poor license information? Cheers --Saibo (Δ) 02:31, 26 January 2012 (UTC)[reply]

Thanks, I had mixed up the creation date and the year of death. If the author would have died in 1923, it would've pretty much been PD-old, but such information is clearly not given here. You're right! –Krinkletalk 17:31, 26 January 2012 (UTC)[reply]
Turned it into a deletion nomination instead. Hoping the user will provide the info soon. –Krinkletalk 17:39, 26 January 2012 (UTC)[reply]
Okay, thank you! Cheers --Saibo (Δ) 17:53, 26 January 2012 (UTC)[reply]

Visual merge of {{Information}} and {{Location}}

Hi, last 2 times when visual merge of {{Information}} and {{Location}} was discussed you seem the most knowledgeable about how it is done. It seems like recent changes to {{Information}} broke it again, see Template_talk:Information#Edit_request. Any chance you can look at this? --Jarekt (talk) 15:01, 27 January 2012 (UTC)[reply]

Thanks, replied there. –Krinkletalk 11:44, 29 January 2012 (UTC)[reply]
Revision of 66120826 — I hope you noticed that {{Information}} was reverted, too so it now does not contain an outer <div class="hproduct"> but {{Artwork}} has. Just look at File:David napoleon.jpg. -- RE rillke questions? 15:32, 29 January 2012 (UTC)[reply]

Hello!

Although I do not doubt your rationale with this DR, it is quite uncommon to close DR before the 7-day-rule based on own keep-comments. I'd wait for another admin to close it. Regards, High Contrast (talk) 01:03, 31 January 2012 (UTC)[reply]

I agree the format is uncommon. Normally an admin would call it "Speedy keep" and not leave a comment himself but put the reason in the speedy close reason. However I left a comment first and came back later, decided to speedy keep, so it looks like this now.. –Krinkletalk 01:06, 31 January 2012 (UTC)[reply]

Patrolling

Hi Krinkle,

Thanks for your proposal: I think the "patroller" right may be useful to me. So, I'd welcome you to give me this right. Croquant (talk) 18:14, 5 February 2012 (UTC)[reply]

We always appreciate help. Keep up good working! -- RE rillke questions? 19:06, 5 February 2012 (UTC)[reply]

Allow license-reviewers to Commons Upload Patrol

What do you think about allowing license-reviewers, too to patrol new uploads? Regards -- RE rillke questions? 19:06, 5 February 2012 (UTC)[reply]

A special barnstar for you

:-)
:-)

Hi Krinkle, finally I was in the barnstar shop today - so here it is: your barnstar. Thanks for all your good work and nice communication! Currently especially in programming ResourceLoader and similar stuff and bringing patrolling much forward! Cheers --Saibo (Δ) 22:16, 5 February 2012 (UTC)[reply]

Hi Krinkle, I made this to prevent loading this huge code all the time. I would appreciate no changes because I am currently working on a new version. Furthermore, you did not use an edit-summary. Thank you. -- RE rillke questions? 12:33, 7 February 2012 (UTC)[reply]

Hi Rillke, I know what this script does and I use it myself for the same reason. The script is not stored in your user space and I didn't appreciate you reverting my edit for no reason. The adjustment I made to the script should be clear to any javascript programmer. void() is the most useless function ever since it has no useful purpose and was redundant where it was used (as was the loose {}-block, considering JavaScript has no block scope), there is also no point in passing a 'null' argument for 'tooltip' if you don't want a tooltip (worst case scenario passing 'null' might be worse than not passing, since 'null' would return true when checking for 'not undefined', however addPortletLink covers for both). If you pass it to be complete (cover all arguments), then why not pass another null for the arguments? Take a look at the diff 1 second and it should make perfect sense.
I'm going to re-apply that edit now since you seem to suggest that my edit would load it for everyone instead of just on-click but the contrary is true. That logic wasn't changed at all. –Krinkletalk 12:44, 7 February 2012 (UTC)[reply]
My apologies, you are of course right. I cannot exactly remember why I've used this ugly syntax but I assume it was in times importScript returned a boolean value causing the browser showing the function-result instead of starting the script. Something like
window.fnboolres = function () { return true; }
mw.util.addPortletLink('p-tb', 'javascript:fnboolres("MediaWiki:VisualFileChange.js");', 'Perform batch task', 't-AjaxQuickDeleteOnDemand');

-- RE rillke questions? 13:00, 7 February 2012 (UTC)[reply]

Don't worry :)
importScript does indeed not return a true-thy value, however I just tested what would happen with a true-thy returning function. Looks like most modern browsers don't have a problem with it from the javascript:-href. However when testing in for example an old Firefox version I noticed that it indeed loaded the javascript-code in the address bar (instead of silently executing it).
The safest way is probably to either:
  • Return false from an IIFE function:
mw.util.addPortletLink( .., 'javascript:(function(){ importScript(..); return false; }());', .. );
  • Use an actual click event handler and just tell the browser to prevent the default behavior (recommended):
var link = mw.util.addPortletLink( .. );
$(link).click(function (e) {
  e.preventDefault();
  importScript( .. );
});
Krinkletalk 13:16, 7 February 2012 (UTC)[reply]

Hello again, yes I forgot about the arrays that actually aren't (yes I know that an array is just a special object) but what do you think about the mapping of the often used wg-variables (l.15) to local variables there? I think either replacing all or none of them with the overhead-mw.config.get . -- RE rillke questions? 21:23, 7 February 2012 (UTC)[reply]

I see that, but giving local variables names that clash with global ones is not a good habbit. Local scope should speak for themselves, and using "wg" ("wiki global") does not speak for itself when referred to for a local variable. I've renamed them to "pageName" instead of "wgPageName". Thanks, –Krinkletalk 21:34, 7 February 2012 (UTC)[reply]

83.30.*.*

Hi, just to warn you: User talk:83.30.219.137 - this user is widely known for edit warring on Polish wikipedia, and also some others. He likes to edit railways-related articles and files, blank discussion pages and so on. He has a random IP, once he used to have a 77.255.*.* address and when it was blocked he returned with 83.30.*.*. Don't expect any answers from him. D T G (talk) 15:54, 8 February 2012 (UTC)[reply]

Thanks, investigation started at User:Krinkle/Socks#Rail-related_nonsense. Now that a connection is clear, reverting more questionable edits. –Krinkletalk 17:58, 8 February 2012 (UTC)[reply]
See also: Commons:Administrators'_noticeboard/User_problems/Archive_20#Polish locomotive enthusiast , Commons:Administrators'_noticeboard/Vandalism/Archive_4#77.255.212.106 . D T G (talk) 18:23, 8 February 2012 (UTC)[reply]

(luissilveira or José Luís Ávila Silveira/Pedro Noronha e costa)

Good morning. Yes, I am the author of this work. I put my keyword. I have two different acounts, (luissilveira or José Luís Ávila Silveira/Pedro Noronha e costa). I'm changing the name because that is more accurate since they are holiday pictures made with my friend Pedro Noronha e Costa. Hugs from the Azores Islands.José Luís Ávila Silveira (talk) 11:41, 9 February 2012 (UTC)[reply]

Barnstar

Thank you, vielen dank, merci, dziękuję bardzo, спaсиба 80.171.106.177 21:07, 9 February 2012 (UTC)[reply]

Royal Collection

Hello, my name is Alex. Would you be so kind as to provide me with three or four images from the Royal Collection? I have seen a picture taken from there (high-res) that was uploaded by you. Please respond on my talk page. Yours truly, Alex. --Alexcoldcasefan (talk) 20:08, 7 March 2012 (UTC)[reply]

Hi Alexcoldcasefan, Thanks for asking, but I no longer have the tools to do this. You'll have to find someone else to help you with this. –Krinkletalk 20:16, 7 March 2012 (UTC)[reply]
Okay, thank you anyway. --Alexcoldcasefan (talk) 06:32, 8 March 2012 (UTC)[reply]

Licensing question: usecommons, code based on MediaWiki:Gadget-StockPhoto.js

Hi! I left a licensing question on at Magnus Manske's talk page that concerns you as well. Regards, /Skagedal (talk) 21:38, 7 March 2012 (UTC)[reply]

Edit to Gadget-Stockphoto.js

Your recent edit to MediaWiki:Gadget-Stockphoto.js left this remaining code line:

thumb_url = thumb_url;

A bit redundant, I'd say. :) /skagedaltalk 20:35, 19 March 2012 (UTC)[reply]

Thanks, Fixed. –Krinkletalk 06:03, 20 March 2012 (UTC)[reply]

Thanks

I see Commons:Auto-protected files/wikipedia/en has been around for 5 months or so, but I just became aware of it last night. Just a belated note of thanks for having your bot do that. --Floquenbeam (talk) 15:21, 23 March 2012 (UTC)[reply]

redirect from an alias

Hi! Please see [2] (this should be test2:User talk:Krinkle#redirect from an alias). Best regards ‫·‏לערי ריינהארט‏·‏T‏·‏m‏:‏Th‏·‏T‏·‏email me‏·‏‬ 07:44, 3 April 2012 (UTC)[reply]

I've replied there. –Krinkletalk 18:35, 3 April 2012 (UTC)[reply]

Dear Krinkle, I kindly invite you to evaluate the usage of authority control data using ZCZC type BEACONS. template:Authority control has many limitations and is limited to some WMF sites. I try to be on irc. Regards ‫·‏לערי ריינהארט‏·‏T‏·‏m‏:‏Th‏·‏T‏·‏email me‏·‏‬ 23:05, 25 April 2012 (UTC) BiDi fixing signature trailer[reply]

shortesturls

Thanks for the help at http://test2.wikipedia.org/?curid=2827 . I am not a "regex" expert.

  1. Please eliminate "w/index.php" from the link
  2. Please use "p-cactions" — it is better accessible because it is at the top of the vector skin — no scrolling is required
var my_shortesturls_url (should be computed with regex)
var my_shortesturls_name = "Article Id:" + wgArticleId;
and also
addPortletLink('p-cactions',my_shortesturls_url,my_shortesturls_name);

Thanks in advance! Regards ‫·‏לערי ריינהארט‏·‏T‏·‏m‏:‏Th‏·‏T‏·‏email me‏·‏‬ 23:38, 25 April 2012 (UTC) BiDi fix[reply]

Etiquetado de la imagen File:Zendaya in Munich..jpg

Hola queria preguntarte como debo hacer para verificar por que el autor me dio permiso pero la verda no entendi bien,.--DJMalik (talk) 23:33, 26 May 2012 (UTC)[reply]

Hi,
I don't speak Spanish, but I understand (by using an online translator) that you say you have permission. On Wikimedia Commons it is important that files are freely usable according to the License Requirements. Therefore, the permission to use a file under a free license has to either explicitly given on the website the file is from, or it has to be confirmed by e-mail to Permissions Team (COM:OTRS). –Krinkletalk 23:38, 26 May 2012 (UTC)[reply]

category:Skansen Parowozownia Kościerzyna

Hallo Krinkle. "Skansen Parowozownia Kościerzyna" is old, now is "Muzeum Kolejnictwa w Kościerzynie" (in english "Railway Museum in Kościerzyna"). Please rename this. Thanks.

Rename Category:Skansen Parowozownia Kościerzyna to Category:Railway Museum in Kościerzyna (70 entries moved, 0 to go) Warning: Please add a reason. Warning: Username of requester missing (user parameter). For transparency and to prevent abuse, please add your username.

Gdaniec (talk) 10:23, 5 June 2012 (UTC)[reply]

Renaming of categories is not yet possible in the wiki software. We use a bot for that, please request it at User_talk:CommonsDelinker/commands#Category_moves. –Krinkletalk 10:29, 5 June 2012 (UTC)[reply]

Replacement of "Template:w"

Hi. Just wondering why you are replacing uses of "{{W}}". Is this necessary? — Cheers, JackLee talk 20:43, 9 June 2012 (UTC)[reply]

Seems quite useless to have a template to do [[w:Foo|Bar]] as {{w|Foo|Bar}}>. –Krinkletalk 20:45, 9 June 2012 (UTC)[reply]
Hopefully you're not intending on deleting the template. It's much easier to write {{w|something here}} than [[w:something here|something here]] (to get rid of the somewhat ugly w: prefix easily). Killiondude (talk) 20:49, 9 June 2012 (UTC)[reply]
Non-sense, if you don't like the interwiki syntax, that's your problem, get used to it. This is how the syntax is and always has been. If anything, the template is confusing for users who are trying to learn the syntax (since m:, File:, nl: etc. is still going to be in that syntax). Also if you don't want to write the name twice, use the pipe trick ([[w:Foo|]]). –Krinkletalk 20:53, 9 June 2012 (UTC)[reply]
I am fully aware of interwiki syntax and how to use it. I'm not sure where the vitriol is coming from. Templates were specifically created to help people from re-writing things over and over. New users have to learn how to spot templates at some point (distinguishing {{}} from [[]]) so that's really a non-argument. Also, telling someone that they have a problem and to "get used to it" is kind of inappropriate in this context. Please refrain from making assumptions about me! Killiondude (talk) 20:58, 9 June 2012 (UTC)[reply]
For what it's worth, I didn't assume your motives or implied to know your opinion on the matter, emphasized by "if you ..". But if you feel wronged, I'm sorry, no offense intended. Either way, I'm not going to mass replace this or nominate it for deletion. But, if I'm editing or reading somewhere and notice this being used, I will not refrain from replacing its inline usage with a regular interwiki link. –Krinkletalk 21:03, 9 June 2012 (UTC)[reply]

The main advantage of {{W}} is to shorten links. There isn't much difference if one is using a piped link (e.g., "{{w|Foo|Bar}}"), but if one is only setting out the name of the English Wikipedia article, then the template shortens the wikitext required by almost half (e.g., "{{w|Foo}}" instead of "[[w:Foo|Foo]]"). I therefore suggest that you avoid replacing uses of the latter nature. — Cheers, JackLee talk 21:57, 9 June 2012 (UTC)[reply]

 Delete -- πϵρήλιο 00:40, 10 June 2012 (UTC)[reply]

This isn't a deletion discussion about any template, so I'm not sure what you're referring to. — Cheers, JackLee talk 08:13, 10 June 2012 (UTC)[reply]
I can make one!? -- πϵρήλιο 20:29, 10 June 2012 (UTC)[reply]
I would oppose deletion. As mentioned above, {{W}} is a useful template. — Cheers, JackLee talk 07:52, 11 June 2012 (UTC)[reply]

Although I find it funny to wake up and find a {{delete}} vote in this thread on my talk page – I kindly ask you to stop or move this discussion elsewhere. Thanks, –Krinkletalk 11:54, 11 June 2012 (UTC)[reply]

Re: Patroller

Tĥ for the information. How can I apply? -- Alan ffm (talk) 21:04, 9 June 2012 (UTC)[reply]

You just did . But normally, one can ask on COM:RFR. 21:06, 9 June 2012 (UTC)
Thank you -- Alan ffm (talk) 21:24, 9 June 2012 (UTC)[reply]

Did you delete the right file? The deleted file was uploaded as File:Blason dpt fr Sarthe.svg five years ago as own work by User:Syryatsu. The kept file was uploaded less than a month ago as own work by User:Fauntleroy. If the files were duplicates it seems more likely that the older file had correct information and should have been kept.
(I think both files could have been kept (with corrected sourcs/author information) since they were ment to represent coats of arms of two different places. Now the file name says one thing and the description something other.) /Ö 18:49, 11 June 2012 (UTC)[reply]

It was intended as uncontroversial maintenance. If there is any reason to belief something is odd... I've restored both in their original state. –Krinkletalk 19:02, 11 June 2012 (UTC)[reply]
Thank you for restoring the images. The odd thing was that two duplicate images had different authors. But now that I can see both images I see that they are different and not duplicates. /Ö 19:52, 11 June 2012 (UTC)[reply]

A barnstar for you!

The Technical Barnstar
For literally writing the entire code for two (very important) gadgets today. Siddhartha Ghai (talk) 01:35, 5 July 2012 (UTC)[reply]