Board Thread:Technical Updates/@comment-22224-20180312221333/@comment-27345308-20180313223859

Actually, mb_strpos (get first occurence, therefore removing all subpages) is used in getBaseText while mb_strrpos (get last occurence, therefore removing only the last subpage) is used in getParentText. If they decided to replace MediaWiki's getBaseText with getParentText and MediaWiki's getRootText with getBaseText they could've changed the function used in BASEPAGENAME from getBaseText to getParentText so it behaves correctly, but I see no reason why would've they just name functions inconsistently like that so this sounds like a bigger problem.