This page is an archive of past discussions. Do not edit the contents of this page. If you wish to start a new discussion or revive an old one, please do so on the current talk page. |
It may be desirable to make the short descriptions CC0 so they can be used on Wikidata. I would have no problem with this personally. To avoid confusion it may be desirable to rename this template to {{ CC0 short description}} to make it more obvious. I don't know if anyone else has used the template yet, and as far as I know only one instance has been changed as of this date. · · · Peter (Southwood) (talk): 09:33, 13 November 2017 (UTC)
I am mostly unfamiliar with Wikidata and was surprised earlier today when I learned that I have made a number of edits there, largely from page moves. Then, I saw this , and after reading the above discussions, I'm curious how {{ short description}} is to be currently used; above it mentions being limited to WP:WikiProject Scuba diving. I would think that if the descriptions are as generic as "disambiguation page", that this should be added to {{ disambiguation}} and similar templates, perhaps with a parameter that overwrites the default. I also see that discussion continues at Wikipedia_talk:Wikidata/2018_State_of_affairs#Short_descriptions about a WP:MAGICWORD; how does this template relate to that? — Ost ( talk) 18:05, 27 February 2018 (UTC)
Hi. Given gerrit:414633 and gerrit:419083, will this template soon be changed to use the new magic word? I'm having an issue with articles such as Alan Turing starting with this HTML:
<p><span class="shortdescription nomobile noexcerpt noprint" style="display:none">mathematician and computer scientist</span></p>
When I try to get the first sentence of this article, this is what I end up grabbing, since it's wrapped in paragraph ("p") tags and it's very close to the top of the page, so it seems like a first sentence.
Perhaps alternately, can this template go at the bottom of the page instead of the top? -- MZMcBride ( talk) 05:16, 13 March 2018 (UTC)
<p>...</p>
.
Alan Turing now begins:
<div class="shortdescription nomobile noexcerpt noprint" style="display:none">mathematician and computer scientist</div>
<p>...</p>
is "Alan Mathison Turing OBE FRS (/ˈtjʊərɪŋ/; 23 June 1912 – 7 June 1954) was an English computer scientist ...".
https://en.wikipedia.org/w/api.php?action=query&format=json&prop=description&titles=<title>
(I'll add a page information entry next week). --
Tgr (WMF) (
talk) 14:18, 28 March 2018 (UTC)
.shortdescription
entry in
User:RexxS/common.css) so I can see what's in the template while we're testing. Let me know if any problems arise. --
RexxS (
talk) 22:42, 29 March 2018 (UTC)Hi. I'm not sure this has been explicitly called out, but when I search for " james buchanan", the text snippet is:
James Buchanan
United States president James Buchanan Jr. (/bjuːˈkænən/; April 23, 1791 – June 1, 1868) was the 15th president of the United States (1857–61), serving
I'm not sure we have any CSS class or parser function or other magic to exclude short description text such as "United States president" from these internal search engine result snippets.
It looks like phabricator:T30088 is vaguely related. -- MZMcBride ( talk) 02:17, 14 March 2018 (UTC)
Ah, right, so this template is using the "noexcerpts" CSS class already, but this class name does not seem to be integrated with the internal search engine. Also vaguely related: phabricator:T91344. -- MZMcBride ( talk) 02:20, 14 March 2018 (UTC)
Is SHORTDESC working?
{{Disambiguation|geo}}
{{disambiguation/sandbox}}
{{short description|Disambiguation page}} ... {{disambiguation|geo|callsign}}
Scuba diving ( d:Q1096878) contains:
{{short description|diving while breathing from self-contained underwater breathing apparatus}}
Using the Wikipedia app on a phone, searching for "ada" or "alien" or "kit" shows a list of hits with the following (the text after the link is the description which comes from Wikidata):
Similarly, searching for "scuba diving" shows the description from Wikidata, not the short description above. I tried purging the article with a desktop computer then doing the search again on a phone, with the same result.
"Wikimedia disambiguation page" comes from Wikidata. I have seen other Wikidata dab descriptions saying "Wikipedia disambiguation page" which makes more sense to me. I can't make up my mind whether omitting Wikimedia/Wikipedia would be an improvement. Including the word highlights that "disambiguation" is a term of art.
I would expect these descriptions:
Johnuniq ( talk) 06:17, 31 March 2018 (UTC)
{"batchcomplete":"","query":{"pages":{"630":{"pageid":630,"ns":0,"title":"Ada","description":"Wikimedia disambiguation page","descriptionsource":"central"}}}}
{"batchcomplete":"","query":{"pages":{"579":{"pageid":579,"ns":0,"title":"Alien","description":"Wikipedia disambiguation page - a page providing links to Wikipedia articles with the same or similar titles","descriptionsource":"local"}}}}
{"batchcomplete":"","query":{"pages":{"17177":{"pageid":17177,"ns":0,"title":"Kit","description":"Disambiguation page","descriptionsource":"local"}}}}
{"batchcomplete":"","query":{"normalized":[{"from":"Scuba_diving","to":"Scuba diving"}],"pages":{"1266475":{"pageid":1266475,"ns":0,"title":"Scuba diving","description":"diving while breathing from self-contained underwater breathing apparatus","descriptionsource":"local"}}}}
I have just reverted an edit to Template:Surname that placed thousands of name articles, which are not disambiguation pages, into Category:Disambiguation pages with short description in lieu of the more accurate Category:Articles with short description. Would it be better to create a Category:Set indices with short description instead? — Xezbeth ( talk) 11:34, 30 April 2018 (UTC)
|pagetype=Set indice
Galobtter (
pingó mió) 11:56, 30 April 2018 (UTC)Do these tags have to be placed at the top of the articles? It seems like more unnecessary clutter at the top of the page. Can these tags be place at the bottom with the categories without affecting function? Thanks. - BilCat ( talk) 18:08, 3 May 2018 (UTC)
This page is an archive of past discussions. Do not edit the contents of this page. If you wish to start a new discussion or revive an old one, please do so on the current talk page. |
It may be desirable to make the short descriptions CC0 so they can be used on Wikidata. I would have no problem with this personally. To avoid confusion it may be desirable to rename this template to {{ CC0 short description}} to make it more obvious. I don't know if anyone else has used the template yet, and as far as I know only one instance has been changed as of this date. · · · Peter (Southwood) (talk): 09:33, 13 November 2017 (UTC)
I am mostly unfamiliar with Wikidata and was surprised earlier today when I learned that I have made a number of edits there, largely from page moves. Then, I saw this , and after reading the above discussions, I'm curious how {{ short description}} is to be currently used; above it mentions being limited to WP:WikiProject Scuba diving. I would think that if the descriptions are as generic as "disambiguation page", that this should be added to {{ disambiguation}} and similar templates, perhaps with a parameter that overwrites the default. I also see that discussion continues at Wikipedia_talk:Wikidata/2018_State_of_affairs#Short_descriptions about a WP:MAGICWORD; how does this template relate to that? — Ost ( talk) 18:05, 27 February 2018 (UTC)
Hi. Given gerrit:414633 and gerrit:419083, will this template soon be changed to use the new magic word? I'm having an issue with articles such as Alan Turing starting with this HTML:
<p><span class="shortdescription nomobile noexcerpt noprint" style="display:none">mathematician and computer scientist</span></p>
When I try to get the first sentence of this article, this is what I end up grabbing, since it's wrapped in paragraph ("p") tags and it's very close to the top of the page, so it seems like a first sentence.
Perhaps alternately, can this template go at the bottom of the page instead of the top? -- MZMcBride ( talk) 05:16, 13 March 2018 (UTC)
<p>...</p>
.
Alan Turing now begins:
<div class="shortdescription nomobile noexcerpt noprint" style="display:none">mathematician and computer scientist</div>
<p>...</p>
is "Alan Mathison Turing OBE FRS (/ˈtjʊərɪŋ/; 23 June 1912 – 7 June 1954) was an English computer scientist ...".
https://en.wikipedia.org/w/api.php?action=query&format=json&prop=description&titles=<title>
(I'll add a page information entry next week). --
Tgr (WMF) (
talk) 14:18, 28 March 2018 (UTC)
.shortdescription
entry in
User:RexxS/common.css) so I can see what's in the template while we're testing. Let me know if any problems arise. --
RexxS (
talk) 22:42, 29 March 2018 (UTC)Hi. I'm not sure this has been explicitly called out, but when I search for " james buchanan", the text snippet is:
James Buchanan
United States president James Buchanan Jr. (/bjuːˈkænən/; April 23, 1791 – June 1, 1868) was the 15th president of the United States (1857–61), serving
I'm not sure we have any CSS class or parser function or other magic to exclude short description text such as "United States president" from these internal search engine result snippets.
It looks like phabricator:T30088 is vaguely related. -- MZMcBride ( talk) 02:17, 14 March 2018 (UTC)
Ah, right, so this template is using the "noexcerpts" CSS class already, but this class name does not seem to be integrated with the internal search engine. Also vaguely related: phabricator:T91344. -- MZMcBride ( talk) 02:20, 14 March 2018 (UTC)
Is SHORTDESC working?
{{Disambiguation|geo}}
{{disambiguation/sandbox}}
{{short description|Disambiguation page}} ... {{disambiguation|geo|callsign}}
Scuba diving ( d:Q1096878) contains:
{{short description|diving while breathing from self-contained underwater breathing apparatus}}
Using the Wikipedia app on a phone, searching for "ada" or "alien" or "kit" shows a list of hits with the following (the text after the link is the description which comes from Wikidata):
Similarly, searching for "scuba diving" shows the description from Wikidata, not the short description above. I tried purging the article with a desktop computer then doing the search again on a phone, with the same result.
"Wikimedia disambiguation page" comes from Wikidata. I have seen other Wikidata dab descriptions saying "Wikipedia disambiguation page" which makes more sense to me. I can't make up my mind whether omitting Wikimedia/Wikipedia would be an improvement. Including the word highlights that "disambiguation" is a term of art.
I would expect these descriptions:
Johnuniq ( talk) 06:17, 31 March 2018 (UTC)
{"batchcomplete":"","query":{"pages":{"630":{"pageid":630,"ns":0,"title":"Ada","description":"Wikimedia disambiguation page","descriptionsource":"central"}}}}
{"batchcomplete":"","query":{"pages":{"579":{"pageid":579,"ns":0,"title":"Alien","description":"Wikipedia disambiguation page - a page providing links to Wikipedia articles with the same or similar titles","descriptionsource":"local"}}}}
{"batchcomplete":"","query":{"pages":{"17177":{"pageid":17177,"ns":0,"title":"Kit","description":"Disambiguation page","descriptionsource":"local"}}}}
{"batchcomplete":"","query":{"normalized":[{"from":"Scuba_diving","to":"Scuba diving"}],"pages":{"1266475":{"pageid":1266475,"ns":0,"title":"Scuba diving","description":"diving while breathing from self-contained underwater breathing apparatus","descriptionsource":"local"}}}}
I have just reverted an edit to Template:Surname that placed thousands of name articles, which are not disambiguation pages, into Category:Disambiguation pages with short description in lieu of the more accurate Category:Articles with short description. Would it be better to create a Category:Set indices with short description instead? — Xezbeth ( talk) 11:34, 30 April 2018 (UTC)
|pagetype=Set indice
Galobtter (
pingó mió) 11:56, 30 April 2018 (UTC)Do these tags have to be placed at the top of the articles? It seems like more unnecessary clutter at the top of the page. Can these tags be place at the bottom with the categories without affecting function? Thanks. - BilCat ( talk) 18:08, 3 May 2018 (UTC)