Skip to content
Snippets Groups Projects

Use LoggedUpdateMaintenance to create Template

Merged Alexia requested to merge osnard:Use_LoggedUpdateMaintenance_to_create_Template into master
  1. Jun 07, 2018
    • rvogel's avatar
      Use LoggedUpdateMaintenance to create Template · 7cef2d67
      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.
      7cef2d67
Loading