I thought about extending WikiaSpecialPageController, but since @macbre approved current solution it seemed to me to be a little bit exaggerated. :) Thanks for suggestion, the loop was indeed unnecessary.