[00:14:14] Hey, Extension:Wikidata is doing something it shouldn't be doing and it is going to break soon [00:14:21] https://github.com/wikimedia/mediawiki-extensions-Wikidata/blob/5acfdd6546273e9f2c70d23f3a862cc550fb6aef/extensions/Wikibase/lib/resources/Resources.php#L352 [00:14:37] 'mediawiki.tests.qunit.testrunner' is a dynamic module provided by core and automatically added to the dependencies [00:14:50] this module will be renamed and anything using the proper hook will automatically use the new name [00:15:40] It should register that module as a test module, not a regular module, then it'll be given taht dependency automatically [00:19:11] yikes [00:20:49] Krinkle: ResourceLoaderTestModules will that hook do that for us [00:21:09] If we use it, can I just strike the dependency? [00:23:08] hoo: yes and yes [00:23:27] https://github.com/wikimedia/mediawiki-extensions-VisualEditor/blob/master/VisualEditor.hooks.php#L501-L506 [00:23:37] I think wikidata already uses that hook, just need to add this to it [00:23:46] hoo: Thanks man! [00:28:59] Krinkle: Sorry, my Pidgin crashed twice... will prepare a patch soon... just finishing my current hing [00:31:35] (03CR) 10Hoo man: Implement mw.wikibase.entity.formatPropertyValues (037 comments) [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/107395 (owner: 10Hoo man) [00:32:08] (03PS20) 10Hoo man: Implement mw.wikibase.entity.formatPropertyValues [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/107395 [00:33:15] (03CR) 10Hoo man: "Addressed Daniel's comments (@Daniel: Please see my replies on PS19)" [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/107395 (owner: 10Hoo man) [00:33:30] (03PS11) 10Hoo man: Integration tests for Client's Scribunto integration [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/108298 [00:38:58] (03CR) 10WikidataJenkins: [V: 032] "Build Successful" [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/107395 (owner: 10Hoo man) [00:43:28] (03CR) 10WikidataJenkins: [V: 032] "Build Successful" [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/108298 (owner: 10Hoo man) [00:51:55] wtf... removing code but leaving the tests in place is very bad style [00:51:57] very bad -.- [00:53:16] Krinkle: got a core change to link? [00:57:00] Nope, not yet. Just enforcing something that should be enforced already [00:57:35] Krinkle: what about https://gerrit.wikimedia.org/r/111632 ? In my tests right now that already broke our Qunits [00:58:04] hoo: Yeah, that's where it starts. [00:58:07] Feel free to link that one [00:58:45] (03PS1) 10Hoo man: Fix the Qunit tests [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/111684 [01:04:42] (03CR) 10WikidataJenkins: [V: 032] "Build Successful" [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/111684 (owner: 10Hoo man) [01:06:33] (03PS2) 10Hoo man: Fix the Qunit tests [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/111684 [01:08:03] finally -.- [01:08:11] Krinkle: Thanks for letting me/us know [01:09:20] hoo: Hm.. interesting, I was expecting a fix where it moves the module to a different file and adds the dependency but I guess nothing was using it? [01:09:33] What about 'wikibase.tests.qunit.testrunner' module though [01:09:39] that depends on QUnit.newMwEnvironment [01:09:52] which is provided by core's test.mediawiki.qunit.testrunner [01:10:04] it should depend on it, by declaring it in the testModules instead [01:10:08] so it gets the dependency automatically [01:11:10] Krinkle: mh... don't know how, but that version passed, will amend though... one second [01:12:22] (03PS3) 10Hoo man: Fix the Qunit tests [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/111684 [01:12:27] (03CR) 10WikidataJenkins: [V: 032] "Build Successful" [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/111684 (owner: 10Hoo man) [01:12:43] Krinkle|detached: ^ [01:14:27] (03PS4) 10Hoo man: Fix the Qunit tests [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/111684 [01:17:56] (03PS12) 10Hoo man: Integration tests for Client's Scribunto integration [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/108298 [01:18:25] enough for now :P [01:20:11] (03CR) 10WikidataJenkins: [V: 032] "Build Successful" [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/111684 (owner: 10Hoo man) [01:25:26] (03CR) 10WikidataJenkins: [V: 032] "Build Successful" [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/111684 (owner: 10Hoo man) [01:29:59] (03CR) 10WikidataJenkins: [V: 032] "Build Successful" [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/108298 (owner: 10Hoo man) [09:45:27] (03CR) 10Raimond Spekking: Add i18n support in MwTimeIsoFormatter (034 comments) [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/109685 (owner: 10Addshore) [09:48:01] (03CR) 10Addshore: Add i18n support in MwTimeIsoFormatter (032 comments) [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/109685 (owner: 10Addshore) [10:29:40] (03CR) 10Daniel Kinzler: "Will try, but we have a ton of sessions with the HPI students today..." [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/107206 (owner: 10Hoo man) [11:58:40] (03PS5) 10Henning Snater: Fix the Qunit tests [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/111684 (owner: 10Hoo man) [12:01:26] (03CR) 10Hoo man: [C: 031] "I'm fine with the changes by Henning" [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/111684 (owner: 10Hoo man) [12:01:36] (03CR) 10Henning Snater: "Patch set 5: Moved Wikibase test runner to test resources; still needs dependency on MediaWiki test runner." [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/111684 (owner: 10Hoo man) [12:02:09] Henning_WMDE: The dependency is fine, as long as we have it only in the test registry and not the production one ;) [12:02:24] Not sure my commit summary is obvious is enough [12:02:48] DanielK_WMDE: got a few minutes to debug the Lua stuff? [12:04:36] (03CR) 10WikidataJenkins: [V: 032] "Build Successful" [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/111684 (owner: 10Hoo man) [12:05:29] hoo: The Wikibase test runner is only used by the test resources anyway, so I moved it over. We should, in general, be more explicit about module dependencies in the future. [12:06:20] +1 :) [12:06:29] http://ultimategerardm.blogspot.nl/2014/02/reasonator-proof-of-pudding.html [12:12:17] 01[13DataValuesJavascript01] 15snaterlicious created 06fixqunitmodules (+1 new commit): 02http://git.io/LBBVKg [12:12:17] 13DataValuesJavascript/06fixqunitmodules 14b609465 15snaterlicious: Fixed definitions of ResourceLoader test modules [12:13:05] [13DataValuesJavascript] 15snaterlicious opened pull request #26: Fixed definitions of ResourceLoader test modules (06master...06fixqunitmodules) 02http://git.io/gJzPtw [12:13:55] hoo: ^^ another QUnit fix... ;) Tests will execute with resourceLoaderDebug = false again... [12:14:16] already looking... did you test it? [12:14:21] If so, I can approve [12:16:33] Henning_WMDE: --^ [12:16:37] Looks good [12:20:26] hoo: Yes, I did test it. Was wondering why I still received failures on your change ... boiled down to that... [12:20:27] [13DataValuesJavascript] 15mariushoch closed pull request #26: Fixed definitions of ResourceLoader test modules (06master...06fixqunitmodules) 02http://git.io/gJzPtw [12:21:02] 01[13DataValuesJavascript01] 15mariushoch 04deleted 06fixqunitmodules at 14b609465: 02http://git.io/bQE1-Q [12:21:40] hoo: Are you fine with my changes to your change. If so, I would merge it as well. [12:21:51] Henning_WMDE: I am, already +1ed :) [12:22:01] Ah, okay, sorry! :) [12:22:23] (03CR) 10Henning Snater: [C: 032] Fix the Qunit tests [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/111684 (owner: 10Hoo man) [12:22:46] (03Merged) 10jenkins-bot: Fix the Qunit tests [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/111684 (owner: 10Hoo man) [12:46:07] (03PS1) 10Henning Snater: Updated ULS module dependencies [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/111783 [12:50:39] JeroenDeDauw: https://github.com/wmde/Diff/pull/2 [12:50:41] merge! [12:50:43] :) [12:52:18] (03CR) 10WikidataJenkins: [V: 032] "Build Successful" [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/111783 (owner: 10Henning Snater) [12:53:11] [travis-ci] wmde/Diff#7 (getcwd - 70cae67 : Tobias Gritschacher): The build passed. [12:53:11] [travis-ci] Change view : https://github.com/wmde/Diff/commit/70cae67daba1 [12:53:11] [travis-ci] Build details : http://travis-ci.org/wmde/Diff/builds/18340169 [12:55:38] Tobi_WMDE: Merged [13:03:40] (03CR) 10Hoo man: [C: 032] Updated ULS module dependencies [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/111783 (owner: 10Henning Snater) [13:04:00] (03Merged) 10jenkins-bot: Updated ULS module dependencies [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/111783 (owner: 10Henning Snater) [13:06:49] [13WikibaseDataModelSerialization] 15Tpt opened pull request #9: Adds Reference support (06master...06reference) 02http://git.io/iWh6UA [13:35:07] (03PS1) 10Aude: Fix Wikidata extension name for Special:Version [extensions/Wikidata] - 10https://gerrit.wikimedia.org/r/111791 [13:35:33] easy chocolate ^ [13:36:14] (03PS2) 10Aude: Fix Wikidata extension name for Special:Version [extensions/Wikidata] - 10https://gerrit.wikimedia.org/r/111791 [13:36:27] [travis-ci] wmde/WikibaseQuery#24 (master - 4d60209 : addshore): The build passed. [13:36:27] [travis-ci] Change view : https://github.com/wmde/WikibaseQuery/compare/762aa0412fba...4d6020969ca2 [13:36:27] [travis-ci] Build details : http://travis-ci.org/wmde/WikibaseQuery/builds/18342335 [13:43:00] (03CR) 10Addshore: [C: 032] Fix Wikidata extension name for Special:Version [extensions/Wikidata] - 10https://gerrit.wikimedia.org/r/111791 (owner: 10Aude) [13:43:05] (03CR) 10Addshore: [V: 032] Fix Wikidata extension name for Special:Version [extensions/Wikidata] - 10https://gerrit.wikimedia.org/r/111791 (owner: 10Aude) [13:43:22] aude need to also merge that change into the wikidata builder repo on github [13:45:52] ah yes [13:47:57] 01[13WikidataBuilder01] 15filbertkm created 06specialversion at 1421501c8 (+0 new commits): 02http://git.io/i4eTtw [13:48:08] wtf [13:48:27] 0 new commits? [13:48:29] xD [13:48:40] you didnt commit? :P just made a branch [13:49:03] ok, i committed locally to a branch [13:50:04] 01[13WikidataBuilder01] 15filbertkm pushed 1 new commit to 06specialversion: 02http://git.io/kjuAMw [13:50:04] 13WikidataBuilder/06specialversion 149a34c70 15aude: Fix extension name for Special:Version... [13:50:13] https://github.com/wmde/WikidataBuilder/pull/11 [13:50:15] [13WikidataBuilder] 15filbertkm opened pull request #11: Fix extension name for Special:Version (06master...06specialversion) 02http://git.io/87OIpg [13:50:30] done [13:50:39] 01[13WikidataBuilder01] 15addshore pushed 1 new commit to 06master: 02http://git.io/pteniA [13:50:39] 13WikidataBuilder/06master 148d1f71b 15addshore: Merge pull request #11 from wmde/specialversion... [13:50:49] * aude waits for beta to update [13:52:18] [travis-ci] wmde/WikidataBuilder#102 (specialversion - 9a34c70 : aude): The build passed. [13:52:19] [travis-ci] Change view : https://github.com/wmde/WikidataBuilder/compare/21501c83fe8c...9a34c703e2f5 [13:52:19] [travis-ci] Build details : http://travis-ci.org/wmde/WikidataBuilder/builds/18343404 [14:06:05] 01[13WikidataBuilder01] 15filbertkm created 06specialversion (+1 new commit): 02http://git.io/nfF6dA [14:06:05] 13WikidataBuilder/06specialversion 148b78a7b 15aude: Fix extension path for Special:Version... [14:06:24] (03PS1) 10Aude: Fix extension path for Special:Version [extensions/Wikidata] - 10https://gerrit.wikimedia.org/r/111792 [14:06:29] addshore: ^ [14:06:35] that should work better [14:06:52] (03CR) 10Addshore: [C: 032 V: 032] Fix extension path for Special:Version [extensions/Wikidata] - 10https://gerrit.wikimedia.org/r/111792 (owner: 10Aude) [14:07:42] [13WikidataBuilder] 15filbertkm opened pull request #12: Fix extension path for Special:Version (06master...06specialversion) 02http://git.io/H2BOsA [14:23:52] Tobi_WMDE: http://wikidata.beta.wmflabs.org/wiki/Special:Version works now [15:03:42] 01[13WikidataBuilder01] 15addshore 04deleted 06specialversion at 148b78a7b: 02http://git.io/ejsr9g [15:06:43] [travis-ci] wmde/WikidataBuilder#107 (master - a65143c : addshore): The build was broken. [15:06:43] [travis-ci] Change view : https://github.com/wmde/WikidataBuilder/compare/8d1f71bed164...a65143ca9808 [15:06:43] [travis-ci] Build details : http://travis-ci.org/wmde/WikidataBuilder/builds/18347963 [15:09:36] * aude didn't break anything! [15:15:45] Date and times to be parsed: "Mai 750", "-5", "5 BC", "8 Jan 700", "Jan 8 701", "2 Mio. v. Chr.", ... [15:18:12] ... "1/2/3" (MDY or MDY?), "1.2.3" (always German DMY?), ... [15:19:09] ... "early 20th centruy", ... [15:20:57] addshore: http://pastie.org/8705167 [15:21:52] https://fa.wikipedia.org/wiki/%D8%A8%D8%A7%D8%B1%D8%A7%DA%A9_%D8%A7%D9%88%D8%A8%D8%A7%D9%85%D8%A7 [15:22:00] pick any of the dates [15:23:13] :< [15:24:27] number parser: ۳٬۵۳۶٬۶۴۲٬۶۴۲٬۳۶۴٬۳۶۴٬۲۶۳٬۱۲۳±۱ [15:26:00] (03PS7) 10Addshore: Implement TimeParsers ... [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/111464 [15:26:01] ... in German "010203" and "01022003" should become 1 Jan 2003. [15:27:09] (03PS8) 10Addshore: Implement TimeParsers ... [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/111464 [15:29:59] (03CR) 10Daniel Kinzler: "So, here's the module code:" [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/107206 (owner: 10Hoo man) [15:33:10] (03CR) 10WikidataJenkins: [V: 04-1] "Build Failed" [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/111464 (owner: 10Addshore) [15:37:44] (03CR) 10WikidataJenkins: [V: 04-1] "Build Failed" [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/111464 (owner: 10Addshore) [16:08:34] Thiemo_WMDE: welcome! [16:08:55] thanks. :) [16:20:51] (03PS1) 10WikidataBuilder: New Wikidata Build [extensions/Wikidata] - 10https://gerrit.wikimedia.org/r/111811 [16:20:57] \o/ [16:21:58] (03CR) 10Aude: [C: 032] New Wikidata Build [extensions/Wikidata] - 10https://gerrit.wikimedia.org/r/111811 (owner: 10WikidataBuilder) [16:25:49] 01[13WikidataBuilder01] 15filbertkm created 06extensionlist (+1 new commit): 02http://git.io/p4AI2Q [16:25:49] 13WikidataBuilder/06extensionlist 144d60d55 15aude: update extension list [16:26:01] (03CR) 10jenkins-bot: [V: 04-1] New Wikidata Build [extensions/Wikidata] - 10https://gerrit.wikimedia.org/r/111811 (owner: 10WikidataBuilder) [16:26:21] addshore: merge it [16:26:23] [13WikidataBuilder] 15filbertkm opened pull request #13: update extension list (06master...06extensionlist) 02http://git.io/XYmtNg [16:27:10] 01[13WikidataBuilder01] 15addshore pushed 1 new commit to 06master: 02http://git.io/HQurKQ [16:27:10] 13WikidataBuilder/06master 14991b75d 15addshore: Merge pull request #13 from wmde/extensionlist... [16:27:11] <14WAB3YR7> 01[13WikidataBuilder01] 15addshore 04deleted 06extensionlist at 144d60d55: 02http://git.io/1NCApQ [16:27:16] (03PS1) 10WikidataBuilder: New Wikidata Build [extensions/Wikidata] - 10https://gerrit.wikimedia.org/r/111813 [16:29:06] (03Abandoned) 10WikidataBuilder: New Wikidata Build [extensions/Wikidata] - 10https://gerrit.wikimedia.org/r/111813 (owner: 10WikidataBuilder) [16:29:10] (03PS1) 10WikidataBuilder: New Wikidata Build [extensions/Wikidata] - 10https://gerrit.wikimedia.org/r/111815 [16:32:39] [travis-ci] wmde/WikidataBuilder#110 (master - 991b75d : addshore): The build was fixed. [16:32:39] [travis-ci] Change view : https://github.com/wmde/WikidataBuilder/compare/a65143ca9808...991b75d3acda [16:32:39] [travis-ci] Build details : http://travis-ci.org/wmde/WikidataBuilder/builds/18353557 [16:34:15] (03CR) 10jenkins-bot: [V: 04-1] New Wikidata Build [extensions/Wikidata] - 10https://gerrit.wikimedia.org/r/111815 (owner: 10WikidataBuilder) [16:34:45] time values are displaying lots of leading zeros; e.g. https://www.wikidata.org/wiki/Q6396063 [16:35:11] possibly this is due to my pref being ISO dates [16:35:26] I see "+00000001983-06-13T00:00:00Z" [16:36:15] (03PS4) 10Bene: Insert badges for language links on client [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/111609 [16:36:41] jayvdb: yeah, I see human readable ones "May 30 1941" [16:39:15] (03PS1) 10WikidataBuilder: New Wikidata Build [extensions/Wikidata] - 10https://gerrit.wikimedia.org/r/111817 [16:40:14] (03Abandoned) 10WikidataBuilder: New Wikidata Build [extensions/Wikidata] - 10https://gerrit.wikimedia.org/r/111811 (owner: 10WikidataBuilder) [16:40:21] (03Abandoned) 10WikidataBuilder: New Wikidata Build [extensions/Wikidata] - 10https://gerrit.wikimedia.org/r/111815 (owner: 10WikidataBuilder) [16:41:55] (03CR) 10jenkins-bot: [V: 04-1] New Wikidata Build [extensions/Wikidata] - 10https://gerrit.wikimedia.org/r/111817 (owner: 10WikidataBuilder) [16:42:07] (03CR) 10WikidataJenkins: [V: 04-1] "Build Failed" [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/111609 (owner: 10Bene) [16:42:38] jayvdb: interesting :O [16:43:14] but yes, thats probably due to the pref being iso dates [16:59:38] (03PS5) 10Bene: Insert badges for language links on client [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/111609 [17:05:38] (03CR) 10WikidataJenkins: [V: 04-1] "Build Failed" [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/111609 (owner: 10Bene) [17:20:58] (03PS6) 10Bene: Insert badges for language links on client [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/111609 [17:24:05] (03PS7) 10Bene: Insert badges for language links on client [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/111609 [17:27:44] (03CR) 10WikidataJenkins: [V: 04-1] "Build Failed" [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/111609 (owner: 10Bene) [17:31:58] DanielK_WMDE: it says "Varnish XID 2665166859" [17:32:04] tells me it probably is varnish [17:32:13] need to figure out which servers these are [17:32:27] (03CR) 10WikidataJenkins: [V: 04-1] "Build Failed" [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/111609 (owner: 10Bene) [17:33:32] it's a text varnish cache [17:33:37] cp1065.eqiad.wmnet [17:54:20] (03PS1) 10: New Wikidata Build [extensions/Wikidata] - 10https://gerrit.wikimedia.org/r/111826 [18:11:49] Hello out there [18:11:58] 01[13WikibaseDataModelSerialization01] 15addshore pushed 3 new commits to 06master: 02http://git.io/vSdcDQ [18:11:58] 13WikibaseDataModelSerialization/06master 14e98aa9d 15Tpt: Adds Reference support [18:11:58] 13WikibaseDataModelSerialization/06master 14cb8c547 15Tpt: optimize imports [18:11:58] 13WikibaseDataModelSerialization/06master 1414c8d88 15addshore: Merge pull request #9 from Tpt/reference... [18:15:48] (03CR) 10Addshore: "Reason for failure is this this depends on stuff that is not yet merged in Data-Values/time" [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/111464 (owner: 10Addshore) [18:27:20] addshore: https://gerrit.wikimedia.org/r/#/c/111817/1/Wikidata.php,cm [18:27:32] even both are in there [18:30:43] (03PS1) 10: New Wikidata Build [extensions/Wikidata] - 10https://gerrit.wikimedia.org/r/111831 [18:31:08] (03CR) 10WikidataJenkins: [V: 04-1] "Build Failed" [extensions/Wikidata] - 10https://gerrit.wikimedia.org/r/111831 [18:31:55] (03Abandoned) 10Addshore: New Wikidata Build [extensions/Wikidata] - 10https://gerrit.wikimedia.org/r/111817 [18:37:02] (03PS2) 10Addshore: New Wikidata Build :D [extensions/Wikidata] - 10https://gerrit.wikimedia.org/r/111831 [18:37:26] (03CR) 10WikidataJenkins: [V: 04-1] "Build Failed" [extensions/Wikidata] - 10https://gerrit.wikimedia.org/r/111831 [18:39:37] (03PS3) 10Tobias Gritschacher: New Wikidata Build [extensions/Wikidata] - 10https://gerrit.wikimedia.org/r/111831 [18:41:23] (03CR) 10WikidataJenkins: [C: 032 V: 032] "Build Successful" [extensions/Wikidata] - 10https://gerrit.wikimedia.org/r/111831 [18:44:52] (03Merged) 10jenkins-bot: New Wikidata Build [extensions/Wikidata] - 10https://gerrit.wikimedia.org/r/111831 [18:50:19] [13WikibaseDataModelSerialization] 15Tpt opened pull request #10: Adds beggining of Claim deserialization (06master...06claimsDeserializer) 02http://git.io/TKx6lA [19:08:43] Lydia_WMDE: https://www.kickstarter.com/projects/77145396/phpwomen-purple-elephpants ;) [19:25:13] Hi all, Kindly tell me, Which docs I have to refer to learn how to connect to wikidata items and properties through api, and feed data to it. [19:31:12] aude: :D [19:35:52] yikes, something is broken [19:36:01] all the wikis [19:38:51] O_o [19:39:26] i don't see anythign obvious in the logs [19:39:31] well isnt -operations just a pile of fun [19:39:45] not sure exactly what level this is (varnish?) [19:40:38] https://bugzilla.wikimedia.org/show_bug.cgi?id=60970 [19:40:54] https://gdash.wikimedia.org/dashboards/reqerror/ :> [19:41:33] yep [19:41:42] smells similar to our entity data error [19:42:53] aude: should the wikidata build show up on enwikipedia? [19:43:02] it did and was fine [19:43:09] :) [19:43:22] http://en.wikipedia.org/wiki/Interstate_805 [19:43:24] https [19:43:38] that's a good item to check, since it uses lua for the infobox map [19:43:52] purge the page, all good :) [19:47:40] stuff is coming back, though only because we reverted to earlier versions of stuff [20:49:48] (03CR) 10WikidataJenkins: "Build Successful" [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/111882 (owner: 10L10n-bot) [21:50:15] (03PS8) 10Bene: Insert badges for language links on client [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/111609 [21:56:05] (03CR) 10WikidataJenkins: [V: 04-1] "Build Failed" [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/111609 (owner: 10Bene) [22:05:39] (03CR) 10Bene: "Maybe someone can have a look here. It seems that the Title class does not handle interwiki prefixes correctly. Eg when executing the foll" [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/111609 (owner: 10Bene) [22:21:37] (03PS9) 10Bene: Insert badges for language links on client [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/111609 [22:24:02] aude: ping :) [22:24:17] Hello benestar. :) [22:24:25] benestar: looks pretty good but need to look in more detail [22:24:29] hey sjoerddebruin :) [22:24:38] aude: the tests fail and I don't know why... [22:26:19] benestar: What's the ETA btw? [22:26:58] sjoerddebruin: you mean for badges? [22:27:06] Yep. [22:27:22] depends on how fast I can make the client thing working [22:27:29] :P [22:27:35] (03CR) 10WikidataJenkins: [V: 04-1] "Build Failed" [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/111609 (owner: 10Bene) [22:27:35] and also how fast I (or someone else) implements the repo ui [22:27:41] :( [22:27:46] Good luck. [22:27:55] hmmm [22:28:16] aude: the core title/interwiki system is quite crazy [22:28:24] and way too huge classes [22:28:36] yep [22:28:50] aude: any idea why Interwiki::fetch doesn't work? [22:29:00] not sure we should use that [22:29:38] doubt it works on a test wiki w/o interwiki table populated [22:30:12] aude: oh, sorry [22:30:19] the interwiki::fetch isn't even reached [22:30:19] why $interwiki->getWikiID() [22:30:28] the title itself does not recognize the preifx [22:30:30] *prefix [22:30:41] don't assume wikiid === siteid [22:30:47] usually it does, but not always [22:31:01] aude: :/ that's another issue but not the actual failing one [22:31:24] ok [22:31:51] probably the sites code can be improved to handle retrieving a global id from interwiki [22:32:02] do that nicer [22:32:27] aude: in core? [22:32:36] or what do you mean? [22:33:13] tests on your patch pass for me [22:33:18] but i have interwikis populated [22:33:30] benestar: maybe in core... not sure [22:33:52] aude: hmm, ok, so the tests fail because Title does not know that en and nl are interwiki prefixes [22:34:44] aude: maybe use TestSites::insertIntoDb(); ? [22:34:55] sorry, i was on wrong branch [22:35:00] trying patch again [22:36:45] i get 3 failures http://pastie.org/8706414 [22:37:36] aude: me too [22:37:38] and jenkins also [22:43:23] $interwiki->getWikiID() is null for me [22:45:51] aude: yes [22:46:07] because $languageLinkTitle->getInterwiki() is '' [22:48:43] how is taht supposed to work? [22:48:44] that* [22:51:34] aude: it should return 'en' [22:52:30] something is wrong [22:52:37] yes [22:52:39] ;) [22:52:42] No shit, Sherlocks. [22:53:03] i think we should have a mapping of interwiki -> site id [22:53:39] in memcached (maybe) and/or even cdb (like interwikis are handled now) [22:54:03] and obviously need 'en' [22:55:08] maybe use Title::makeTitle() [22:57:07] Title::newFromText calls $title->secureAndSplit() which depends on stuff like interwiki table being populated [22:57:58] aude: ok, I got deeper [22:58:10] the problem is that the interwiki table does not contain the 'en' prefix [22:58:26] this however shouldn't be a problem on the wiki itself [22:58:30] in production [22:58:46] mine does [22:58:55] isn't there a test helper class like TestSites? [22:59:02] aude: :/ [22:59:03] production uses cdb [22:59:05] are you sure? [22:59:08] Yes. [22:59:18] use makeTitle [22:59:35] it skips the lookup and assumes the interwiki is valid [22:59:53] we want to minimize db lookup in tests anyway [23:00:03] aude: ok [23:00:22] we can even mock title [23:00:25] if you like [23:00:41] makeTitle probably is ok though [23:04:45] aude: but we still call Interwiki::fetch [23:04:54] so this does not really help us [23:09:39] hmmm [23:11:05] aude: ok, I found something [23:11:18] actually TestSites.php would add the interwiki links [23:11:27] but they do not get saved in the db [23:11:48] $title->getInterwiki(); gives me 'en' [23:11:52] all we need [23:12:06] aude: hmm, where? [23:12:17] then the interwiki-siteid lookup would get enwiki [23:12:27] $title = Title::makeTitle( NS_MAIN, 'Cake', $fragment = '', $interwiki = 'en' ); [23:12:33] as example [23:12:45] errr [23:13:12] $title = Title::makeTitle( NS_MAIN, 'Cake', '', 'en' ); [23:13:18] aude: hmm, this does not work on my local client [23:13:34] i did that in maintenance/eval.php [23:13:35] but additionally I don't know if the table is populated on jenkins? [23:14:22] works with interwiki table truncated [23:14:29] then it doesn't matter [23:14:40] aude: that's not possible [23:14:43] table is not populated on jenkins [23:14:51] why? [23:14:55] $title = Title::makeTitle( NS_MAIN, 'Cake', ”, 'en' ); of course works [23:15:04] but Interwiki::fetch( 'en' ) won't work [23:15:06] $title->getInterwiki() == 'en' [23:15:18] we don't need fetch [23:15:27] aude: so what to use then? [23:15:43] we need the site store / site list / something to provide lookup of interwiki to site id [23:16:21] aude: is there something like that? [23:16:22] (cached in memcached and/or cdb or both) [23:16:24] I fear not... [23:16:28] not yet but need it [23:16:33] :/ [23:16:41] we can't assume site id === wiki id [23:16:42] that becomes too much for one patch [23:16:48] true [23:16:59] maybe you create a bug for that so it can be discussed [23:17:02] langlinkhandler also needs that functionality and currently does evil hacks around it [23:17:59] aude: you mean getSiteByNavigationId? [23:18:04] yes [23:18:15] that should be moved to core probably [23:18:32] and have a more efficient (cached) lookup [23:18:36] especially if called often [23:18:45] aude: cached in a table? [23:18:55] memcached and/or cdb [23:19:05] maybe also a table [23:19:32] we have site_navigation table (sp?) [23:19:56] aude: we have? [23:20:36] https://bugzilla.wikimedia.org/show_bug.cgi?id=48934 [23:20:52] it's site_identifiers [23:20:54] (sorry) [23:21:18] si_site is the db id from sites table [23:21:31] could have additional column with site global id? [23:22:58] aude: this is also the table affected by the test script [23:23:44] aude: ok, so I will have a look into that tomorrow [23:23:54] perhaps making a patch for core [23:24:11] thanks for your great help :) [23:33:41] back [23:33:48] awww...