VMware virtual machine - Machine or Virtual Machine details: (VirtualBox, VMWare, Digital Ocean, AWS, etc)
redhat-release-eula-8.9-0.1.el8.x86_64 - Operating System: (run cat /etc/redhat-release and report output)
a38b6e0 - meza version hash: (run cd /opt/meza && git rev-parse --short HEAD and report output)
Issue details
Agency-IT-Outreach sent email on 3/12/24 from Chief Information Officer stating all NASA web sites, both internal and external require a link to NASA's accessibility statement, located at https://www.nasa.gov/accessibility/ in the footer.
One solution could be to:
Add the following to the localsettings.php page:
$wgHooks['SkinAddFooterLinks'][] = function ( Skin $skin, string $key, array &$footerlinks ) {
if ( $key === 'places' ) {
$footerlinks['508link'] = Html::rawElement( 'a',['href' => 'https://www.nasa.gov/accessibility/','rel' => 'noreferrer noopener'],$skin->msg( 'Accessibility-link' )->text());
};
};
Then create a new page at https:///index.php?title=MediaWiki:Accessibility-link and just drop the word ‘Accessibility’ in it.
Environment
cat /etc/redhat-release
and report output)cd /opt/meza && git rev-parse --short HEAD
and report output)Issue details
Agency-IT-Outreach sent email on 3/12/24 from Chief Information Officer stating all NASA web sites, both internal and external require a link to NASA's accessibility statement, located at https://www.nasa.gov/accessibility/ in the footer.
One solution could be to:
Add the following to the localsettings.php page: $wgHooks['SkinAddFooterLinks'][] = function ( Skin $skin, string $key, array &$footerlinks ) { if ( $key === 'places' ) { $footerlinks['508link'] = Html::rawElement( 'a',['href' => 'https://www.nasa.gov/accessibility/','rel' => 'noreferrer noopener'],$skin->msg( 'Accessibility-link' )->text()); }; };
Then create a new page at https:///index.php?title=MediaWiki:Accessibility-link and just drop the word ‘Accessibility’ in it.