Thread:Project:Support desk/$wgNamespaceAliases usage

Last comment here was four years ago... I'm wondering because I want to offer some shortcut NS aliases on my wiki. This documentation is poor, and it would be great if a snippet of Wikipedia's actual $wgNamespaceAliases was added to make it more clear how it works. I'm assuming that the following code should work to offer shortcuts similar to W:WP:SC?