the code that parses and handles autocomments in wikibase is in the Wikibase hooks class, as static method.
it duplicates quite a bit of code from the Linker class and has no tests.
the code that parses and handles autocomments in wikibase is in the Wikibase hooks class, as static method.
it duplicates quite a bit of code from the Linker class and has no tests.
Project | Branch | Lines +/- | Subject | |
---|---|---|---|---|
mediawiki/extensions/Wikibase | master | +227 -44 | Factor AutoCommentFormatter out of hook handler |
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Open | None | T90435 [Epic] Wikidata watchlist improvements (client) | |||
Open | None | T108688 [Story] meaningful edit summaries on the client | |||
Resolved | • Addshore | T86751 [Task] Refactor onFormat autocomment handling code and add tests |
this code needs to be in it's own class(es) and refactored so that it is usable for summaries in the client *and* repo