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
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
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
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
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
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
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
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
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
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
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
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, !
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
13 matches
Mail list logo