[Wikidata-bugs] [Maniphest] T124191: [Task] Mention that a page is ArticlePlaceholder generated
lucamauri added a comment. In T124191#7320983 <https://phabricator.wikimedia.org/T124191#7320983>, @Manuel wrote: > Awesome! \o/ > Thank you again @lucamauri! Glad to have been able to contribute with useful stuff :-) TASK DETAIL https://phabricator.wikimedia.org/T124191 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: lucamauri Cc: Addshore, Esc3300, Michael, Ladsgroup, Lucas_Werkmeister_WMDE, Manuel, lucamauri, Izno, Pginer-WMF, hoo, Jan_Dittrich, Bugreporter, Lydia_Pintscher, Aklapper, Lucie, Invadibot, maantietaja, Akuckartz, Iflorez, alaa_wmde, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, cmadeo, LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, jayvdb, Ricordisamoa, Mbch331 ___ Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org
[Wikidata-bugs] [Maniphest] T124191: [Task] Mention that a page is ArticlePlaceholder generated
lucamauri added a comment. In T124191#7304540 <https://phabricator.wikimedia.org/T124191#7304540>, @Addshore wrote: > Looks good to me on beta {icon heart} TASK DETAIL https://phabricator.wikimedia.org/T124191 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: lucamauri Cc: Addshore, Esc3300, Michael, Ladsgroup, Lucas_Werkmeister_WMDE, Manuel, lucamauri, Izno, Pginer-WMF, hoo, Jan_Dittrich, Bugreporter, Lydia_Pintscher, Aklapper, Lucie, Invadibot, maantietaja, Akuckartz, Iflorez, alaa_wmde, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, cmadeo, LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, jayvdb, Ricordisamoa, Mbch331 ___ Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org
[Wikidata-bugs] [Maniphest] T289564: Inconsistent behavior of mw.wikibase.getDescription
lucamauri added a comment. In T289564#7304884 <https://phabricator.wikimedia.org/T289564#7304884>, @Lucas_Werkmeister_WMDE wrote: > I don’t think there’s any Wikibase issue here. Wikibase returns the description as plain text without modification; if you want to show it on the page, it’s your responsibility as the module author to escape it, probably by calling `mw.text.nowiki()` on it. You are right, no Wikibase issue, I understand this now. On the other hand, don't you think it's maybe worth to better explain this in the documentation? I mean, what I learnt in the current discussion is not exactly straightforward to someone approaching LUA coding with Wikibase library. This behavior has nothing to do with Wikibase – I now understand – but I think at first sight it might //seem// to be Wikibase-related, so maybe the mechanism can be better explained in the documentation. TASK DETAIL https://phabricator.wikimedia.org/T289564 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: lucamauri Cc: Lucas_Werkmeister_WMDE, matej_suchanek, Agabi10, Aklapper, lucamauri, Invadibot, maantietaja, Akuckartz, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, Mbch331 ___ Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org
[Wikidata-bugs] [Maniphest] T289564: Inconsistent behavior of mw.wikibase.getDescription
lucamauri added a comment. In T289564#7304947 <https://phabricator.wikimedia.org/T289564#7304947>, @matej_suchanek wrote: > Your custom code is exactly the "workaround". Still, the explanation is principally correct, it simply says that if you //return// `{{…}}` from a module, it won't be expanded. But when you call `frame:expandTemplate`, you expand it yourself and don't return any `{{…}}` anymore. (There is an even easier and more evil way, using `frame:preprocess`.) Thanks. The explanation on the manual was a little misleading, at least to me, and it was my understanding that, at the time of the function return, template expansion was not possible any longer //at all//. I see now that the meaning was different. TASK DETAIL https://phabricator.wikimedia.org/T289564 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: lucamauri Cc: Lucas_Werkmeister_WMDE, matej_suchanek, Agabi10, Aklapper, lucamauri, Invadibot, maantietaja, Akuckartz, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, Mbch331 ___ Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org
[Wikidata-bugs] [Maniphest] T289564: Inconsistent behavior of mw.wikibase.getDescription
lucamauri added a comment. In T289564#7304746 <https://phabricator.wikimedia.org/T289564#7304746>, @matej_suchanek wrote: > Therefore the module cannot use these features in its output text. Given this statement, then this cannot be the explanation, because I made it work on my own wiki with some custom code. First I take the output of `mw.wikibase.getDescription()` and then I run `frame:expandTemplate` on the template present in the text, searching for the `{{…}}`. So it's still possible to expand templates after `getDescription` returns. TASK DETAIL https://phabricator.wikimedia.org/T289564 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: lucamauri Cc: matej_suchanek, Agabi10, Aklapper, lucamauri, Invadibot, maantietaja, Akuckartz, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, Mbch331 ___ Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org
[Wikidata-bugs] [Maniphest] T289564: Inconsistent behavior of mw.wikibase.getDescription
lucamauri added a comment. In T289564#7304628 <https://phabricator.wikimedia.org/T289564#7304628>, @matej_suchanek wrote: > This is not an "inconsistency" of `mw.wikibase.getDescription`, but of Scribunto itself Thanks, never noticed this > (and I believe it's on purpose). Even if it's on purpose, IMHO it doesn't make completely sense because is treating similar wikicode in different ways. In any case, even if it is decided that this is the correct behavior, it is necessary to properly document it. TASK DETAIL https://phabricator.wikimedia.org/T289564 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: lucamauri Cc: matej_suchanek, Agabi10, Aklapper, lucamauri, Invadibot, maantietaja, Akuckartz, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, Mbch331 ___ Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org
[Wikidata-bugs] [Maniphest] T289564: Inconsistent behavior of mw.wikibase.getDescription
lucamauri added a comment. In T289564#7304584 <https://phabricator.wikimedia.org/T289564#7304584>, @Agabi10 wrote: > I might be wrong or even misunderstanding the issue, I think you got ir right :-) > but the description in wikibase shouldn't have any wikilinks nor templates. I don't know if that applies to formatting too, I would say no for formatting: consider a description like `This is a '''very''' important item`: it is a meaningful formatting regardless the wiki it is written in. > but wikilinks and templates would make them only useful for the wiki in which they were added and completely useless for third party users Not necessarily. First of all consider the case where the proper name of a person is linked or a general concept: if an item is relevant for a certain wiki, likely the links within the description are as well. Second, let's remember that Wikibase covers installations big and small: not all the instances are Wikidata: I believe there are several cases where Wikibase instance supports just a few wiki, or even one alone. Third, predefined interwiki prefix might be used as well. Anyway, my main point here is that there should be a consistent rationale (whatever it might be) behind the function's behavior and it should be clearly explained in the doc. TASK DETAIL https://phabricator.wikimedia.org/T289564 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: lucamauri Cc: matej_suchanek, Agabi10, Aklapper, lucamauri, Invadibot, maantietaja, Akuckartz, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, Mbch331 ___ Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org
[Wikidata-bugs] [Maniphest] T124191: [Task] Mention that a page is ArticlePlaceholder generated
lucamauri added a comment. In T124191#7283810 <https://phabricator.wikimedia.org/T124191#7283810>, @Izno wrote: > Regardless of the use of messageBox or similar, tables must not be used for layout as in the current patch. This topic was not brought up before, but surely this is a best practice. The box now is constructed using DIV elements. After a conversation with @Lucas_Werkmeister_WMDE I also resolved to not inject markup directly, but to construct it using `Html::rawElement` I uploaded the final patch and just received the `+2` TASK DETAIL https://phabricator.wikimedia.org/T124191 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: lucamauri Cc: Esc3300, Michael, Ladsgroup, Lucas_Werkmeister_WMDE, Manuel, lucamauri, Izno, Pginer-WMF, hoo, Jan_Dittrich, Bugreporter, Lydia_Pintscher, Aklapper, Lucie, Biggs657, Invadibot, Lalamarie69, maantietaja, Juan90264, Alter-paule, Beast1978, Un1tY, Akuckartz, Hook696, Iflorez, Kent7301, alaa_wmde, joker88john, CucyNoiD, Nandana, Gaboe420, Giuliamocci, Cpaulf30, Lahi, Gq86, Af420, Bsandipan, GoranSMilovanovic, QZanden, cmadeo, LawExplorer, Lewizho99, Maathavan, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, jayvdb, Ricordisamoa, Mbch331 ___ Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org
[Wikidata-bugs] [Maniphest] T124191: [Task] Mention that a page is ArticlePlaceholder generated
lucamauri added a comment. In T124191#7223479 <https://phabricator.wikimedia.org/T124191#7223479>, @lucamauri wrote: > Quick recap of the open tasks related to this modification as suggested here and in Gerrit (by @Lucas_Werkmeister_WMDE and @Ladsgroup): > [cut] With some unexpected complications, I finally completed the modifications on the code itself and on testing: Jenkins just gave me the `+2` So to summarize: > - Implement the new message with link {icon check} done with the modifications discussed above > - Add database icon image as internal resource {icon check} done using OOUI icon with the informational `i` for the time being > - possibly submit it as new graphics in OOUI {icon check} done in T287329 <https://phabricator.wikimedia.org/T287329>, hopefully this will be accepted and could be integrated in a future update of this extension > - remove CSS class `mw-articleplaceholder-createarticle-buttons` for the now unused "Create an article" button's DIV {icon check} done as planned > - Use `Html::messageBox()` to envelop the messagebar {icon ban} As stated above, I frankly don't see any advantage in implementing this, on the contrary it seems to complicate the code. I haven't read any additional comments in weeks, so I assume is safe to drop this suggestion I would say the work is done now — @Manuel correct me if I am wrong — and I hope the patch can be accepted. TASK DETAIL https://phabricator.wikimedia.org/T124191 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: lucamauri Cc: Esc3300, Michael, Ladsgroup, Lucas_Werkmeister_WMDE, Manuel, lucamauri, Izno, Pginer-WMF, hoo, Jan_Dittrich, Bugreporter, Lydia_Pintscher, Aklapper, Lucie, Biggs657, Invadibot, Lalamarie69, maantietaja, Juan90264, Alter-paule, Beast1978, Un1tY, Akuckartz, Hook696, Iflorez, Kent7301, alaa_wmde, joker88john, CucyNoiD, Nandana, Gaboe420, Giuliamocci, Cpaulf30, Lahi, Gq86, Af420, Bsandipan, GoranSMilovanovic, QZanden, cmadeo, LawExplorer, Lewizho99, Maathavan, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, jayvdb, Ricordisamoa, Mbch331 ___ Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org
[Wikidata-bugs] [Maniphest] T124191: [Task] Mention that a page is ArticlePlaceholder generated
lucamauri added a comment. In T124191#7223479 <https://phabricator.wikimedia.org/T124191#7223479>, @lucamauri wrote: > - Use `Html::messageBox()` to envelop the messagebar @Ladsgroup I've looked into `messageBox()` as you suggested, but I am not sure I got your point. As far as I understood, `messageBox()` cannot be used directly, but only as `errorBox()`, `successBox()`, and `warningBox()`, right? If this is correct, then I fail to understand the advantage of using these methods: none is suitable out-of-the-box for the kind of message we want to show here, so it seems we would need to tweak CSS classes to make it look like we want. At first sight it seems to me we are adding complexity without any advantage: evidently something escapes me, so I kindly ask you if you can elaborate on your suggestion with more details. Thanks TASK DETAIL https://phabricator.wikimedia.org/T124191 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: lucamauri Cc: Michael, Ladsgroup, Lucas_Werkmeister_WMDE, Manuel, lucamauri, Izno, Pginer-WMF, hoo, Jan_Dittrich, Bugreporter, Lydia_Pintscher, Aklapper, Lucie, Biggs657, Invadibot, Lalamarie69, maantietaja, Juan90264, Alter-paule, Beast1978, Un1tY, Akuckartz, Hook696, Iflorez, Kent7301, alaa_wmde, joker88john, CucyNoiD, Nandana, Gaboe420, Giuliamocci, Cpaulf30, Lahi, Gq86, Af420, Bsandipan, GoranSMilovanovic, QZanden, cmadeo, LawExplorer, Lewizho99, Maathavan, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, jayvdb, Ricordisamoa, Mbch331 ___ Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org
[Wikidata-bugs] [Maniphest] T124191: [Task] Mention that a page is ArticlePlaceholder generated
lucamauri added a comment. @manuel you originally proposed the message text > This is an automatic view based on data from [repoSiteName with link to source entity].There is no article on this topic yet, but you can help to create one. @Lucas_Werkmeister_WMDE correctly pointed out that I arbitrarily changed the link like > This is an automatic view based on [data from repoSiteName with link to source entity].There is no article on this topic yet, but you can help to create one. My line of reasoning is that the link points to the specific item ("data") and not the homepage of //repoSiteName// so I thought about including words "data from" in the link. Is this acceptable to you, or shall I stick to the original text? Thanks TASK DETAIL https://phabricator.wikimedia.org/T124191 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: lucamauri Cc: Michael, Ladsgroup, Lucas_Werkmeister_WMDE, Manuel, lucamauri, Izno, Pginer-WMF, hoo, Jan_Dittrich, Bugreporter, Lydia_Pintscher, Aklapper, Lucie, Biggs657, Invadibot, Lalamarie69, maantietaja, Juan90264, Alter-paule, Beast1978, Un1tY, Akuckartz, Hook696, Iflorez, Kent7301, alaa_wmde, joker88john, CucyNoiD, Nandana, Gaboe420, Giuliamocci, Cpaulf30, Lahi, Gq86, Af420, Bsandipan, GoranSMilovanovic, QZanden, cmadeo, LawExplorer, Lewizho99, Maathavan, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, jayvdb, Ricordisamoa, Mbch331 ___ Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org
[Wikidata-bugs] [Maniphest] T124191: [Task] Mention that a page is ArticlePlaceholder generated
lucamauri added a comment. In T124191#7229363 <https://phabricator.wikimedia.org/T124191#7229363>, @Lucas_Werkmeister_WMDE wrote: > That sounds like you’re using an old Wikibase version? Indeed I am: I usually stick to LTS version so I am on 1.35. > `WikibaseClient::getRepoLinker()` exists since 1.36.0-wmf.34 (before this change <https://gerrit.wikimedia.org/r/c/mediawiki/extensions/Wikibase/+/668102> it was `newRepoLinker()`). That did the trick. **Thanks** once again for your help, I will now continue the work on the modification. TASK DETAIL https://phabricator.wikimedia.org/T124191 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: lucamauri Cc: Michael, Ladsgroup, Lucas_Werkmeister_WMDE, Manuel, lucamauri, Izno, Pginer-WMF, hoo, Jan_Dittrich, Bugreporter, Lydia_Pintscher, Aklapper, Lucie, Biggs657, Invadibot, Lalamarie69, maantietaja, Juan90264, Alter-paule, Beast1978, Un1tY, Akuckartz, Hook696, Iflorez, Kent7301, alaa_wmde, joker88john, CucyNoiD, Nandana, Gaboe420, Giuliamocci, Cpaulf30, Lahi, Gq86, Af420, Bsandipan, GoranSMilovanovic, QZanden, cmadeo, LawExplorer, Lewizho99, Maathavan, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, jayvdb, Ricordisamoa, Mbch331 ___ Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org
[Wikidata-bugs] [Maniphest] T124191: [Task] Mention that a page is ArticlePlaceholder generated
lucamauri added a comment. In T124191#7224419 <https://phabricator.wikimedia.org/T124191#7224419>, @Lucas_Werkmeister_WMDE wrote: > I uploaded a new patch set to inject and use a `RepoLinker`. @Lucas_Werkmeister_WMDE thanks a lot, but it seems I have a problem in my test envirnoment. I implemented all the changes as you wrote in the patch, but I keep getting: …/extensions/ArticlePlaceholder/includes/Specials/SpecialAboutTopic.php: Call to undefined method Wikibase\Client\WikibaseClient::getRepoLinker() at the row with the code WikibaseClient::getRepoLinker( $mwServices ) Any hint on what am I doing wrong? Thanks. TASK DETAIL https://phabricator.wikimedia.org/T124191 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: lucamauri Cc: Michael, Ladsgroup, Lucas_Werkmeister_WMDE, Manuel, lucamauri, Izno, Pginer-WMF, hoo, Jan_Dittrich, Bugreporter, Lydia_Pintscher, Aklapper, Lucie, Biggs657, Invadibot, Lalamarie69, maantietaja, Juan90264, Alter-paule, Beast1978, Un1tY, Akuckartz, Hook696, Iflorez, Kent7301, alaa_wmde, joker88john, CucyNoiD, Nandana, Gaboe420, Giuliamocci, Cpaulf30, Lahi, Gq86, Af420, Bsandipan, GoranSMilovanovic, QZanden, cmadeo, LawExplorer, Lewizho99, Maathavan, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, jayvdb, Ricordisamoa, Mbch331 ___ Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org
[Wikidata-bugs] [Maniphest] T124191: [Task] Mention that a page is ArticlePlaceholder generated
lucamauri added a comment. In T124191#7209588 <https://phabricator.wikimedia.org/T124191#7209588>, @Manuel wrote: > Hi @lucamauri, pretty cool, thank you! I made a suggestion about the message text. What do you think? Would you like to make the change or should the Wikidata team? It seems I have underestimated the complexity of this task. While modifying the message is straightforward, generating the link is not. My line of reasoning is that I should instantiate the `WikibaseClient::getRepoLinker` class to call the `getEntityUrl()` function, but I am unable to do so. Anyone can point me to documentation or code examples on how use the function? Any help will be appreciated. Thanks a lot. TASK DETAIL https://phabricator.wikimedia.org/T124191 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: lucamauri Cc: Ladsgroup, Lucas_Werkmeister_WMDE, Manuel, lucamauri, Izno, Pginer-WMF, hoo, Jan_Dittrich, Bugreporter, Lydia_Pintscher, Aklapper, Lucie, Biggs657, Invadibot, Lalamarie69, maantietaja, Juan90264, Alter-paule, Beast1978, Un1tY, Akuckartz, Hook696, Iflorez, Kent7301, alaa_wmde, joker88john, CucyNoiD, Nandana, Gaboe420, Giuliamocci, Cpaulf30, Lahi, Gq86, Af420, Bsandipan, GoranSMilovanovic, QZanden, cmadeo, LawExplorer, Lewizho99, Maathavan, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, jayvdb, Ricordisamoa, Mbch331 ___ Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org
[Wikidata-bugs] [Maniphest] T124191: [Task] Mention that a page is ArticlePlaceholder generated
lucamauri added subscribers: Lucas_Werkmeister_WMDE, Ladsgroup. lucamauri added a comment. Quick recap of the open tasks related to this modification as suggested here and in Gerrit (by @Lucas_Werkmeister_WMDE and @Ladsgroup): - Implement the new message with link - Add database icon image as internal resource - possibly submit it as new graphics in OOUI - remove CSS class `mw-articleplaceholder-createarticle-buttons` for the now unused "Create an article" button's DIV - Use `Html::messageBox()` to envelop the messagebar TASK DETAIL https://phabricator.wikimedia.org/T124191 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: lucamauri Cc: Ladsgroup, Lucas_Werkmeister_WMDE, Manuel, lucamauri, Izno, Pginer-WMF, hoo, Jan_Dittrich, Bugreporter, Lydia_Pintscher, Aklapper, Lucie, Biggs657, Invadibot, Lalamarie69, maantietaja, Juan90264, Alter-paule, Beast1978, Un1tY, Akuckartz, Hook696, Iflorez, Kent7301, alaa_wmde, joker88john, CucyNoiD, Nandana, Gaboe420, Giuliamocci, Cpaulf30, Lahi, Gq86, Af420, Bsandipan, GoranSMilovanovic, QZanden, cmadeo, LawExplorer, Lewizho99, Maathavan, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, jayvdb, Ricordisamoa, Mbch331 ___ Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org
[Wikidata-bugs] [Maniphest] T124191: [Task] Mention that a page is ArticlePlaceholder generated
lucamauri added a comment. In T124191#7209588 <https://phabricator.wikimedia.org/T124191#7209588>, @Manuel wrote: > Hi @lucamauri, pretty cool, thank you! I made a suggestion about the message text. What do you think? Would you like to make the change or should the Wikidata team? Thanks :-) I think your proposal makes much sense. I'll work on implementing it in the coming days. TASK DETAIL https://phabricator.wikimedia.org/T124191 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: lucamauri Cc: Manuel, lucamauri, Izno, Pginer-WMF, hoo, Jan_Dittrich, Bugreporter, Lydia_Pintscher, Aklapper, Lucie, Biggs657, Invadibot, Lalamarie69, maantietaja, Juan90264, Alter-paule, Beast1978, Un1tY, Akuckartz, Hook696, Iflorez, Kent7301, alaa_wmde, joker88john, CucyNoiD, Nandana, Gaboe420, Giuliamocci, Cpaulf30, Lahi, Gq86, Af420, Bsandipan, GoranSMilovanovic, QZanden, cmadeo, LawExplorer, Lewizho99, Maathavan, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, jayvdb, Ricordisamoa, Mbch331 ___ Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org
[Wikidata-bugs] [Maniphest] T124191: [Task] Mention that a page is ArticlePlaceholder generated
lucamauri added a comment. In T124191#7202897 <https://phabricator.wikimedia.org/T124191#7202897>, @Bugreporter wrote: > The term "data" is very obscure to new users. We should explicitly mention that the data come from Wikidata. "data" might be obscure, but "Wikidata" is not applicable. Remember this extension can be installed on any Wikibase-enabled Mediawiki instance, not only Wikidata. We might use `repoSiteName` to name the instance. I see you made a suggestion earlier in this conversation and I also see that @Lydia_Pintscher and @Jan_Dittrich should have contributed with text, so I am not sure how the decision process should be here. At any rate, the text is contained in a message so it's easily editable as soon as we reached a decision here. TASK DETAIL https://phabricator.wikimedia.org/T124191 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: lucamauri Cc: Manuel, lucamauri, Izno, Pginer-WMF, hoo, Jan_Dittrich, Bugreporter, Lydia_Pintscher, Aklapper, Lucie, Biggs657, Invadibot, Lalamarie69, maantietaja, Alter-paule, Beast1978, Un1tY, Akuckartz, Hook696, Kent7301, joker88john, CucyNoiD, Nandana, Gaboe420, Giuliamocci, Cpaulf30, Lahi, Gq86, Af420, Bsandipan, GoranSMilovanovic, QZanden, cmadeo, LawExplorer, Lewizho99, Maathavan, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, jayvdb, Ricordisamoa, Mbch331 ___ Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org
[Wikidata-bugs] [Maniphest] T124191: [Task] Mention that a page is ArticlePlaceholder generated
lucamauri claimed this task. lucamauri added a comment. For my own purpose, I am implementing this interface element on my own Wikibase instance. I choose a layout along the lines of the design shown in option A, so I am claiming this task and I will soon post my code contribution. I hope you'll find it satisfying. TASK DETAIL https://phabricator.wikimedia.org/T124191 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: lucamauri Cc: lucamauri, Izno, Pginer-WMF, hoo, Jan_Dittrich, Bugreporter, Lydia_Pintscher, Aklapper, Lucie, Invadibot, maantietaja, Akuckartz, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, cmadeo, LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, jayvdb, Ricordisamoa, Mbch331 ___ Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org
[Wikidata-bugs] [Maniphest] T285186: Show property number in the ArticlePlaceholder's AboutTopic special page
lucamauri claimed this task. TASK DETAIL https://phabricator.wikimedia.org/T285186 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: lucamauri Cc: lucamauri, Aklapper, cmadeo, Wikidata-bugs, jayvdb, Ricordisamoa ___ Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org
[Wikidata-bugs] [Maniphest] T285186: Show property number in the ArticlePlaceholder's AboutTopic special page
lucamauri created this task. lucamauri added a project: ArticlePlaceholder. Restricted Application added a subscriber: Aklapper. TASK DESCRIPTION **Feature summary**: I would like to easily see the numeric identifier of a property listed in the `AboutTopic` special page of #articleplaceholder <https://phabricator.wikimedia.org/tag/articleplaceholder/> **Steps to reproduce**: - Call the special page for a specific item on a linked Wikibase instance, like `Special:AboutTopic/Q64` - Properties are listed in boxes: - the name of the property (like `Some property`) is an `` element - the number of the property (like `P12`) is not shown **Use case(s)** : Seeing the actual property number is useful for a number of reason, for instance for debugging LUA modules or templates that are acting of Wikibase data. It also provides the reader with more information. **Proposed solution** : The more unobtrusive, but still easily accessible, way to do this is to set the `title` property of the `` so a tooltip is shown. TASK DETAIL https://phabricator.wikimedia.org/T285186 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: lucamauri Cc: lucamauri, Aklapper, cmadeo, Wikidata-bugs, jayvdb, Ricordisamoa ___ Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org
[Wikidata-bugs] [Maniphest] T250634: Clarification on Interface/Wikibase-SortedProperties to improve documentation
lucamauri closed this task as "Resolved". lucamauri claimed this task. lucamauri added a comment. In T250634#7119260 <https://phabricator.wikimedia.org/T250634#7119260>, @danshick-wmde wrote: > As I see it the manual page now contains answers to questions 1 (client) and 2 (it can be anywhere on the internet) and the "sp_ver" question (no functional impact). If @lucamauri is content we can close this ticket. Thanks @danshick-wmde for your work on the documentation: in my opinion this is much clearer now, I just added a few words and a reference to the source code to better explain how and where the page content is processed. I can only guess all is clear to other interested users as well, but I agree we can close the ticket. Just out of personal curiosity, can you kindly point me to the documentation regarding the `sp_ver` parameter? I saw your explanation in the page and I'd like to learn more. TASK DETAIL https://phabricator.wikimedia.org/T250634 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: lucamauri Cc: Silvan_WMDE, danshick-wmde, Bugreporter, Aklapper, lucamauri, Invadibot, maantietaja, Akuckartz, apaskulin, Nandana, Cpaulf30, Lahi, Gq86, GoranSMilovanovic, Ivana_Isadora, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, Dinoguy1000, Mbch331, Jay8g ___ Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org
[Wikidata-bugs] [Maniphest] T280787: Modify the regex that evaluates the SortedProperties page
lucamauri added a comment. Please also note there is already a task open to discuss about documentation improvement: T250634 <https://phabricator.wikimedia.org/T250634> TASK DETAIL https://phabricator.wikimedia.org/T280787 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: lucamauri Cc: danshick-wmde, Addshore, hoo, Michael, Lydia_Pintscher, Aklapper, lucamauri, Invadibot, maantietaja, Akuckartz, Iflorez, alaa_wmde, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, Jonas, Wikidata-bugs, aude, Mbch331 ___ Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org
[Wikidata-bugs] [Maniphest] T280787: Modify the regex that evaluates the SortedProperties page
lucamauri added a comment. In T280787#7052813 <https://phabricator.wikimedia.org/T280787#7052813>, @hoo wrote: > Just wanted to note that using a template for all the properties on the page surely wont work (these are just to many), Thanks for pointing that out, we might add this to the manual page <https://www.mediawiki.org/wiki/Manual:Interface/Wikibase-SortedProperties> to inform the user. > but IMO this is probably still useful for highlighting specific properties and for wikis which have fewer entries then Wikidata. Actually this is the reason I came up with this modification proposal in first place: I devised it for my own Wikibase instance where I have around 100 properties. So I thought about sharing for other users with similarly small custom Wikibase. TASK DETAIL https://phabricator.wikimedia.org/T280787 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: lucamauri Cc: hoo, Michael, Lydia_Pintscher, Aklapper, lucamauri, Invadibot, maantietaja, Akuckartz, Iflorez, alaa_wmde, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, Jonas, Wikidata-bugs, aude, Mbch331 ___ Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org
[Wikidata-bugs] [Maniphest] T280787: Modify the regex that evaluates the SortedProperties page
lucamauri added a subscriber: Michael. lucamauri added a comment. As per @Michael suggestion, I have modified the new regex for a stricter match, so it now looks like: ^[*#]+\h*(?:\[\[(?:d:)?Property:)?(?:{{[a-zA-Z]+\|)?(P\d+\b) TASK DETAIL https://phabricator.wikimedia.org/T280787 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: lucamauri Cc: Michael, Lydia_Pintscher, Aklapper, lucamauri, Invadibot, Lalamarie69, maantietaja, Alter-paule, Beast1978, Un1tY, Akuckartz, Hook696, Iflorez, Kent7301, alaa_wmde, joker88john, CucyNoiD, Nandana, Gaboe420, Giuliamocci, Cpaulf30, Lahi, Gq86, Af420, Bsandipan, GoranSMilovanovic, QZanden, LawExplorer, Lewizho99, Maathavan, _jensen, rosalieper, Scott_WUaS, Jonas, Wikidata-bugs, aude, Mbch331 ___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
[Wikidata-bugs] [Maniphest] T280787: Modify the regex that evaluates the SortedProperties page
lucamauri created this task. lucamauri added projects: MediaWiki-extensions-WikibaseClient, Wikidata. Restricted Application added a subscriber: Aklapper. TASK DESCRIPTION As explained in the manual page for Interface/Wikibase-SortedProperties <https://www.mediawiki.org/wiki/Manual:Interface/Wikibase-SortedProperties>, the order of properties in a Wikibase item is determined by parsing the `MediaWiki:Wikibase-SortedProperties` page with the regular expression ^[*#]+\h*(?:\[\[(?:d:)?Property:)?(P\d+\b) This matches rows with the plain property name or starting with a link, like: * P7 * [[Property:P8]] I propose to modify the regex so it can match templates as well: * P7 * [[Property:P8]] * {{NiceTemplate|P8}} This would allow the creation of a standard template to present the properties in a more readable and / or more detailed way to the user, still preserving the functionality of the page. The proposed regex is: ^[*#]+\h*(?:\[\[(?:d:)?Property:)?(?:{{.*|)?(P\d+\b) TASK DETAIL https://phabricator.wikimedia.org/T280787 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: lucamauri Cc: Aklapper, lucamauri, Invadibot, maantietaja, Akuckartz, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, Mbch331 ___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
[Wikidata-bugs] [Maniphest] T267098: Message "Wikibase-repo-name" should refer to WikiBase
lucamauri added a comment. I also wrote an explanation in the manual <https://www.mediawiki.org/wiki/Wikibase/Installation/Advanced_configuration#Optional_settings_2>: as `repoSiteName` is a variable like many others, I think it is necessary to explain the user how and why to customize it. TASK DETAIL https://phabricator.wikimedia.org/T267098 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: lucamauri Cc: Lydia_Pintscher, Addshore, lucamauri, Aklapper, Alter-paule, Beast1978, Un1tY, Akuckartz, Hook696, darthmon_wmde, Kent7301, joker88john, CucyNoiD, Nandana, Gaboe420, Giuliamocci, Cpaulf30, Lahi, Gq86, Af420, Bsandipan, GoranSMilovanovic, QZanden, LawExplorer, Lewizho99, Maathavan, _jensen, rosalieper, Scott_WUaS, Jonas, Wikidata-bugs, aude, Mbch331 ___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
[Wikidata-bugs] [Maniphest] T258184: Call to undefined method Wikibase\Client\Hooks\OtherProjectsSidebarGenerator::buildProjectLinkSidebarFromItemId()
lucamauri added a comment. In T258184#6396602 <https://phabricator.wikimedia.org/T258184#6396602>, @Lucas_Werkmeister_WMDE wrote: > I think we can close this. The method is restored, its test is back, and we have an integration test in ArticlePlaceholder. I don't think this problem is fixed. In my own installation Ihave final MW 1.35 an the latest ArticlePlaceholder version, but I am getting the error right now: Error from line 261 of /var/www/mw/wt/extensions/ArticlePlaceholder/includes/AboutTopicRenderer.php: Call to undefined method Wikibase\Client\Hooks\OtherProjectsSidebarGenerator::buildProjectLinkSidebarFromItemId() Backtrace: #0 /var/www/mw/wt/extensions/ArticlePlaceholder/includes/AboutTopicRenderer.php(128): ArticlePlaceholder\AboutTopicRenderer->setOtherProjectsLinks() #1 /var/www/mw/wt/extensions/ArticlePlaceholder/includes/Specials/SpecialAboutTopic.php(170): ArticlePlaceholder\AboutTopicRenderer->showPlaceholder() #2 /var/www/mw/wt/extensions/ArticlePlaceholder/includes/Specials/SpecialAboutTopic.php(131): ArticlePlaceholder\Specials\SpecialAboutTopic->showContent() #3 /var/www/mw/wt/includes/specialpage/SpecialPage.php(600): ArticlePlaceholder\Specials\SpecialAboutTopic->execute() #4 /var/www/mw/wt/includes/specialpage/SpecialPageFactory.php(635): SpecialPage->run() #5 /var/www/mw/wt/includes/MediaWiki.php(307): MediaWiki\SpecialPage\SpecialPageFactory->executePath() #6 /var/www/mw/wt/includes/MediaWiki.php(940): MediaWiki->performRequest() #7 /var/www/mw/wt/includes/MediaWiki.php(543): MediaWiki->main() #8 /var/www/mw/wt/index.php(53): MediaWiki->run() #9 /var/www/mw/wt/index.php(46): wfIndexMain() #10 {main} TASK DETAIL https://phabricator.wikimedia.org/T258184 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Lucas_Werkmeister_WMDE, lucamauri Cc: lucamauri, Michael, Lydia_Pintscher, Ladsgroup, Tpt, Addshore, Aklapper, Lucas_Werkmeister_WMDE, Akuckartz, Iflorez, darthmon_wmde, alaa_wmde, Nandana, Lahi, Gq86, Pablo-WMDE, GoranSMilovanovic, QZanden, cmadeo, LawExplorer, _jensen, rosalieper, Scott_WUaS, Jonas, Verdy_p, Wikidata-bugs, aude, jayvdb, Ricordisamoa, Jdforrester-WMF, Mbch331, Rxy, Jay8g ___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
[Wikidata-bugs] [Maniphest] T267537: Update the query promoted on the frontpage
lucamauri created this task. lucamauri added a project: Wikibase-registry. Restricted Application added a subscriber: Aklapper. Restricted Application added a project: Wikidata. TASK DESCRIPTION On the front page of the site there is an image with the comment > Wikibase instances indexed in the registry as of December 2018. See here for current data. But in fact the query located at this address <https://wikibase-registry-query.wmflabs.org/#%23defaultView%3ATimeline%0ASELECT%20%3Fitem%20%3FitemLabel%20%3FcreationDate%20%28SAMPLE%28%3Flogo%29%20AS%20%3Fimage%29%0AWHERE%0A%7B%0A%20%20%20%20%3Fitem%20wdt%3AP11%20wd%3AQ20%20.%0A%20%20%20%20%3Fitem%20wdt%3AP5%20%3FcreationDate%20.%0A%09SERVICE%20wikibase%3Alabel%20%7B%20bd%3AserviceParam%20wikibase%3Alanguage%20%22%5BAUTO_LANGUAGE%5D%2Cen%22%20%7D%0A%20%20%20%20OPTIONAL%20%7B%20%3Fitem%20wdt%3AP8%20%3Flogo%20%7D%0A%7D%0AGROUP%20BY%20%3Fitem%20%3FitemLabel%20%3FcreationDate> seems to be updated a year ago: F33516895: image.png <https://phabricator.wikimedia.org/F33516895> Is it possible to update this now and perhaps schedule it for update regularly? TASK DETAIL https://phabricator.wikimedia.org/T267537 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: lucamauri Cc: Aklapper, lucamauri, Samantha_Alipio_WMDE, Akuckartz, Nandana, LJ, Lahi, Gq86, SandraF_WMF, Andrawaag, GoranSMilovanovic, QZanden, YULdigitalpreservation, LawExplorer, _jensen, rosalieper, Jneubert, Scott_WUaS, Wikidata-bugs, aude, Daniel_Mietchen, Lydia_Pintscher, Mbch331 ___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
[Wikidata-bugs] [Maniphest] T259691: Configuring sitelinks in Wikibase
lucamauri added a comment. Dear @Johentsch , I' ve recently setup a WikiBase on my own as well, so let me try to help you, if I can. Please note I installed it manually not using the containerized version, but I hope I can still be of help Let me try to help you, if I can. > what the differences are between the architectural decisions (enable Repo/Client only, both, or none) As far as I intend the system: - **none** does not make sense, you would not use WikiBase at all - **Repo-only** if you setup an infrastructure similar to WikiMedia's WikiData: meaning you have a dedicated "data" installation of MediaWiki with WikiBase Repo to provide as a central repositry of data, and you have a separate, client-only, version to consume data. This is how I setup my system as well, incidentally. - **both** is having data and the wiki consuming them in the same MediaWiki installation. Am I right in understanding that you are setting up things like this last case? Meaning you have a single MediaWiki instance (based on a single database) with WikiBase Repo and Client installed and enabled? It seems to me you also have an issue with the `sites` configuration: I think the `filepath` should be --filepath=https://muwi.epfl.ch/w/\$1 please check your setup if this is correct Let's start clarify these few points and then let's go on troubleshooting. TASK DETAIL https://phabricator.wikimedia.org/T259691 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: lucamauri Cc: lucamauri, danshick-wmde, Johentsch, Aklapper, Samantha_Alipio_WMDE, Akuckartz, darthmon_wmde, Jelabra, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, Asahiko, despens, Wikidata-bugs, aude, Addshore, Mbch331 ___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
[Wikidata-bugs] [Maniphest] T261074: No reference for errors in WikiBase API
lucamauri created this task. lucamauri added projects: MediaWiki-extensions-WikibaseRepository, Documentation. Restricted Application added a subscriber: Aklapper. Restricted Application added a project: Wikidata. TASK DESCRIPTION In the documentation for WikiBase API <https://www.mediawiki.org/wiki/Wikibase/API#Possible_errors> it is written that > Possible errors for any module can be found using `action=paraminfo&modules=modulename`. This is actually not true because, calling the `paraminfo` action, only parameters are shown. Can anyone point to the right action to get errors descriprion? Thanks TASK DETAIL https://phabricator.wikimedia.org/T261074 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: lucamauri Cc: Aklapper, lucamauri, Akuckartz, apaskulin, Pavithraes, darthmon_wmde, Nandana, Cpaulf30, Lahi, Gq86, GoranSMilovanovic, Ivana_Isadora, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, Dinoguy1000, Mbch331, Jay8g, Quiddity ___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
[Wikidata-bugs] [Maniphest] T261073: Wikibase/Configuring languages
lucamauri created this task. lucamauri added projects: MediaWiki-extensions-WikibaseRepository, Documentation. Restricted Application added a subscriber: Aklapper. Restricted Application added a project: Wikidata. TASK DESCRIPTION In a custom MediaWiki installation, in the upper pane where Labels are listed, there is a link named //Configure// that points to Help:Extension:Wikibase/Configuring_languages <https://www.mediawiki.org/wiki/Help:Extension:Wikibase/Configuring_languages>. This page should explain how to set the default languages shown into that pane, but the page completely fails at this. In the chapter "Changing the defaults" there is some generic notes on how to improve language recognition for WikiData, but no helpful information on configuring custom WikiBase. Can someone provide the actual explanation on how to do this configuration? Or point to proper documentation if it exist already? Thanks TASK DETAIL https://phabricator.wikimedia.org/T261073 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: lucamauri Cc: lucamauri, Aklapper, Akuckartz, apaskulin, Pavithraes, darthmon_wmde, Nandana, Cpaulf30, Lahi, Gq86, GoranSMilovanovic, Ivana_Isadora, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, Dinoguy1000, Mbch331, Jay8g, Quiddity ___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
[Wikidata-bugs] [Maniphest] [Commented On] T219022: remove sitelink groups from Wikibase Registry
lucamauri added a comment. In T219022#6243578 <https://phabricator.wikimedia.org/T219022#6243578>, @Lydia_Pintscher wrote: > Could you please clarify what you'd specifically want to use them for on the Wikibase Registry? I would like to link the site to relevant sites on other Wikimedia projects. > Because linking to Wikipedia or other Wikimedia projects like it is done on Wikidata is not possible there. I understand this is not possible //now//, but isn't this only a matter of configuration? Shouldn't we simply set the `sites` table and corresponding lines in configuration files to make it works? I mean, Wikibase Registry is a regular MediaWiki instance with Wikibase extension and we should be able to configure SiteLinks functionality the usual way, or am I wrong here? Thanks for explaining Luca TASK DETAIL https://phabricator.wikimedia.org/T219022 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: lucamauri Cc: Samantha_Alipio_WMDE, alaa_wmde, lucamauri, Addshore, Aklapper, Lydia_Pintscher, darthmon_wmde, Nandana, LJ, Lahi, Gq86, SandraF_WMF, Andrawaag, GoranSMilovanovic, QZanden, YULdigitalpreservation, LawExplorer, _jensen, rosalieper, Jneubert, Scott_WUaS, Wikidata-bugs, aude, Daniel_Mietchen, Mbch331 ___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
[Wikidata-bugs] [Maniphest] [Commented On] T219022: remove sitelink groups from Wikibase Registry
lucamauri added a comment. Dear @Lydia_Pintscher , may I suggest tot keep the sitelink functionality on Wikibase Registry? I do not completely agree that sitelink are not needed: I would point out that sitelink would help in getting more information on a specific item, without duplicating information, but easily linked them on Wikipedia and other sister projects wikis. You are totally right they looks ugly now, but this is simply because they are not properly configured. I would take care of fixing them (or removing, if there are really no alternatives), but I am unsure how to so. Is WB registry handled on Gerrit? Or how can I modify the configuration files and - possibly - the `sites` table? Thanks for any hints you might provide Luca TASK DETAIL https://phabricator.wikimedia.org/T219022 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: lucamauri Cc: alaa_wmde, lucamauri, Addshore, Aklapper, Lydia_Pintscher, Samantha_Alipio_WMDE, darthmon_wmde, Nandana, LJ, Lahi, Gq86, SandraF_WMF, Andrawaag, GoranSMilovanovic, QZanden, YULdigitalpreservation, LawExplorer, _jensen, rosalieper, Jneubert, Scott_WUaS, Wikidata-bugs, aude, Daniel_Mietchen, Mbch331 ___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
[Wikidata-bugs] [Maniphest] [Commented On] T250634: Clarification on Interface/Wikibase-SortedProperties to improve documentation
lucamauri added a comment. Dear @Bugreporter may I kindly ask you if you can still help with the other questions above? Or can you mention someone that can help? So I can finish the work on the instruction page and close this task Thanks! TASK DETAIL https://phabricator.wikimedia.org/T250634 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: lucamauri Cc: Bugreporter, Aklapper, lucamauri, Pavithraes, darthmon_wmde, Nandana, Cpaulf30, Lahi, Gq86, GoranSMilovanovic, Ivana_Isadora, Jayprakash12345, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, Dinoguy1000, Mbch331, Jay8g ___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
[Wikidata-bugs] [Maniphest] [Updated] T231188: documentation for configuring sitelink section on Items for 3rd party installations
lucamauri added a comment. Dear @danshick-wmde , just as a brief introduction, please be informed that I started about one year ago to work on my own WikiBase instance: as I was an absolute beginner I scanned all the documentation I could find. Along the way I found myself stuck several times in configuring WikiBase and, where I personally found the documentation lacking information, I tried to integrate it with information to help fellow beginners like me. So I am working on this, albeit very slowly, as mentioned in other tickets: - T206966 <https://phabricator.wikimedia.org/T206966> - T218282 <https://phabricator.wikimedia.org/T218282> - T242946 <https://phabricator.wikimedia.org/T242946> - T250634 <https://phabricator.wikimedia.org/T250634> - T240189 <https://phabricator.wikimedia.org/T240189> I read in this ticket that it is required to provide documentation for SiteLink configuration, but, as far as I can tell, we already fixed this T218282 <https://phabricator.wikimedia.org/T218282> so I am a little puzzled. I am wondering: is that documentation not up to standard? It does not seems to me to be the case as answers to all the requirements. Is it not in the right place? I am not sure if we intend to keep putting all the information in the "Installation" and "Configuration" pages on MediaWiki.org or if we want to setup another location or another standard for it. learningwikibase.com <http://learningwikibase.com> for instance, is another resources I found somewhat useful, but information there are not always complete and not always up-to-date with edits on MediaWiki documentation. Potentially this task could be closed immediately, as far as I can see, but the fact the the problem was raised in first place, led me to believe that maybe the current documentation is not up to a wanted content and format standard. IMHO we should first of all clarify such a standard, before proceed writing documentation. Sorry for the long post and thanks for listening to me. I am and will be very happy on contributing here where I can. TASK DETAIL https://phabricator.wikimedia.org/T231188 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: lucamauri Cc: danshick-wmde, lucamauri, Addshore, Aklapper, Lydia_Pintscher, Pavithraes, darthmon_wmde, Nandana, Cpaulf30, Lahi, Gq86, GoranSMilovanovic, Ivana_Isadora, Jayprakash12345, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, Dinoguy1000, Mbch331, Jay8g ___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
[Wikidata-bugs] [Maniphest] [Claimed] T231188: documentation for configuring sitelink section on Items for 3rd party installations
lucamauri claimed this task. lucamauri added a comment. Dear @Lydia_Pintscher I would work on this task, as I believe the documentation is pretty much there and only needs minimum adjustment. But I need one clarification before starting: in what form should this documentation be written and where should it be placed? Are wikitext and the Installation manual <https://www.mediawiki.org/wiki/Wikibase/Installation> ok? TASK DETAIL https://phabricator.wikimedia.org/T231188 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: lucamauri Cc: danshick-wmde, lucamauri, Addshore, Aklapper, Lydia_Pintscher, Pavithraes, darthmon_wmde, Nandana, Cpaulf30, Lahi, Gq86, GoranSMilovanovic, Ivana_Isadora, Jayprakash12345, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, Dinoguy1000, Mbch331, Jay8g ___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
[Wikidata-bugs] [Maniphest] [Updated] T231188: documentation for configuring sitelink section on Items for 3rd party installations
lucamauri added a comment. We discussed this at length in T218282 <https://phabricator.wikimedia.org/T218282>. Is the current documentation in the installation manual <https://www.mediawiki.org/wiki/Wikibase/Installation#Enable_Sitelinks> not clear enough? In that section of the manual we wrote a clear explanation of what a SiteLInk is, how to set them up and how to disable them. It seems to me it answers all the questions mentioned here. TASK DETAIL https://phabricator.wikimedia.org/T231188 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: lucamauri Cc: lucamauri, Addshore, Aklapper, Lydia_Pintscher, Pavithraes, darthmon_wmde, Nandana, Cpaulf30, Lahi, Gq86, GoranSMilovanovic, Ivana_Isadora, Jayprakash12345, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, Dinoguy1000, Mbch331, Jay8g ___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
[Wikidata-bugs] [Maniphest] [Commented On] T240189: Document $wgWBRepoSettings['statementSections'] in /docs/options in Wikibase
lucamauri added a comment. For your information, I just added a brief explanation of this feature in the "Advanced Configuration" page <https://www.mediawiki.org/wiki/Wikibase/Installation/Advanced_configuration#Optional_settings> TASK DETAIL https://phabricator.wikimedia.org/T240189 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Ladsgroup, lucamauri Cc: lucamauri, Lydia_Pintscher, DD063520, Addshore, Aklapper, Blissjay007, Oblanco79, Alter-paule, Hazizibinmahdi, Beast1978, Un1tY, Hook696, Daryl-TTMG, RomaAmorRoma, E.S.A-Sheild, Iflorez, Pavithraes, darthmon_wmde, Kent7301, alaa_wmde, Meekrab2012, joker88john, CucyNoiD, Nandana, NebulousIris, Gaboe420, Versusxo, Majesticalreaper22, Giuliamocci, Adrian1985, Cpaulf30, Lahi, Gq86, Af420, Darkminds3113, Bsandipan, Lordiis, GoranSMilovanovic, Ivana_Isadora, Adik2382, Jayprakash12345, Th3d3v1ls, Ramalepe, Liugev6, QZanden, LawExplorer, WSH1906, Lewizho99, Maathavan, _jensen, rosalieper, Scott_WUaS, Jonas, Wikidata-bugs, aude, Dinoguy1000, Mbch331, Jay8g ___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
[Wikidata-bugs] [Maniphest] [Commented On] T250634: Clarification on Interface/Wikibase-SortedProperties to improve documentation
lucamauri added a comment. In T250634#6069875 <https://phabricator.wikimedia.org/T250634#6069875>, @Bugreporter wrote: > This means the MediaWiki:Wikibase-SortedProperties in Wikidata is used in all Wikibase clients. clients do not have Wikibase Repository installed, so they do not use wgWBRepoSettings. Pardon me, this is still not completely clear to me. You are saying that this `wgWBClientSettings` is to be placed into Repository's configuration file and then inherited by the clients? Or that a separate `wgWBClientSettings` needs to be placed on each Clients' configuration? > You can place it in any place (page name) in any wiki. The only thing is make sure the setting is pointed to that page. Note if the page is publicly editable, this may be a target of vandalism. Understood, thanks. > See https://gerrit.wikimedia.org/g/mediawiki/extensions/Wikibase/+/52e59d940192da6cf0e3ac90b65e57918cdcd6ff/lib/includes/Store/WikiTextPropertyOrderProvider.php > The actual regex is ^\*\h*(?:\[\[(?:d:)?Property:)?(P\d+\b) which matches a string (case-insensitive): Crystal clear, now, Thanks TASK DETAIL https://phabricator.wikimedia.org/T250634 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: lucamauri Cc: Bugreporter, Aklapper, lucamauri, Pavithraes, darthmon_wmde, Nandana, Cpaulf30, Lahi, Gq86, GoranSMilovanovic, Ivana_Isadora, Jayprakash12345, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, Dinoguy1000, Mbch331, Jay8g ___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
[Wikidata-bugs] [Maniphest] [Created] T250634: Clarification on Interface/Wikibase-SortedProperties to improve documentation
lucamauri created this task. lucamauri added projects: Wikibase-Lua, MediaWiki-extensions-WikibaseRepository, MediaWiki-extensions-WikibaseClient, Documentation. Restricted Application added a subscriber: Aklapper. Restricted Application added a project: Wikidata. TASK DESCRIPTION As I am willing to use mw.wikibase.getPropertyOrder <https://www.mediawiki.org/wiki/Extension:Wikibase_Client/Lua#mw.wikibase.getPropertyOrder> method in a Module on my local WikiBase instance, I ended up on the manual page for Interface/Wikibase-SortedProperties <https://www.mediawiki.org/wiki/Manual:Interface/Wikibase-SortedProperties> . There are a few things regarding this page that IMHO are unclear and its use is not properly explain. I would like to improve documentation, but I need input from an expert to clarify things. **1)** First of all, is this setting a "Client" or a "Repository" one? On the manual page, the example is: $wgWBRepoSettings['propertyOrderUrl'] = $wgServer . '/w/index.php?title=MediaWiki:Wikibase-SortedProperties&action=raw&sp_ver=1'; while in the WikiData own configuration (found here on Gerrit <https://gerrit.wikimedia.org/r/#/c/operations/mediawiki-config/+/326133/2/wmf-config/Wikibase-production.php> after reading T149540 <https://phabricator.wikimedia.org/T149540>), the string is written as: $wgWBClientSettings['propertyOrderUrl'] = 'https://www.wikidata.org/w/index.php?title=MediaWiki:Wikibase-SortedProperties&action=raw&sp_ver=1'; So it is unclear if this configuration has to set once in the Repository installation, being valid for all the Clients connected, or if it needs to be set on each of the Clients. **2)** Second question: is there limitation on where the `MediaWiki:Wikibase-SortedProperties` can be placed? Can it be either on Repository or Client MediaWiki? **3)** Third question: in the manual it is written > For best results, simply follow the conventions present in Wikidata's Wikibase-SortedProperties page <https://www.wikidata.org/w/index.php?title=MediaWiki:Wikibase-SortedProperties&action=edit>. I would better specify what these conventions are. My induction is that the parsing work this way - each row //not// starting by `*` is ignored - if a row start with `*P…` or `* P…`, the property is extracted, ignoring everything following the first space after `P…` Am I correct in these assumptions? I would kindly ask anybody with a deep understanding of this mechanism to contribute here, so documentation can be improved for the sake of all the users. TASK DETAIL https://phabricator.wikimedia.org/T250634 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: lucamauri Cc: Aklapper, lucamauri, Pavithraes, darthmon_wmde, Nandana, Cpaulf30, Lahi, Gq86, GoranSMilovanovic, Ivana_Isadora, Jayprakash12345, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, Dinoguy1000, Mbch331, Jay8g, Quiddity ___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
[Wikidata-bugs] [Maniphest] [Claimed] T242946: Improve Wikibase/Installation/Advanced configuration instructions
lucamauri claimed this task. lucamauri added a comment. As I am setting up a Wikibase Repository/Client pair instance with the latest version, I would like to start improve documentation. I actaully started a few hours ago by clarifying https://www.mediawiki.org/wiki/Wikibase/Installation/Advanced_configuration#Required_settings Everyone's input is surely welcome and useful TASK DETAIL https://phabricator.wikimedia.org/T242946 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: lucamauri Cc: Aklapper, lucamauri, darthmon_wmde, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, Mbch331 ___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
[Wikidata-bugs] [Maniphest] [Created] T242946: Improve Wikibase/Installation/Advanced configuration instructions
lucamauri created this task. lucamauri added a project: Wikidata. Restricted Application added a subscriber: Aklapper. TASK DESCRIPTION Advanced Wikibase installation instruction as writen here https://www.mediawiki.org/wiki/Wikibase/Installation/Advanced_configuration are incomplete, not always clear and in some point outdated. As this document is of paramount importance for a user trying to install his or her own Wikibase instance, I propose we fix the documentation. Overall the document is not bad and not that outdated, so I think this is a review that can be done in a reasonable amount of time. The aim in my opinion should be: - Check all the links and fix them - Read all the instructions and insure they are clearly understandable to Wikibase newcomers, in fact they should be able to //explain// wikibase workings to a beginner - Consolidate redundant information on the same concept into a single explanantion (for instance see //Required settings// and //Available settings//) At the end of this revision, we can remove the `Update` banner and simplifying the Wikibase setup. TASK DETAIL https://phabricator.wikimedia.org/T242946 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: lucamauri Cc: Aklapper, lucamauri, darthmon_wmde, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, Mbch331 ___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
[Wikidata-bugs] [Maniphest] [Commented On] T185313: mw.wikibase.entity:getBacklinks (lua API in wikibase client)
lucamauri added a comment. As this function would be very significant for a project of mine, I would like to work on it. I am willing to put effort in implementing such a function, but I have some difficulties to get started with it. I read above that the function already exist in Wikibase API, so I started by looking at the documentation here https://doc.wikimedia.org/Wikibase/master/php/classWikibase_1_1Repo_1_1Api_1_1QuerySearchEntities.html but it seems I am a little lost. Can somebody point me in the right direction so then I can start the work on it? Thanks for any help you might provide TASK DETAIL https://phabricator.wikimedia.org/T185313 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: lucamauri Cc: lucamauri, Mahir256, Njardarlogar, Townie, Uzume, Aklapper, Ghuron, darthmon_wmde, Dinadineke, DannyS712, Nandana, tabish.shaikh91, Lahi, Gq86, GoranSMilovanovic, Soteriaspace, Jayprakash12345, JakeTheDeveloper, QZanden, merbst, LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, TheDJ, Mbch331 ___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
[Wikidata-bugs] [Maniphest] [Commented On] T218282: documentation for sites setup
lucamauri added a comment. In T218282#5115798 <https://phabricator.wikimedia.org/T218282#5115798>, @Michael wrote: > Rethinking the structure of the documentation sounds reasonable. However, rewriting it from scratch would certainly be a large effort. Thus, I would suggest that we get this specific piece of information merged first, so that we can point other users with that problem to it. Also, @Lydia_Pintscher is the one that decides how to move forward with the documentation and how to prioritise it with respect to our other tasks. I understood this would be a huge feat, but still worthy in my opinion because the platform will be as useful for the user as they find it easy to configure and use. But I am nobody in this project to push for anything. Anyway, if @Lydia_Pintscher decides for a plan like this, I would surely be glad to help > Mh, you might be right there. I added some more information about direct access to it. What do you think? I like the way you put it down, very helpful at first sight > I dropped it for now. Especially, if we also talk about direct access, then it might start to get confusing. Because, even if one sets a sitelink to a Wikipedia page, one obviously could not use direct access to link back to the custom repo-wiki. Now it should be easier to follow. This is maybe a candidate for the //Advanced// page. The box is named automatically as `Wikibase-sitelinks-yourgroupnamehere` so it's ugly, but very understandable to the user. After the user has set the environment up, they might want to polish a little and adjust the title of the box: at that point looking in the //Advanced// page sounds reasonable. > Feel free to rephrase any of it if you think of something :) I'll be a little busy today, but I'll do my best to have a closer look to it and contribute where I can 😊 TASK DETAIL https://phabricator.wikimedia.org/T218282 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Michael, lucamauri Cc: Ladsgroup, johl, Addshore, lucamauri, Aklapper, Lea_Lacroix_WMDE, Lydia_Pintscher, alaa_wmde, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Jonas, Wikidata-bugs, aude, Mbch331 ___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
[Wikidata-bugs] [Maniphest] [Commented On] T218282: documentation for sites setup
lucamauri added a comment. In T218282#5114533 <https://phabricator.wikimedia.org/T218282#5114533>, @Michael wrote: > @lucamauri Your feedback is very welcome and helpful. Thank you! My pleasure if I can help any other user 😊 > Yes, I intended to prune the other "Advanced" config to remove duplication. I suggested adding this content to the main installation page, because the Item pages feel actively broken/incomplete without it, since the sitelinks are such a large section on the Item page. Surely I agree with you. May I suggest to work on the documentation on higher level? I would start from scratch writing down all the relevant topics in the config (like they are sections heading), choose if they belong to //Basic// or //Advanced// and then fill the content. To a newcomer like me, the documentation looks only partly coordinated and very often just a bunch of notes. Much of the text can and should be reused, but the structure can be improved, I think. Does in your opinion make sense to start such an effort? Maybe I can help as well with the notes I took along the way. > Yes, some introduction is a good idea. I would like to focus here more on getting the sitelinks on the Item pages to work and have a guide about Direct Access on the advanced config page or somewhere else. To this point I must respectfully disagree as – at least in my personal experience with Wikibase – it was not easy to grasp the relations between SL and DA at first glance. If we go on with the respective guides in two separate pages, please let's have a clear hyperlink between the two > No, `Extension:WikimediaMessages` is only needed if one wants to use the default/example settings. Apparently, I should phrase this clearer. Or maybe drop it completely, because 3rd Party installations will likely never use it. I would rephrase it. Can I directly contribute to the subpage in case I can think of something else? > True, I mainly intended it as a verification step, as the SiteLink widget in the related box in the item's page can give for some problems no error message at all. However, you are very right as far as everyday usage is concerned. Now that you put like that, I see your point. In fact, using that method, maybe would have helped //me// as well at the beginning. Maybe we can instruct the user to try in the box and, if it does not work, to try again on that page for some troubleshooting. TASK DETAIL https://phabricator.wikimedia.org/T218282 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Michael, lucamauri Cc: Ladsgroup, johl, Addshore, lucamauri, Aklapper, Lea_Lacroix_WMDE, Lydia_Pintscher, alaa_wmde, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Jonas, Wikidata-bugs, aude, Mbch331 ___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
[Wikidata-bugs] [Maniphest] [Commented On] T218282: documentation for sites setup
lucamauri added a comment. In T218282#5107406 <https://phabricator.wikimedia.org/T218282#5107406>, @Michael wrote: > Please have a look at the draft at https://www.mediawiki.org/wiki/User:Michael_Gro%C3%9Fe_(WMDE)/WikibaseSiteLinksDoku . This draft is intended to be added to https://www.mediawiki.org/wiki/Wikibase/Installation as a same-level headline after the `Verify your installation` section. > > Please check if > > - the text is easy to understand and follow > - you consider this the right place to add it > - the text fulfills the acceptance criteria as defined above. Dear @Michael , thanks for your effort and thanks for using some of my contributions for the instructions you wrote. I reviewed your text and following please find my considerations: - If this is the right place to add the text depends on what we consider //Standard// and //Advanced// configuration. I agree to put this specific text where you suggest to, but then I am not sure any longer if it make sense to have two separate installation instructions page, instead of one well-organized one - The candidate documentation in my opinion fails to explain the user the concepts behind. As I wrote above, I consider this of paramount importance. The paragraph is titled `Enable SiteLinks`, but nowhere is explained what a "SiteLink" is or what relation has with "Direct Access". In the brief introduction I wrote, those terms were at least referenced and linked - Are we sure that `Extension:WikimediaMessages` must be installed to edit messages? In my installation I was able to modify them by simply editing the page `MediaWiki:Wikibase-sitelinks-yourgroupnamehere` - I would move `$wgWBRepoSettings` //after// the instructions about Sites (if not, //above// and //below// must be adapted) - It seems to me that using `Special:SetSiteLink` is less user-friendly than setting the SiteLink in the related box in the item's page - I think the wiki where //Repository// is installed should be referenced in a clearer way in respect to simply //your wiki//: as we are always talking about wikis, I am not sure it is clear to the users what is the //consumer// and what the //consumed// one I am surely biased here – and this is the reason I would be glad to see other contributions as well – but I still find the instructions more linear and informative the way I originally wrote them. Please bear in mind that I started as an absolute beginner of Wikibase, so the documentation I wrote is the result of the process of learning how to configure Wikibase starting from scratch and formalizing Wikibase concepts by induction. TASK DETAIL https://phabricator.wikimedia.org/T218282 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Michael, lucamauri Cc: Ladsgroup, johl, Addshore, lucamauri, Aklapper, Lea_Lacroix_WMDE, Lydia_Pintscher, alaa_wmde, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Jonas, Wikidata-bugs, aude, Mbch331 ___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
[Wikidata-bugs] [Maniphest] [Commented On] T218282: documentation for sites setup
lucamauri added a comment. In T218282#5112640 <https://phabricator.wikimedia.org/T218282#5112640>, @Ladsgroup wrote: > One thing that seems missing from the documentation is how to insert your site into sites table. That's actually hard to do manually and I never was able to do it properly. What I do is to run this type of code in eval.php My opinion is that the right place for those instructions is https://www.mediawiki.org/wiki/Manual:Sites_table#Managing_the_sites_table In fact I added instructions there in order to use a manually created XML to import sites: in my experience it is by far the simpler and more versatile procedure. TASK DETAIL https://phabricator.wikimedia.org/T218282 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Michael, lucamauri Cc: Ladsgroup, johl, Addshore, lucamauri, Aklapper, Lea_Lacroix_WMDE, Lydia_Pintscher, alaa_wmde, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Jonas, Wikidata-bugs, aude, Mbch331 ___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
[Wikidata-bugs] [Maniphest] [Changed Subscribers] T218282: documentation for sites setup
lucamauri added a subscriber: Addshore. lucamauri added a comment. Please allow me another comment after @Addshore edit above. My personal impression with the documentation is that it is too directive without really explaining: the user is guided doing several tasks one after the other, but there is no explanation on what the user is actually doing and how this would reflect in the Wikibase operations. For instance, as we are discussing here, the user is told to run `populateSitesTable.php` but nowhere is explained //what// the `sites` table contains and what sites are added via this script. If a user is setting up a custom Wikibase installation, most likely this "standard" sites are not even necessary at all. What I tried to do adding the instructions here https://www.mediawiki.org/wiki/Wikibase/Installation/Advanced_configuration#Direct_access_and_SiteLinks was to share a procedure as much as explaining //why// the procedure must be done and //what// result the user will get eventually. As a newcomer to Wikibase, I found the most difficult thing being not understanding the general principles of the extension, before actually make it work. For instance, again, nowhere was //explained// what //Sitelinks// are and what is their relation with the //Direct Access//: after I grasped the way it actually functioned, doing the configuration ended up being the easiest part. My two cents at the end of the day, so, are: let's review the documentation //first// explaining the user how Wikibase works, //then// helping the user set it up to work like he would. TASK DETAIL https://phabricator.wikimedia.org/T218282 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: lucamauri Cc: Addshore, lucamauri, Aklapper, Lea_Lacroix_WMDE, Lydia_Pintscher, alaa_wmde, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Jonas, Wikidata-bugs, aude, Mbch331 ___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
[Wikidata-bugs] [Maniphest] [Commented On] T218282: documentation for sites setup
lucamauri added a comment. After my personal experience in setting up a customized Wikibase repository, I wrote a quick explanation on how to enable //Direct Access// using the //SiteLinks//. I placed the text in the "Advanced configuration" page <https://www.mediawiki.org/wiki/Wikibase/Installation/Advanced_configuration#Direct_access_and_SiteLinks>. I hope this is a useful contribution and that it will be useful for other users setting //Wikibase// up. TASK DETAIL https://phabricator.wikimedia.org/T218282 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: lucamauri Cc: lucamauri, Aklapper, Lea_Lacroix_WMDE, Lydia_Pintscher, alaa_wmde, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Jonas, Wikidata-bugs, aude, Mbch331 ___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
[Wikidata-bugs] [Maniphest] [Commented On] T206966: Wikibase does not support database table prefix
lucamauri added a comment. I just setup my own Wikibase installation using two instances as per the original message of @KitsuneSolar . I created one wiki where both //Repository// and //Client// are installed and it worked like a charm even with table prefix. The other instance only contains //Client// and in fact I had the same issue explained here: the client only look for `wb_items_per_site` without any table prefix. I believe the problem lies in the fact that the table prefix is set in the `Localsettings.php` file of the //Repository// instance, but there is no way to configure the table prefix in `WikibaseClient.example.php` of the //Client// instance. In fact reinstalling a new //Repository// MediaWiki instance without table prefix solved the issue. TASK DETAIL https://phabricator.wikimedia.org/T206966 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: lucamauri Cc: lucamauri, Addshore, Aklapper, KitsuneSolar, Nandana, Banyek, Rayssa-, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, Wikidata-bugs, aude, Dinoguy1000, Mbch331, Jay8g ___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs