mirror of
https://github.com/Universal-Omega/DynamicPageList3
synced 2024-11-15 03:35:17 +00:00
fix again
This commit is contained in:
parent
b3d36cf37a
commit
7bfa11850c
|
@ -65,7 +65,7 @@ class CreateTemplateUpdateMaintenance extends LoggedUpdateMaintenance {
|
|||
if ( !$title->exists() ) {
|
||||
$wikipage = WikiPage::factory( $title );
|
||||
$updater = $wikipage->newPageUpdater( User::newSystemUser( 'DynamicPageList3 Extension' ) );
|
||||
$content = $wikipage->getContentHandler()->makeContent( '', $title );
|
||||
$content = $wikipage->getContentHandler()->makeContent( '<noinclude>This page was automatically created. It serves as an anchor page for all \'\'\'[[Special:WhatLinksHere/Template:Extension_DPL|invocations]]\'\'\' of [https://www.mediawiki.org/wiki/Special:MyLanguage/Extension:DynamicPageList3 Extension:DynamicPageList3].</noinclude>', $title );
|
||||
$updater->setContent( SlotRecord::MAIN, $content );
|
||||
$comment = CommentStoreComment::newUnsavedComment( 'Autogenerated DPL\'s necessary template for content inclusion' );
|
||||
$revision = $updater->saveRevision(
|
||||
|
|
Loading…
Reference in a new issue