Module:If preview/configuration/doc

This module does the actual work for determining if the page is in preview mode. It is a separate module so mw.loadData can only run it once per page, rather than once per use.