The production of bakelite using this method, but with an acid as the catalyst is simple enough; a protonation of the carbonyl oxygen, followed by an electrophilic substitution to the ring. The subsequent cross-linkage formation is the same for both cases, but I can't figure out how the initial reaction steps would work with a base as the catalyst. Google searches and the texts I have yield nothing.
How would the mechanism proceed with a base as the catalyst here?