modxcms/revolution — pull request #11477 by krismas (2014-06-07 15:30:18+00:00)
Title: Have [[++server_port]] report the port number #10852

Is a solution like this appropriate regarding your conventions?