When looking back at T180911, I did some coding and noticed the following inconsistency:
The following return the expected "Discussion utilisateur":
mw.title.new( 'User:Foobar' ).talkNsText mw.title.new( 'User talk:Foobar' ).talkNsText mw.title.new( 'User_talk:Foobar' ).talkNsText
… but the following returns "Discussion_utilisateur":
mw.title.new( 'User talk:Foobar' ).nsText
Because this underscore is rather unexcepted, and for consistency between text, nsText, talkNsText, etc. properties, nsText should use spaces instead.
Edit: I have made an exhaustive inspection of the mw.title objects, and case in point, all other properties use spaces:
- subjectPageTitle
- text
- prefixedText
- talkPageTitle
- rootText
- talkNsText
- basePageTitle
- baseText
- subpageText
- fullText
- rootPageTitle
- and the subPageTitle( text ) function