[Wikidata-bugs] [Maniphest] [Commented On] T85804: JS error: "unrecognized expression: unsupported pseudo: wikibase-statementview" on old revisions of items

2015-10-07 Thread Ricordisamoa
Ricordisamoa added a comment. In https://phabricator.wikimedia.org/T85804#1708678, @JanZerebecki wrote: > The dependency of MediaWiki:Gadget-AuthorityControl.js needs to be > jquery.wikibase.statementview (instead of jquery.wikibase.entityview). https://www.wikidata.org/wiki/?diff=255326749

[Wikidata-bugs] [Maniphest] [Commented On] T85804: JS error: "unrecognized expression: unsupported pseudo: wikibase-statementview" on old revisions of items

2015-10-07 Thread JanZerebecki
JanZerebecki added a comment. The dependency of MediaWiki:Gadget-AuthorityControl.js needs to be jquery.wikibase.statementview (instead of jquery.wikibase.entityview). TASK DETAIL https://phabricator.wikimedia.org/T85804 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/em

[Wikidata-bugs] [Maniphest] [Commented On] T85804: JS error: "unrecognized expression: unsupported pseudo: wikibase-statementview" on old revisions of items

2015-10-07 Thread JanZerebecki
JanZerebecki added a comment. Each widget gets a pseudo registered under its name. The previous fixes were wrong. https://github.com/Wikidata-lib/PropertySuggester/pull/150 TASK DETAIL https://phabricator.wikimedia.org/T85804 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/pa

[Wikidata-bugs] [Maniphest] [Commented On] T85804: JS error: "unrecognized expression: unsupported pseudo: wikibase-statementview" on old revisions of items

2015-10-06 Thread He7d3r
He7d3r added a comment. I just got the error { "errorMessage": "Error: Syntax error, unrecognized expression: unsupported pseudo: wikibase-statementview", "url": "https://www.wikidata.org/w/load.php?debug=false&lang=pt&modules=jquery%2Cmediawiki&only=scripts&skin=vector&versio

[Wikidata-bugs] [Maniphest] [Commented On] T85804: JS error: "unrecognized expression: unsupported pseudo: wikibase-statementview" on old revisions of items

2015-10-01 Thread JanZerebecki
JanZerebecki added a comment. In https://phabricator.wikimedia.org/T85804#1680042, @hoo wrote: > wikidatawikiMediaWiki:Gadget-AuthorityControl.js Has the necessary dependency. > wikidatawikiMediaWiki:Gadget-DraggableSitelinks.js > wikidatawikiMediaWiki:Gadget-Duplicat

[Wikidata-bugs] [Maniphest] [Commented On] T85804: JS error: "unrecognized expression: unsupported pseudo: wikibase-statementview" on old revisions of items

2015-09-28 Thread hoo
hoo added a comment. Still used (or at least mentioned) in some gadgets: hoo@terbium:~$ mwgrep wikibase-statementview ## Public wiki results testwikidatawikiMediaWiki:Gadget-AuthorityControl.js wikidatawikiMediaWiki:Gadget-AuthorityControl.js wikidatawikiMediaWiki:Ga

[Wikidata-bugs] [Maniphest] [Commented On] T85804: JS error: "unrecognized expression: unsupported pseudo: wikibase-statementview" on old revisions of items

2015-09-26 Thread He7d3r
He7d3r added a comment. The error is intermittent. I only notice it because I'm subscribed to the error events (by means of `mw.trackSubscribe( 'global.error', function ( topic, err ) {...})`. This way, I can notice when these random JS errors happen, even if my console is not open. TASK DETA

[Wikidata-bugs] [Maniphest] [Commented On] T85804: JS error: "unrecognized expression: unsupported pseudo: wikibase-statementview" on old revisions of items

2015-09-24 Thread He7d3r
He7d3r added a subscriber: He7d3r. He7d3r added a comment. This is still happening. I got the message the first I accessed https://www.wikidata.org/wiki/Q8366 today. TASK DETAIL https://phabricator.wikimedia.org/T85804 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/email

[Wikidata-bugs] [Maniphest] [Commented On] T85804: JS error: "unrecognized expression: unsupported pseudo: wikibase-statementview" on old revisions of items

2015-01-14 Thread Addshore
Addshore added a subscriber: Addshore. Addshore added a comment. https://www.wikidata.org/w/index.php?title=MediaWiki:Gadget-AuthorityControl.js&diff=188038652&oldid=187820973 TASK DETAIL https://phabricator.wikimedia.org/T85804 REPLY HANDLER ACTIONS Reply to comment or attach files, or !cl

[Wikidata-bugs] [Maniphest] [Commented On] T85804: JS error: "unrecognized expression: unsupported pseudo: wikibase-statementview" on old revisions of items

2015-01-13 Thread aude
aude added a comment. updated the gadget code more on test.wikidata https://test.wikidata.org/wiki/MediaWiki:Gadget-AuthorityControl.js the hardcoded "if ( claimId === 'P368' ) {" needs to be changed accordingly for wikidata (and would be nice if it wasn't hardcoded quite like that) TASK DET

[Wikidata-bugs] [Maniphest] [Commented On] T85804: JS error: "unrecognized expression: unsupported pseudo: wikibase-statementview" on old revisions of items

2015-01-13 Thread aude
aude added a comment. adding jquery.wikibase.entityview seems to work (at least no longer get the js error, though nothing linked). ps: some addition changes will be needed (no longer to use statementview.getReferences() and get references directly from the statement instead) when we deploy ne

[Wikidata-bugs] [Maniphest] [Commented On] T85804: JS error: "unrecognized expression: unsupported pseudo: wikibase-statementview" on old revisions of items

2015-01-12 Thread petr.matas
petr.matas added a comment. Adding jquery.wikibase.entityview as a dependency to https://www.wikidata.org/wiki/MediaWiki:Gadgets-definition should do it, right? TASK DETAIL https://phabricator.wikimedia.org/T85804 REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !

[Wikidata-bugs] [Maniphest] [Commented On] T85804: JS error: "unrecognized expression: unsupported pseudo: wikibase-statementview" on old revisions of items

2015-01-10 Thread Ricordisamoa
Ricordisamoa added a comment. The `jquery.wikibase.entityview` module is supposed to register pseudos, but it isn't loaded on old revisions. TASK DETAIL https://phabricator.wikimedia.org/T85804 REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assi