You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would propose you split your SDImportData into smaller parts which would allow at a later point to import json without having the change the whole parser class.
I would propose you split your
SDImportData
into smaller parts which would allow at a later point to importjson
without having the change the whole parser class.You can see [0] how to use injection in a parser function that splits responsibilities and make the code a bit easier to maintain and understood.
[0] https://github.com/SemanticMediaWiki/SemanticInterlanguageLinks/blob/master/src/ParserFunctionFactory.php#L26
The text was updated successfully, but these errors were encountered: