Ladsgroup added a comment.

  In T255885#6277267 <https://phabricator.wikimedia.org/T255885#6277267>, 
@Lucas_Werkmeister_WMDE wrote:
  
  > If we say that this is a test which needs the WikibaseRepo extension to be 
installed, and that’s fine, but we want to avoid the direct coupling to the 
`WikibaseRepo` PHP class, then there are other ways to avoid that. We could, 
for example, save the example item using an API call. Come to think of it, we 
could also use API calls to create the test module, and to do the various test 
parses… maybe we can turn this test into a MediaWiki API integration test 
<https://www.mediawiki.org/wiki/MediaWiki_API_integration_tests>?
  
  I quite like the idea of creating them through API requests, this is coupling 
to the public interface that's much more stable than the code itself.

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

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

To: Ladsgroup
Cc: Ladsgroup, Aklapper, Lucas_Werkmeister_WMDE, Alter-paule, Hazizibinmahdi, 
Beast1978, Un1tY, Hook696, darthmon_wmde, Kent7301, joker88john, CucyNoiD, 
Nandana, Gaboe420, Giuliamocci, Cpaulf30, Lahi, Gq86, Af420, Bsandipan, 
GoranSMilovanovic, QZanden, LawExplorer, Lewizho99, Maathavan, _jensen, 
rosalieper, Scott_WUaS, Wikidata-bugs, aude, Lydia_Pintscher, Mbch331
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to