jenkins-bot has submitted this change and it was merged.

Change subject: Fix parameter for convertNamespaceFromWikitext.php
......................................................................


Fix parameter for convertNamespaceFromWikitext.php

The fifth parameter is header suffix, not archive pattern

Bug: T140588
Change-Id: I8b92d29064d90d9dbab23da1024e8e2d16205ab6
---
M maintenance/convertNamespaceFromWikitext.php
1 file changed, 3 insertions(+), 3 deletions(-)

Approvals:
  Catrope: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/maintenance/convertNamespaceFromWikitext.php 
b/maintenance/convertNamespaceFromWikitext.php
index 977ac41..064cd5f 100644
--- a/maintenance/convertNamespaceFromWikitext.php
+++ b/maintenance/convertNamespaceFromWikitext.php
@@ -24,8 +24,8 @@
                        't'
                );
                $this->addOption(
-                       'archive-pattern',
-                       'Naming pattern for archive pages; %s for page title, 
%d for sequence number',
+                       'header-suffix',
+                       'Wikitext to add to the end of the header',
                        false, // not required
                        true, // takes argument
                        'a'
@@ -78,7 +78,7 @@
                                new Flow\Import\SourceStore\Null(),
                                $logger,
                                $noConvertTemplates,
-                               $this->getOption( 'archive-pattern', null )
+                               $this->getOption( 'header-suffix', null )
                        )
                );
 

-- 
To view, visit https://gerrit.wikimedia.org/r/305607
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I8b92d29064d90d9dbab23da1024e8e2d16205ab6
Gerrit-PatchSet: 3
Gerrit-Project: mediawiki/extensions/Flow
Gerrit-Branch: master
Gerrit-Owner: Mattflaschen <mflasc...@wikimedia.org>
Gerrit-Reviewer: Catrope <roan.katt...@gmail.com>
Gerrit-Reviewer: Mattflaschen <mflasc...@wikimedia.org>
Gerrit-Reviewer: Sbisson <sbis...@wikimedia.org>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to