User talk:Kaldari

Blank pages by SpecialBannerController ?
Hi Kaldari, Since the Fundraising has started I get quite a few blank pages here and there. The following I have gathered so far: which is a use of  that is not in an inline -tag. (added in r72932) Krinkle 18:46, 15 November 2010 (UTC)
 * Mostly (if not only) occurs on wikis where I have not close-hidden the banner (I do a lot of cross-wiki stuff, there's a lot of wikis I visit I haven't visited before in the cache)
 * Mostly (if not only) occurs when the page is not cached
 * Special:BannerController&cache=/cn.js contains:
 * I use Safari 5
 * Thanks. Bug filed: . Kaldari 20:06, 15 November 2010 (UTC)
 * Fixed. Kaldari 03:13, 17 November 2010 (UTC)

Updated CentralNotice documentation
Hello,

I am still "diving in" to find out how those things work, so I have have updated some documentation. I would be grateful if you could review that since I might have misunderstood something. I am particularly concerned about my changes to brion's initial design notes. Thanks! « Saper // talk » 13:01, 12 March 2011 (UTC)

WikiLove To ar.wikipedia
Hello Kaldari. I noticed the new feature in English Wikipedia - Wikilove, I liked it. I also noticed that you're a member of the team of designers. Is it possible to transfer the WikiLove feature button to Arabic Wikipedia, and how? Thanks in advance. --Zack 22:00, 21 July 2011 (UTC)

Thanks, it does. --Zack 00:17, 23 July 2011 (UTC)

Hey Kaldari, WikiLove went Arabic finally, still one more thing: the Make Your Own tab (ar: آخر "Other") is not functioning, do you have any idea where does that come from? (see wikipedia:ar:user:Kaldari for instance, and wikipedia:ar:mediawiki:WikiLove.js for the script) --Zack 18:39, 29 July 2011 (UTC) When any of the four tabs is hovered, a small segment of the left side appears in the right side, is there something we can do about it? --Zack 19:10, 29 July 2011 (UTC)
 * Yeah, it has to do with the right-to-left handling. I'll see if I can fix it. Kaldari 21:46, 29 July 2011 (UTC)

Signature in defaultOptions.js
> It is recommended to simply copy this file to your MediaWiki:WikiLove.js and change it to your wishes.

When I did this, the four tildes got expanded into my user name, and hence all the barnstars have my name as the sender. What's the right way to paste defaultOptions.js into this page?

Ribbons
How about adding Ribbons to wikilove?

Problems on Commons
Hi, please see extension talk:WikiLove/Problems on Commons, thank you.  ■ MMXX  talk 12:24, 30 August 2011 (UTC)

Extension:WikiLove
It would be useful to be able to translate WikiLove for different language wikis or multilingual ones. It could be at. Ebe123 09:47, 27 September 2011 (UTC)
 * Sorry, my mistake. Ebe123 09:49, 27 September 2011 (UTC)

Possible problem regarding reusing the js file of WikiLove
I was not sure if its license was compatible with CC-BY-SA. Please take a look at Thread:Extension_talk:WikiLove/Reusing_the_default_WikiLove.js. --Whym 22:02, 11 October 2011 (UTC)
 * Good point, I'll see about changing the licensing. Kaldari 01:21, 12 October 2011 (UTC)

A kitten for you!
Za stworzenie WikiLove

Gp8 18:39, 6 November 2011 (UTC) 

Soc 2012
Hi Ryan,

Jeroen suggested you're possibly the person to speak to regarding my 'begging' for some work to improve Wikinews' toolset via Summer of Code 2012. Since I, personally, have zero confidence I could get up-to-speed and implement something robust enough, I'm going cap-in-hand for any and all input/advice/suggestions I can get.

If you check the jottings linked-to from my userpage, you'll see Wikinews is trying rather hard to use FlaggedRevs as a 'quite formal' CMS review mechanism.

How I would put the current situation is to say that, "everyone on Wikinews is too close to the problems to see a goood, reusable, solution." However, the small userbase we have are all quite smart people, able to give quality feedback on suggestions and proposals, and not afraid to try new things. Wikinews was first to put Vector live as a default, and we would've taken FlaggedRevs before deWP, had the chance been given to us.

I'm pushing, if not outright begging, around the MediaWiki wiki for people to look at Wikinews as a testbed for bleeding edge stuff. Visual editor? We want it last week. More sophisticated forms-type stuff? Yes please!

Any help, or constructive criticism, you can provide is most welcome. --Brian McNeil (talk) 18:01, 9 March 2012 (UTC)
 * Hey Brian, I'm out of the country on vacation right now, but feel free to ping me sometime next week. Kaldari (talk) 17:32, 16 March 2012 (UTC)

