User talk:Kaldari

From mediawiki.org
Latest comment: 4 months ago by Piracalamina in topic 504 error in The distributed game

Blank pages by SpecialBannerController ?[edit]

Hi Kaldari, Since the Fundraising has started I get quite a few blank pages here and there. The following I have gathered so far:

  • 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:
    document.writeln("\x3cstyle type=\"text/css\"\x3e\n#centralNotice .siteNoticeSmall {display:none;}\n#centralNotice.collapsed .siteNoticeBig {display:none;}\n#centralNotice.collapsed .siteNoticeSmall {display:block;}\n\x3c/style\x3e"); which is a use of document.write() that is not in an inline <script>-tag. (added in r72932)
  • I use Safari 5

Krinkle 18:46, 15 November 2010 (UTC)Reply

Thanks. Bug filed: bug 25938. Kaldari 20:06, 15 November 2010 (UTC)Reply
Fixed. Kaldari 03:13, 17 November 2010 (UTC)Reply

Nnnnnn Ana zwina (talk) 15:08, 1 May 2017 (UTC)Reply

Updated CentralNotice documentation[edit]

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)Reply

WikiLove To ar.wikipedia[edit]

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)Reply

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

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)Reply

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)Reply

Signature in defaultOptions.js[edit]

> 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[edit]

How about adding Ribbons to wikilove?

Problems on Commons[edit]

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

Extension:WikiLove[edit]

It would be useful to be able to translate WikiLove for different language wikis or multilingual ones. It could be at translatewiki:. Ebe123 09:47, 27 September 2011 (UTC)Reply

Sorry, my mistake. Ebe123 09:49, 27 September 2011 (UTC)Reply

Possible problem regarding reusing the js file of WikiLove[edit]

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)Reply

Good point, I'll see about changing the licensing. Kaldari 01:21, 12 October 2011 (UTC)Reply

A kitten for you![edit]

{{{2}}}Za stworzenie WikiLove

Gp8 18:39, 6 November 2011 (UTC)Reply

A cookie for you![edit]

Here you are බිඟුවා 07:16, 26 November 2011 (UTC)Reply

Waw Ana zwina (talk) 15:08, 1 May 2017 (UTC)Reply

Soc 2012[edit]

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)Reply

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)Reply

Flickr Integration[edit]

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)Reply

Application for GSoC[edit]

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 ([1]).

After reviewing the MediaWiki GSoC page ([2]), 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[edit]

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"[edit]

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[edit]

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 (talkcontribs) 19:53, 16 June 2012 (UTC)Reply

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)Reply

WikiLove on it.Wikiquote[edit]

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)Reply

Awesome![edit]

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

Identifying disambiguation pages[edit]

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)Reply

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)Reply
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)Reply


A kitten for you![edit]

It just works, congratulations :-]

Antoine "hashar" Musso (talk) 19:16, 5 March 2013 (UTC)Reply

tryt[edit]

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

Echo test[edit]

testing! Newbie89 (talk) 18:26, 14 May 2013 (UTC)Reply

Another test. Newbie89 (talk) 20:51, 14 May 2013 (UTC)Reply

serious issue with Extension:Thanks[edit]

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 class: 'something', you need to have 'class': 'something'. 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)Reply

Thanks, should be fixed soon! 174.240.14.19 16:38, 13 June 2013 (UTC)Reply

Plans for Extension:Disambiguator[edit]

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)Reply

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)Reply

About Extension:Disambiguator[edit]

Hello, I'm wikipedian from Indonesia. Why id:Special:DisambiguationPages is still empty?  Ę-oиė  >>> 06:48, 18 July 2013 (UTC)Reply

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)Reply
Oh, okay. :) It's approve now. Can't wait till it's populate. Thanks.  Ę-oиė  >>> 12:26, 18 July 2013 (UTC)Reply

