Wikipedia talk:ProveIt/Archive 2012

Latest comment: 11 years ago by Superm401 in topic HTTPS

Question

Is there some way of getting a preview of the reference before adding to the article, like in the WP:RefToolbar 2.0? If not that might be a good feature to add, if possible. And BTW, thanks for Provelt as it makes using the {{cite}} templates so much simpler! Cheers, benzband (talk) 09:35, 2 January 2012 (UTC)

Not currently. However, after you add the reference, if it still needs work, you can click the pencil icon (edit this reference) in the reference list to edit it. Superm401 - Talk 05:22, 6 January 2012 (UTC)
Okey, thanks for the information :-) Best of luck, benzband (talk) 15:52, 6 January 2012 (UTC)

A gap - sound recordings

I noticed recently that as far as I can tell, there's no specific faculty here for citations to sound recordings or their liner notes. - Smerdis of Tlön - killing the human spirit since 2003! 02:21, 22 January 2012 (UTC)

{{Cite video}} is used for audio and visual media sources. ---— Gadget850 (Ed) talk 14:41, 22 January 2012 (UTC)

User space

I'm cooking up an article in my userspace and would like to be able to use ProveIt to articulate references there. I understand references are less likely in non-article spaces, but never? What am I missing? -- ke4roh (talk) 23:54, 26 April 2011 (UTC)