Flickr Integration
I would like to work on Flickr integration with UploadWizard project and also on the automatic taxobox project as part of GSOC 2012, if possible. I am a first year undergraduate studying in India. I am experienced in PHP, MySQL and javascript. Please add me as a contact on gtalk.My ID is mssurajkaiga. Please excuse me if I have posted this on the wrong page as there was an error in your contact page.
 * Cool. I'm out of the country on vacation right now, but I'll try to get in touch with you next week. Kaldari (talk) 17:33, 16 March 2012 (UTC)

Application for GSoC
Hi Ryan,

I had mailed my proposal for ideas a couple of weeks back on the Wikitech-I mailing list, & based on a lot of suggestions & discussions, I created my User page for GSoC Ideas.

After reviewing the MediaWiki GSoC page, I reckon that any Gadget (javascript/jQuery) related projects would be mentored by you.

So, kindly let me know your suggestions on the list of ideas that I have in mind & their feasibility.

Also, could you please give me your email address?

Re: GSoC 2012
Hi!,

I am Vivek Kumar Bagaria from IITM, India. I am applying for GSoC 2012 for MediaWiki, as your interest include extension and gadget development, it would be awesome if you could comment on my Gsoc_Proposal which is an extension for multiple watchlists - Extension:WatchGroup.

Thank You.

GSoC Integrate "Upload from Flickr"
Hi Ryan,

I know you may have a runner for this idea but I'll keep doing my best to submit a good proposal. if possible I would like to receive some feedback from you. What I'm planning to do till tomorrow before deadline is: update some code I have on Google Code and try to fix a bug I entered yesterday [Bug 35702] (a bug I found in UploadWizard).

Thank you in advance!

WikiLove messages
Hi. Sumana suggested I ask you about a problem I noticed involving WikiLove and it's messages: On the 6th March I customised MediaWiki.org's WikiLove barnstar messages so that they weren't enwiki-specific (e.g. [ Wikilove-barnstar-tireless-desc]). But looking at the UI for WikiLove now, the default messages are still there. Any idea what's going on here? Should a bug be put in bugzilla? -- Krenair (talk &bull; contribs) 19:53, 16 June 2012 (UTC)
 * See http://www.mediawiki.org/wiki/Extension:WikiLove#Custom_configuration. You have to configure the messages at MediaWiki:WikiLove.js on a per-wiki basis. Kaldari (talk) 17:13, 18 June 2012 (UTC)

WikiLove on it.Wikiquote
Hi. The Extension of Wikilove doesn't work on Italian Wikiquote. Why? Is there a reason for it? Thank you Raoli (talk) 01:41, 22 September 2012 (UTC)

Awesome!
Echo on mediawiki looks great! Howief (talk) 04:07, 19 December 2012 (UTC)

Identifying disambiguation pages
I noticed your post at wikitech-l: Disambiguation features: Do they belong in core or in an extension?.

Nico rightly pointed out that core code already handles disambiguation pages specially in some ways (Special:Disambiguations, MediaWiki:Disambiguationspage). But that is a bit of a hack.

It occurs to me that a fundamentally more robust and flexible way to handle disambiguation pages would be to move them all into their own namespace.

For example, on this wiki, Administrators could redirect to Disambiguation:Administrators. Or, on enwiki, Bow and Bow (disambiguation) could both redirect to Disambiguation:Bow

This would make it much more consistent with the ordinary wikipage functions and internationalization, as well as making it easy to programmatically identify disambiguation pages without affecting the database schema.

— Richardguk (talk) 14:45, 16 January 2013 (UTC)
 * That's a good idea. You should suggest it on wikitech-l and see what people think. Kaldari (talk) 15:57, 16 January 2013 (UTC)


 * Thanks. I've posted a proposal to wikitech-l. Can't stand the 1980s-style list interfaces, but I made an effort at your instigation! — Richardguk (talk) 17:27, 16 January 2013 (UTC)

A kitten for you!
It just works, congratulations :-]

Antoine &#34;hashar&#34; Musso (talk) 19:16, 5 March 2013 (UTC) 

tryt
User:Johnny Demo is rad! Kaldari (talk) 18:17, 4 April 2013 (UTC)

Echo test
testing! Newbie89 (talk) 18:26, 14 May 2013 (UTC)
 * Another test. Newbie89 (talk) 20:51, 14 May 2013 (UTC)

serious issue with Extension:Thanks
hi.

in the js file, ext.thanks.thank.js, line #53, you define an object member named "class".

