User talk:Yaron Koren

Reproducing the createPage functionality from SF_CreatePageJob.php
Hi Yaron, I apologize if this is not the right venue to ask, and for my persistence in seeking your guidance. I think I now understand the code in SF_CreatePageJob but I still don't know how I could use it in a hook to get the functionality I want: I'd like all red links to have their pages created automatically once an article is saved. I tried this syntax, but it didn't work: $wgHooks['ArticleSaveComplete'][] = 'SF_CreatePageJob.run';

Your help would be very much appreciated. Thank you! (Robolobster)


 * That's C- (or Java-)style syntax - 'SF_CreatePageJob::run' might work better instead. Yaron Koren (talk) 11:56, 12 March 2014 (UTC)

Tour of Consumer Reports' laboratories
You live in NYC, do you not, Yaron? On Tuesday January 15 at 3pm Wikipedians are invited to join a tour of laboratories at en:Consumer Reports in Yonkers. If you would like to attend please RSVP at en:Wikipedia:Meetup/NYC/January 2013. If you have questions feel free to ask on that page or contact me on my talk page or by my office phone at 914.378.2684. Thank you.  Blue Rasberry   (talk)   19:48, 9 January 2013 (UTC)


 * Wow! Laboratory tour! Yaron Koren (talk) 20:03, 9 January 2013 (UTC)

Admin Link
Hi, I am one of the admins of the Site www.pflegewiki.de (ist an Wiki for nurses). We use your Extension Admin Link. To talk about the project wie use an group in google+, so my idea was to add an link in Admin Link. But I have no idea how.... pleas help me! THX Dave (schallopp@pflegewiki.de)


 * I just answered your similar question on the Admin Links talk page. Yaron Koren (talk) 16:02, 2 April 2013 (UTC)

GSoC / OPW IRC AllHands this week
Hi, you are invited to the GSoC / OPW IRC AllHands meeting on Wednesday, June 26, 2013 at 15:00 UTC (8:30pm IST, 8am PDT) at #wikimedia-office. We have done our best finding a time that works decently in as many timezones as possibles. Please confirm at qgil@undefinedwikimedia.org so I can add you to the calendar invitation and I have your preferred email for other occasions. If you can't make it's fine, but let me know as well. We have left a notice to all students, but your help is welcome making sure yours is aware about it. Thank you!--Qgil (talk) 20:24, 24 June 2013 (UTC)

Extension:Header_Tabs question
Hello - Please excuse me for the interruption.

I find that asking questions on the talk pages of extensions often get unanswered.

I absolutely LOVE your extension, and I just was hoping if you had a minute if you could answer this simple question?

I am confused where the body tag is located.

RE: ''In the 'skins-yui' folder, create a new skin class (for example: ) to the   tag.

Where is the  tag? In combined-history-min.js?

I really appreciate your time. Have a great weekend. Igottheconch (talk) 17:15, 5 September 2013 (UTC)


 * I just answered your similar question on the Header Tabs talk page. Yaron Koren (talk) 17:45, 5 September 2013 (UTC)
 * thank you! hoping to stay with 1.16 and not upgrade. Appreciate your time! Igottheconch (talk) 19:14, 5 September 2013 (UTC)

