Author: brian.mcneil
Description:
I've tested this in the Wikinews sandbox: https://en.wikinews.org/wiki/Wikinews:Sandbox
If I put {{canonicalurl:Main Page}}, the displayed link states "http:// ..." But, the actual provided link is https://
The problem came to light when trying to implement code to conditionally offer a link to the secure version of the site.
I note there is bug 38875, asking for {{CANONICALSERVER}}; I'm none-to-fussed how I can test for a page having been loaded over https://, a {{PROTOCOL}} magic word would be nice, but labelling a link as http:// when it is https:// is just plain wrong.
Version: unspecified
Severity: normal