this is a reserved word in IE, and cause the module to break (not runtime - this breaks at loadtime. you need to enclose the filed name in quotes, i.e., instead of, you need to have  . in order to test it, load the module using IE (e.g. on enwiki, or some other test wiki where it's enabled), and activate "compatibility mode". you should see the breakage as soon as you open a history page. peace - קיפודנחש (talk) 14:54, 13 June 2013 (UTC)
 * Thanks, should be fixed soon! 174.240.14.19 16:38, 13 June 2013 (UTC)

Plans for Extension:Disambiguator
Gday Kaldari. Would you please be able to either tell me, or point me towards the broader plans for the extension. I see that the latest tech news says that it has been deployed at enWP, but where else are the plans, and if there are bigger plans, what is the timetable? Thanks. — billinghurst  sDrewth  13:36, 24 June 2013 (UTC)
 * Howdy billinghurst. The plan right now is to deploy Extension:Disambiguator to all the WMF wikis and then remove the old core code (probably in the next week or so). There is a bigger plan involving building a mobile app for fixing disambiguation links, but I don't know the details on that and can't find any documentation for it yet. I think Jared Zimmerman is the person to ask about it. Kaldari (talk) 20:38, 28 June 2013 (UTC)

About Extension:Disambiguator
Hello, I'm wikipedian from Indonesia. Why id:Special:DisambiguationPages is still empty?  Ę-oиė   >>>  ™ 06:48, 18 July 2013 (UTC)
 * I added the magic word to the template, but it is pending approval: http://id.wikipedia.org/w/index.php?title=Templat%3ADmbox&diff=6985038&oldid=6577333. Once that is approved it may take up to 3 days for the page to start populating. Kaldari (talk) 08:09, 18 July 2013 (UTC)
 * Oh, okay. :) It's approve now. Can't wait till it's populate. Thanks.  Ę-oиė   >>>  ™ 12:26, 18 July 2013 (UTC)

Anyway... why this two links have different content? On wp.en only the second link appear on Special page, but on the rest of wiki, both of that link appears like on wp.id but have same contens. Can you fix it? Thanks in advance,  Ę-oиė   >>>  ™ 09:57, 20 July 2013 (UTC)
 * w:Special:Disambiguations
 * w:Special:DisambiguationPageLinks
 * id:Istimewa:Disambiguasi
 * id:Istimewa:DisambiguationPageLinks

UploadWizard extension snapshot links
Hello, When trying to download the most recent build of UploadWizard from http://www.mediawiki.org/wiki/Extension:UploadWizard I can't seem to download anything other that the 1.20 release. I'm using the link labeled "download snapshot". I think something is misconfigured, but am I'm not sure how to point it to the right release. Just a head's up.

A barnstar for you!

 * Thanks! Kaldari (talk) 02:16, 9 October 2013 (UTC)

Substitute for getRawText
Hi, I am working on making Extension:InterwikiMap (specifically, InterwikiMap.classes.php) work properly for MW v1.21 and after. Now that Revision's  has been deprecated, what is the best substitute for

returns a Content object. How do I get the current revision text from that object? Thanks, Leucosticte (talk) 09:34, 17 October 2013 (UTC)
 * Leucosticte: It's a bit complicated now since a revision can consist of data other than WikiText (see WikiData). If your extension is only working with WikiText revisions, you can do the following... First, in any case you have to get both the Content and a ContentHandler from the Revision. ($revision->getContent( Revision::RAW ); $revision->getContentHandler;) Then you can use the ContentHandler::getContentText convenience function on the Content object. Note that that function only works for WikiText. Anything else will just become serialized or throw an error. But if you know that you're only dealing with WikiText, it will work fine. Kaldari (talk) 17:52, 17 October 2013 (UTC)

Another suggestion I received is: [12:27] leucosticte: $content->getNativeData [12:27] you should also probably do check that $content instanceof TextContent getContentContext has this code in it:

So basically he's suggesting the long way of doing what you suggested. I also notice that it says at the Revision::getRawText documentation, "use Revision::getContent( Revision::RAW ) or Revision::getSerializedData as appropriate." I guess Revision::getSerializedData (which uses Revision::loadText, which in turn uses Revision::getRevisionText on a database row from the text table) is pretty much the same as ContentHandler::getContentText?

I'm not sure what the best way to explain all that would be in the code docs, but it seems to me there is room for improvement in making it so that devs can easily figure out what functions are best to use when. I've attempted to sum it up at Manual:WikiPage.php, although I may have oversimplified matters. Manual:Content.php and Manual:ContentHandler.php can probably use additional work too. Anyway, thanks for your help. Leucosticte (talk) 18:25, 17 October 2013 (UTC)
 * ContentHandler::getContentText does some of that for you. If the content is TextContent, it does $content->getNativeData. Otherwise, it tries to serialize it. And actually, I didn't even notice that it's a static function, so you don't even have to instantiate a ContentHandler (like I was suggesting). All you have to do is:


 * There might be a more "correct" way to do this, but if you just need to migrate your old code to work, that's the easiest way to do it. Kaldari (talk) 18:41, 17 October 2013 (UTC)

Wikivoyage feature development
Hi Ryan. I'm an admin over at Wikivoyage, and have been trying to organise the various features ideas that have been floating around. One of them was for a button that would be added to the article menu, which would allow users to designate that they've visited certain destinations. Those destinations would then be added to a list/map. More about the idea is here. I saw you developed the WikiLove extension, which has its own button in the menu, so was curious as to how this was done. Of course, if you're looking for a new project, we'd love to have your technical assistance, but I know you already do a lot across the WMF sites! Either way, let me know how you think best for us to proceed. Thanks, JamesA (talk) 13:26, 9 November 2013 (UTC)
 * I'm about to leave for India for a week. Let's discuss after I get back (Nov. 25 or after). Kaldari (talk) 18:36, 12 November 2013 (UTC)
 * No problem. Enjoy your trip. JamesA (talk) 09:54, 14 November 2013 (UTC)

Economist mention
Quick little nod - Did you know Extension: Thanks was all but explicitly mentioned in The Economist? 173.195.8.16 05:55, 3 March 2014 (UTC)

Re: Humanizing Wikipedia
Wanted page. :) (From wikitech-l/2015-February/080797.html.) The only mention of it is Wikimedia_Engineering/Report/2014/April which doesn't make it sound like a "project". The only "project" we know about on the matter is Timestamp position modification: you may want to create a redirect and add MobileFrontend stuff there, or something. --Nemo 09:12, 15 February 2015 (UTC)
 * I've brought up the lack of documentation around the "Humanizing Wikipedia" experiments with the mobile team. Hopefully, our documentation practices will be better going forward. The experiments we are working on currently are Gather and WikiGrok, which we've (hopefully) done a slightly better job of documenting. Kaldari (talk) 20:03, 27 February 2015 (UTC)

