Comments (5)
We already encountered this one yesterday.
Someone changed the HTML page format. The maximal revision id is no longer shown there at all. All you can do for now is to download the file manually (in the appropriate directory) and copy some random maxrevid.txt in there from one of your other dumps.We will try to fix this asap.
from wikidata-toolkit.
A temporary workaround is to download the file manually and to put it into the directory following the same patterns as for the other dumps. A maxrevid.txt file should be present there as well, but it can contain any number. We will probably have to remove maxrevid support from WDTK, since there is no good way of finding the maxrevid of a dump now that the HTML changed.
from wikidata-toolkit.
I just added a pull request that will fix this. OTOH, it turns out that the HTML format of the dump pages changed back to how it was before, so that it now works again with the old code too. Anyway, we will remove maxrevid support now rather than relying on such a fragile system.
from wikidata-toolkit.
But we still have to keep the order when processing incremental dump
files. How is this managed now? Btw. I was brought to the idea that
one could tag objects with an revision during the parsing process and
trade the linear dependency for some xml parsing that might be overruled
later on. This would of course give us a boost when doing things in
parallel, but the question is if it is worth the speculative parsing of
things that might show to be out-of-date later on. Just thinking.
from wikidata-toolkit.
The ordering is based on the revision ids that are within the dump file. The change I made just removed revision id support for dumpfiles as a whole. This did not look inside of any dumpfiles, but it just took this data from the Web.
Well, the issue is that revisions in XML in a single page block are usually in ascending order, so what you suggest would almost certainly parallelize work that we would not usually do at all ;-)
from wikidata-toolkit.
Related Issues (20)
- Support for file uploads HOT 4
- Java modules HOT 6
- IndexOutOfBoundsException when fetching a MediaInfoDocument for a page where structured data has never been edited
- Duplicated statements with the editor.editEntityDocument api HOT 4
- Generic method to create new EntityDocument in WikibaseDataEditor
- Release? HOT 3
- Update Javadocs HOT 1
- Built-in server HOT 6
- Support EDTF HOT 5
- Migrate to <dependencyManagement> to control versions of dependencies HOT 1
- Wrong password gives unclear message HOT 2
- Deserializing a property with `localMedia` datatype fails
- Remove datatype IRI from Wikibase data model implementation HOT 1
- Rename to Wikibase-Toolkit or something else? HOT 2
- OAuth2 support
- Incorrect behavior when converting multiple non-existent filenames to mids
- Support the new Wikibase REST API HOT 2
- Why does wdt use /other/wikidata/ instead of /wikidatawiki/entities/? HOT 3
- WbGetEntitiesAction cannot search media-info for titles containing "-" HOT 3
- Editing API: return revision id on successful edit HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wikidata-toolkit.