[Wikidata-bugs] [Maniphest] [Commented On] T95289: Deploy Google's primary sources tool to beta and test.wikidata
Lydia_Pintscher added a comment. Adding a mode to feed the gadget with dummy data seems simplest to me. What do you think @tomayac? TASK DETAIL https://phabricator.wikimedia.org/T95289 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: JanZerebecki, Lydia_Pintscher Cc: JanZerebecki, Tomayac, Denny, Lydia_Pintscher, Tobi_WMDE_SW, Aklapper, Wikidata-bugs, aude ___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
[Wikidata-bugs] [Maniphest] [Commented On] T95289: Deploy Google's primary sources tool to beta and test.wikidata
JanZerebecki added a comment. I still needed to change some URLs to point to the current site (making them relative should work), see https://test.wikidata.org/w/index.php?title=MediaWiki%3AGadget-PrimarySources.js&type=revision&diff=13800&oldid=13799 . Then it works, but will probably never give any statements as the the low item IDs will probably not have any suggested statements in the backend. Not sure what to do about that. Perhaps add a test modus to the backend? Or run another instance of it with test data? Add a test mode to the gadget which displays random suggested statements on the current item? TASK DETAIL https://phabricator.wikimedia.org/T95289 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: JanZerebecki Cc: JanZerebecki, Tomayac, Denny, Lydia_Pintscher, Tobi_WMDE_SW, Aklapper, Wikidata-bugs, aude ___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
[Wikidata-bugs] [Maniphest] [Commented On] T95289: Deploy Google's primary sources tool to beta and test.wikidata
Tomayac added a comment. I fixed this with commit https://github.com/google/primarysources/commit/cc2da3c08b7663a24343d7dd94b34410e7d84d68, the user script should be testable now on test.wikidata.org and beta. TASK DETAIL https://phabricator.wikimedia.org/T95289 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: JanZerebecki, Tomayac Cc: JanZerebecki, Tomayac, Denny, Lydia_Pintscher, Tobi_WMDE_SW, Aklapper, Wikidata-bugs, aude ___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
[Wikidata-bugs] [Maniphest] [Commented On] T95289: Deploy Google's primary sources tool to beta and test.wikidata
JanZerebecki added a comment. Also done for beta. Test item: http://wikidata.beta.wmflabs.org/wiki/Q65903 TASK DETAIL https://phabricator.wikimedia.org/T95289 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: JanZerebecki Cc: JanZerebecki, Tomayac, Denny, Lydia_Pintscher, Tobi_WMDE_SW, Aklapper, Wikidata-bugs, aude ___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
[Wikidata-bugs] [Maniphest] [Commented On] T95289: Deploy Google's primary sources tool to beta and test.wikidata
JanZerebecki added a comment. Test item: https://test.wikidata.org/wiki/Q1227 TASK DETAIL https://phabricator.wikimedia.org/T95289 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: JanZerebecki Cc: JanZerebecki, Tomayac, Denny, Lydia_Pintscher, Tobi_WMDE_SW, Aklapper, Wikidata-bugs, aude ___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
[Wikidata-bugs] [Maniphest] [Commented On] T95289: Deploy Google's primary sources tool to beta and test.wikidata
JanZerebecki added a subscriber: JanZerebecki. JanZerebecki added a comment. Added https://test.wikidata.org/wiki/MediaWiki:Gadget-PrimarySources.js which loads it in the same way as the user-common.js snippet, but from www.wikidata.org. (And included it in https://test.wikidata.org/wiki/MediaWiki:Gadgets-definition ). But that fails currently as there are relative URLs used in the script, filed a bug for that: https://github.com/google/primarysources/issues/19 Currently can't get the necessary permissions on beta to also add it there, will try later. TASK DETAIL https://phabricator.wikimedia.org/T95289 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: JanZerebecki Cc: JanZerebecki, Tomayac, Denny, Lydia_Pintscher, Tobi_WMDE_SW, Aklapper, Wikidata-bugs, aude ___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs