[Wikidata-bugs] [Maniphest] T260735: Stop using is_resource()

2020-12-27 Thread Reedy
Reedy added a project: PHP 8.1 support.

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

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

To: Reedy
Cc: Ricordisamoa, ssastry, TheDJ, Aklapper, MaxSem, Selby, AndreCstr, 
XeroS_SkalibuR, Akuckartz, Adidsone1, DannyS712, Nandana, Mirahamira, 
Phukettaxigroup, lucamauri, Lahi, Gq86, Jontheil, Markhalsey, 
GoranSMilovanovic, Jayprakash12345, QZanden, LawExplorer, _jensen, rosalieper, 
Scott_WUaS, freephile, Wikidata-bugs, aude, brion, Jdforrester-WMF, Mbch331, Rxy
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] T270293: Parsing example queries partially produce errors

2020-12-27 Thread 1Veertje
1Veertje added a comment.


  - this is where the examples come from 

  - the sparql2 template  seems 
to be the issue here
  
  The template itself hasn't changed recently so a template enclosed in this 
template is probably at issue here.

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

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

To: 1Veertje
Cc: 1Veertje, Tagishsimon, Aklapper, dcausse, Lucas_Werkmeister_WMDE, 
Lea_Lacroix_WMDE, MPhamWMF, 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


[Wikidata-bugs] [Maniphest] T270858: My Wikidata edits are getting throttled again...

2020-12-27 Thread Reedy
Reedy added a project: Wikidata-Campsite.

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

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

To: Reedy
Cc: Spinster, Reedy, Aklapper, Multichill, Akuckartz, Nandana, Lahi, Gq86, 
GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, 
Jonas, 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] T270858: My Wikidata edits are getting throttled again...

2020-12-27 Thread Spinster
Spinster created this task.
Spinster added a project: Wikidata.
Restricted Application added a subscriber: Aklapper.

TASK DESCRIPTION
  Since an hour or two, my Wikidata edits are being throttled. However, I 
haven't done any large-scale edits recently (see below).
  F33973716: image.png 
  
  (Usually I succeed in doing these edits after trying several times.)
  
  This is the third time this type of 'out of the blue' throttling happens, and 
has each time happened without a clear reason. A first occurrence was reported 
in T255804 . The second occurrence 
happened on November 25; I then briefly discussed that with @Multichill and 
@Reedy without filing a ticket - no cause was found and the problem went away 
after a week or so.
  
  As can be seen in my edit history of the past day 
,
 I haven't run large batch edits recently. My last batch edit, using 
OpenRefine, dates from December 22 
 (five days ago).
  Some hours ago, I used the TABernacle tool for some edits to labels and 
descriptions, and I used the Mix'n'match gadget on one item, but those have 
created only a dozen edits or so. All my other edits are slow, manual ones.
  
  Filing this ticket as it's interesting that this pops up again IMO.

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

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

To: Spinster
Cc: Spinster, Reedy, Aklapper, Multichill, 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] T212843: [EPIC] Access to Wikidata's lexicographical data from Wiktionaries and other WMF sites

2020-12-27 Thread matej_suchanek
matej_suchanek closed subtask T195895: Lua function to get Lemma of a Lexeme as 
Resolved.

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

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

To: matej_suchanek
Cc: Amire80, Mugli, Pols12, Bodhisattwa, darthmon_wmde, He7d3r, Scott_WUaS, 
Lucas_Werkmeister_WMDE, mxn, Marsupium, So9q, reosarevok, TomT0m, Yurik, 
Vesihiisi, ArthurPSmith, Iniquity, Tobias1984, Theklan, Fnielsen, RexxS, 
Pamputt, Mike_Peel, MarcoSwart, Geertivp, Liuxinyu970226, Addshore, 
Jdforrester-WMF, deryckchan, Lydia_Pintscher, Lea_Lacroix_WMDE, Akuckartz, 
Nandana, Lahi, Gq86, GoranSMilovanovic, Mahir256, QZanden, LawExplorer, 
_jensen, rosalieper, jberkel, Psychoslave, Wikidata-bugs, aude, GPHemsley, 
Shizhao, Nemo_bis, Darkdadaah, Mbch331, Ltrlg, Krenair
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] T195895: Lua function to get Lemma of a Lexeme

2020-12-27 Thread matej_suchanek
matej_suchanek closed this task as "Resolved".
matej_suchanek assigned this task to Lucas_Werkmeister_WMDE.
matej_suchanek added a comment.


  rEWLE8282b1aa3ce468810b535cc966049f47c8381013 


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

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

To: Lucas_Werkmeister_WMDE, matej_suchanek
Cc: matej_suchanek, Tobias1984, Aklapper, Tpt, hoo, Lydia_Pintscher, Akuckartz, 
Nandana, lucamauri, Lahi, Gq86, GoranSMilovanovic, Mahir256, QZanden, 
LawExplorer, _jensen, rosalieper, Bodhisattwa, 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] T270851: getAllStatements does not make a copy, getBestStatements does

2020-12-27 Thread matej_suchanek
matej_suchanek created this task.
matej_suchanek added projects: Wikidata, Wikibase-Lua, 
MediaWiki-extensions-WikibaseClient.
Restricted Application added a subscriber: Aklapper.

TASK DESCRIPTION
  Run the following module from the console (`= p.test()`):
  
local p = {}

function p.test()
local entity, statements

entity = mw.wikibase.getEntity('Q213')
statements = entity:getAllStatements('P1082')
mw.log(#statements)
table.remove(statements)
mw.log(#statements, #entity:getAllStatements('P1082'), 
#entity.claims.P1082)

entity = mw.wikibase.getEntity('Q213')
statements = entity:getBestStatements('P1082')
mw.log(#statements)
table.remove(statements)
mw.log(#statements, #entity:getBestStatements('P1082'), 
#entity.claims.P1082)
end

return p
  
  (`table.remove` performs //in-place removal// of the last element in the 
sequence.)
  
  You will get:
  
35
34  34  34
1
0   1   35
  
  In other words, changing the value returned from `getAllStatements` will 
change it for all following calls and also change the entity object.
  This does not happen with `getBestStatements`.

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

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

To: matej_suchanek
Cc: matej_suchanek, Aklapper, Akuckartz, Nandana, lucamauri, 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] T182147: more convenience functions for Lua

2020-12-27 Thread ChristianKl
ChristianKl added a comment.


  mw.wikibase.getAliasesByLang would be useful, so that it's not necessary to 
load the whole item to access the aliases.

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

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

To: ChristianKl
Cc: ChristianKl, Thayts, Simon_Villeneuve, Pigsonthewing, Lea_Lacroix_WMDE, 
jberkel, RolandUnger, Agabi10, RexxS, Vriullop, MisterSynergy, Ghuron, Uzume, 
putnik, Jonas, aude, hoo, Ladsgroup, Tpt, thiemowmde, eranroz, Aklapper, 
Lydia_Pintscher, Akuckartz, Nandana, lucamauri, Lahi, Gq86, GoranSMilovanovic, 
QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] T270843: Mass-created items not in recentchanges table

2020-12-27 Thread matej_suchanek
matej_suchanek added a comment.


  Verified, they are not shown on Special:NewPages 
.

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

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

To: matej_suchanek
Cc: matej_suchanek, Jasper, Aklapper, 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