[01:12:21] I've given you a definite article: Z32495 (re @Al: We don’t only whinge 😉) [08:44:04] Looking at https://gerrit.wikimedia.org/g/mediawiki/extensions/WikiLambda/+/be0c9ed79380d23eb821fb41284cda28e0400138/i18n/abstract/en.json , it is riddled with Title Case Absolutely Everywhere, which goes against both (English) Wikipedia style guides and [[mw:Help:System_message#Use_standard_capitalisation|MediaWiki best practices for i18n]]. Could someone on the dev [08:44:04] team take a look? [08:47:55] https://github.com/jhsoby/telegram-wikilinksbot/ [08:47:56] Suggestions and pull requests welcome… I'd prefer to wait for a proper interwiki prefix first though, when that comes it will work automatically. But I'm guessing you want the ability to just mention e.g. Q### and have that link directly to https://abstract.wikipedia.org/wiki/Q30 somehow? (re @u99of9: Who is in charge of wikilinksbot? Can you make us a syntax so we [08:47:56] can send links to AW easily?) [08:49:20] Thanks for engaging. Personally, I'd prefer a QID to generate two lines, one linking WD, one AW. But I'm just one vote. (re @jhsoby: https://github.com/jhsoby/telegram-wikilinksbot/ [08:49:22] Suggestions and pull requests welcome… I'd prefer to wait for a proper interwik...) [09:08:24] So very kind of you! (re @u99of9: I've given you a definite article: Z32495) [09:53:36] Al Can you help with a helper function for Z32504? Test Z32526 currently fails because the first call to Z11082 doesn't get an empty string, but instead gets an error. I'd like a version of Z11082 that carries through to the fallback on either an error or an empty string. [11:36:39] Hello. Tried to create the first article on Abstract Wikipedia. [11:37:08] https://tools-static.wmflabs.org/bridgebot/1fac3004/file_78819.jpg [11:37:12] Found this [11:37:24] How to solve this without losing my progress. [11:37:39] Don't believe you can (re @Csisc1994: How to solve this without losing my progress.) [11:39:43] Where does this qid identifier exist. [11:40:11] Probably, I can hard-code it and save it. [11:45:47] This is T420916. [11:45:47] I can only suggest that you copy your function calls to the clipboard (option from the menu for the call). There may be some other workaround but I can’t think of one. (re @Csisc1994: How to solve this without losing my progress.) [11:54:32] Sounds pretty straightforward but I’ll dig a little deeper… 🤔 (re @u99of9: Al Can you help with a helper function for Z32504? Test Z32526 currently fails because the first call to Z11082 doesn't get an e...) [11:56:01] It's not necessarily hard. I just haven't got my head around error handling. (re @Al: Sounds pretty straightforward but I’ll dig a little deeper… 🤔) [11:58:50] Yeah, I’m just wondering if it will be affected by v1 —> v2, because it won’t specify a particular error to catch. But don’t worry about it just yet 😎 (re @u99of9: It's not necessarily hard. I just haven't got my head around error handling.) [12:09:41] Done. Copied to clipboard. (re @Al: This is T420916. [12:09:43] I can only suggest that you copy your function calls to the clipboard (option from the menu for the call). The...) [12:11:34] I spotted the problem in a CreateElement call, it says qid: Q0. However, when I changed that nothing happens. Probably, I should dig deeper to spot what I should change. [12:16:23] I would wait for the fix. I’m guessing Q0 is a placeholder that the system should replace with the QID. This is what normally happens when you start the article from the search rather than following a link (or whatever you did). So you should be able to start again and paste from the clipboard. No promises, though! (re @Csisc1994: I spotted the problem in a CreateElement [12:16:23] call, [12:16:23] it says qid: Q0. However, when I changed that nothing happens. Probably, I should...) [12:17:24] Let us wait and see. (re @Al: I would wait for the fix. I’m guessing Q0 is a placeholder that the system should replace with the QID. This is what normally ha...) [12:17:28] Thank you. [12:18:34] Another point I wanted to raise. The layout does not allow to call a function inside a function. For example, statements with references should be inside paragraphs. [12:18:54] It’s just that you’ll lose the clipboard contents if you close the browser tab. (re @Csisc1994: Let us wait and see.) [12:19:40] I copied all the code and saved it in Google Docs. I will be pasting everything again when the problem will be solved. Thank you. (re @Al: It’s just that you’ll lose the clipboard contents if you close the browser tab.) [12:20:54] But you can only paste from the clipboard you copied to, I’m afraid. (re @Csisc1994: I copied all the code and saved it in Google Docs. I will be pasting everything again when the problem will be solved. Thank you...) [12:26:19] I think it does. Where you have the … for the menu, it should generally allow you to choose a function call, a literal object or a reference. (re @Csisc1994: Another point I wanted to raise. The layout does not allow to call a function inside a function. For example, statements with re...) [12:41:52] If I understand correctly what you want, you can use: Z32163. However, doing so makes them all orchestrate within the same call, so the paragraph is far more likely to time out than individual sentences. (re @Csisc1994: Another point I wanted to raise. The layout does not allow to call a function inside a function. For example, statements with re...) [12:42:50] When I look at https://www.wikifunctions.org/view/en/Z31 , I see that Z31K1 has labels in 13 languages: [12:42:54] https://tools-static.wmflabs.org/bridgebot/25ab2805/file_78820.jpg [12:43:11] But when I click the "13 languages" button, I only see 8: [12:43:23] https://tools-static.wmflabs.org/bridgebot/3d5b671f/file_78821.jpg [12:43:37] And there's no scrollbar or "more" button". [12:43:52] Is there a specific reason for it, or is it just a bug? [12:44:44] 5 om the page 8 more to add. This was a ux design i implemented based on a designers input. [12:45:05] If you find it confusing feel free to file a ticket. We can revisit! [12:46:49] The dialog is met to add more languages to the page list. Because the list could get really long, especially for wikidata items, we decided to put only a few visible on the page and hide the rest in a dialog. [12:51:37] The problem with long lists of languages in MediaWiki has been known for more than 16 years, and I participated in some of the solutions :) [12:52:01] Perhaps this can be improved along with https://www.mediawiki.org/wiki/Wikimedia_Language_and_Product_Localization/ULS_Rewrite [12:59:20] I am looking forward to the ULS rewrite for sure! [14:00:49] I did it more straightforwardly than I expected (Z32556). Switched it into Z32504 and your test case gives “cleaner” now 🤷‍♂️ (re @u99of9: It's not necessarily hard. I just haven't got my head around error handling.) [20:59:08] https://abstract.wikipedia.org/wiki/Q15433043 [20:59:08] My first Abstract Wikipedia Page [21:00:16] For now, I just simplified the English Wikipedia text and added every statement independently. [21:01:14] I need to learn later how to convert all these statements into Abstract texts. [21:22:58] We’ll need to sort out how to give proper attribution to such content. For now, could you include a permanent link to the English Wikipedia article it is based on? [21:22:59] See https://en.wikipedia.org/w/index.php?id=1344230534&page=Moungi_Bawendi&title=Special:CiteThisPage&wpFormIdentifier=titleform, for example. (re @Csisc1994: For now, I just simplified the English Wikipedia text and added every statement independently.) [21:46:01] [testing] abstract:Q15433043 is an interwiki link? [21:46:47] [[abstract:Q15433043]]? [21:49:31] To me, it feels backwards to put in English text at all. Should we allow that? (re @Csisc1994: I need to learn later how to convert all these statements into Abstract texts.) [21:51:04] If I write in English in the main namespace on Swedish Wikipedia it will be speedy deleted. (re @Jan_ainali: To me, it feels backwards to put in English text at all. Should we allow that?) [21:52:13] Not for long, no. But we don’t have a drafting area where text can be converted to its abstract representation. (Or do we?) (re @Jan_ainali: To me, it feels backwards to put in English text at all. Should we allow that?) [21:52:14] No, a comment function should be used (re @Jan_ainali: To me, it feels backwards to put in English text at all. Should we allow that?) [21:52:33] Use subpages? Like /draft/en? (re @Al: Not for long, no. But we don’t have a drafting area where text can be converted to its abstract representation. (Or do we?)) [21:53:05] Do they work, then? (re @Feeglgeef: Use subpages? Like /draft/en?) [21:54:08] Not now, no (re @Al: Do they work, then?) [21:54:10] Well, that text doesn't 'work' either, right? (re @Al: Do they work, then?) [21:54:18] It was a development suggestion (re @Feeglgeef: Not now, no) [21:56:03] I'll create a phabricator task [21:57:44] It doesn’t, but I understand it is a starting point… I wouldn’t do it that way myself 😏 (re @Jan_ainali: Well, that text doesn't 'work' either, right?) [21:59:04] Actually, can we not do Talk:QXXX/draft (perhaps langcoded, perhaps not) as a shared notepad, and then maybe later you would be able to see both while editing an article? (re @Feeglgeef: It was a development suggestion) [22:06:55] 🤷‍♂️ Just generally, if some generated content is in fact monolingual, we should be able to move it rather than deleting it. Even more generally, content that turns out not to be in a given target language, for whatever reason, should be clearly marked, preferably with a navigable link to the actual language it is in. (re @Feeglgeef: Actually, can we not do Talk:QXXX/dra [22:06:55] [22:06:55] ft (perhaps langcoded, perhaps not) as a shared notepad, and then maybe later you would be ...) [23:01:42] Just as a placeholder for now. (re @Jan_ainali: To me, it feels backwards to put in English text at all. Should we allow that?) [23:02:13] All statements should be replaced later to Abstract texts. [23:02:52] The second bit is hard, because often our fallbacks are currently invisible, and that's arguably correct in many cases. (e.g. an en-au request is almost always falling back to en, because en-au isn't on Wikidata). (re @Al: 🤷‍♂️ Just generally, if some generated content is in fact monolingual, we should be able to move it rather than deleting it. Eve...) [23:03:32] The point is immediatism, but there is 0 immediate value in AW for now, so it's fine (re @Csisc1994: All statements should be replaced later to Abstract texts.) [23:03:44] This should not become a habit though [23:04:01] I know. (re @Feeglgeef: This should not become a habit though) [23:04:29] Of course, it should not. [23:04:47] I will actually only work on this Page. [23:05:34] What I will do is to figure out how to call Wikifunctions in the statement and turn everything into a structured statement. [23:06:16] As well, we should think of a way to cite the same reference multiple times. [23:06:36] I can say that it is a playground rather than a complete page. [23:14:45] That is a very lofty goal! (re @Csisc1994: What I will do is to figure out how to call Wikifunctions in the statement and turn everything into a structured statement.) [23:19:41] I know… that’s why I haven’t done it yet! 😏 But I think it may be preferable to expose the gap rather than papering over the crack. So we could return a link to the Wikidata item for the entity with the missing label together with the helpful text in its best fallback. That’s pretty dreadful if we’re talking about a simple variant, though. 🤷‍♂️ (re @u99of9: message> [23:19:41] The second bit is hard, because often our fallbacks are currently invisible, and that's arguably correct in many cases. (e.g. an...) [23:25:22] I just noticed these properties which as far as I recall we haven't made any use of: *P2521 P3321* [23:33:30] We haven’t. I checked. (https://www.wikifunctions.org/w/index.php?fulltext=1&ns0=1&ns2=1&ns4=1&profile=advanced&search=%3A+P2521+OR+P3321&title=Special%3ASearch) (re @u99of9: I just noticed these properties which as far as I recall we haven't made any use of: P2521 P3321) [23:38:56] I added a sitelink to the Abstract Wikipedia Page in Wikidata. (re @Al: [testing] abstract:Q15433043 is an interwiki link?) [23:39:25] It works. [23:42:11] Denny’s raised a ticket to automate that: T421151. (re @Csisc1994: I added a sitelink to the Abstract Wikipedia Page in Wikidata.)