fix once more

This commit is contained in:
Universal Omega 2021-01-23 15:04:25 -07:00 committed by GitHub
parent 36c79945a9
commit 404e8734e8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -59,7 +59,7 @@ class CreateTemplateUpdateMaintenance extends LoggedUpdateMaintenance {
* @return bool
*/
protected function doDBUpdates() {
$title = Title::newFromText( 'Template:Extension DPL' );
$title = Title::newFromText( 'Extension DPL', NS_TEMPLATE );
// Make sure template does not already exist
if ( !$title->exists() ) {
@ -70,7 +70,7 @@ class CreateTemplateUpdateMaintenance extends LoggedUpdateMaintenance {
$comment = CommentStoreComment::newUnsavedComment( 'Autogenerated DPL\'s necessary template for content inclusion' );
$updater->saveRevision(
$comment,
EDIT_NEW | EDIT_FORCE_BOT | EDIT_INTERNAL
EDIT_NEW | EDIT_FORCE_BOT
);
}