How to extend the array?

From semantic-mediawiki.org

Apart from setting a completely new array, would

$smwgResultAliases['list'] = 'richlist';

be the trick to add "richlist" as an alias of "list"?

13:52, 5 January 2019