Skip to content

"manifest.version should match pattern "^1\.[0-9]+$"" error for 'Commons manifest version 2.0 #4847

@VDK

Description

@VDK

The regex should be changed to ^[1-9]{1,3}.[0-9]+$, the current version of the Wikimedia Commons manifest is 2.0, and thus creates this error.
Secondly: there should be a space and not a period in its error message.

To Reproduce

Steps to reproduce the behavior:

  1. Go to the Wikibase schema
  2. The "Wikidata" dropdown in the top-right corner, pick "Select Wikibase instance"
  3. "Add Wikibase" option
  4. Wikimedia Commons wikibase manifest, either copy it or put in this URL
  5. "manifest.version should match pattern "^1.[0-9]+$""

Current Results

Unable to add Wikimedia Commons as a Wikibase Instance

Expected Behavior

Not this error.

Screenshots

Versions

  • Operating System: Windows 11
  • Browser Version: Chrome 101.0.4951.54
  • JRE or JDK Version: java version "1.8.0_331"
    Java(TM) SE Runtime Environment (build 1.8.0_331-b09)
    Java HotSpot(TM) 64-Bit Server VM (build 25.331-b09, mixed mode)
  • OpenRefine: Version 3.5.2 [e3efd4e]

Additional context

As a side note: "manifests for some public Wikibases can be found here" should be changed to "See the overview of public Wikibases manifests". Read more about why you shouldn't label links with "click here"

Metadata

Metadata

Assignees

Labels

Type: Feature RequestIdentifies requests for new features or enhancements. These involve proposing new improvements.error handlingImproving the ways errors are reported to userswikibaseRelated to wikidata/wikibase integration

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions