Thread:Project:Support desk/Moving things out/reply

Look at the example of Vector:

https://github.com/wikimedia/mediawiki-core/blob/master/skins/Vector/VectorTemplate.php#L531

getPersonalTools returns an array of all personalTools links (and echo, too). So you can simply do an if/else if the key is the key of echo (i think it's "notifications") and save it into a new var/array to use somewhere else. For all others you can stilll echo the makeLIstItem.