Commit 12dcd29e authored by Florian Schäfer's avatar Florian Schäfer

Improve default list of unusual Wikidata item types

parent 99ae4101
// License: GPL. For details, see LICENSE file. // License: GPL. For details, see LICENSE file.
package org.wikipedia.tools; package org.wikipedia.tools;
import java.util.Arrays; import java.util.Arrays;
import org.openstreetmap.josm.data.preferences.DoubleProperty; import org.openstreetmap.josm.data.preferences.DoubleProperty;
import org.openstreetmap.josm.data.preferences.ListProperty; import org.openstreetmap.josm.data.preferences.ListProperty;
...@@ -23,10 +22,14 @@ public final class WikiProperties { ...@@ -23,10 +22,14 @@ public final class WikiProperties {
"wikipedia.validator.wikidata.unusual-classes", "wikipedia.validator.wikidata.unusual-classes",
Arrays.asList( Arrays.asList(
"Q36774", /* web page (includes e.g. disambiguation pages) */ "Q36774", /* web page (includes e.g. disambiguation pages) */
"Q215627", /* person (included by "abstract object") */ "Q215627", /* person */
"Q729", /* animal */ "Q729", /* animal */
"Q8253", /* fiction */ "Q8253", /* fiction */
"Q7184903" /* abstract object (includes e.g. taxons or brands) */ "Q16521", /* taxon */
"Q167270", /* brand */
"Q507619", /* chain store */
"Q12139612", /* list */
"Q732577" /* publication */
) )
); );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment