mirror of
https://github.com/Universal-Omega/DynamicPageList3
synced 2024-11-14 19:30:15 +00:00
fix once more
This commit is contained in:
parent
36c79945a9
commit
404e8734e8
|
@ -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
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue