Skip to content

Commit fd738e3

Browse files
committed
Update wikidata example
1 parent a1eccec commit fd738e3

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

xamples/MathMLben

xamples/src/main/java/WikidataExample.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,9 @@ private String getOmCd(ItemDocument item) throws UnsupportedEncodingException {
6363
}
6464
Integer qId = Integer.valueOf(qIdString.substring(1));
6565
if (omCDMap.containsValue(qId)) {
66-
descr += "See also " + omCDMap.getKey(qId) + "\n";
66+
descr += "See also \nhttps://www.openmath.org/cd/" + omCDMap.getKey(qId).replace(':', '#') + "\n";
6767
}
68-
descr += "\n This description was generated from http://www.wikidata.org/w/index.php?oldid=" + revisionId;
68+
descr += "\n This description was generated from \nhttps://www.wikidata.org/w/index.php?oldid=" + revisionId;
6969
descr = " <CDDefinition>\n"
7070
+ " <Name>" + qIdString + "</Name>\n"
7171
+ " <Role>application</Role>\n"

0 commit comments

Comments
 (0)