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

Change subject: Fix editing the titles of topics with summaries
......................................................................


Fix editing the titles of topics with summaries

Bug: T149827
Change-Id: Ice677dbe311effd0c2b5f1db7f330317d7fae692
---
M includes/UrlGenerator.php
1 file changed, 1 insertion(+), 16 deletions(-)

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



diff --git a/includes/UrlGenerator.php b/includes/UrlGenerator.php
index 39d82a5..7a0d1f9 100644
--- a/includes/UrlGenerator.php
+++ b/includes/UrlGenerator.php
@@ -86,21 +86,6 @@
        }
 
        /**
-        * Edit the title of a topic workflow.
-        *
-        * @param Title|null $title
-        * @param UUID $workflowId
-        * @return Anchor
-        */
-       public function editTitleLink( Title $title = null, UUID $workflowId ) {
-               return new Anchor(
-                       wfMessage( 'flow-edit-title' ),
-                       $this->resolveTitle( $title, $workflowId ),
-                       array( 'action' => 'edit-title' )
-               );
-       }
-
-       /**
         * View a specific revision of a header workflow.
         *
         * @param Title|null $title
@@ -666,7 +651,7 @@
                        array(
                                'action' => 'edit-title',
                                'topic_postId' => $postId->getAlphadecimal(),
-                               'topic_format' => 'topic-title-wikitext',
+                               'topic_format' => 'wikitext',
                        )
                );
        }

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ice677dbe311effd0c2b5f1db7f330317d7fae692
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Flow
Gerrit-Branch: master
Gerrit-Owner: 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