https://bugzilla.wikimedia.org/show_bug.cgi?id=58664

       Web browser: ---
            Bug ID: 58664
           Summary: Get rid of $wgFlowParsoidTitle / using $wgTitle
           Product: MediaWiki extensions
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Flow
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected]
    Classification: Unclassified
   Mobile Platform: ---

From the code itself:

/*
 * $wgFlowParsoidTitle is an ugly hack. As long as posts only appear on 1
 * page, we can just omit $title parameter & fallback to $wgTitle.
 * For API calls, however, $wgTitle will not contain the Title
 * object for the page we're submitting Flow changes. That's where
 * $wgFlowParsoidTitle comes in to play, which will be set from API to
 * container the correct Title object.
 *
 * We should definitely think about a nicer way to pass the correct
 * title to this method, from wherever it is being called from.
 */

Using $wgTitle is already bad, working around the fact the API doesn't set it
is blegh.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to