Extension:Semantic Forms/Creating query forms
15:50, 22 November 2013‎ Yaron Koren (talk | contribs)‎. . (3,638 bytes) (-130)‎. . (Rejected the last text change (by Hans Oleander) and restored revision 782233 by Daniel K. Schneider: "[ and ]" refers to the square bracket characters "[" and "]". I agree it's a little confusing...) (undo | thank) [automatically checked]
 * Ah, ok - sorry then for deleting this, thought it was some accidental leftover. Using quotes ("[" and "]") like in your comment might make that obvious. - What was the reason to not accept this paragraph: "Another possibility is to embed a default value in the actual query form, using the default=value parameter in the field definition."? It had taken me a while to figure this out, as the char entity trick mentioned before did not work for internal (double square bracket) links in my case, only by constructing an external (single square bracket) link.--Hans Oleander (talk) 16:53, 22 November 2013 (UTC)


 * Hi - yes, quotes would probably be better; they were left out because some people, when they see quotes, think that the quotes should go into the wikitext... you can't win. :( Anyway, sorry that, by rejecting that edit, I rejected the other change you made, which seems perfectly valid. I just added it in again, modified slightly. Yaron Koren (talk) 18:20, 22 November 2013 (UTC)

Multilingual SemanticMediaWiki
Hi, have you seen the latest versions of this proposal? Its scope seems much clearer to me now. Are you willing to mentor it? --Nemo 10:00, 6 March 2014 (UTC)


 * I don't think it's entirely clear yet (see the "More thinking is required..." part), but yes, I'd be willing to help out. I'm already a mentor for one project and a co-mentor for another, and I don't know if you're allowed to be a mentor for more than two projects, but even if all three projects get accepted, I could help out either officially or unofficially. Yaron Koren (talk) 12:47, 6 March 2014 (UTC)


 * Fantastic! An applicant would help with the "more thinking" part. :) I don't think being (co-)mentor for many projects is a formal problem, it's more a problem of capacity on your end. If there are many applications we'll figure out some solution. --Nemo 12:56, 6 March 2014 (UTC)

Please check my answer about "query string"
Extension_talk:Semantic_Forms here is my question!


 * Alright, I checked it. :) Yaron Koren (talk) 22:25, 2 July 2014 (UTC)

Question
Hello. Why Referata has a lot of spam? 190.33.67.43 18:46, 16 August 2014 (UTC)

Regarding Approved Revs extension installation
Hi Yaron,

I have installed “Extension: Approved Revs” to prevent publishing changes to a page until approval and followed the steps mentioned in the MediaWiki for that. But after the installation I still could not see the (approve) link on history page and also the changes made on the pages are published directly to all the users.

Below are the changes I did for the extension installation.

1. Created a folder “ApprovedRevs” inside extension folder and copied all the files. 2. Executed the DB scripts to create the DB objects 3. Added the below configuration in the LocalSettings PHP file

require_once( "$IP/extensions/ApprovedRevs/ApprovedRevs.php" );

$wgGroupPermissions['*']['edit'] = false;

$egApprovedRevsBlankIfUnapproved = true;

$wgGroupPermissions['*']['viewlinktolatest'] = false;

$wgGroupPermissions['sysop']['viewlinktolatest'] = true;

$egApprovedRevsAutomaticApprovals = false;

$egApprovedRevsShowApproveLatest = true;

Am I missing anything? Appreciate your help on this. Thanks

Regards Gopi. R


 * Does Approved Revs show up in your Special:Version page? And are you looking at pages in the main namespace? Yaron Koren (talk) 04:40, 3 November 2014 (UTC)


 * Are you asking about special pages? I checked the special pages and its not showing the Approved Revs. Also I’m looking at the pages which are created newly for my site not in the main page.


 * The question is whether the extension is listed on the page Special:Version in your wiki. This page will have a table with the installed extensions. Is ApprovedRevs there? --88.130.112.113 16:23, 3 November 2014 (UTC)

I could not find the page Special:Version on my wiki and I can see only "special pages" on the left navigation.
 * This one: Special:Version. But in your wiki. --88.130.80.53 22:01, 3 November 2014 (UTC)

Still I could not locate this page on my wiki. Could you advise me if there any way to find(navigate) to this page?

Blank page after installing Widgets in 1.24.1
Hi Yaron,

I am configure a wikifarm based on semantic mediawiki, every wiki shares the same code using symlinks. Everything looks fine but I get a blank page when I configure the Widgets extension. Could you have some idea about this issue?

Thank you very much for your support.


 * Hi - see here for how to see the error message when you get a blank page. Yaron Koren (talk) 00:34, 12 January 2015 (UTC)


 * Thank you Yaron, I found the problem based on your suggestion.

¡Una barnstar para ti!
Hey, gracias! Yaron Koren (talk) 02:15, 14 January 2015 (UTC)

SF: Invalid or virtual namespace -1 given
Hi Yaron, I am carry on to configure a semantic wikifarm. Rigth now, I get the error when user try to create a new page using semantic forms. I had installed Semantic Forms using composer. Could you give some directions about how to solve this issue? Thank you


 * At what point in the process do you get the error? And is the page you're trying to create in a custom namespace? Yaron Koren (talk) 22:27, 15 January 2015 (UTC)

