Skip to content

Commit

Permalink
Update wikidata example
Browse files Browse the repository at this point in the history
  • Loading branch information
physikerwelt committed Jan 1, 2019
1 parent a1eccec commit fd738e3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion xamples/MathMLben
4 changes: 2 additions & 2 deletions xamples/src/main/java/WikidataExample.java
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,9 @@ private String getOmCd(ItemDocument item) throws UnsupportedEncodingException {
}
Integer qId = Integer.valueOf(qIdString.substring(1));
if (omCDMap.containsValue(qId)) {
descr += "See also " + omCDMap.getKey(qId) + "\n";
descr += "See also \nhttps://www.openmath.org/cd/" + omCDMap.getKey(qId).replace(':', '#') + "\n";
}
descr += "\n This description was generated from http://www.wikidata.org/w/index.php?oldid=" + revisionId;
descr += "\n This description was generated from \nhttps://www.wikidata.org/w/index.php?oldid=" + revisionId;
descr = " <CDDefinition>\n"
+ " <Name>" + qIdString + "</Name>\n"
+ " <Role>application</Role>\n"
Expand Down

0 comments on commit fd738e3

Please sign in to comment.