Anyway... why this two links have different content?

  1. w:Special:Disambiguations
  2. w:Special:DisambiguationPageLinks

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.

  1. id:Istimewa:Disambiguasi
  2. id:Istimewa:DisambiguationPageLinks

Can you fix it? Thanks in advance,  Ę-oиė  >>> 09:57, 20 July 2013 (UTC)Reply

UploadWizard extension snapshot links[edit]

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![edit]

The Rosetta Barnstar
Thanks for fixing up Manual:RevisionDelete! :-) MZMcBride (talk) 02:12, 9 October 2013 (UTC)Reply
Thanks! Kaldari (talk) 02:16, 9 October 2013 (UTC)Reply

Substitute for getRawText()[edit]

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

$contents = $page->getRevision()->getContent( Revision::RAW ); returns a Content object. How do I get the current revision text from that object? Thanks, Leucosticte (talk) 09:34, 17 October 2013 (UTC)Reply

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)Reply

Another suggestion I received is:

[12:27] <legoktm> leucosticte: $content->getNativeData()
[12:27] <legoktm> you should also probably do check that $content instanceof TextContent

getContentContext() has this code in it:

...
if ( $content instanceof TextContent ) {
	return $content->getNativeData();
}
...

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#Methods, 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)Reply

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:
    $content = $page->getRevision()->getContent( Revision::RAW );
    $text = ContentHandler::getContentText( $content );
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)Reply

Wikivoyage feature development[edit]

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)Reply

@JamesA: 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)Reply
No problem. Enjoy your trip. JamesA (talk) 09:54, 14 November 2013 (UTC)Reply

Economist mention[edit]

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)Reply

Re: Humanizing Wikipedia[edit]

Wanted page. :) (From mailarchive:wikitech-l/2015-February/080797.html.) The only mention of it is Wikimedia_Engineering/Report/2014/April#Mobile 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)Reply

@Nemo bis: 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)Reply

"Now with mustache"[edit]

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)Reply

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)Reply
@Kephir: 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)Reply
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 (talkcontribs) 19:27, 27 February 2015 (UTC)Reply
Blocked for 31 hours. You know better Kaldari. ^demon[omg plz] 19:31, 27 February 2015 (UTC)Reply

A Reputatation System[edit]

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.

@Stingre: No, the revision (and associated page) is not public information (by design). Sorry about that. Kaldari (talk) 21:46, 9 July 2015 (UTC)Reply

Review of extension 3-4 years old[edit]

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)Reply

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)Reply

Non-breaking space[edit]

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: [3] Can you fix that, so that the new line is properly breaking? Queryzo (talk) 09:02, 7 September 2015 (UTC)Reply

@Queryzo: I opened a Phabricator ticket for it: bug T111735. 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)Reply
Thanks for that! Queryzo (talk) 08:13, 8 September 2015 (UTC)Reply

Bonnie and Clyde vs Hatmaker[edit]

Hi Kaldari, as Izno answered your question at phab:Z276, I realize that I don't understand the difference between the "Bonnie and Clyde" problem from the "Hatmaker/Hatmaking" problem. You refer to the latter at phab:T54564 as if it had been discussed elsewhere; can you point me to that explanation, please? SebastianHelm (talk) 17:22, 17 November 2015 (UTC)Reply

