[Wikidata-bugs] [Maniphest] T267793: Allow entering Wikidata sitelinks to sites using an alternative (alias) site ID (not matching the database name)

2020-11-15 Thread Addshore
Addshore added a comment.


  I'm confused by the need to create a new task (as far as I can see this is 
for the same thing / the title is the same.
  Now all of the tasks that reference that last task point to a closed ticket 
instead of an open ticket, and there si one layer of extra indirection to find 
what people are looking for.
  And the subscribers that are interested are now gone etc..
  We could merge the other one into this one as a duplicate? and move over the 
parent tasks? But I think we may as well just continue using the old ticket 
then?
  
  ---
  
  Regarding the TODOs
  
  > alias site IDs are the IDs presented to the user in the sitelink editing UI 
- TODO: which one if there are multiple aliases per "canonical site ID"?
  >  alias site IDs are presented in the JSON output provided by Wikibase APIs 
(including Special:EntityData) - TODO: which one if there are multiple aliases 
per "canonical site ID"?
  
  Looking at the task description of T114772 
 though the detail seems to be 
missing in this new ticket description.
  
  > zh-classical, zh-min-nan and be-tarask are the IDs presented to the user in 
the sitelink editing UI
  >  zh-classical, zh-min-nan and be-tarask are the IDs presented in the JSON 
output provided by Wikibase APIs (including Special:EntityData)
  
  This won't be hardcoded so I gather that a siteid for presentation is also 
needed in the configuration.
  Though that should also take into account this AC.
  
  > Any canonical site id that has _ in them (like zh_min_nanwiki) has an alias 
of the underline replaced with dash (-> zh-min-nan) as a generic rule.
  
  So even with 0 configuration, if a siteid has an `_`, the presentation site 
id should have `-`s?

TASK DETAIL
  https://phabricator.wikimedia.org/T267793

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Addshore
Cc: Lucas_Werkmeister_WMDE, Lydia_Pintscher, Aklapper, Ladsgroup, Addshore, 
WMDE-leszek, Akuckartz, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, 
LawExplorer, _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] T267878: Wikidata Bridge error

2020-11-15 Thread DannyS712
DannyS712 updated the task description.

TASK DETAIL
  https://phabricator.wikimedia.org/T267878

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: DannyS712
Cc: Aklapper, IEmbat, Akuckartz, Michael, Nandana, Lahi, Gq86, 
GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, 
abian, Wikidata-bugs, aude, Lydia_Pintscher, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] T267878: Wikidata Bridge error

2020-11-15 Thread IEmbat
IEmbat created this task.
IEmbat added a project: Wikidata-Bridge.
Restricted Application added a subscriber: Aklapper.
Restricted Application added a project: Wikidata.

TASK DESCRIPTION
  The error happened on: https://ca.wikipedia.org/wiki/Joan_March_Noguera
  Item title: Q11927808
  Property: P569 
  Error message: INITIALIZATION_ERROR
  Debug information:
  
[
{
"type": "INITIALIZATION_ERROR",
"info": {
"errors": [
{
"code": "badtoken",
"info": "⧼badtoken⧽",
"docref": "See https://www.wikidata.org/w/api.php for 
API usage. Subscribe to the mediawiki-api-announce mailing list at 
; for 
notice of API deprecations and breaking changes."
}
],
"line": 31,
"column": 62826,
"sourceURL": 
"https://ca.wikipedia.org/w/load.php?lang=ca&modules=wikibase.client.data-bridge.app.modern&skin=vector&version=11y4c";,
"name": "Error",
"message": "badtoken",
"stack": 
"_r@https://ca.wikipedia.org/w/load.php?lang=ca&modules=wikibase.client.data-bridge.app.modern&skin=vector&version=11y4c:31:62826\nmwApiRejectionToError@https://ca.wikipedia.org/w/load.php?lang=ca&modules=wikibase.client.data-bridge.app.modern&skin=vector&version=11y4c:31:63650\nmightThrow@https://ca.wikipedia.org/w/load.php?lang=ca&modules=jquery%2Coojs-ui-core%2Coojs-ui-widgets&skin=vector&version=3zmex:49:154\nhttps://ca.wikipedia.org/w/load.php?lang=ca&modules=jquery%2Coojs-ui-core%2Coojs-ui-widgets&skin=vector&version=3zmex:49:818";
}
}
]

TASK DETAIL
  https://phabricator.wikimedia.org/T267878

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: IEmbat
Cc: Aklapper, IEmbat, Akuckartz, Michael, Nandana, Lahi, Gq86, 
GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, 
abian, Wikidata-bugs, aude, Lydia_Pintscher, 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()

