User talk:Magnus Manske/consistency check.js

From Wikidata
Jump to navigation Jump to search

Hi Magnus,

Nice tool! Worked well for me when adding "shares borders with".

You might want to add twin towns (Property:P190) to the list as well.

There is also Property:P155 and Property:P156, but I'm not sure what to make of those. -- --  Docu  at 19:31, 3 March 2013 (UTC)[reply]

I would love having preceeded/succeeded by (155+156) in this script. --DSGalaktos (talk) 14:48, 27 April 2013 (UTC)[reply]
Both added to User:JonnyJD/consistency_check.js --JonnyJD (talk) 00:08, 18 November 2013 (UTC)[reply]

Documenation at the property talk pages[edit]

Hello,

I have added Category:Reciprocal properties to properties that are checked by your gadget, or are suggested to be checked for consistency. I have also mentioned the tool in the field Gadget and robot jobs: in the property description form at each of these talk pages. I hope every gadget that affects a certain property, or every suggestion for gadget feature related to the property, will be mentioned there. Mange01 (talk) 18:21, 8 March 2013 (UTC)[reply]

It's not working with Brothers P7[edit]

It's not working with Brothers See http://www.wikidata.org/wiki/Q7349 Xmlizer (talk) 20:24, 23 March 2013 (UTC)

BUG: data.entities[q] is undefined[edit]

Not sure when that change, but the script currently doesn't work because the API returns the entities as Q..., but the script asks for the lowercase q.... Fixed in my version with [1]. --JonnyJD (talk) 13:46, 17 November 2013 (UTC)[reply]

BUG: nothing is displayed[edit]

After fixing that other bug the script does stuff, but doesn't show anything. "wb-claims-section" doesn't seem to exist anymore. If fixed it with opening a dialog: [2]. This way we are independent of entity display changes. --JonnyJD (talk) 17:10, 17 November 2013 (UTC)[reply]

And with that fix I lost self, but with [3] I now have a working script: User:JonnyJD/consistency check.js. --JonnyJD (talk) 17:54, 17 November 2013 (UTC)[reply]

addOnloadHook is deprecated[edit]

Not a real problem currently, it just triggers a little warning in the console which confuses people (e.g. in bugzilla:64842). In case you don't know, PerfektesChaos created this really helpful overview: de:Wikipedia:Technik/Skin/JS/Obsolet#addOnloadHook(). --Thiemo Mättig (WMDE) 08:55, 6 May 2014 (UTC)[reply]