Help talk:Toolforge/Archives/2019

Rendered with Parsoid
From Wikitech
Latest comment: 4 years ago by Lucas Werkmeister (WMDE) in topic Dumps documentation
Warning! Please do not post any new comments on this page. This is a discussion archive See current discussion or the archives index.

No public_html

Hi! What am I possibly doing wrong if I always get Could not find a public_html folder or a .lighttpd.conf file in your tool home? Regards, XanonymusX (talk) 11:11, 11 January 2019 (UTC)Reply

Did you create a $HOME/public_html folder for your tool before starting the webservice? --BryanDavis (talk) 16:00, 11 January 2019 (UTC)Reply
Well, I guess not. What I have done is following the steps at Help:Toolforge#Tool Accounts; now I wanted to go on with the tool web page, but apparently there are steps in between that sadly are not obvious to me. --XanonymusX (talk) 17:54, 11 January 2019 (UTC)Reply
The next steps vary a little bit depending on what programming language you are attempting to use to build your tool's webservice. We have a couple of detailed tutorials for Python posted on Help:Toolforge/How to. I am not finding anything similar for PHP today. Luckily it is fairly simple once you have logged into the Toolforge bastion and used become <MYTOOL>:
  • mkdir $HOME/public_html
  • Create/edit $HOME/public_html/index.php
  • webservice --backend=kubernetes php7.2 start
  • Visit https://tools.wmflabs.org/MYTOOL
  • Look for any errors from your PHP code in $HOME/error.log
--BryanDavis (talk) 19:25, 11 January 2019 (UTC)Reply

Making changes to html file

I currently have my tool code available in Github([link]). I have currently made some changes in it. How can those changes be committed in my tool? I am using Putty as well as WinCSP.Adithyak1997 (talk) 10:49, 10 March 2019 (UTC)Reply

@Adithyak1997: Help:Access to Toolforge instances with PuTTY and WinSCP may be helpful to you. Another option is using git pull directly from Toolforge to update a clone of your GitHub hosted repo. --BryanDavis (talk) 01:27, 11 March 2019 (UTC)Reply

Opinion required

I would like to know whether taking up the tools DyK notices (mentioned here) and TemplateTransclusionCheck (mentioned here) as a maintainer will benefit for someone. Adithyak1997 (talk) 08:00, 5 April 2019 (UTC)Reply

Planned changes to organization of Toolforge developer/maintainer documentation

This Help:Toolforge page has been changed to a draft form as part of planned improvements to Toolforge developer documentation. Some information that was previously available on this page has been moved to the About Toolforge page. You may also find information you are looking for linked from Portal:Toolforge.

Please check back to see the progress of continued improvements.

List of tools broken

The list of tools at tools.wmflabs.org/admin/tools is truncated at end (?) of the 'A's. I was looking for 'typoscan' which, now that I've a login here, I can find. But... Shenme (talk) 14:57, 4 June 2019 (UTC)Reply

I can't reproduce this problem, but it may be a communications problem between your browser and the web server or a problem of the HTML document being tool large for your browser to deal with. That page renders all of the tools to the browser along with some javascript to do searching on the client side. --BryanDavis (talk) 15:37, 4 June 2019 (UTC)Reply

Scientific research quality of Wikipedia/how to downolad external links?

Hi guys, I do my PhD on Wikipedia quality work on the analysis of environmental articles. We have downoladed more than 200k sources. But have a problem. Don't know how to download more than 500 external sources in one article - in this cases (below): {

{"Global warming"},
{"Genetically modified organism"},
{"Ecology"},
{"BP"},
{"Red imported fire ant"},
{"Electric car use by country"},
{"Tesla Model S"},
{"Fukushima Daiichi nuclear disaster"},
{"African humid period"},
{"Global warming controversy"},
{"Climate change mitigation"},
{"Radiation effects from the Fukushima Daiichi nuclear disaster"},
{"Genetically modified food controversies"},
{"Eco-"}

}

Problem is probably in API https://mathematica.stackexchange.com/questions/197583/how-to-overcome-the-threshold-500-externallinks-for-downloading-of-the-wikipedia. I will be grateful for any suggestion how this problem, solve. Thank you. --Wikiditor (talk) 09:04, 28 June 2019 (UTC)Reply

Anyone willing to get an old tool builder back up to speed?

Hi there. I used to build a lot of tools that were widely used on the English Wikipedia, back in the days of Toolserver. I semi-retired from contributing to Wikipedia altogether around the time that Toolserver went away and Labs/Toolforge were built to replace it. Many of my tools have been ported to Toolforge and are still in use today. Others are broken and don't have a maintainer that can be reached to fix them. I believe I still have permissions to edit these tools, and I'm listed as a maintainer on most/all of them. However, I have no idea how to get access to them. I'm not a professional developer and so I'm not intimately familiar with working in these kinds of environments, nor do I know the ins and outs of things like Github and Phabricator.

I'm wondering if there's anyone out there that might be interested in walking me through the steps of getting access to these tools to fix the ones that aren't working properly. I assume I'd need to get in via SSH and start digging around. I don't even know if I still have my old SSH key lying around somewhere... Help! Scottywong (talk) 02:41, 30 July 2019 (UTC)Reply

Welcome back Scottywong! This talk page probably doesn't reach as many folks as you might hope. I would suggest #wikimedia-cloud connect and cloud@lists.wikimedia.org as places where you might be able to find folks with more Toolserver era knowledge who could help you find your tool building groove again in the Toolforge environment. The irc channel might be especially useful if you find you are having problems with getting your ssh access working. Hopefully Help:Toolforge can help you find your way as well. User:Magnus Manske/Migrating from toolserver may have some interesting, if dated, notes too. --BryanDavis (talk) 19:08, 30 July 2019 (UTC)Reply

Dumps documentation

@SRodlund: it looks like you removed the section on dumps in this change. That section was still linked to from Portal:Data Services#Wikimedia Dumps – do you have any plans for putting it somewhere? Right now I can’t find the information anywhere on Wikitech (the /public/dumps/public path is only mentioned on WMDE/Wikidata/PropertySuggester update). --Lucas Werkmeister (WMDE) (talk) 11:38, 23 September 2019 (UTC)Reply

@Lucas Werkmeister (WMDE): I do! I pulled the content out into a staging page to check its accuracy and work on its structer as a standalone document. It sounds like a priority, so I will work on bringing it back today. :-)