Adapt pages and templates for Commons