Null values in non-null cells should normally not happen, but sometimes they do and
we shouldn't fail miserably in those cases.
Closes#2880.
Co-authored-by: Tom Morris <tfmorris@gmail.com>
* #3186 : Wikibase login form shows Wikibase instance logo
* Logos shown in the UI during selection of instance to work against
* CSS for list of instances, error handling
* Cache wikibase logo urls.
* Replacing logo alt text as translation string and removing the duplicate property
* Replacing logo alt text as translation string and removing the duplicate property
Co-authored-by: Antonin Delpeuch <antonin@delpeuch.eu>
* Remove EditGroups URL template from Wikibase schema
Instead it is fetched from the manifest and stored in operation metadata.
Closes#3656.
* Fix compatibility with older JDKs
* Remove unnecessary fallback in ManifestV1 constructor
* Added translation using Weblate (Polish)
* Added translation using Weblate (Polish)
* Added translation using Weblate (Polish)
* Translated using Weblate (Polish)
Currently translated at 6.3% (49 of 769 strings)
Translation: OpenRefine/Translations
Translate-URL: https://hosted.weblate.org/projects/openrefine/translations/pl/
* Translated using Weblate (Polish)
Currently translated at 4.0% (9 of 225 strings)
Translation: OpenRefine/wikidata
Translate-URL: https://hosted.weblate.org/projects/openrefine/wikidata/pl/
* Translated using Weblate (Polish)
Currently translated at 19.3% (12 of 62 strings)
Translation: OpenRefine/database
Translate-URL: https://hosted.weblate.org/projects/openrefine/database/pl/
* Translated using Weblate (French)
Currently translated at 99.2% (763 of 769 strings)
Translation: OpenRefine/Translations
Translate-URL: https://hosted.weblate.org/projects/openrefine/translations/fr/
Co-authored-by: Włodzimierz Bartczak <wzbartczak@gmail.com>
Co-authored-by: Tom Morris <tfmorris@gmail.com>
* encourage using bot passwords
* update wiki link
* update translation
* Update extensions/wikidata/module/langs/translation-en.json
Co-authored-by: Tom Morris <tfmorris@gmail.com>
Co-authored-by: Tom Morris <tfmorris@gmail.com>
* Add SchemaPropertyFetcher class
To retrieve and inspect all the properties appearing in the issues tab.
* created new list from unmodifiable lists
* created new list from unmodifiable lists
* rebased successfully
* overriden getMultipleDocuments method
* Test failure issue resolved
* added tests for SchemaPropertyExtractor class
Closes#1640. All Wikibase-dependent parameters, which were previously hard-coded for Wikidata, are now described in a JSON manifest. The manifest is currently constructed by hand, but, in the future, will hopefully be published by each Wikibase instance at a standard location.
* setup the manifest framework
* add dependency mechanism to scrutinizers & update tests
* add json creators to constraint entities
* adapt the backend (units tests are to be updated)
* remove the call to prepareDependencies() in the constructor
* update code according to review feedback
* update scrutinizers tests
* fix typo & update ConstraintsV1
* log if a scrutinizer is skipped
* update versioning handling in the backend
* correct the order of "actual" and "expected" for assertEquals method
* use regex to check manifest versions
* 1. add wikibase-manager.js, wikibase-dialog.js, etc.
2. move dialog/schema-alignment-dialog.js -> schema-alignment.js
3. remove unused schema-alignment-dialog.html
4. change most mentions of "Wikidata" to "Wikibase"
* support saving cookies for different Wikibases & fix LoginCommandTest
* fix schema related tests
* removed unused WikibaseCredentials
* include MediaWiki API endpoint in the schema
* fetch language codes for different Wikibases
* fix lgtm-bot alerts
* keep a connection map (MediaWiki API endpoint => Connection) in ConnectionManager
* simplify the constraint configurations of the manifest and remove lots of unnecessary code.
* add slash to the end of mediawiki.root
* add manifest schema and use ajv to validate the manifest
* remove JSONP support (Wikibase manifest host should support CORS)
* save manifests on manifest update
* add unit tests for Manifest
* include the exception in logger.error() method to make it easier to debug
* include the message of ManifestException when calling respondError
* test multiple connections
* test no manifest & test invalid manifest
* adapt manage-account-dialog.js to support multiple Wikibase connections
* update instance/subclass of related translations
* beautify import-schema-dialog.html
* use "${lang}" variable in the reconciliation service endpoint of the manifest
* adapt schema-alignment.js after introducing "${lang}" variable in the reconciliation service endpoint
* use WikibaseManager.getSelectedWikibaseApi() in SchemaAlignment._getPropertyType
* replace more mentions of "Wikidata" to "Wikibase"
* use WikibaseManager.getSelectedWikibaseApi() in previewrenderer.js
* support fetching language codes of different Wikibases in the frontend
* skip EditInspector if missing 'property_constraint_pid' in the manifest
* improve unit tests for fetching lang codes
* skip scrutinizers depending on fetcher if 'property_constraint_pid' is missing in the manifest
* make sure the schema alignment panel is set up before rendering
* fix preview bug
* add getters of "instance of" and "subclass of" to the Manifest interface and use them in NewItemScrutinizer
* fix hardcode for Wikidata in WbItemVariable
* rename 'entity_prefix' to 'site_iri' and move it from 'manifest.wikibase.properties' to 'manifest.wikibase'
* include oauth configurations in the manifest & support logging in with owner-only consumer for Wikibases with the OAuth extension
* correct schema fallback logic
* select default wikibase according to the saved schema
* include maxlag in the manifest
* [backend] move maxlag setting from preferences to request parameter
* support setting maxlag when uploading edits
* rename "Manage Wikibase" to "Select Wikibase instance" and localize it
* fix manifest updating bug
* include EditGroups in the manifest
* add the reconciliation service from the manifest to standard services if it's not present yet when adding a new manifest
* update according to review feedback
1. use inherited color variable
2. rename 'gridwroks' to 'openrefine'
3. remove unnecessary 'async: true'
4. add 'format: url' validation to urls to the schema
* rename 'wikibasePrefix' to 'siteIri'
* Refactor module wiring to reduce redundancy
* Update to jQuery 1.12.4 & jQuery Migrate 1.4.1 - fixes#2932
This updates to the latest jQuery 1.x and jQuery Migrate 1.x,
the first step in upgrading to a modern jQuery.
* Add a couple of bug fixes from Google Code SVN
This is an unrelease version from the Google Code freebase-site
repo which only has a few changes from the v4.3 release, but
one of them is removing the `browser.msie` reference that
jQuery Migrate is complaining about.
* Use prop() for 'checked' and 'disabled'
* Update jQuery 'value' property setting code to use val()
* Use prop() instead of attr() to set 'selected'
* Patch for jQuery >1.9