https://bugzilla.wikimedia.org/show_bug.cgi?id=45206

--- Comment #5 from C. Scott Ananian <[email protected]> ---
This bug is almost done; we're just trying to finalize the exact format of the
metadata in <head>.  Currently we have:

<html data-parsoid="{}" prefix="mw: http://mediawiki.org/rdf/";>
<head data-parsoid="{}" prefix="schema: http://schema.org/";>
<meta charset="UTF-8">
<meta property="mw:articleNamespace" content="0">
<meta property="schema:CreativeWork/version" content="550389492">
<meta property="schema:CreativeWork/version/parent" content="550001092">
<meta property="schema:CreativeWork/dateModified"
content="2013-04-15T00:02:02.000Z">
<meta property="schema:CreativeWork/contributor/username"
content="//en.wikipedia.org/wiki/User:Tariqabjotu">
<meta property="schema:CreativeWork/contributor"
content="//en.wikipedia.org/wiki/Special:UserById/153365">
<meta property="mw:revisionSHA1"
content="59b13d0d38a8f8992d5f7231f439c8805656f71c">
<meta property="schema:CreativeWork/comment" content="replacing with permanent
TAFI code">
<title>Main Page</title>
<base href="//en.wikipedia.org/wiki/">
</head>

The schema:CreativeWork/contributor and
schema:CreativeWork/contributor/username attributes might need revision.  In
particular the Special:UserById/xxx URL is implemented in
https://gerrit.wikimedia.org/r/59050 and an alternative
Special:Redirect/user/by-id/xxx URL format is implemented in
https://gerrit.wikimedia.org/r/59572 --- one or the other of those will get
merged (hopefully!), and we might have to tweak the link to match it.

Also, schema:CreativeWork/contributor is a Person (see
http://schema.org/Person) and technically we are specifying the 'url' property
of the Person.  It's not clear that the tags above correctly specify that.  We
might also want to shift from <meta> to <link> tags; the href attribute of a
<link> is guaranteed to have typed correctly as a URL (which ensures resolution
of relative paths).  Relatedly, most of our DOM uses relative paths; our
metadata probably should as well.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to