File tree Expand file tree Collapse file tree
dist-persist/wbstack/src/Settings
dist/wbstack/src/Settings Expand file tree Collapse file tree Original file line number Diff line number Diff line change 218218 ],
219219];
220220
221+ $ wgHooks ['SkinAddFooterLinks ' ][] = function ( Skin $ skin , string $ key , array &$ footerlinks ) {
222+ if ( $ key === 'places ' ) {
223+ $ footerlinks ['report ' ] = Html::element (
224+ 'a ' ,
225+ [
226+ 'href ' => 'https://wikibase.cloud/complaint ' ,
227+ 'target ' => '_blank ' ,
228+ 'rel ' => 'noopener noreferrer '
229+ ],
230+ 'Report illegal content '
231+ );
232+ }
233+ };
234+
221235// Custom CSS styling
222236$ styles = [];
223237if ( version_compare ( MW_VERSION , '1.43 ' , '< ' ) ) {
Original file line number Diff line number Diff line change 218218 ],
219219];
220220
221+ $ wgHooks ['SkinAddFooterLinks ' ][] = function ( Skin $ skin , string $ key , array &$ footerlinks ) {
222+ if ( $ key === 'places ' ) {
223+ $ footerlinks ['report ' ] = Html::element (
224+ 'a ' ,
225+ [
226+ 'href ' => 'https://wikibase.cloud/complaint ' ,
227+ 'target ' => '_blank ' ,
228+ 'rel ' => 'noopener noreferrer '
229+ ],
230+ 'Report illegal content '
231+ );
232+ }
233+ };
234+
221235// Custom CSS styling
222236$ styles = [];
223237if ( version_compare ( MW_VERSION , '1.43 ' , '< ' ) ) {
You can’t perform that action at this time.
0 commit comments