Use old style loading indicator when publishing

This change required adding back code that was removed by the WMF.