Skip to content
Snippets Groups Projects

Use LoggedUpdateMaintenance to create Template

Merged Alexia requested to merge osnard:Use_LoggedUpdateMaintenance_to_create_Template into master

Created by: osnard

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.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Author Contributor

    Created by: Alexia

    Thanks! I will merge this and pull it down to get it fully tested.

Please register or sign in to reply
Loading