Michael added a comment.
[WIP] List of ways extensions could integrate with Wikibase functionality in principle ====================================================================================== - make use of hooks <https://doc.wikimedia.org/mediawiki-core/master/php/md_docs_Hooks.html> - WikibaseRepo does not seem to provide hooks with the new Hook system <https://www.mediawiki.org/wiki/Manual:Hooks#Handling_hooks_in_MediaWiki_1.35_and_later> - it seems to have only a single HookRunner class at all, which runs a core hook: EditFilterMergedContent <https://www.mediawiki.org/wiki/Manual:Hooks/EditFilterMergedContent> - (not fully clear to me why Wikibase manually runs that core hook) - it does however provide a bunch of hooks the legacy hook way: https://doc.wikimedia.org/Wikibase/master/php/md_docs_topics_hooks_php.html - WikibaseClient does provide some hooks of its own (see document linked above) - Three are also some js hooks provided by Wikibase: https://doc.wikimedia.org/Wikibase/master/php/md_docs_topics_hooks_js.html - hooks are also used to provide the callbacks for entitytypes and datatypes - providing the hooks for datatypes might (more or less) cover the //addressable// requirement? - see https://doc.wikimedia.org/Wikibase/master/php/md_docs_topics_datatypes.html - neither Lexeme nor https://gerrit.wikimedia.org/r/c/mediawiki/extensions/Wikibase/+/523980/5/repo/WikibaseRepo.datatypes.php seem to be listing all the keys mentioned in the docs above !? - still unclear how/when a dump into rdf happens - - reuse services TODO: - provide examples, more details, and docs for each TASK DETAIL https://phabricator.wikimedia.org/T312837 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Michael Cc: Aklapper, karapayneWMDE, Michael, ItamarWMDE, Astuthiodit_1, Invadibot, maantietaja, SCIdude, Akuckartz, pdehaye, Nandana, Lahi, Gq86, Andrawaag, GoranSMilovanovic, QZanden, YULdigitalpreservation, LawExplorer, Salgo60, _jensen, rosalieper, Scott_WUaS, MisterSynergy, abian, Wikidata-bugs, aude, Lydia_Pintscher, Mbch331
_______________________________________________ Wikidata-bugs mailing list -- [email protected] To unsubscribe send an email to [email protected]