"Now with mustache"
May I politely ask what the fuck is this supposed to mean and why is it here? — Keφr 11:33, 27 February 2015 (UTC)
 * This should be undone. We already had several questions related to that strange image in IRC. Opinions ranged from people didn't like it to they feared mediawiki.org got hacked. In fact, I myself belonged to the second group. --88.130.78.37 14:16, 27 February 2015 (UTC)
 * Just having some fun with the logo to celebrate the long-awaited addition of HTML templating to MediaWiki core. I've reverted the change, but probably still deserve a 24-hour block for the vandalism ;) Kaldari (talk) 18:54, 27 February 2015 (UTC)
 * Do not do this again. You should also remove your sysop flag anyway, which you granted yourself (as a staff action!) to delete a single page in November 2013. -- Krenair (talk &bull; contribs) 19:27, 27 February 2015 (UTC)
 * Blocked for 31 hours. You know better Kaldari. ^demon[omg plz] 19:31, 27 February 2015 (UTC)</i>

A Reputatation System
Greetings Kaldari.

We are some students who, as final degree project, want to contribute the community build a reputation system for common-based communities based in interactions like giving thanks. For this purpouse we found that your extension is perfect, but we are having some troubles retrieving the data we need and we have some questions we hope you can answer. We know the Thanks extension inserts a line in the wiki log everytime a revision is thanked. This log line contains the thanker and the thanked info including the thanked personal page id. now here comes the question: Is there any way (suitable for automatization) to get the revision id or the modified page id?

Thank you very much for your attention and time.
 * No, the revision (and associated page) is not public information (by design). Sorry about that. Kaldari (talk) 21:46, 9 July 2015 (UTC)

Review of extension 3-4 years old
Hi I see here https://git.wikimedia.org/summary/mediawiki%2Fextensions%2FSignupAPI your reviewing the extension it is 3-4 years old. Should we re add the files or what was the outcome of the review. Paladox2017 (talk) 16:06, 2 August 2015 (UTC)
 * I don't remember the outcome of the review (it was 3 years ago), and for some reason it doesn't seem to be in gerrit any more (https://gerrit.wikimedia.org/r/#/c/7999/). Kaldari (talk) 22:56, 7 September 2015 (UTC)

Non-breaking space
Hi Kaldari, in deWP there's a discussion about the neccessity of non-breaking spaces at the thanks extension. By clicking on "thank" a new line occurs and spreads out at the browser window. I hope you can guess what I mean. Here's an example to show it: Can you fix that, so that the new line is properly breaking? Queryzo (talk) 09:02, 7 September 2015 (UTC)
 * I opened a Phabricator ticket for it: . It looks like it's not actually specific to the Thanks extension, but is due to the jquery.confirmable function in core. Kaldari (talk) 22:52, 7 September 2015 (UTC)