2020-11-15 Thread lucamauri
lucamauri added a comment.


  In 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] T258244: Show user babel languages at top of language selection for monolingual language selector

2020-11-15 Thread Amire80
Amire80 added a comment.


  Sorry, sent too early:
  
  ... And Babel languages can be there, too. We did it in Compact Language 
Links, and the code can be copied from there.

TASK DETAIL
  https://phabricator.wikimedia.org/T258244

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Amire80
Cc: Amire80, Base, Aklapper, Raymond, CBogen, Nintendofan885, Akuckartz, 
Nandana, JKSTNK, Lahi, PDrouin-WMF, Gq86, E1presidente, Ramsey-WMF, Cparle, 
Anooprao, SandraF_WMF, GoranSMilovanovic, QZanden, Tramullas, Acer, 
LawExplorer, Salgo60, Silverfish, _jensen, rosalieper, Scott_WUaS, Susannaanas, 
Jane023, Wikidata-bugs, matthiasmullie, aude, Ricordisamoa, Wesalius, 
Lydia_Pintscher, Fabrice_Florin, Steinsplitter, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] T258244: Show user babel languages at top of language selection for monolingual language selector

2020-11-15 Thread Raymond
Raymond added a comment.


  In T258244#6622555 , 
@Amire80 wrote:
  
  > 
  
  Our user research showed that most people can easily find languages by using 
the search box and without scrolling.
  
  But this is really, really annoying to set the cursor over and over again 
into the language field and type "Deut..." and select "Deutsch" (=German) then. 
As a native German speaking unser I want to add text in German primarily. A 
simple click would make my life much easier.

TASK DETAIL
  https://phabricator.wikimedia.org/T258244

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Raymond
Cc: Amire80, Base, Aklapper, Raymond, CBogen, Nintendofan885, Akuckartz, 
Nandana, JKSTNK, Lahi, PDrouin-WMF, Gq86, E1presidente, Ramsey-WMF, Cparle, 
Anooprao, SandraF_WMF, GoranSMilovanovic, QZanden, Tramullas, Acer, 
LawExplorer, Salgo60, Silverfish, _jensen, rosalieper, Scott_WUaS, Susannaanas, 
Jane023, Wikidata-bugs, matthiasmullie, aude, Ricordisamoa, Wesalius, 
Lydia_Pintscher, Fabrice_Florin, Steinsplitter, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] T258244: Show user babel languages at top of language selection for monolingual language selector

2020-11-15 Thread Amire80
Amire80 added a comment.


  In T258244#6622573 , 
@Raymond wrote:
  
  > In T258244#6622555 , 
@Amire80 wrote:
  >
  >> 
  >
  > Our user research showed that most people can easily find languages by 
using the search box and without scrolling.
  >
  > But this is really, really annoying to set the cursor over and over again 
into the language field and type "Deut..." and select "Deutsch" (=German) then. 
As a native German speaking unser I want to add text in German primarily. A 
simple click would make my life much easier.
  
  Yes, and as I wrote, putting the user's previously selected language there 
can resolve it. This is indeed one of the most common scenarios for all 
language selection.

TASK DETAIL
  https://phabricator.wikimedia.org/T258244

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Amire80
Cc: Amire80, Base, Aklapper, Raymond, CBogen, Nintendofan885, Akuckartz, 
Nandana, JKSTNK, Lahi, PDrouin-WMF, Gq86, E1presidente, Ramsey-WMF, Cparle, 
Anooprao, SandraF_WMF, GoranSMilovanovic, QZanden, Tramullas, Acer, 
LawExplorer, Salgo60, Silverfish, _jensen, rosalieper, Scott_WUaS, Susannaanas, 
Jane023, Wikidata-bugs, matthiasmullie, aude, Ricordisamoa, Wesalius, 
Lydia_Pintscher, Fabrice_Florin, Steinsplitter, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] T204792: Language objects for categories sometimes missing url field (Special:MobileLanguages emits warning "url key is undefined in language object")

2020-11-15 Thread Amire80
Amire80 added a comment.


  Is this still relevant?
  
  And is this related to ULS and Compact Links?

TASK DETAIL
  https://phabricator.wikimedia.org/T204792

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Amire80
Cc: Amire80, Jdlrobson, pmiazga, Aklapper, Krinkle, Rileych, Akuckartz, Demian, 
darthmon_wmde, DannyS712, Nandana, Jony, Lahi, Gq86, mojoaxel, Pablo-WMDE, 
GoranSMilovanovic, QZanden, LawExplorer, Winter, _jensen, rosalieper, Soum213, 
Taiwania_Justo, Scott_WUaS, Verdy_p, Wikidata-bugs, aude, Nikerabbit, Arrbee, 
santhosh, KartikMistry, Jdforrester-WMF, Addshore, Mbch331, Rxy, Jay8g
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] T258244: Show user babel languages at top of language selection for monolingual language selector

