In modules/ext.thanks.flowthank.js line 13 there is an unexpected '<' character in a selector that needs to be removed
Description
Description
Details
Details
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
Remove unexpected character from selector | mediawiki/extensions/Thanks | master | +1 -1 |
Event Timeline
Comment Actions
function findPostAuthorFromThankLink( $thankLink ) { // We can't use 'closest' directly because .flow-author is a cousin // of $thankLink rather than its ancestor return $( $thankLink.findWithParent( '< .flow-post .flow-author a.mw-userlink' )[ 0 ] ).text().trim(); }
Comment Actions
Change 465207 had a related patch set uploaded (by Mh-3110; owner: Mahuton):
[mediawiki/extensions/Thanks@master] Remove unexpected character from selector
Comment Actions
@Mh-3110 thanks for looking into this
The documentation for findWithParent claims that it uses the "<" character.
I don't know if it's useful in this case of not but I would like to see a bit of analysis about what the DOM looks like and what is $thankLink in this context.
Comment Actions
@SBisson ,
Thanks for the documentation. I don't think this is useful here but as it use is mentioned in the module documentation then it should be kept. I will close this ticket as invalid. My bad.
Thanks
Comment Actions
Change 465207 abandoned by Catrope:
Remove unexpected character from selector
Reason:
Per submitter on phab task