daniel added a comment.

  In T157651#6075764 <https://phabricator.wikimedia.org/T157651#6075764>, 
@Krinkle wrote:
  
  > @daniel I noticed a patch that makes some methods inaccesible to 
extensions. Does that mean this structure test is no longer needed? Or are 
there some dangerous methods exposed still?
  
  See my comment on the patch: the structure test could still ensure that no 
dangerous methods are called on the Database object (rather than on 
DatabaseUpdater). The dangerous methods on DatabaseUpdater are no longer 
accessible to extensions, but they could still call Database::dropTable() 
directly.
  
  > Also, does the sql.php script now never run this hook?
  
  The hook call was removed from the constructor of DatabaseUpdater, and is now 
triggered from doUpdates(). I see no way for sql.php to trigger it.

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

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

To: daniel
Cc: Demian, Jdforrester-WMF, kostajh, WMDE-leszek, Addshore, Anomie, alaa_wmde, 
daniel, Ladsgroup, Pablo-WMDE, kchapman, Krinkle, Catrope, Reception123, 
gerritbot, aaron, Aklapper, Tgr, Blissjay007, Oblanco79, Alter-paule, 
NavinRizwi, Beast1978, Un1tY, eprodromou, Hook696, Daryl-TTMG, RomaAmorRoma, 
E.S.A-Sheild, darthmon_wmde, Kent7301, Meekrab2012, joker88john, 94rain, 
CucyNoiD, Nandana, Lens0021, NebulousIris, jijiki, Gaboe420, Jony, Versusxo, 
Majesticalreaper22, Giuliamocci, Adrian1985, Cpaulf30, Imarlier, Lahi, Gq86, 
Af420, Darkminds3113, Bsandipan, Lordiis, GoranSMilovanovic, Adik2382, 
45Jayjay1969, Jayprakash12345, Th3d3v1ls, Ramalepe, Liugev6, QZanden, 
EnricoCNC, LawExplorer, Vali.matei, WSH1906, Lewizho99, Maathavan, elukey, 
_jensen, rosalieper, Agabi10, Taiwania_Justo, Scott_WUaS, Pchelolo, SBisson, 
Wong128hk, Wikidata-bugs, aude, Dcljr, Bawolff, Dinoguy1000, Gryllida, jeblad, 
ArielGlenn, He7d3r, Mbch331, Rxy, Jay8g, akosiaris
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to