wikimedia / mediawiki-gadgets-RTRC

Mirror of https://gerrit.wikimedia.org/g/mediawiki/gadgets/RTRC.
https://meta.wikimedia.org/wiki/RTRC
MIT License
26 stars 11 forks source link

Fire mw.hook for diff load (once supported in mediawiki) #9

Closed Krinkle closed 8 years ago

Krinkle commented 11 years ago

MediaWiki core already implements this for page conten with wikipage.content. I expect other hooks will follow soon for things like portlets, categories and diffs.

When it does, we can fire those hooks from RTRC so that other gadgets can universally add utility links (e.g. "rollback AGF", "rollback VANDAL" etc. like Twinkle does) regardless of whether the diffs are shown by MediaWiki or by RTRC.


Originally requested on meta.wikimedia.org by Matanya on 31 January 2011.

he7d3r commented 10 years ago

I believe this blocks the request of a user on Portuguese Wikipedia to integrate one of our gadgets into RTRC.

he7d3r commented 8 years ago

This also blocks integration with WikEd (which turns URLs appearing on a diff into clickable links).

he7d3r commented 8 years ago

There is a hook wikipage.diff since https://github.com/wikimedia/mediawiki/commit/9cfb9cb9fba4dcfd25a0924237681b7cc86a20df. See also T53583.