I have found that you must not put any spaces after the pipe symbol, or it doesn't work. (It duplicates the number, and doesn't create a link). If I knew more about templates, perhaps I could diagnose this. The following works correctly: {{OCLC|3185581}} giving OCLC 3185581 while the following fails: {{OCLC| 3185581}} giving OCLC 3185581 EdJohnston 02:43, 27 November 2006 (UTC)
I've inserted this template into {{ cite book}} to add an explicit oclc=... field instead of id={{oclc|...}}, but, because of Bugzilla: 8446: Don't show conditionally included links on Whatlinkshere unless they're actually included, the What links here for Template:OCLC is useless. So I'm going to substitute it.
If you update this template, please also update {{ cite book}} in the same way. — Omegatron 15:26, 9 January 2007 (UTC)
OCLC 52075003 — Omegatron 00:45, 19 March 2007 (UTC)
What do you think of improving the model as it is on the French Wikipedia (see fr:Modèle:OCLC) ?
It allows the OCLC ref to look like that:
rather than:
SalomonCeb ( talk) 08:36, 6 February 2008 (UTC)
{{ editprotected}} What about disambiguating " OCLC" to " Online Computer Library Center"? — Cheers, JackLee – talk– 00:47, 12 February 2008 (UTC)
I'm suggesting that the template be linked to " Online Computer Library Center" instead of " OCLC" to avoid the redirect. Isn't it generally the practice to avoid redirects? Your explanation is reasonable enough, but this is only an issue if the template is meant to be substituted and there are no instructions on the template page advising editors to do so. — Cheers, JackLee – talk– 02:11, 12 February 2008 (UTC)
I think we're misunderstanding each other. I'm not suggesting that "OCLC" be spelt out in full in the template, just that the abbreviation is linked to the article "Online Computer Library Center" rather than the redirect "OCLC". The simple solution is to use a piped link, like this: "[[Online Computer Library Center|OCLC]]", which simply renders " OCLC". This will reduce server load as it is then not necessary to go through the "OCLC" redirect. — Cheers, JackLee – talk– 03:31, 12 February 2008 (UTC)
{{
editprotected}}
Instead of transcluding the documentation page on to the template page using {{
/doc}}, please use {{
Documentation}} instead as this looks tidier, indicates to editors how they may edit the documentation, and is becoming the norm in Wikipedia. — Cheers,
JackLee –
talk– 20:19, 28 March 2008 (UTC)
{{
pp-template}}
Happy‑
melon 21:29, 28 March 2008 (UTC){{editprotected}}
As mentioned on the Universal Reference Formatter feedback page (
User_talk:Smith609/Cite#Multiple_OCLC_entries), sometimes multiple OCLC entries are found for a single ISBN. Should this template be improved to handle this situation better? —
Chris Capoccia
T⁄
C 08:22, 11 August 2008 (UTC)
{{editprotected}}
I noticed that this template creates links to
WorldCat using http://worldcat.org/... rather than http://www.worldcat.org/... Given that http://worldcat.org/... redirects to the http://www.worldcat.org/... version and is now the recomended format:
[1], could this template please be changed to point to the www.worldcat.org version in the first place? :) -
Paul1337 (
talk) 01:08, 8 December 2008 (UTC)
{{ edit protected}}
Simply copy-paste this. (I've tested the code in my sandboxes and it works just fine)
<!-- -->{{hide in print |[[Online Computer Library Center|OCLC]] [http://www.worldcat.org/oclc/{{urlencode:{{{1}}}}} {{{1}}}]<!-- -->{{#if:{{{3|}}} |, [http://www.worldcat.org/oclc/{{urlencode:{{{2}}}}} {{{2}}}] and [http://www.worldcat.org/oclc/{{urlencode:{{{3}}}}} {{{3}}}]<!-- -->|{{#if:{{{2|}}} | and [http://www.worldcat.org/oclc/{{urlencode:{{{2}}}}} {{{2}}}]<!-- -->|<!-- -->}} }}<!-- -->}}<!-- -->{{only in print |OCLC {{{1}}}<!-- -->{{#if:{{{3|}}} |, {{{2}}} and {{{3}}}<!-- -->|{{#if:{{{2|}}} | and{{{2}}}<!-- -->|<!-- -->}}<!-- -->}}<!-- -->}}<!-- --><noinclude> {{pp-template|small=yes}} {{documentation}} </noinclude>
This will cleanup the print version of articles (see explanation). Headbomb { talk / contribs / physics / books} 02:05, 5 March 2010 (UTC)
If you add '/editions' to the end of the url, all editions, formats and languages are shown. Compare one with all. I think it would be helpful to add that option, changing the current display from 'OCLC Number 55534889' to 'OCLC Number 55534889 all editions' so users can click on whichever they want to see. (I don't know if the current option for multiple OCLC numbers in the template was a workaround for that.) Flatterworld ( talk) 06:59, 26 August 2010 (UTC)
This
edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Can we switch the URL for Worldcat from http://www.worldcat.org to //www.worldcat.org? Chmarkine ( talk) 02:36, 8 November 2013 (UTC)
Thank you all for your reply! Since now we have two supports and no objections, and actually there are already a lot of protocol relative URLs on Wikipedia and PRUs are recommended by Wikimedia Foundation, so I reactivated my request. Thanks! Chmarkine ( talk) 21:20, 12 November 2013 (UTC)
See
Headbomb { talk / contribs / physics / books} 17:07, 29 October 2016 (UTC)
This
edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Please change "https://www.worldcat.org/" to "https://www.worldcat.org/". When using Special:LinkSearch to search for HTTP links, relative links are caught in there as well giving an inaccurate list of articles using http links. Jon Kolbert ( talk) 04:13, 16 September 2017 (UTC)
{{ OCLC|894}} creates OCLC 894 which goes to https://www.worldcat.org/oclc/%E2%80%8E894 (a 404), but https://www.worldcat.org/oclc/894 is a valid link. — howcheng { chat} 17:29, 9 July 2021 (UTC)
I have found that you must not put any spaces after the pipe symbol, or it doesn't work. (It duplicates the number, and doesn't create a link). If I knew more about templates, perhaps I could diagnose this. The following works correctly: {{OCLC|3185581}} giving OCLC 3185581 while the following fails: {{OCLC| 3185581}} giving OCLC 3185581 EdJohnston 02:43, 27 November 2006 (UTC)
I've inserted this template into {{ cite book}} to add an explicit oclc=... field instead of id={{oclc|...}}, but, because of Bugzilla: 8446: Don't show conditionally included links on Whatlinkshere unless they're actually included, the What links here for Template:OCLC is useless. So I'm going to substitute it.
If you update this template, please also update {{ cite book}} in the same way. — Omegatron 15:26, 9 January 2007 (UTC)
OCLC 52075003 — Omegatron 00:45, 19 March 2007 (UTC)
What do you think of improving the model as it is on the French Wikipedia (see fr:Modèle:OCLC) ?
It allows the OCLC ref to look like that:
rather than:
SalomonCeb ( talk) 08:36, 6 February 2008 (UTC)
{{ editprotected}} What about disambiguating " OCLC" to " Online Computer Library Center"? — Cheers, JackLee – talk– 00:47, 12 February 2008 (UTC)
I'm suggesting that the template be linked to " Online Computer Library Center" instead of " OCLC" to avoid the redirect. Isn't it generally the practice to avoid redirects? Your explanation is reasonable enough, but this is only an issue if the template is meant to be substituted and there are no instructions on the template page advising editors to do so. — Cheers, JackLee – talk– 02:11, 12 February 2008 (UTC)
I think we're misunderstanding each other. I'm not suggesting that "OCLC" be spelt out in full in the template, just that the abbreviation is linked to the article "Online Computer Library Center" rather than the redirect "OCLC". The simple solution is to use a piped link, like this: "[[Online Computer Library Center|OCLC]]", which simply renders " OCLC". This will reduce server load as it is then not necessary to go through the "OCLC" redirect. — Cheers, JackLee – talk– 03:31, 12 February 2008 (UTC)
{{
editprotected}}
Instead of transcluding the documentation page on to the template page using {{
/doc}}, please use {{
Documentation}} instead as this looks tidier, indicates to editors how they may edit the documentation, and is becoming the norm in Wikipedia. — Cheers,
JackLee –
talk– 20:19, 28 March 2008 (UTC)
{{
pp-template}}
Happy‑
melon 21:29, 28 March 2008 (UTC){{editprotected}}
As mentioned on the Universal Reference Formatter feedback page (
User_talk:Smith609/Cite#Multiple_OCLC_entries), sometimes multiple OCLC entries are found for a single ISBN. Should this template be improved to handle this situation better? —
Chris Capoccia
T⁄
C 08:22, 11 August 2008 (UTC)
{{editprotected}}
I noticed that this template creates links to
WorldCat using http://worldcat.org/... rather than http://www.worldcat.org/... Given that http://worldcat.org/... redirects to the http://www.worldcat.org/... version and is now the recomended format:
[1], could this template please be changed to point to the www.worldcat.org version in the first place? :) -
Paul1337 (
talk) 01:08, 8 December 2008 (UTC)
{{ edit protected}}
Simply copy-paste this. (I've tested the code in my sandboxes and it works just fine)
<!-- -->{{hide in print |[[Online Computer Library Center|OCLC]] [http://www.worldcat.org/oclc/{{urlencode:{{{1}}}}} {{{1}}}]<!-- -->{{#if:{{{3|}}} |, [http://www.worldcat.org/oclc/{{urlencode:{{{2}}}}} {{{2}}}] and [http://www.worldcat.org/oclc/{{urlencode:{{{3}}}}} {{{3}}}]<!-- -->|{{#if:{{{2|}}} | and [http://www.worldcat.org/oclc/{{urlencode:{{{2}}}}} {{{2}}}]<!-- -->|<!-- -->}} }}<!-- -->}}<!-- -->{{only in print |OCLC {{{1}}}<!-- -->{{#if:{{{3|}}} |, {{{2}}} and {{{3}}}<!-- -->|{{#if:{{{2|}}} | and{{{2}}}<!-- -->|<!-- -->}}<!-- -->}}<!-- -->}}<!-- --><noinclude> {{pp-template|small=yes}} {{documentation}} </noinclude>
This will cleanup the print version of articles (see explanation). Headbomb { talk / contribs / physics / books} 02:05, 5 March 2010 (UTC)
If you add '/editions' to the end of the url, all editions, formats and languages are shown. Compare one with all. I think it would be helpful to add that option, changing the current display from 'OCLC Number 55534889' to 'OCLC Number 55534889 all editions' so users can click on whichever they want to see. (I don't know if the current option for multiple OCLC numbers in the template was a workaround for that.) Flatterworld ( talk) 06:59, 26 August 2010 (UTC)
This
edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Can we switch the URL for Worldcat from http://www.worldcat.org to //www.worldcat.org? Chmarkine ( talk) 02:36, 8 November 2013 (UTC)
Thank you all for your reply! Since now we have two supports and no objections, and actually there are already a lot of protocol relative URLs on Wikipedia and PRUs are recommended by Wikimedia Foundation, so I reactivated my request. Thanks! Chmarkine ( talk) 21:20, 12 November 2013 (UTC)
See
Headbomb { talk / contribs / physics / books} 17:07, 29 October 2016 (UTC)
This
edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Please change "https://www.worldcat.org/" to "https://www.worldcat.org/". When using Special:LinkSearch to search for HTTP links, relative links are caught in there as well giving an inaccurate list of articles using http links. Jon Kolbert ( talk) 04:13, 16 September 2017 (UTC)
{{ OCLC|894}} creates OCLC 894 which goes to https://www.worldcat.org/oclc/%E2%80%8E894 (a 404), but https://www.worldcat.org/oclc/894 is a valid link. — howcheng { chat} 17:29, 9 July 2021 (UTC)