@SebastianHelm: The different versions of the problem have been discussed in the Wikidata Project Chat, but you'd have to go through the archives to find them. The hatmaker problem is exemplified by the article en:Hatmaking. As you can see, it only has 1 interwiki link. The reason is because most wikis discuss hatmaking under the title hatmaker (or whatever the local language equivalent is). Although the scope of the hatmaking and hatmaker articles are basically the same, the Wikidata item can't be merged because they are considered different concepts on Wikidata and have different types of claims. This is similar to, but distinct from the Bonnie and Clyde problem, where articles on different wikis may split a particular subject into multiple articles. There are some solutions to the hatmaker problem that won't fix the Bonnie and Clyde problem, but most solutions to the Bonnie and Clyde problem will also fix the hatmaker problem. Hope that helps. Kaldari (talk) 20:00, 17 November 2015 (UTC)Reply
Thank you for your answer; so, the difference is just that they could be merged, if that's what the people in that language Wikipedia wanted? I don't see how that has a bearing on Wikidata, or on the interlanguage links. In both cases, what is needed are the following links (with "L" and "M" being different languages, and "B", "C" and "BC" either "Bonnie", "Clyde" and "Bonnie and Clyde" or "hatmaker", "hatmaking" and "hatmaker and hatmaking"):
  1. [[L:B]] → [[M:BC]]
  2. [[L:C]] → [[M:BC]]
  3. [[M:BC]] → [[L:BC (disambiguation)]]
Of course, in the case of hatmaker/-ing, one can leave out the disambiguation page and just decide for item 3 to link to one of the articles [[L:B]] or [[L:C]]. Is that what you mean? SebastianHelm (talk) 20:31, 17 November 2015 (UTC)Reply
@SebastianHelm: Yes, they are in most ways the same problem and allowing interwiki links to redirects would solve both of them. Some of the solutions to the Bonnie and Clyde problem have suggested following "part of" claims, but this wouldn't solve the hatmaker problem, as it isn't a hierarchical relationship. It's just good to keep both versions of the problem in mind when discussing solutions. Kaldari (talk) 21:28, 17 November 2015 (UTC)Reply
Mmh, I don't see why it matters whether a relationship is hierarchical or not. I see no reason whatsoever to limit the links to strict set theoretical relationships. What breaks if someone links from a hatmaker&hatmaking article to a hatmaking article, as I suggested above? SebastianHelm (talk) 10:19, 24 November 2015 (UTC)Reply
There is no such item on Wikidata of "hatmaker&hatmaking", nor do I think it would make sense to have such an item. Kaldari (talk) 20:31, 24 November 2015 (UTC)Reply

Please provide feedback on suggested improvements to the Code of Conduct[edit]

Thanks to everyone who’s helped work on the Code of Conduct so far.

People have brought up issues they feel were missed when working on "Unacceptable behavior" and "Report a problem". Consultants have also suggested changes in these same sections.

These are important sections, so please take a look at the proposed changes. I apologize that this feedback arrived later than planned, but I think this will create a better document.

If you prefer to give your opinion privately, feedback via e-mail is welcome at conduct-discussion@wikimedia.org.

Thanks. Mattflaschen-WMF via MediaWiki message delivery (talk) 04:18, 24 February 2016 (UTC)Reply

Page views[edit]

I've been looking at the shiny new page views tool, and it works very nicely... but not for mw.org? This: https://tools.wmflabs.org/pageviews/#project=www.mediawiki.org&platform=all-access&agent=all-agents&range=last-month&pages=Help:VisualEditor/User_guide tells me "No data found for the page Help:VisualEditor/User_guide". Is it expected to work for pages on this wiki? Whatamidoing (WMF) (talk) 21:19, 6 April 2016 (UTC)Reply

@Whatamidoing (WMF): Should be fixed as soon as https://github.com/MusikAnimal/pageviews/issues/55 gets deployed. Thanks for the report. Kaldari (talk) 00:47, 7 April 2016 (UTC)Reply

Use of Revthank module[edit]

Hey, Kaldari, I designed a small script to add send thanks buttons to the Watchlist. I expect this to be used (and use it) in conjunction with WP:Navigation Popups, as it is expected that users will read the edit before sending thanks for it. While creating it, I had to basically copy the entire ext.thanks.revthank.js to be able to use it. While I see that there other ways to reuse the code, I suppose I could point to script file instead of copying it, I wanted to reuse the functions without another call HTTP call. I mean the script is loaded in the watchlist, is there a simple way to trigger reloadThankedState and addActionToLinks?

