Use LoggedUpdateMaintenance to create Template
- Jun 07, 2018
-
-
rvogel authored
Making modifications to wikipages in the `LoadExtensionSchemaUpdates` hook can be problematic, as other extensions may bind to hooks like `PageContentSaveComplete`. Those other extensions then might access the database which is not up to date yet, causing an exception. Using a `LoggedUpdateMaintenance` script makes sure the modifications to wikipages occur _after_ the database has been fully updated.
-