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: wikibugs-l@lists.wikimedia.org Reporter: legoktm.wikipe...@gmail.com CC: ebernhard...@wikimedia.org, oke...@wikimedia.org, sp...@wikimedia.org 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 Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l