Thanks for the help, Chico Venancio (talk) 13:07, 15 February 2017 (UTC)Reply

Google Custom Search API Key[edit]

Hi Kaldari. Can I get the Google Custom Search API Key? I'm working on a bot which uses google to find new URL for a page which was moved for hebrew Wikipedia (Example [4]). thanks Kotz

@Kotz: Are you going to be using the Google API Proxy? Can you let me know how many queries you will be doing per day on average? Kaldari (talk) 18:05, 1 May 2017 (UTC)Reply
Yes I will. This is not going to be used everyday, I.e. it could be used once a month. when used then I guess a couple of hundreds a day? If you want we can set a hard limit beforehand. Kotz (talk) 18:59, 11 May 2017 (UTC)Reply
@Kotz: Could you limit it to 1000 queries per day? We currently have a shared quota of 10,000 queries per day and we're currently averaging about 5000 per day from the existing tools. If that's fine with you, I'll send you the API key privately. Kaldari (talk) 20:29, 11 May 2017 (UTC)Reply
If you need more than that, I would suggest using the Yandex search proxy, which gives you a personal 10,000 per day quota (rather than a shared quota). You also don't need to get an API key from me to use that one. Kaldari (talk) 20:33, 11 May 2017 (UTC)Reply

1000/day is fine. thanks Kotz (talk) 21:29, 11 May 2017 (UTC)Reply

@Kotz: Sent you an email. Kaldari (talk) 23:27, 11 May 2017 (UTC)Reply
got it, thanks. For documentation, here is the homepage for the Bot which will be using the key. he:ויקיפדיה:בוט/בוט ההסבה. Kotz (talk) 04:15, 12 May 2017 (UTC)Reply

Page curation for other projects[edit]

There is a question at Topic:Tvnjt0yexiu69yus which someone might like to answer. Kudpung (talk) 09:07, 5 August 2017 (UTC)Reply

Thanks, I've replied there. Kaldari (talk) 19:04, 5 August 2017 (UTC)Reply

IP edit[edit]

Is this you forgetting to log in or should it be reverted? Kudpung (talk) 04:59, 6 August 2017 (UTC)Reply

@Kudpung: Wasn't me. Kaldari (talk) 03:49, 9 August 2017 (UTC)Reply

Reftoolbar lookup.php[edit]

Is this tool still being maintained? Are there any instructions on how to integrate it with Mediawiki 1.29? The link at Toollabs is broken, but I have a copy that I got from somewhere. You are listed as a maintainer, so I thought I'd ask. The copy I have is copyright 2013. Txantimedia (talk) 05:50, 22 October 2017 (UTC)Reply

@Txantimedia: The source code is at https://github.com/alexz-enwp/reftoolbar, but you'll have to get your own credentials for the crossref look-up service (i.e. $crPID), as the credentials being used on Toolforge belong to Alex (Mr.Z-man). Sorry there isn't really any documentation for how to set it up. I guess Alex didn't imagine it being used by 3rd party wikis. Kaldari (talk) 08:47, 22 October 2017 (UTC)Reply
Maybe I don't understand the tool. I thought its purpose was to lookup book information and automatically fill in a cite when you're working on one by entering the ID (ISBN, etc.) Txantimedia (talk) 15:23, 22 October 2017 (UTC)Reply
@Txantimedia: That's correct. It does look-ups for PMID, ISBN, DOI, and URLs. The DOI look-ups are through an API service at crossref.org, but you have to set up credentials to use it. The other 3 services are totally open and don't need credentials. Kaldari (talk) 06:53, 23 October 2017 (UTC)Reply

Abuse Filter 3[edit]

Seems I don't have access to view that kibana dashboard. :(

I'm not sure why you said it never matches, as the abuse filter shows 929 hits, and there are 764 tagged edits, see for instance [5].