This is a compromise to avoid taking up screen real estate when references are unlikely to be used. My planned solution to address that, while allowing use on all pages, is to fix issue 93. Essentially, the idea is to use a button, so ProveIt only appears when you actually want to work on references. Superm401 - Talk 19:20, 7 May 2011 (UTC)
I was also wanting to use it in my userspace, so I hope you can get this working. Thanks for the great tool, by the way! Mr. Stradivarius 12:10, 24 May 2011 (UTC)
Please make this possible. I almost always write my articles in the user space and then transfer it, when I feel it is ready. --Maitch (talk) 16:04, 5 August 2011 (UTC)
Thanks for this useful tool. If the functionality could be added to userspace before issue 93 is addressed it would be good IMHO. The current implementation can increase editing time:
  • Collect refs in userspace draft
  • Compose draft article, based on refs (but don't include them)
  • Copy to article space, re-reading refs and including them this time
--Trevj (talk) 14:07, 30 August 2011 (UTC)
Bump -- Trevj (talk) 05:55, 27 November 2011 (UTC)

Any updates on this? I would also like being able to use ProveIt in my user space for drafts. Chris the Paleontologist (talkcontribs) 20:28, 15 February 2012 (UTC)

Sorry for the delay. I've enabled it for user space temporarily, which means it will always show minimized there. I also made a lot of progress on the toolbar implementation, so issue 93 should be done Real Soon Now. I am planning to put it directly to the left of the Advanced link on the toolbar. I'll remove the existing simple Reference icon that goes there (it just wraps whatever you enter in <ref>). I'm also going to add an option to make it visible immediately, for people who edit references frequently and don't want to click the toolbar. Superm401 - Talk 08:07, 1 March 2012 (UTC)
Thanks very much - I noticed this just popped up recently in userspace and was very pleased to read your update. If it can stay available it'll be extremely useful. -- Trevj (talk) 21:00, 1 March 2012 (UTC)

{{Citation}} template

Is their any particular reason why ProveIt can view and edit {{citation}} but can't create it? Chris the Paleontologist (talkcontribs) 18:35, 1 March 2012 (UTC)

When we made the new GUI, this was not implemented. It does help keep the GUI simple, but it's been under consideration at issue 12. Superm401 - Talk 06:02, 2 March 2012 (UTC)

Recent problems with ProveIt

Ever since ProveIt got its new look/layout, I have been having a couple of issues with it:

  1. It won't immediately show up when I edit the page: I have to click the preview button before ProveIt reveals itself.
  2. I can no longer add my own fields to citation templates.

Any possible fixes? Chris the Paleontologist (talkcontribs) 23:12, 4 March 2012 (UTC)

Now I can't seem to use ProveIt at all. Is it undergoing an update? Chris the Paleontologist (talkcontribs) 21:20, 7 March 2012 (UTC)

I'm sorry for the inconvenience, and I'm investigating your report. I have not reproduced the issue where it does not show on the edit page. I can reproduce the one (131) about the "Add field" button, and I'm working on it. Superm401 - Talk 03:19, 8 March 2012 (UTC)
The last time the ProveIt gadget changed was March 4th. Some other part of your environment may have changed. What operating system and web browser are you using? Superm401 - Talk 03:19, 8 March 2012 (UTC)
I am using Safari 5.0.4 on Mac OS X 10.6.7. JavaScript is enabled. Chris the Paleontologist (talkcontribs) 20:50, 8 March 2012 (UTC)
I fixed 131. Thanks again for your report. Superm401 - Talk 04:36, 8 March 2012 (UTC)

Actually, it seems to be working fine now. I'm not sure why it wasn't showing up before, but the issue seems to have resolved itself. Thanks for the help with 131, though. Chris the Paleontologist (talkcontribs) 20:52, 8 March 2012 (UTC)

I successfully used 'Add field' today. I wondered where it'd gone. Thanks! -- Trevj (talk) 21:44, 8 March 2012 (UTC)

Screen real estate feedback

I'm in progress on a solution to save screen real estate when you're not using ProveIt. Basically, you will be able to configure ProveIt to load hidden. A toolbar button will allow toggling between modes.

Please give feedback, preferably at issue 93. If you don't want to sign up there, post it here and I will quote you there.

Thanks. Superm401 - Talk 02:51, 9 March 2012 (UTC)

Use of external links in publisher= field

As this edit shows, ProveIt inserts an external link to Reuters even though we have a perfectly fine article on the news agency. Has this practice been discussed? I would guess this would not be deemed appropriate if raised in the relevant MoS forum. __meco (talk) 21:01, 27 March 2012 (UTC)

The external URL is going to show in the metadata. ---— Gadget850 (Ed) talk 21:34, 27 March 2012 (UTC)
I don't even know what that means. Could you explain, please? __meco (talk) 22:31, 27 March 2012 (UTC)
The Citation Style 1 and Citation Style 2 templates output embed COinS metadata in the HTML output, allowing reference management software to retrieve bibliographic metadata; see Wikipedia:COinS. ---— Gadget850 (Ed) talk 22:50, 27 March 2012 (UTC)
I understand what your concern is, but this isn't ProveIt's doing. Northamerica1000 chose to make a web reference and explicitly externally link the U.K. edition of Reuters in the publisher field. I would have made a news reference, and put Reuters in the work field (For cite news, the name of the source (e.g. The New York Times or Reuters) goes in newspaper/work). I would also not link it, since in most cases readers are familiar with major news sources, and can search if they are not. However, ProveIt doesn't enforce these conventions (except that it does not show publisher by default for cite news).
Feel free to try ProveIt to get a better idea how it works. Superm401 - Talk 03:23, 28 March 2012 (UTC)
You are right: this is not a ProveIt issue, it is the editor who used ProveIt. ---— Gadget850 (Ed) talk 10:05, 28 March 2012 (UTC)
Then this is all a misunderstanding. I've made the required changes to the article which I gave as an example, and I realize it wasn't ProveIt that caused the bad template fields. __meco (talk) 11:03, 28 March 2012 (UTC)
I may at a later time. Currently I write the template code quite proficiently by hand. __meco (talk) 11:03, 28 March 2012 (UTC)

I've made an inquiry about this matter at Wikipedia talk:Citing sources. __meco (talk) 08:48, 28 March 2012 (UTC)

See my posts right above. __meco (talk) 11:03, 28 March 2012 (UTC)

ProveIt not working

I can't get ProveIt to load at all on either Firefox or Chrome. I blanked my common.js so other user scripts should not be an issue. Any ideas? —danhash (talk) 14:51, 4 April 2012 (UTC)

Would you mind checking the Chrome error console? Click the Errors tab and let me know if you see anything on en.wikipedia.org, or that seems related to ProveIt. Thanks. Superm401 - Talk 15:57, 4 April 2012 (UTC)

Where's ProveIt?

I am noticing that ProveIt is not readily available when I go into edit mode. I have it enabled in my preferences, but it just does not seem to show. What is the problem? Bulldog73 talk da contribs go rando 16:29, 30 March 2012 (UTC)

I'm sorry you're having problems with ProveIt. However, I can't reproduce this. It should look like this screenshot. If not, please let me know which browser you're using, as well as any other scripts (I tested, and recent2.js doesn't seem to be an issue) or add-ons you have. Thanks. Superm401 - Talk 05:54, 31 March 2012 (UTC)
I also am having trouble getting ProveIt to appear. I am using Safari 5.1.5 on Mac OS X 10.6.8. Before undergoing Safari, OS X, and Java updates, I could sometimes get ProveIt to appear by clicking the "Show preview" or "Show changes" button if it didn't appear when I started editing a page. Now, I can't seem to get it to appear at all. Oddly enough, other JavaScript add-ons, such as Twinkle and HotCat, continue to work just fine for me after my software update. The only other add-on I have is Citation expander, which I doubt has anything to do with this; all the rest of my "gadgets" involve minor or stylistic changes. Chris the Paleontologist (talkcontribs) 15:09, 31 March 2012 (UTC)
Even more strangely, it has now begun to appear consistently for me. I'll make another post if the problem come back again. Chris the Paleontologist (talkcontribs) 15:20, 31 March 2012 (UTC)
Also having a problem. Installed it a few days ago. Worked great at first. Now it only works intermittently: the little ProveIt rectangle on the bottom doesn't appear. There's no way to access the app. Windows Vista SP2, IE 9. – Lionel (talk) 08:01, 4 May 2012 (UTC)
Its presence is unpredictable on the two PCs I use regularly (WinXP/IE, Vista/Firefox). Either
  1. Present as normally expected
  2. Present in cramped layout at top-left of screen (watch not to click on the main Wikipedia logo and lose your changes!)
  3. Present in either of those positions only after one or more Previews
  4. Not present anywhere, even after previewing
Great when it works, though! -- Trevj (talk) 09:24, 4 May 2012 (UTC)

Issue with Allmusic template

When the {{Allmusic}} template is used with "pure_url=yes" to provide the URL for {{cite web}}, etc, ProveIt fails to parse the reference properly. You can see this, for example, on Brian Austin Green where the Allmusic biography reference breaks ProveIt (right now, it's the first on the list for the relevant section). HTH HAND —Phil | Talk 14:09, 24 May 2012 (UTC)

To clarify what is going on here; {{Allmusic}} is being used in |url=

Markup Renders as
{{cite web |url={{Allmusic |class=artist |id=p455030/biography |pure_url=yes}} |title=Biography of Brian Austin Green |accessdate=2009-02-09 |last=Ankeny |first=Jason |publisher=Allmusic.com}}

Ankeny, Jason. "Biography of Brian Austin Green". Allmusic.com. Retrieved 2009-02-09.

---— Gadget850 (Ed) talk 14:24, 24 May 2012 (UTC)

Yes, thank you, that's what I should have said ;-) —Phil | Talk 08:21, 25 May 2012 (UTC)

ProveIt to work in another wikipedias

First I have to say that I really like ProveIt so big thank you! I would want to use it also on Finnish Wikipedia but the cite templates are in different name and I would like to use those. Can I just edit the source code and rename cite book to kirjaviite and so on? I noticed that you have already finnish translation but how I can use it? My settings in finnish wikipedia are in finnish. — linnea (talk) 20:11, 6 May 2012 (UTC)

Also I like to point that the current instructions on website doesn't work. The correct url should be Special:MyPage/common.js?action=edit. And you should add "en:" to the comment section // [[en:User:ProveIt GT/ProveIt.js]] — linnea (talk) 20:15, 6 May 2012 (UTC)
To use the Finnish translation on Finnish Wikipedia, put:
window.proveit = { LANG: "fi" };
before the importScriptURI. Thanks for the suggestion about common.js. skin.js does work on some wikis; however common.js (which is new) is a better alternative that should work everywhere. If you have any translation fixes, clone the repository, edit the file (there will be a "Edit file" link when you browse to Proveit_Wikipedia.js). Then, let me know, and I will merge them in. If you have trouble with that process, you can also post them here. Superm401 - Talk 00:40, 20 June 2012 (UTC)

Hi. I've installed the script id.wiki. The buttom right panel showed but no reference showed up (though the article is full of <ref> tags. The "Add reference" button is not working too. Please help. Thanks. -- IvanLanin 07:08, 19 May 2012 (UTC)

Date format in Chinese Wikipedia

Hello, I use this wonderful gadgets when adding references in English and Chinese Wikipedia. The admins in Chinese Wikipedia copied the gadget and "localised" it. The field of accessdate is filled in the current date by default. It is noted that the default date turns into a strange format (e.g. 06 18 2012) in Chinese Wikipedia. It is desirable to have year come first, then month, and finally day, that is yyyy-mm-dd, which is also the ISO date format, and use numbers rather than word for month, for example today is 2012-06-18. The admins tried to fix it unsuccessfully. How to change the date format?--Quest for Truth (talk) 16:35, 18 June 2012 (UTC)

You can use (pre-minified):
function(a){var c=a.getFullYear(),b=a.getMonth()+1,d=a.getDate();return c+"-"+(b<10?"0"+b:b)+"-"+d}
Put this in place of the existing function, which is immediately after formatDate:. I would like to fix this properly in the future using date format strings as part of localizations. Let me know if this doesn't work. Superm401 - Talk 00:00, 20 June 2012 (UTC)

Date format in English Wikipedia, too

I've been using this tool for come time now in place of the usual citation template, and it occurs to me that it's inserting dates in the month- then-day style instead of the now-preferred day-then-month. An admin just came along and made this correction to a recent Provelt generated reference and by gum, here's right. Does something need to be changed with this template? Shawn in Montreal (talk) 01:08, 22 June 2012 (UTC)

Wikipedia as a whole does not prefer one style over the other (see the manual of style). It would be nice to make the default configurable (this could be done as part of a en-US or en-UK localization when that is in place).
However, articles can be locked to a certain date format, due to the first main contributor or strong national ties rules. for instance, I believe date-first is required on articles like that, since it has strong national ties to the UK. This could be auto-detected in some cases using the mdy or dmy date categories (issue 145). I may do this before the general localization mechanism. Superm401 - Talk 00:19, 26 June 2012 (UTC)

How to add multiple authors?

Please help me know how to add multiple authors using provelt. I tried by adding entry author2 but failed. Vanischenu mTalk 20:34, 25 June 2012 (UTC)

You should be able to use the Add field, then enter author2 on the left. Did you try that? Less preferred, you can put all the authors in the author field (author is a synonym for authors). Superm401 - Talk 23:55, 25 June 2012 (UTC)
If that doesn't work, feel free to let me know. Superm401 - Talk 00:19, 26 June 2012 (UTC)
Thank you very much. It's working when I listed all the names together. I am extremely sorry for the late reply.Vanischenu mTalk 22:30, 30 June 2012 (UTC)

Provelt tool issues

Why am I getting this when I try to use the Provelt tool? I clicked on that link, then I clicked on a the ref I wanted, but it does not actually put in the article, it just sits there and does nothing :(. Is this a bug issue? YE Pacific Hurricane 14:36, 12 July 2012 (UTC)

That ("Insert a named reference") is not the ProveIt tool; it's an unrelated reference tool. The tool is minimized in the bottom right. Click the up arrow in the bottom right, "References", or "Add a Reference", to start using ProveIt. Superm401 - Talk 15:00, 18 July 2012 (UTC)
I realize that know, but that is what the help desk told me to post here. YE Pacific Hurricane 15:06, 18 July 2012 (UTC)

Aliases

We are discussing removing some of the aliases from the templates; see Help talk:Citation Style 1#Aliases. ---— Gadget850 (Ed) talk 11:37, 16 July 2012 (UTC)

IE9 issue

A few days ago, ProveIt started formatting itself rather badly in IE9; it would appear in the upper left hand corner of the screen, and then when I went to add a reference it would spew a lot of badly formatted crud all over the page. A screenshot is here. Thanks, C628 (talk) 16:49, 25 September 2011 (UTC)

Thanks, I'll look at that. I've filed it as issue 121. Superm401 - Talk 00:23, 19 November 2011 (UTC)
I too have this problem. Using IE9 --Tyw7  (☎ Contact me! • Contributions) 00:40, 14 August 2012 (UTC)

Edit toolbar

ProveIt is normally enabled in a window in the right bottom of the page, right? With that show/hide button. Wouldn't it be better to enable it within a button in the edit toolbar? --weltforce (talk) 17:11, 14 August 2012 (UTC)

Remove installed default edit summary?

Quite apart from the assertion that the Special:Contributions/Carlang is spamming WP, please do take a look at that list of contributions. (They might disappear shortly though)

I see a bunch of edit summaries that say nothing useful at all, while seeming to satisfy the desire that edits be described well. I believe this is a good example why a default edit summary (which is merely advertisement itself, yes?) is not a good thing to install. Having the feature is fine, but the string used should be the responsibility of the user. Don't let the less-than-above-board user hide behind your default? Shenme (talk) 21:26, 8 September 2012 (UTC)

I would like to see this as optional as well. I like the gadget, but I am tired of it adding itself to all of my edit summaries. CanadianJudoka (talk) 02:42, 13 September 2012 (UTC)
I strongly encourage ProveIt users to explain what they are adding or changing; the automatic summary is supposed to be an addition to that. That said, you can turn off the automatic summary by adding:
proveit.shouldAddSummary = false;
to your script page (usually Special:MyPage/vector.js). Superm401 - Talk 03:09, 13 September 2012 (UTC)
Thanks. CanadianJudoka (talk) 03:26, 13 September 2012 (UTC)

ProveIt not working anymore

Am I the only one having problems at the moment? The ProveIt bar appears in the bottom right hand corner, but clicking on "Add a reference" doesn't open up the screen anymore, and the "show/hide" button doesn't seem to do anything either. Any ideas? TheMightyPeanut (talk) 18:39, 2 November 2012 (UTC)

Thank you for the report. It's caused by broken code in a totally unrelated extension. The bug, bugzilla:41688, has been fixed, but not yet deployed to Wikipedia. Superm401 - Talk 02:00, 3 November 2012 (UTC)
Still not working... Please continue working on fixing it. I like ProveIt and I miss it. Poeticbent talk 15:58, 5 November 2012 (UTC)
I think Superm401 was saying that we're still waiting on the unrelated extension's bugfix to be deployed before ProveIt will work again, but please correct me if I'm wrong. MaxVeers (talk) 17:15, 5 November 2012 (UTC)
Correct. That fix is now deployed, and ProveIt is working. If you are still experiencing issues, first bypass your cache. If ProveIt still doesn't work, feel free to post here again. However, it is probably an unrelated issue. Superm401 - Talk 18:06, 5 November 2012 (UTC)
Seems to work fine here now, thanks! TheMightyPeanut (talk) 13:27, 6 November 2012 (UTC)

From the Village Pump (Technical)

FYI!

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


ProveIt, indeed a rambling wreck

A GUI for adding references, ProveIt, obscures the edit-summary box unless I control-minus the page several orders of magnitude. Kiefer.Wolfowitz 21:32, 6 December 2012 (UTC)

User talk:ProveIt GT --— Gadget850 (Ed) talk 21:38, 6 December 2012 (UTC)
This should be solved by a sysadmin: add to Mediawiki:gadgets-definition, in "proveit" line, a dependency in "jquery.ui.tabs" (you'll need to use resourceloader - not clear why is it not used already).
@Kiefer: you can solve it temporarily for yourself, until someone will fix the problem for everyone, by adding the following line to your Special:Mypage/common.js page:
mw.loader.load('jquery.ui.tabs');
Also, note that the gadget does not work correctly with https - use http. peace - קיפודנחש (aka kipod) (talk) 23:16, 6 December 2012 (UTC)
Thank you both for your very helpful responses! Kiefer.Wolfowitz 23:49, 6 December 2012 (UTC)
The discussion above is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.

The "rambling wreck" reference was said affectionately. Kiefer.Wolfowitz 00:57, 7 December 2012 (UTC)

HTTPS

My browser refuses to load stylesheets for ProveIt when editing Wikipedia over an HTTPS connection, making the tool unusable. http:// should be changed to just // in addresses. Keφr (talk) 20:17, 26 November 2012 (UTC)

  Done Thanks for the suggestion. Superm401 - Talk 02:25, 27 November 2012 (UTC)
You fixed it here, but you did not copy this fix to MediaWiki:Gadget-ProveIt.js, so users who took your advice and are using the gadget still have this problem.
Also note that there are few other places in the code that use "http" explicitly. some of them may be unavoidable, but at least some can be changed to "protocol agnostic" "//" (e.g., the link that loads some icon from commons).
You're right. I accidentally deployed it only to User:ProveIt_GT/ProveIt.js. It is now deployed to the gadget.
I looked at the http references still remaining. The icon is fixed, wihch means there are no longer any HTTP includes (media/scripts/stylesheets), so there shouldn't be any mixed content warnings. There are three remaining references. One is a link to the ProveIt site. I hope to fix that shortly. I am moving the site anyway, so I will add HTTPS support as part of the process. The other two are auto-generated URLs used for actual references. Unfortunately, neither IMDB nor the DOI server we link to support HTTPS. Superm401 - Talk 02:13, 7 December 2012 (UTC)
Also, it seems that the tool depends on 'jquery.ui.tabs' library. you probably want to add this dependency to Mediawiki:gadgets-definition (together with resourceloader).
Peace - קיפודנחש (aka kipod) (talk) 23:55, 6 December 2012 (UTC)
  Done I considered and asked about this before, but thanks for the reminder. Let me know if (preferably separate section) if this causes any issues. Superm401 - Talk 07:27, 7 December 2012 (UTC)