#jsondumpreader
Cheers
--
Jeroen De Dauw | https://entropywins.wtf | https://keybase.io/jeroendedauw
Software Crafter | Speaker | Student | Strategist | Contributor to Wikimedia
and Open Source
~=[,,_,,]:3
___
Wikidata-tech mailing list
Wikidata-tech
Hey all,
I've created a small PHP library for reading from the JSON dumps.
http://www.bn2vs.com/blog/2015/11/08/wikidata-wikibase-json-dump-reader/
https://github.com/JeroenDeDauw/JsonDumpReader
Cheers
--
Jeroen De Dauw - http://www.bn2vs.com
Software craftsmanship advocate
~=[,,_,,]:3
Hey,
Has any progress been made on the mentioned blockers?
Cheers
--
Jeroen De Dauw - http://www.bn2vs.com
Software craftsmanship advocate
Developer at Wikimedia Germany
~=[,,_,,]:3
___
Wikidata-tech mailing list
Wikidata-tech@lists.wikimedia.org
API).
Given the size of entities, I'm not sure this is what you'd want though.
Can you provide more details on how you want to specify for which entities
you want info, and what info you want to get from them?
Cheers
--
Jeroen De Dauw - http://www.bn2vs.com
Software craftsmanship advocate
Evil
probably need
to do something like what I outlined here:
https://lists.wikimedia.org/pipermail/wikidata-tech/2014-August/000546.html
Cheers
--
Jeroen De Dauw - http://www.bn2vs.com
Software craftsmanship advocate
Evil software architect at Wikimedia Germany
~=[,,_,,]:3
Hey,
I've just created two tiny PHP components for reading Wikibase JSON dumps.
* https://github.com/JeroenDeDauw/JsonDumpReader
* https://github.com/JeroenDeDauw/JsonDumpData
Hope this is of use to others :)
Cheers
--
Jeroen De Dauw - http://www.bn2vs.com
Software craftsmanship advocate
Evil
this also means that no new code that introduces such occurrences
should be allowed through review, even if it contains a fix this later
TODO (for new code there is no excuse to do it wrong).
[0] https://gerrit.wikimedia.org/r/#/c/167136/
Cheers
--
Jeroen De Dauw - http://www.bn2vs.com
Software
the PHP serialization. Has such a migration happened? Can we get rid of the
setting an the old PHP serialize code?
Cheers
--
Jeroen De Dauw - http://www.bn2vs.com
Software craftsmanship advocate
Evil software architect at Wikimedia Germany
~=[,,_,,]:3
of statement groups
in the PHP DataModel, that it'd be ordered.
Cheers
--
Jeroen De Dauw - http://www.bn2vs.com
Software craftsmanship advocate
Evil software architect at Wikimedia Germany
~=[,,_,,]:3
___
Wikidata-tech mailing list
Wikidata-tech
a single decorator for
caching, which writes to a caching interface. Then this caching interface
can have an implementation what uses multiple caches, and perhaps have a
decorator on that level.
Cheers
--
Jeroen De Dauw - http://www.bn2vs.com
Software craftsmanship advocate
Evil software architect
Hey all,
I've made little video demonstrating how you can get a clone of Wikibase
DataModel, set it up, and run it's tests. It's only 30 seconds long, yet
includes all you need to know. https://asciinema.org/a/12530
Cheers
--
Jeroen De Dauw - http://www.bn2vs.com
Software craftsmanship advocate
Hey,
I'm also curious to if WMF is indeed not running any CLI tools on the
cluster which happen to use Symfony Console.
Cheers
--
Jeroen De Dauw - http://www.bn2vs.com
Software craftsmanship advocate
Evil software architect at Wikimedia Germany
~=[,,_,,]:3
Hey,
PHPUnits assertTag function, which is used 32 times in Wikibase.git, will
be deprecated in PHPUnit 4.2.
https://github.com/sebastianbergmann/phpunit/issues/1292
Cheers
--
Jeroen De Dauw - http://www.bn2vs.com
Software craftsmanship advocate
Evil software architect at Wikimedia Germany
Cheers
--
Jeroen De Dauw - http://www.bn2vs.com
Software craftsmanship advocate
Evil software architect at Wikimedia Germany
~=[,,_,,]:3
___
Wikidata-tech mailing list
Wikidata-tech@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo
Hey,
I'm moving tests away from that, though.
Thanks. Any help with this is much appreciated.
Cheers
--
Jeroen De Dauw - http://www.bn2vs.com
Software craftsmanship advocate
Evil software architect at Wikimedia Germany
~=[,,_,,]:3
___
Wikidata-tech
CR and various misc things, as I did not work on WD for many hours
Plans for today: survive all the evil meetings.
[0] https://github.com/wmde/WikibaseDataModel/pull/62/files#diff-0
[1]
https://github.com/wmde/WikibaseDataModel/blob/master/RELEASE-NOTES.md#version-074-dev
Cheers
--
Jeroen De
of functionality. The primary change
it brings is PSR-4 compliance. It also removes some old constructs that had
been deprecated for a long time already. A detailed list of changes can be
found in the release
noteshttps://github.com/wmde/Diff/blob/master/RELEASE-NOTES.md
.
Cheers
--
Jeroen De Dauw
components and an
explanation of how to use them, see their README files.
Cheers
--
Jeroen De Dauw - http://www.bn2vs.com
Software craftsmanship advocate
Evil software architect at Wikimedia Germany
~=[,,_,,]:3
___
Wikidata-tech mailing list
Wikidata-tech
[2]
http://lists.wikimedia.org/pipermail/wikidata-tech/2013-December/000356.html
Cheers
--
Jeroen De Dauw - http://www.bn2vs.com
Software craftsmanship advocate
Evil software architect at Wikimedia Germany
~=[,,_,,]:3
___
Wikidata-tech mailing list
) to spend time on.
Cheers
--
Jeroen De Dauw
http://www.bn2vs.com
Don't panic. Don't be evil. ~=[,,_,,]:3
--
___
Wikidata-tech mailing list
Wikidata-tech@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-tech
. if id is not set, return an
error.
This is fine for me - barring naming nitpicks and whatnot.
Cheers
--
Jeroen De Dauw
http://www.bn2vs.com
Don't panic. Don't be evil. ~=[,,_,,]:3
--
___
Wikidata-tech mailing list
Wikidata-tech@lists.wikimedia.org
think we can all
agree on it being well worth the maintenance.
Cheers
--
Jeroen De Dauw
http://www.bn2vs.com
Don't panic. Don't be evil. ~=[,,_,,]:3
--
___
Wikidata-tech mailing list
Wikidata-tech@lists.wikimedia.org
https://lists.wikimedia.org/mailman
/addwiki/wikibase-api/blob/f0403aab8c2121df25bd349fbf85e861e8d73087/src/Repos/EntityRevisionRepo.php#L36-62
Cheers
--
Jeroen De Dauw
http://www.bn2vs.com
Don't panic. Don't be evil. ~=[,,_,,]:3
--
___
Wikidata-tech mailing list
Wikidata-tech
create concrete items and
discuss things at later points. Sharing here so people have a rough idea of
where I want this to go, and to provide them with the opportunity to start
tackling something themselves already.
Cheers
--
Jeroen De Dauw
http://www.bn2vs.com
Don't panic. Don't be evil
should not be merged.
Cheers
--
Jeroen De Dauw
http://www.bn2vs.com
Don't panic. Don't be evil. ~=[,,_,,]:3
--
___
Wikidata-tech mailing list
Wikidata-tech@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-tech
proposal on how we could
do that. Tip: you probably should not use Lib at all for this. I trust that
in the meanwhile we will not continue to throw architectural principles
under the buss for local convenience.
Cheers
--
Jeroen De Dauw
http://www.bn2vs.com
Don't panic. Don't be evil. ~=[,,_,,]:3
Yeah, see if the Wikibase_version constant is defined.
Sent from my HTC one X.
___
Wikidata-tech mailing list
Wikidata-tech@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-tech
/Wikibase/phpunit.xml.dist
Cheers
--
Jeroen De Dauw
http://www.bn2vs.com
Don't panic. Don't be evil. ~=[,,_,,]:3
--
___
Wikidata-tech mailing list
Wikidata-tech@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-tech
to deal with any classmap hassle.
Cheers
--
Jeroen De Dauw
http://www.bn2vs.com
Don't panic. Don't be evil. ~=[,,_,,]:3
--
___
Wikidata-tech mailing list
Wikidata-tech@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-tech
is also linked from this blog post,
is the semver site: http://semver.org/
Cheers
--
Jeroen De Dauw
http://www.bn2vs.com
Don't panic. Don't be evil. ~=[,,_,,]:3
--
___
Wikidata-tech mailing list
Wikidata-tech@lists.wikimedia.org
https://lists.wikimedia.org
and deserialization code
for our DataModel into a Wikibase-independent component. This is in very
early stages at this point and is likely not going to be done any time
soon. https://github.com/wmde/WikibaseDataModelSerialization
Cheers
--
Jeroen De Dauw
http://www.bn2vs.com
Don't panic. Don't
replace usage of the old FQNs with the new
ones. When writing new code using DataModel classes, please make sure you
are not referring to a legacy alias. If it is not in Wikibase\DataModel, it
is a legacy alias.
Cheers
--
Jeroen De Dauw
http://www.bn2vs.com
Don't panic. Don't be evil. ~=[,,_,,]:3
Hey,
Branch has been reviewed merged into master.
Cheers
--
Jeroen De Dauw
http://www.bn2vs.com
Don't panic. Don't be evil. ~=[,,_,,]:3
--
___
Wikidata-tech mailing list
Wikidata-tech@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo
, though if anyone
prefers that worklow, feel free to set the things up and point me to your
commits once submitted for review.
Cheers
--
Jeroen De Dauw
http://www.bn2vs.com
Don't panic. Don't be evil. ~=[,,_,,]:3
-
___
Wikidata-tech mailing list
Wikidata-tech
incorrect wiring up of the serializes
will be found.
Cheers
--
Jeroen De Dauw
http://www.bn2vs.com
Don't panic. Don't be evil. ~=[,,_,,]:3
--
___
Wikidata-tech mailing list
Wikidata-tech@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo
this is the case for
EntityContent, though I suspect it is wrong for Entity.
Cheers
--
Jeroen De Dauw
http://www.bn2vs.com
Don't panic. Don't be evil. ~=[,,_,,]:3
--
___
Wikidata-tech mailing list
Wikidata-tech@lists.wikimedia.org
https
in the future can be seen here:
https://github.com/wikimedia/mediawiki-extensions-WikibaseQuery/blob/master/src/Wikibase/Query/Api/EntitiesByPropertyValue.php
So the naming problem in question ought to not actually occur.
Cheers
--
Jeroen De Dauw
http://www.bn2vs.com
Don't panic. Don't be evil
will not happen. Sharing
code via inheritance is generally wrong, and the issue you are seeing is
one of the problems it tends to cause. The solution is not to add more base
classes and blow up the christmas tree of classes more, it is to not abuse
inheritance in the first place.
Cheers
--
Jeroen De
rebuilding code for a (few) Wikidata.org table(s).
It'd be good to have this decision sooner then later, as code touching
places where such assumptions are located needs to oddly hold both possible
decisions into account, while both typically suggest a quit different
approach.
Cheers
--
Jeroen De Dauw
(it does not contain all implementations, just the common ones), and is
probably easier to understand when you've not come across it before.
Cheers
--
Jeroen De Dauw
http://www.bn2vs.com
Don't panic. Don't be evil. ~=[,,_,,]:3
--
___
Wikidata-tech mailing
off topic: as you can see there, I also requested a Wikidata git
repo, which seems the most obvious name for the one in which be put a
Wikidata specific build.
Cheers
--
Jeroen De Dauw
http://www.bn2vs.com
Don't panic. Don't be evil. ~=[,,_,,]:3
be preferred. Still have not seen any
better suggestions though.
Cheers
--
Jeroen De Dauw
http://www.bn2vs.com
Don't panic. Don't be evil. ~=[,,_,,]:3
--
___
Wikidata-tech mailing list
Wikidata-tech@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo
here. Going with DataValuesImplementations for now, though
hoping someone finds a better name.
Cheers
--
Jeroen De Dauw
http://www.bn2vs.com
Don't panic. Don't be evil. ~=[,,_,,]:3
--
___
Wikidata-tech mailing list
Wikidata-tech@lists.wikimedia.org
https
though.
Cheers
--
Jeroen De Dauw
http://www.bn2vs.com
Don't panic. Don't be evil. ~=[,,_,,]:3
--
___
Wikidata-tech mailing list
Wikidata-tech@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-tech
)
- Reference (16)
Cheers
--
Jeroen De Dauw
http://www.bn2vs.com
Don't panic. Don't be evil. ~=[,,_,,]:3
--
___
Wikidata-tech mailing list
Wikidata-tech@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-tech
of WikibaseDataModel and clicking dashboard on the generated
index.html page: phpunit --coverage-html /some/path
[0] http://googletesting.blogspot.de/2011/02/this-code-is-crap.html
Cheers
--
Jeroen De Dauw
http://www.bn2vs.com
Don't panic. Don't be evil. ~=[,,_,,]:3
of the
remaining errors. If anyone has a suggestion on how to find where the 255
is coming from, that'd be even better.
[0] https://gerrit.wikimedia.org/r/#/c/80506/
Cheers
--
Jeroen De Dauw
http://www.bn2vs.com
Don't panic. Don't be evil. ~=[,,_,,]:3
--
___
Wikidata
with the current legacy serializations?
Cheers
--
Jeroen De Dauw
http://www.bn2vs.com
Don't panic. Don't be evil. ~=[,,_,,]:3
--
___
Wikidata-tech mailing list
Wikidata-tech@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-tech
to this config?
Cheers
--
Jeroen De Dauw
http://www.bn2vs.com
Don't panic. Don't be evil. ~=[,,_,,]:3
--
___
Wikidata-tech mailing list
Wikidata-tech@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-tech
? Or
will this cause problems of some sort?
Cheers
--
Jeroen De Dauw
http://www.bn2vs.com
Don't panic. Don't be evil. ~=[,,_,,]:3
--
___
Wikidata-tech mailing list
Wikidata-tech@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-tech
process that I can think of.
Cheers
--
Jeroen De Dauw
http://www.bn2vs.com
Don't panic. Don't be evil. ~=[,,_,,]:3
--
___
Wikidata-tech mailing list
Wikidata-tech@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-tech
--
Jeroen De Dauw
http://www.bn2vs.com
Don't panic. Don't be evil. ~=[,,_,,]:3
--
___
Wikidata-tech mailing list
Wikidata-tech@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-tech
DataValues.git can be found at
https://gerrit.wikimedia.org/r/#/c/74288/
I'm going to assume it is also clear no one should go make modifications to
the DataTypes code that is now temporary back there :)
Cheers
--
Jeroen De Dauw
http://www.bn2vs.com
Don't panic. Don't be evil. ~=[,,_,,]:3
Hey,
Something broke Wikibase master recently.
See https://gerrit.wikimedia.org/r/#/c/73439/ (
https://integration.wikimedia.org/ci/job/mwext-Wikibase-repo-tests/1986/console)
Anyone an idea what caused this?
Cheers
--
Jeroen De Dauw
http://www.bn2vs.com
Don't panic. Don't be evil
/addon/wikidata-search/
Chrome extension:
https://chrome.google.com/webstore/detail/wikidata-search/ingjkjibhnkhomomlmlabndfmiaejkpn
A more verbose version of this email:
http://www.bn2vs.com/blog/2013/07/12/wikidata-search-plugins/
Cheers
--
Jeroen De Dauw
http://www.bn2vs.com
Don't panic
is the Ask library.
It'll need to be included for deployment as soon as we deploy the
WikibaseQuery extension. Or as soon as we decide to load Ask for some other
reason.
Cheers
--
Jeroen De Dauw
http://www.bn2vs.com
Don't panic. Don't be evil. ~=[,,_,,]:3
the confusion we had last time :)
Cheers
--
Jeroen De Dauw
http://www.bn2vs.com
Don't panic. Don't be evil. ~=[,,_,,]:3
--
___
Wikidata-tech mailing list
Wikidata-tech@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-tech
sqlite. And 2 for each of PHP 5.3, 5.4 and 5.5.
https://travis-ci.org/wikimedia/mediawiki-extensions-Wikibase/builds/8155338
Cheers
--
Jeroen De Dauw
http://www.bn2vs.com
Don't panic. Don't be evil. ~=[,,_,,]:3
--
___
Wikidata-tech mailing list
Wikidata
.
With your approach, we would take this *flexibility*. That's what I've
been afraid of in the first place.
flexibility probably should be something else.
Cheers
--
Jeroen De Dauw
http://www.bn2vs.com
Don't panic. Don't be evil. ~=[,,_,,]:3
--
___
Wikidata-tech
already have.
Cheers
--
Jeroen De Dauw
http://www.bn2vs.com
Don't panic. Don't be evil. ~=[,,_,,]:3
--
___
Wikidata-tech mailing list
Wikidata-tech@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-tech
is limited
anyway, I thus certainly do not object to a fresh start approach either.
Cheers
--
Jeroen De Dauw
http://www.bn2vs.com
Don't panic. Don't be evil. ~=[,,_,,]:3
--
___
Wikidata-tech mailing list
Wikidata-tech@lists.wikimedia.org
https
61 matches
Mail list logo