Thread:Extension talk:OpenGraphMeta/Doesn't work with protocol-agnostic setups

With $wgServer = "//geowiki.wegge.dk"; Facebook doesn't like the meta tag:


 * Object at URL 'http://geowiki.wegge.dk/wiki/Forside' of type 'website' is invalid because the given value '//geowiki.wegge.dk/wiki/Forside' for property 'og:url' could not be parsed as type 'url'.

This can be fixed by changing line 73 (In the 1.23 snapshot to read)

$meta["og:url"] = wfExpandUrl ($title->getFullURL, PROTO_CURRENT);