2020-11-15 Thread Amire80
Amire80 added a comment.


  Same comment as at T266525 :
  
  It's possible to use the `quickList` parameter when initializing ULS with the 
`.uls()` function. You can see some examples in https://codesearch.wmcloud.org .
  
  Which languages to put there is up to the designer and the product manager. 
Putting the user's previously selected language there is probably a good idea, 
and maybe you can think of some more. You can take some ideas for picking 
suggested languages from Compact Language Links 
.
  
  My own suggestion is not to invest too much effort into it: Compact Language 
Links are targeted at users, so we need to optimize a lot there and make a lot 
of guesses, whereas file uploading is for editors, so you can make something 
simpler. Our user research showed that most people can easily find languages by 
using the search box and without scrolling.

TASK DETAIL
  https://phabricator.wikimedia.org/T258244

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Amire80
Cc: Amire80, Base, Aklapper, Raymond, CBogen, Nintendofan885, Akuckartz, 
Nandana, JKSTNK, Lahi, PDrouin-WMF, Gq86, E1presidente, Ramsey-WMF, Cparle, 
Anooprao, SandraF_WMF, GoranSMilovanovic, QZanden, Tramullas, Acer, 
LawExplorer, Salgo60, Silverfish, _jensen, rosalieper, Scott_WUaS, Susannaanas, 
Jane023, Wikidata-bugs, matthiasmullie, aude, Ricordisamoa, Wesalius, 
Lydia_Pintscher, Fabrice_Florin, Steinsplitter, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] T266525: Add Chinese to initial set of languages offered for captions on Commons

2020-11-15 Thread Amire80
Amire80 added a comment.


  It's possible to use the `quickList` parameter when initializing ULS with the 
`.uls()` function. You can see some examples in https://codesearch.wmcloud.org .
  
  Which languages to put there is up to the designer and the product manager. 
Putting the user's previously selected language there is probably a good idea, 
and maybe you can think of some more. You can take some ideas for picking 
suggested languages from Compact Language Links 
.
  
  My own suggestion is not to invest too much effort into it: Compact Language 
Links are targeted at users, so we need to optimize a lot there and make a lot 
of guesses, whereas file uploading is for editors, so you can make something 
simpler. Our user research showed that most people can easily find languages by 
using the search box and without scrolling.

TASK DETAIL
  https://phabricator.wikimedia.org/T266525

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Amire80
Cc: Amire80, Raymond, Aklapper, Jidanni, CBogen, Nintendofan885, Akuckartz, 
DannyS712, Nandana, JKSTNK, Jony, Lahi, PDrouin-WMF, Gq86, E1presidente, 
Ramsey-WMF, Cparle, Anooprao, SandraF_WMF, GoranSMilovanovic, QZanden, 
Tramullas, Acer, LawExplorer, Salgo60, Silverfish, Poyekhali, _jensen, 
rosalieper, Taiwania_Justo, Scott_WUaS, Susannaanas, Ixocactus, Wong128hk, 
Jane023, Wikidata-bugs, Base, matthiasmullie, aude, El_Grafo, Dinoguy1000, 
Ricordisamoa, Wesalius, Lydia_Pintscher, Fabrice_Florin, Nikerabbit, Arrbee, 
santhosh, KartikMistry, Steinsplitter, Mbch331, Keegan
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] T267845: Create Wikibase Query Service output format for urlencoded SPARQL API request

2020-11-15 Thread Susannaanas
Susannaanas added a comment.


  I have never found any use for the SPARQL endpoint option, and now I 
understand why.
  
  I have assumed I am supposed to click it rather than use the mouse right 
button to copy the query. Clicking produces a file to save as a result of the 
query. It is in xml by default.
  
  Now I know that I can copy the link, paste it in my browser and add the json 
option in the end. I can live with this, but maybe the workflow could be 
enhanced a bit, allowing to choose the output format and making copying the 
query explicit.
  
  The code tab is great though, and I am embarrassed that I have not used it. 
The json option could be added there as well. But again, it's a small task to 
add manually.

TASK DETAIL
  https://phabricator.wikimedia.org/T267845

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Susannaanas
Cc: Lucas_Werkmeister_WMDE, Aklapper, Susannaanas, CBogen, Akuckartz, Nandana, 
Namenlos314, Lahi, Gq86, GoranSMilovanovic, QZanden, EBjune, merbst, 
LawExplorer, _jensen, rosalieper, Scott_WUaS, Jonas, Xmlizer, jkroll, 
Wikidata-bugs, Jdouglas, aude, Tobias1984, Manybubbles, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs