@Kvardek_du noticed fr.wikipedia has a good Flow documentation at https://fr.wikipedia.org/wiki/Wikip%C3%A9dia:Flow.
It would so be valuable to override a info or discussion link on a local wiki where a local discussion is organised and well curated, or a good documentation available.
Steps to reproduce
Go to Special:Preferences?uselang=qqx#mw-prefsection-betafeatures
Expected behavior
Link could be edited.
Actual behavior
Link is hardcoded in the extension code so can't be edited.
Plan
Currently an extension can only hardcode links to documetation, generally on mediawiki.org:
/** * Callback for GetBetaFeaturePreferences hook */ static function getPreferences( $user, &$prefs ) { global $wgExtensionAssetsPath; $prefs['my-awesome-feature'] = [ […] // Link to information on the feature - use subpages on mw.org, maybe? 'info-link' => 'https://www.mediawiki.org/wiki/Extension:MyExtension/SomeFeature', // Link to discussion about the feature - talk pages might work 'discussion-link' => 'https://www.mediawiki.org/wiki/Extension_talk:MyExtension/SomeFeature', […] ); }
In addition to this setting, we could also allow something like:
/** * Callback for GetBetaFeaturePreferences hook */ static function getPreferences( $user, &$prefs ) { global $wgExtensionAssetsPath; $prefs['my-awesome-feature'] = [ […] // Link to information on the feature - use subpages on mw.org, maybe? 'info-link-message' => 'myextension-beta-info-link', // Link to discussion about the feature - talk pages might work 'discussion-link-message' => 'myextension-beta-discussion-link, […] ); }
The link to the global documentation should then be put to the myextension-beta-info-link value in i18n/en.json to provide a default for wikis not maintaing a valuable local documentation.