mirror of
https://github.com/Universal-Omega/DynamicPageList3
synced 2024-11-15 03:35:17 +00:00
fix once more
This commit is contained in:
parent
36c79945a9
commit
404e8734e8
|
@ -59,7 +59,7 @@ class CreateTemplateUpdateMaintenance extends LoggedUpdateMaintenance {
|
||||||
* @return bool
|
* @return bool
|
||||||
*/
|
*/
|
||||||
protected function doDBUpdates() {
|
protected function doDBUpdates() {
|
||||||
$title = Title::newFromText( 'Template:Extension DPL' );
|
$title = Title::newFromText( 'Extension DPL', NS_TEMPLATE );
|
||||||
|
|
||||||
// Make sure template does not already exist
|
// Make sure template does not already exist
|
||||||
if ( !$title->exists() ) {
|
if ( !$title->exists() ) {
|
||||||
|
@ -70,7 +70,7 @@ class CreateTemplateUpdateMaintenance extends LoggedUpdateMaintenance {
|
||||||
$comment = CommentStoreComment::newUnsavedComment( 'Autogenerated DPL\'s necessary template for content inclusion' );
|
$comment = CommentStoreComment::newUnsavedComment( 'Autogenerated DPL\'s necessary template for content inclusion' );
|
||||||
$updater->saveRevision(
|
$updater->saveRevision(
|
||||||
$comment,
|
$comment,
|
||||||
EDIT_NEW | EDIT_FORCE_BOT | EDIT_INTERNAL
|
EDIT_NEW | EDIT_FORCE_BOT
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue