Template talk:Official website

From Wikipedia, the free encyclopedia
Jump to: navigation, search

Multiple markets[edit]

In automobile articles somebody usually adds this template for the official website of the manufacturer but usually makes it for a particular country (usually for the US). To keep things fair, we should put in the official websites for other countries. However, a vertical list of "official website" looks pretty ugly (even overridden with the name param to give the country name). I would like to have a way to have multiple sites listed looking somthing like on the Toyota Land Cruiser article:

Even better it sorted them alphabetically. Is this something that could be added to this template or would it be better as a new template (eg "Official websites" (with an "s" at the end)?  Stepho  talk  05:21, 15 February 2013 (UTC)

No response, so I created {{Official websites}} . It's a bit crude but I'll work on it.  Stepho  talk  14:50, 21 February 2013 (UTC)
I presume the "official websites" template can also be used for organizations that maintain official sites in multiple languages? To name just one example, Ligue 1 maintains official sites in French (www.lpf.fr), English (www.ligue1.com), and Chinese (www.ligue1.cn). — Dale Arnett (talk) 16:53, 25 March 2013 (UTC)
Sounds reasonable to me. The Ligue 1 article could have:

Official websites for French, English, Chinese

Or possibly listing countries instead of languages, the template isn't fussed about what is actually listed. I would lean away from listing languages because each language specific edition of Wikipedia should link to the homepage for its own language but listing countries or major markets would be fine.  Stepho  talk  02:50, 26 March 2013 (UTC)

Dead websites[edit]

The official website of defunct organisations is useful information, but we need to ensure the reader knows that the website may no longer be online, and an archive of the site is available. See Australian Partnership for Advanced Computing. The {{cite}} templates have archive parameters. John Vandenberg (chat) 01:37, 9 April 2013 (UTC)

Sounds like an excellent idea. Perhaps something like if |archive_url=some-web-address is present then show the archived url instead of the original url (but the original url is still kept in the wiki code for historical purposes).  Stepho  talk  02:15, 10 April 2013 (UTC)
  • Support However, a slightly different issue has come up at European Network of Democratic Young Left: the site is currently unavailable, however the organization still exists and the unavailable website is still used on print material and the facebook page. Possibly the site will come back soon, and in other cases it might be just a temporary technical failure. So we need a parameter to track the date the page was found unavailable and a tracking category to sort out official websites that have been unavailable longer than a year or so. --PanchoS (talk) 12:38, 4 February 2015 (UTC)

punctuation immediately after template used[edit]

Currently impossible to use punctuation immediately after template? (without intervening whitespace)

See e.g. O'Reilly Open Source Convention.

* {{official website|http://www.oscon.com}}, oscon.com
expands to
* <span class="official website"><span class="url">[http://www.oscon.com Official website]</span></span> , oscon.com

--Jeremyb (talk) 16:55, 2 April 2014 (UTC)

Odd, three classes official + url + website in two nested spans, is that as it should be? –Be..anyone (talk) 10:08, 24 March 2015 (UTC)
It's only two classes. The first class is "official website" (i.e. two words together in quotes specifies a single class). The second class is "url".  Stepho  talk  11:12, 24 March 2015 (UTC)
IIRC class names are NMTOKENS separated by spaces. Apparently HTML5 sticks to that HTML4.1 syntax. –Be..anyone (talk) 15:24, 24 March 2015 (UTC)
I stand corrected.  Stepho  talk  04:09, 31 March 2015 (UTC)


Why don't start using Wikidata for official websites? P856 has been created for such kind of work :) --→ Airon 11:05, 24 April 2014 (UTC)

Here is the correct code:
<span class="official website">{{URL|1={{{1|{{{URL|{{#property:P856}}}}}}}}|2={{{2|{{{name|Official website}}}}}}}}</span>
{{#ifeq:{{{format}}}|flash|{{link note|note=Requires [[Adobe Flash Player]]}} }}
{{#if:{{{1|{{{URL|}}}|}}}|{{#if:{{{mobile|}}}|({{URL|1={{{mobile}}}|2=Mobile}})}} }}<noinclude>
--→ Airon 10:45, 7 June 2014 (UTC)

Local value or Wikidata[edit]

Now that we can use Wikidata, which one should we prefer to use, Wikidata or local value? Two questions:

  1. Should we update existing templates transcluded in articles to use {{Official Website}}? Should we use bots?
  2. Should we encourage/require users to use Wikidata from now on?

Chmarkine (talk) 00:20, 28 October 2014 (UTC)

  • My opinion is to always use Wikidata. Because it's easier to update on Wikidata. Chmarkine (talk) 00:22, 28 October 2014 (UTC)
  • Hello! In my opinion, {{Official website}} shouldn't be changed if the specified website matches the one provided by Wikidata; thus, edits such as this one shouldn't be performed by Dexbot. Having an official website as part of the {{Official website}} invocation actually improves the overall readability of Wiki code by reducing the "easter egg" factor of not knowing what's to be displayed. — Dsimic (talk | contribs) 21:51, 31 May 2015 (UTC)
Dsimic the current trend is the other way round. We try to move the official website info in Wikidata and we are almost done. -- Magioladitis (talk) 21:57, 31 May 2015 (UTC)
Hm, what are the actual benefits? What should we do with infoboxes, which also contain links to official websites? — Dsimic (talk | contribs) 21:58, 31 May 2015 (UTC)
Dsimic the benefits is that the info is available for all wikis. Infoboxes will have to follow the same trend very soon. In fact there is another trend to not have many external links in infoboxes. -- Magioladitis (talk) 22:00, 31 May 2015 (UTC)
Ok, that makes sense, but there are no reasons to edit already existing {{Official website}} templates if the specified website matches the one provided by Wikidata. Could you, please, point me to a discussion in which such trends have been set? By the way, you don't need to ping me in each reply, I'm already watching this page. — Dsimic (talk | contribs) 22:06, 31 May 2015 (UTC)
By removing all those that match we see what is left and needs user attention in order to e fixed. Our tracking system is not that clever and slight changes such as prefix or slash at the end appear as inconsistencies between English Wikipedia and Wikidata. -- Magioladitis (talk) 22:11, 31 May 2015 (UTC)
Some history: In December 2014 Wikidata support added. We started tracking pages with inconsistencies started transition (see Wikipedia:Bot_requests/Archive_62#Sync_official_website_with_Wikidata). This month we started checking for same urls that have differ only in prefix (one has the other has not). -- Magioladitis (talk) 22:17, 31 May 2015 (UTC)
Next stage is that the bot checks whether the inconsistency is because the one url redirects to the other. -- Magioladitis (talk) 22:20, 31 May 2015 (UTC)
(edit conflict) Then make the tracking system more sophisticated; I could even offer some help there. However, there are no reasons to delete already existing stuff if it matches the Wikidata – there are maintenance categories for such mismatches and missing data (Category:Official website different in Wikidata and Wikipedia and Category:Official website not in Wikidata), which should be used instead of emptying out {{Official website}} templates. — Dsimic (talk | contribs) 22:23, 31 May 2015 (UTC)

Well, I guess it is the same with interlanguage links. We would like this info to be stored in Wikidata in order to have better control on it, minimise local changes and avoid info overwrite. -- Magioladitis (talk) 22:29, 31 May 2015 (UTC)

Hm, that's debatable. Personally, I don't care that much about versions in different languages. — Dsimic (talk | contribs) 22:57, 31 May 2015 (UTC)

In one of their edits, ViperSnake151 referred to WP:POINT. Could anyone, please, point out which guideline says that {{Official website}} templates must be emptied out if appropriate Wikidata exists? Even the documentation of that template doesn't mention something like that. — Dsimic (talk | contribs) 23:29, 31 May 2015 (UTC)

Well, if a bot is enforcing this, there is consensus and/or approval to do so as a best practice. ViperSnake151  Talk  23:30, 31 May 2015 (UTC)
In fact, none disagreed at Wikipedia:Bot_requests/Archive_62#Sync_official_website_with_Wikidata 6 months ago which was the continuation of the changes done in early December. -- Magioladitis (talk) 23:33, 31 May 2015 (UTC)
Discussions about interwikis, {{Authority control}} and Persondata show consensus that we should transfer certain information to Wikidata. -- Magioladitis (talk) 23:34, 31 May 2015 (UTC)
I asked Dexbot to perform this task based on this spirit. -- Magioladitis (talk) 23:37, 31 May 2015 (UTC)
Well, I disagree. Does my opinion count as everyone else's? — Dsimic (talk | contribs) 23:39, 31 May 2015 (UTC)
Of course your opinion counts as much as anyone else's - but that doesn't give you a veto, if you are in a minority of one. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 09:29, 1 June 2015 (UTC)
Totally agreed, but do silent agreements count as majority votes? — Dsimic (talk | contribs) 17:16, 1 June 2015 (UTC)

"I don't care that much about versions in different languages" is not a good argument. Some people do. And keeping websites alive to avoid WP:LINKROT it's better if we have external links is a more central place. -- Magioladitis (talk) 23:40, 31 May 2015 (UTC)

Dsimic sure consensus can change. But what is exactly you would like to see here? Having all links in all Wikipedias and when a value changes in Wikidata a bot comes and updates the link? This is waste of resources. We can educate editors that typing "official website" in a page reveal the official website realetd to that page. -- Magioladitis (talk) 23:44, 31 May 2015 (UTC)
(edit conflict) I agree that it isn't a good argument, but versions in different languages aren't what I'm complaining about. People who care about that should discuss and find the best possible solutions. Once again, I'm not against storing official websites in a central place, I'm against emptying out {{Official website}} templates. — Dsimic (talk | contribs) 23:46, 31 May 2015 (UTC)
What do you perceive as the benefit of keeping a value in {{Official website}}, when there is also a value in Wikidata? Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 09:33, 1 June 2015 (UTC)
IMHO, there are a few advantages:
  • No "easter egg" factor of not knowing what's to be displayed until the page is rendered
  • No need to watch multiple pages to track all changes to an article (how does one watch changes in Wikidata anyway?)
  • No confusion about how to actually change centrally stored official website data (if someone changes what's specified in {{Official website}} and that doesn't match the centrally stored data, article is placed into appropriate maintenance categories and other editors should get that handled)
Also, what if there are multiple official websites for an article? Somehing like that isn't too uncommon, and how should that be handled? Is that supported at all? — Dsimic (talk | contribs) 17:16, 1 June 2015 (UTC)

I'm very much in favour of making use of Wikidata, both in this template and in infoboxes, but there are some issues to consider:

  • we have some orgs with multi-lingual websites; de.WP links to example.com/de; en.WP to example.com/en, and so on. Often different forms are used in {{Official}} and the infobox, with the latter having the root domain name, and the external link section a language-specific form.
  • we need to account for this template's |mobile= and |format= parameters
  • in infoboxes, we use several different parameter names (standardising in one would be good, but won't happen overnight)
  • some infoboxes use {{URL}}, so that the URL is available in the emitted microformat. This must still be supported.
  • some infoboxes hide the URL behind link text (e.g. Website); this should be discouraged in general, but allowed for very long URLs. Again, getting project-wide consensus for a single style will take time.

-- Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 09:23, 1 June 2015 (UTC)

All of issues addressed above can be handled very easily with qualifiers and Lua. :)Ladsgroupoverleg 12:12, 1 June 2015 (UTC)

How would you handle above described multilingual websites automatically? As we know, not all websites follow the same URL patterns when selecting which language to display; there's no standard for that, and in some cases different languages may be even on different domains. — Dsimic (talk | contribs) 17:16, 1 June 2015 (UTC)
This question is a good question in progress. The bot only touched the straightforward cases. It's a fact that we have pages that use the official website more than once. Sometimes it's because there are more than official websites, sometimes it's only due to bad use of the template. These are questions to be answered. We are now discovering them. -- Magioladitis (talk) 17:26, 1 June 2015 (UTC)
The "Easter egg" effect is not that big in this case. We already have {{Authority control}}, hatnotes and more templates that produce automated text. Especially, the first one takes info from Wikidata. I think the biggest problem to solve is how editors will be able to edit this info if they want to. -- Magioladitis (talk) 18:16, 1 June 2015 (UTC)
(edit conflict) Quite frankly, beside the "easter egg" factor which I still find important, I don't think such things can be solved in a way that isn't going to introduce troublesome complexity. See, even now Wikipedia lacks editors due to a huge number of guidelines (which are good per se), so adding more hard-to-perceive layers of complexity isn't going to help. If we need an article to have a link to its official website, let's just add a URL, not a somewhere-stored data structure that lists it in all language varieties while somehow allowing multiple different links per article, while keeping all that in a place no new editor has an idea about or has enough time to learn about. Just my $0.02. — Dsimic (talk | contribs) 18:24, 1 June 2015 (UTC)
By the way, what in the world {{Authority control}} is for? I've had a look at a few links it produces in various articles, and had absolutely no clue what to do with the displayed web pages. And I'm someone who had spent almost two years here on Wikipedia, editing thousands of articles and even contributing to a few Wikipedia guidelines. Imagine the effects on someone with zero edits. — Dsimic (talk | contribs) 18:27, 1 June 2015 (UTC)

Template-protected edit request on 21 January 2015[edit]

Hey, please add something like this:

{{#ifeq:{{{1|{{{URL|}}}}}}|{{#property:P856}}|<!-- None -->|[[Category:Official website different in Wikidata and Wikipedia]]}}

It makes things a lot easier for my bot to sync with wikidata. Best :)Ladsgroupoverleg 12:06, 21 January 2015 (UTC)

Ladsgroup Yes check.svg Done. Maybe Frietjes wants to refine my edit. -- Magioladitis (talk) 13:13, 21 January 2015 (UTC)

Thanks. :)Ladsgroupoverleg 13:03, 21 January 2015 (UTC)

Category:Official website different in Wikidata and Wikipedia created. -- Magioladitis (talk) 09:09, 22 January 2015 (UTC)

How to resolve this issue?[edit]


I see that Apawamis Club is one of many articles in Category:Official website different in Wikidata and Wikipedia. The article contains {{official website}} but Wikidata doesn't seem to have an entry. It seems that it would be clearer if the article was in a category called something like "Official website not listed in Wikidata". GoingBatty (talk) 22:04, 20 February 2015 (UTC)

Thanks for the fix - I see the article is now in Category:Official website not in Wikidata. GoingBatty (talk) 16:28, 31 March 2015 (UTC)

Tracking bug[edit]

On mpv player (barely notable, but I'm optimistic) this template creates an erroneous entry in Category:Official website different in Wikidata and Wikipedia. The categories are not different, a Wikidata item for enwiki: mpv player does not (yet) exist. As far as I can tell it this needs no tracking, a bot will add this later. –Be..anyone (talk) 04:18, 24 February 2015 (UTC)

Category:Official website different in Wikidata and Wikipedia displays one line of text which states that this template populates the category.
  1. If I understand correctly, User:Be..anyone observes that the category is populated when there is no WikiData page or when the official website is missing at WikiData, where we should prefer (Be prefers) that it be populated only when EN.wikipedia (using this template) and WD both identify official websites and those values differ.
  2. When EN.wiki and WD both identify official websites, it appears to me that we now require too close a match, perhaps so much as identical strings including prefix "http://" or "https://" with or without "www." and closing slash "/".
For illustration visit The Two Steves here and at WD. Improving that page a couple days ago, I noticed the tracking category and added the official website at WD. There I think I learned that WD requires the closing slash "/" (but I did not try all six prefix variants without the slash, only two or three of them). Our page The Two Steves is now in the tracking category with the one full line of code * {{official |the2steves.net}}. WD gives officialwebsite=http://the2steves.net/, where I tried two or three prefix variants before adding the slash to that one.
--P64 (talk) 20:01, 12 March 2015 (UTC)

Official site exists in Wikidata and is not specified locally[edit]

When Wikidata has the official site, but the same is not specified locally, the article ends up in Category:Official website different in Wikidata and Wikipedia. (See e.g. ExifTool.) I don't think it's right, as it seems to defeat the purpose of the template: there should be no need to specify the URL more than once. At any rate, it contravenes the doc page ("If this parameter is specified and doesn't match "official website" Property (P856) on Wikidata" ...) GregorB (talk) 11:04, 21 March 2015 (UTC)

Also, I'd like to bump what has been said above: when the Wikidata property is missing, a different tracking category should be used. GregorB (talk) 11:14, 21 March 2015 (UTC)
Anyway, my original complaint is now fixed in the sandbox...[1] GregorB (talk) 18:20, 21 March 2015 (UTC)

Since there were no comments, and the issue seems non-controversial, with no functional change to the template other than tracking, I believe it's OK to proceed. The changed version is in the sandbox. GregorB (talk) 09:43, 26 March 2015 (UTC)

@GregorB: I think the following code would actually do what you want with regards to tracking:
{{main other|{{#if:{{#property:P856}} | {{#ifeq:{{{1|{{{URL|{{#property:P856}}}}}}}}|{{#property:P856}}|<!-- None -->|[[Category:Official website different in Wikidata and Wikipedia]]}} | [[Category:Official website not in Wikidata]]}}}}
If {{#property:P856}} is not empty, then it is checked, and the page categorised into the tracking category if different to the locally specified URL. If {{#property:P856}} is empty, then the page is categorised in Category:Official website not in Wikidata (would need to be created). Wrapping it all in {{main other}} restricts tracking to main namespace (articles), i.e. excluding talk pages, drafts, user sandboxes, files, template documentation and testcases. - Evad37 [talk] 15:19, 30 March 2015 (UTC)
Thanks, this looks good! I originally intended to introduce these two changes one by one, but since both of them seem uncontroversial we might as well do it all now. Still, since this might affect bots, I'll ask Ladsgroup for feedback. Until then, I'll postpone the edit request. GregorB (talk) 15:34, 30 March 2015 (UTC)
ِYes, It would be good to add this code to the template :)Ladsgroupoverleg 02:50, 31 March 2015 (UTC)
Okay, test cases look good and the tracking categories resolve correctly, so this is good to go, I've reactivated the edit request. GregorB (talk) 12:32, 31 March 2015 (UTC)
Yes check.svg Done - Evad37 [talk] 14:24, 31 March 2015 (UTC)

Link to wikidata[edit]

Splitting this into a separate thread as it is not actually related to tracking categories - Evad37 [talk] 14:24, 31 March 2015 (UTC)
Why not include a link to wikidata if the website url is taken from wikidata (so editors can edit it) , like
(or [edit] instead of [±]). Christian75 (talk) 13:49, 31 March 2015 (UTC)
After looking at the code (which I should have done more carefully first time), it looks like the caller of this template already provide a url (and nothing are grabed from wikidata, just compared)... Sorry Christian75 (talk) 14:34, 31 March 2015 (UTC)

(edit conflict) This sounds like the sort of thing which would be better to include from a template (perhaps called {{edit in wikidata}}?). That way, the same format can be used across multiple templates which currently, or may in the future, extract data from Wikidata. Also, appropritate CSS classes could be specified in that template so that the links don't appear when they shouldn't (eg when printing, or exporting to PDF, etc), and so that users can adjust the appearance of the links (including hiding them if they wish to) with custom CSS. - Evad37 [talk] 14:39, 31 March 2015 (UTC)

Good idea, especially the CSS :-) Christian75 (talk) 14:59, 31 March 2015 (UTC)
Agree, this is a good idea, and it appears that such template does not exist yet. GregorB (talk) 19:42, 31 March 2015 (UTC)

Language icon[edit]

It would be useful for this template to have a |lang= parameter to add a {{language icon}} to the end.  Liam987(talk) 19:56, 23 March 2015 (UTC)

Red information icon with gradient background.svg Not done: please make your requested changes to the template's sandbox first; see WP:TESTCASES. — {{U|Technical 13}} (etc) 18:08, 25 March 2015 (UTC)

Dated URL parameter[edit]

A minor cleanup issue, but currently "URL" seems to be a valid alternative for parameter "1", an undocumented change implemented in 2009. Just checking: does it make sense to keep that parameter variant? Should it be properly documented? GermanJoe (talk) 09:41, 30 March 2015 (UTC)

If it ain't BROKE… Apparently URL= is documented in the template data, does it work for folks who don't want to specify the URL as first parameter? And why do you mention "dated", I see nothing about dates in the source or on d:Property:P856? –Be..anyone (talk) 10:24, 30 March 2015 (UTC)
Thanks for the very detailed response. Keeping the parameter, I have now added the missing documentation to the template data section. GermanJoe (talk) 11:05, 30 March 2015 (UTC)
Example added, to test this feature. Works for me, maybe it was about compatibility with some now long forgotten vintage 2009 templates. –Be..anyone (talk) 11:37, 30 March 2015 (UTC)

Category:Official website different in Wikidata and Wikipedia[edit]

A lot (I just checked the 10 first, so I'm guessing its general) of the members of the Category:Official website different in Wikidata and Wikipedia are from "missing" http:// at enwiki. It could be fixed quickly with module:String / {{#invoke:String|replace|source= source_string |pattern= pattern_string|replace= replace_string |count= replacement_count |plain= plain_flag }} (replace equal http:// and replace equal ||) before comparing if they are equal. Christian75 (talk) 14:58, 31 March 2015 (UTC)

Good point. Trailing slashes also cause this, apparently. But maybe it's better to let a bot settle it.
My take on this is as follows. Once this template switches to {{WikidataCheck}} (learned about it only 30 minutes ago!), we'll have the following scenarios:
  1. URL not set locally, but set on Wikidata - this is as it's supposed to be, do nothing.
  2. URL set locally, but not set on Wikidata - move to Wikidata and delete local URL (bot).
  3. URL set both locally and on Wikidata and is identical - delete local URL (bot).
  4. URL set both locally and on Wikidata and is different:
a) URLs differ only in http:// and/or trailing slash - delete local URL (bot).
b) Everything else (URLs substantially different) - human review.
So, the bot might as well deal with 4a, leaving just 4b (much fewer cases, as I understand) to humans. Ladsgroup will hopefully say am I getting it right... GregorB (talk) 20:09, 31 March 2015 (UTC)
Module:URL as used in Template:URL already contains several of those URL-checking functions to format an URL (only for display). Parts of that logic could probably be useful to analyze the official website URL and its Wikidata counterpart as well - to fine-tune the difference tracking. GermanJoe (talk) 20:28, 31 March 2015 (UTC)
Presumably irrelevant, but in theory servers are free to interpret the absence or presence of a trailing slash as completely different URLs, and it won't suprise me if that is not only a theory for some stuff on toollabs: or phabricator:. OTOH these should be no "official websites". ;-) –Be..anyone (talk) 21:25, 31 March 2015 (UTC)
about the bot thing b). A lot of websites do both have a local and a English version e.g. in Canada they both have a English and French version of their official home pages for the goverment - it will probably give some revert wars at wikidata... Christian75 (talk) 00:34, 1 April 2015 (UTC)
There's probably not going to be any wars on Wikidata, as each property can have multiple, valid, referenced statements. Though I'm not actually sure how including or checking data works in these cases. - Evad37 [talk] 00:48, 1 April 2015 (UTC)
Seems in those cases {{#property:P856}} outputs a comma separated list of all values. d:New Democratic Party (Q130765) has different official websites for English and French (I just added the French one into Wikidata). If you try {{#property:P856}} in New Democratic Party (preview only, no need to save), it expands to " http://www.ndp.ca, http://www.npd.ca/ " - Evad37 [talk] 01:03, 1 April 2015 (UTC)
This complicates matters. {{Official website}} is designed for a single website, while {{Official websites}} and {{Official websites in}} are meant for multiple websites. Handling multiple Wikidata websites might be difficult, or even impossible without Lua scripting. GregorB (talk) 10:02, 1 April 2015 (UTC)
It sounds like we need a way to choose a value taking into account d:Property:P407 (language of work) qualifiers? —SamB (talk) 22:33, 30 April 2015 (UTC)
Yes, possibly. {{Official website}} could be redefined to behave like: "if Wikidata has just one official website, display it; if it has more, display the one which is in English" ("English" = hardcoded default for English Wikipedia). However, e.g. {{WikidataCheck}} does not support multiple properties either. GregorB (talk) 16:21, 4 May 2015 (UTC)

No parameter[edit]

I just noticed in this edit that the template can link to the correct website even without a parameter. How does that work, and shouldn't the documentation be updated? Debresser (talk) 07:09, 31 May 2015 (UTC)

Well, the documentation does explain it:
1= is used to specify the URL. If this parameter is omitted, the value of "official website" Property (P856) on Wikidata is used.
Still, Wikidata interface is still fairly new and used only in a handful of templates, so I suppose 99% of the editors are not familiar with it - is the explanation in the docs sufficient? GregorB (talk) 09:16, 31 May 2015 (UTC)
The table of possible parameters does not have this option. That is where I looked. Debresser (talk) 06:14, 1 June 2015 (UTC)

Debresser. There is also a bot fixing them. Check Wikipedia:Bot_requests#Sync_official_website_with_Wikidata_part_2. -- Magioladitis (talk) 11:55, 31 May 2015 (UTC)

Going back to the idea above at #Link_to_wikidata, should this template be providing an "edit in wikidata" link if the website info comes from wikidata? I did develop a sandbox-version template (User:Evad37/sandbox/Template:Edit wikidata) to make such links, and can easily move it to a proper template so it can be used within this template. - Evad37 [talk] 03:51, 1 June 2015 (UTC)
I think we should make a more centralised discussion about that. This template is not the only that grabs info directly from Wikidata and there are more planned as far as I know. -- Magioladitis (talk) 07:45, 1 June 2015 (UTC)
@Magioladitis: I've started an RFC at Wikipedia talk:Wikidata#Edit_in_Wikidata_links, and advertised it at Wikipedia:Village pump (proposals). (Also ping @Christian75 and GregorB: who commented in the discussion further up the page) - Evad37 [talk] 01:38, 3 June 2015 (UTC)

Blank first parameter[edit]

I propose to make this change so that a blank first parameter, e.g. {{official website|}} will be interpreted the same as {{official website}}. It is possible that this change should be made in Module:URL instead, but this will fix this template. — Martin (MSGJ · talk) 14:00, 4 June 2015 (UTC)

Yes check.svg Done — Martin (MSGJ · talk) 20:21, 6 June 2015 (UTC)
(MSGJ why is this useful? -- Magioladitis (talk) 20:43, 6 June 2015 (UTC)
So when someone types {{official website|}} it will work without causing an error. This actually happened to me on 100th (Yeomanry) Regiment Royal Artillery. I moved the url to wikidata, and then removed it from the template call. But for some reason visual editor left in the | and it didn't work. — Martin (MSGJ · talk) 21:42, 6 June 2015 (UTC)

Request for comments on "edit in Wikidata" links, for templates using Wikidata[edit]

You are invited to join the discussion at Wikipedia talk:Wikidata#Edit in Wikidata links. Thanks. Evad37 [talk] 01:39, 5 June 2015 (UTC)

Proposed parameter to ignore Wikidata[edit]

After a post at Wikipedia:Help desk#Can't find use of the Official Website template in Lynette Woodard I removed {{official website}} from several navboxes [2][3][4][5][6] to stop articles using the navbox being added to Category:Official website not in Wikidata. It's possible I got all the navboxes but it's not an elegant solution and there are still many direct article uses which aren't supposed to match Wikidata, because the given site is not for the article subject. I suggest a parameter like subject=no (or anything other than yes) to indicate that it's not the official website of the article subject and Wikidata should be ignored. PrimeHunter (talk) 15:05, 29 June 2015 (UTC)

That might also be very usable when the article subject has multiple official websites – one for the open-source variant of a software project, and another website for its commercial variant, for example. — Dsimic (talk | contribs) 05:05, 30 June 2015 (UTC)