I tried claim.getSources()._content and claim._content, and they both produced attribute errors.
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
Feed Advanced Search
Advanced Search
Advanced Search
Nov 26 2020
Nov 26 2020
It appears that .getSources() works fine on wikidata, which means the problem is on our private repo. Upgrading the version is a little complicated for our setup but hopefully that will fix the problem. Thanks!
I just ran the script twice without changing anything and it produced an empty list the second time.
Nov 24 2020
Nov 24 2020
This is my output after running it twice.
This was my code:
Nov 20 2020
Nov 20 2020
DNations.jp renamed T268321: .getSources() only works once per Item from .getSources() only wors once per Item to .getSources() only works once per Item.
DNations.jp renamed T268321: .getSources() only works once per Item from .getSources() only works once per Item to .getSources() only wors once per Item.
DNations.jp renamed T268321: .getSources() only works once per Item from .getSources() only wors once per Item to .getSources() only works once per Item.
Content licensed under Creative Commons Attribution-ShareAlike (CC BY-SA) 4.0 unless otherwise noted; code licensed under GNU General Public License (GPL) 2.0 or later and other open source licenses. By using this site, you agree to the Terms of Use, Privacy Policy, and Code of Conduct. · Wikimedia Foundation · Privacy Policy · Code of Conduct · Terms of Use · Disclaimer · CC-BY-SA · GPL