We get the error when it tries to create the page in a custom space. Even the admin user get the same error. Thank you


 * Alright. What happens if you try to create a page in that namespace, without a form? Yaron Koren (talk) 00:08, 16 January 2015 (UTC)

It works create a simple page in custom namespaces, the issue appears when we use SemanticForm even in Main space.


 * On the page where the form is displayed, what does the URL look like? Yaron Koren (talk) 00:19, 16 January 2015 (UTC)

I'll send you by e-mail.

Hi Yaron, the issue is generated by Extension:ConfirmEdit, it was a version conflict. Everything ok. Thank you


 * Oh, great. Yaron Koren (talk) 23:44, 18 January 2015 (UTC)

i'm getting this as well from Confirm edit (latest), and sforms(3.2-alpha(latest)). It gives the error at the top of the form when i hit the save page button. Guess i'm going to try some old versions of confirmedit based on what other user said. http://i.imgur.com/1q1rQdp.png


 * Yup the problem was using a new version of confirm edit with old version of mediawiki. When i got the confirm edit branch for my version of mediawiki the problem went away (mediawiki 1.23, cloned branch wmf/1.23f22wmf)

FURTHER COMMENT Hi Yaron, I am getting the same error. My site uses the following most recent stable versions - Mediawiki 1.25.1, Semantic Forms 3.2 (9a0fbae), Semantic MediaWiki 2.2 and Confirm Edit 1.3. The exact error message is "Invalid or virtual namespace -1 given". The namespace ID "-1" is the default system ID for the "Media" namespace. It happens whenever a form is used to create an article and whether logged in as Sysop or User. It is a recent error which occurred when I updated from Mediawiki 1.24.7 and also installed the latest versions of Semantic Forms and SMW. Commenting out the call to Confirm Edit extension in my LocalSettings.php file solves the problem, so the conflict is with that extension. In my case, I can manage without the Confirm Edit extension because my site requires approval of user accounts (using the Confirm Account extension) and I don't really need any form of captcha. However, thought the above discussion helped me find the problem and I thought my experience / settings may also help in finding the problem. Cheers, Allen

Starting conversion of LiquidThreads to Flow at mediawiki.org
Hello. I'm sending this to you, because you've been one of the top 50 users of LQT on mediawiki.org over the last 360 days, and I wanted to make sure that you'd seen the announcement at Starting conversion of LiquidThreads to Flow at mediawiki.org. There are links in the topic-summary at the top, for other discussions (wikitech-l and Project:Current_issues), and a link to the planned process and timeline (scheduled to begin April 6, with smaller conversions at first). Please do test Flow out at Talk:Sandbox if you haven't tried it recently, and give any feedback/suggestions/requests at that main discussion location. Much thanks, Quiddity (WMF) (talk) 00:02, 28 March 2015 (UTC)

Wiki farm extension
Hi Yaron,

sorry for my simple question, what wiki farm extension you use on Referata?

Thank you, --Bserge77 (talk) 10:10, 21 April 2015 (UTC)


 * It's "Wiki Garden" - an extension I wrote, that I haven't released yet, but I've been meaning to. Yaron Koren (talk) 14:10, 21 April 2015 (UTC)

Bug: "Edit with form" do not ask what to edit
In Special:SpecialPages under Semantic Forms, the link Edit with form goes directly to Special:FormEdit, it is not asking the user which form name and target page that should be edited so users are not redirected to Special:FormEdit?form= &target= ", or "Special:FormEdit/ / .

Even with forms created, users are not asked which form they want to edit with Special:FormEdit which says this twice:

No target page specified.

This is the page for editing with a form. You must specify both a form name and a target page in the URL; it should look like "Special:FormEdit?form= &target= ", or "Special:FormEdit/ / ".

No target page specified.

This is the page for editing with a form. You must specify both a form name and a target page in the URL; it should look like "Special:FormEdit?form= &target= ", or "Special:FormEdit/ / ".


 * You shouldn't click that link in Special:SpecialPages, and I should probably remove it from the page. Yaron Koren (talk) 14:50, 29 May 2015 (UTC)


 * Yes please, can you remove it and confirm?