It probably needs a review of those edits, though. I'm afraid I don't see how to remove the regex while keeping the functionality. I have swapped a bit the conditions, so this should be slightly more efficient. How bad is the current code?

Regards

Platonides (talk) 23:46, 31 October 2017 (UTC)Reply

Thanks button explanation[edit]

Shouldn't there be a Thanks section in Help:Contents? Just bringing this to your attention since you are listed as the authour. Ottawahitech (talk) 17:47, 18 September 2020 (UTC)Reply

Getting rid of Flow on mmy talk page[edit]

Hi Kaldari

Sorry to bother you again. I see you have an "old-fashioned" talkpage and I am wondering if you would tell me how I can switch mine away from Flow? Thank in advance and happy holidays. Ottawahitech (talk) 19:07, 25 December 2020 (UTC)Reply

Please develop an extension similar to the Thanks extension.[edit]

I want Miraheze, where I joining, to develop a Good extension that changes the Thanks extension to Good. This makes it easy to express your feelings about editing like SNS. Please develop.--122.22.69.124 04:53, 24 January 2021 (UTC)Reply

Citation Bot Request[edit]

A request. If you go to:

https://wikitech.wikimedia.org/wiki/Help:Toolforge/Web/Lighttpd

And then look at the "Default configuration" area, you will see the default ".lighttpd.conf" file, which goes in the home directory of the citation bot tool. The bot seems to be easily overloaded, and I am wondering if we could try a custom file. Creating a .lighttpd.conf file with these contents - note that this has four times as many children.

fastcgi.server = ( ".php" =>
       ((
               "bin-path" => "/usr/bin/php-cgi",
               "socket" => "/var/run/lighttpd/php.socket.{toolname}",
               "max-procs" => 2,
               "bin-environment" => (
                       "PHP_FCGI_CHILDREN" => "8",
                       "PHP_FCGI_MAX_REQUESTS" => "500"
               ),
               "bin-copy-environment" => (
                       "PATH", "SHELL", "USER"
               ),
               "broken-scriptfilename" => "enable",
               "allow-x-send-file" => "enable"
        ))
)

If might necessary to change to `webservice lighttpd-plain` to remove the last part of the default file. Of course, after doing this, you would need to try to process a page to see it if works.

AManWithNoPlan (talk) 19:28, 12 April 2021 (UTC)Reply

Perhaps the citations-dev instance could be fired up as a clone also. AManWithNoPlan (talk) 00:22, 13 April 2021 (UTC)Reply

Hi Kaldari, arturo pointed me to wikitech:Help:Toolforge/Kubernetes#Quotas_and_Resources. I believe you should be able to to something like this to check that the resources are at the maximum permitted:

$ kubectl get pod --field-selector=status.phase==Running
$ kubectl get pod -o jsonpath={.spec.containers[].resources} <insert name from above> ; echo
$ webservice stop
$ webservice --backend=kubernetes --mem 4G --cpu 1 start
# (Repeat the above to check the resources increased

Nemo 15:00, 27 April 2021 (UTC)Reply

@Nemo bis: I've increased the resources to the max:
map[limits:map[cpu:1 memory:4G] requests:map[cpu:500m memory:2G]]
Kaldari (talk) 01:31, 29 April 2021 (UTC)Reply

Google Custom Search API Key refreshed?[edit]

Greetings. On 12 May 2017 you sent me by e-mail, Google Custom Search API Key. I think it worked but it fell to dis-use and trying again now I think I get "API key expired. Please renew the API key.". Hopefully you have a fresh key for me to use? thanks Kotz (talk) 20:15, 20 October 2023 (UTC)Reply

504 error in The distributed game[edit]

Hello, Kaldari! Just wanted to let you know that I'm getting a 504 error at The distributed game https://wikidata-game.toolforge.org/ Please let me know if you can solve it. Thanks for your work maintaining it :) Have a great day! Piracalamina (talk) 00:54, 24 October 2023 (UTC)Reply