User talk:V111P/js/WebRef

Not escaping spaces in URLs properly?
I've noticed that spaces in URL's often don't get escaped properly. For example:

The url field has q=faile mansion. The embedded space should be escaped to a + (or maybe some %hex code).

Other than that, this is a truly awesome tool. Thanks for making it available! -- RoySmith (talk) 15:54, 3 February 2018 (UTC)


 * Thanks for reporting this, it was a mistake to decode the URL like that. It is fixed now. --V111P (talk) 19:22, 23 August 2018 (UTC)

How to use
I have read over the instructions for using this tool. But I am not a webmaster nor an HTLM specialist, I am just a person who wants to create a citation from a newspaper web page, and I still have no idea how to use it. Was hoping for instructions that were geared to a much more generalized audience, one that, for example, does not know what it means to "run a script" on a page (I know what a web page is, and I know how to run a mile, and I have read many scripts, but I do not know how to run a script any more than I know how to read a mile!). Am hoping you can reword things here for the lay user. Please consider it. Thank you! A loose necktie (talk) 08:35, 7 May 2019 (UTC)
 * Of course I know it's not super simple to set up. You can try to find easier and more up-to-date instructions on how to create a bookmarklet in your browser elsewhere on the Internet. Basically it's just a bookmark whose URL (web address) is the code provided (the code starting with javascript:). You can edit any already existing bookmark in your browser and change its URL to that code. Then you click/tap that bookmark on the web page you want to cite. I hope this helps. --V111P (talk) 10:41, 9 May 2019 (UTC)


 * Hi, it actually is super easy to set up. I do computer support for friends and family, so let's first ditch all the jargon. This is what you need to do:

It really is this easy. Any questions, just let me know. You can also send me an email if you get really stuck and don't want to discuss it here, but I doubt that you'll need to.
 * In your second favorite browser, the one you don't use a lot for editing Wikipedia, go to https://en.wikipedia.org/wiki/User:V111P/js/WebRef
 * In your favorite browser open any web page that you haven't bookmarked yet. Make a bookmark -- I put mine on the Bookmarks bar for easy access.
 * Right-click the new bookmark and in FireFox go to Properties, in Chrome or Opera to Edit. You'll see that the first line is headed Name and contains the name of the webpage you just bookmarked. Replace the name of the webpage with whatever makes sense to you, I called my bookmark Wiki WebRef.
 * The second line is called Location or URL, depending on your browser. Delete the URL that is in it so that you have a blank line. Go to your other browser and copy the entire text in the green box. Then go back to your main browser and paste this into the Location or URL line of the bookmark. It will look like it won't fit, but it does.
 * Hit Save and you are done!

-- Peter NYC (talk) 23:22, 9 May 2019 (UTC)

Web2Cit proposal
We have presented a proposal to develop a visual Citoid/Zotero web translator tool, to enable non-technical users collaboratively widen Citoid coverage. I have recently learned about your tool WebRef (thanks to User:Fuzheado) and I see it has a similar goal. We would highly appreciate your thoughts and comments in the discussion page, and your endorsement if you would like to support it. Thank you! --Diegodlh (talk) 23:03, 17 March 2021 (UTC)
 * Thank you for contacting me. I'm not interested in that project, but I wish you good luck. --V111P (talk) 15:25, 22 March 2021 (UTC)

some tool(s) create malformed |title= in cite templates; is this one of them?
At this discussion at WP:VPT, I noted that some tool(s) are adding stuff like  to title (see the example citation in that discussion). Another editor in that discussion suggested that this tool does that sort of thing. If it does, please fix the tool. The website name does not belong in title ever. Instead, put the website name in its appropriate parameter website.

Thank you

—Trappist the monk (talk) 13:23, 6 July 2021 (UTC)

date format
I'm trying to use the "Date formatter" function to set the accessdate to %Y-%m-%d (2021-07-31), but the various variations I can think of myself I get the response that 'Sorry couldn't parse that'. 1Veertje (talk) 12:35, 31 July 2021 (UTC)
 * I'll be adding support for Y-M-D very soon. I just didn't realize until now that anyone needed it since it seemed to not be recommend by the style guides. (By the way, adding {ping} to an old comment does not work.) --V111P (talk) 10:22, 1 September 2021 (UTC)


 * yes I think documentation is outdated. I recently updated the documentation on the Dutch language Wikipedia. The thing that makes the "cite" button in the visual editor possible is the citoid API and it formats dates Y-m-d. The Cite web template than formats it with the full month name if that's the wiki's config. 1Veertje (talk) 11:26, 1 September 2021 (UTC)


 * In the English Wikipedia it's more complicated, because the date format (d-m-y or m-d-y) has to be chosen manually, depending on the article. --V111P (talk) 23:32, 1 September 2021 (UTC)
 * No, on the English wikipedia what people should do is either use Use mdy dates or Use dmy dates. That way it can be configured once for the entire page. Therefore your bookmarklet should use y-m-d dates as the default. 1Veertje (talk) 15:33, 29 January 2024 (UTC)

Script translated to ptwiki
Hi, @V111P! I loved your script and just finished translating it's code and documentation to portuguese (pt:Usuário:BraunOBruno/WebRef and pt:Usuário:BraunOBruno/WebRef.js). I'm wondering if it's ok to include it as a interiki link in your page. The same would be done in the translated version. Thank you in advance and thank you for the great tool! BraunOBruno (talk) 18:37, 30 May 2024 (UTC)