After thorough investigation on T232372, me and @Petar.petkovic couldn't find a way to get this working for a new user, checking in the code that all the requirements were met.
This task is to investigate why is not showing and find a fix for it.
For more information on the requirements needed please check T232372.
You can see detailed debugging data in T232372#5595821.
UPDATE:
From the previous investigation, what is missing from the original task is the invitation not showing for newly created users
It was reported by @Jpita that new users on Javanese Wikipedia (on which CX is out of beta) are not seeing invite. I instructed him to edit articles on some non-Javanese Wikipedia and try again. The invite was not showing after that, so we did some investigation. Without a clear cause, I went on to investigate on my own. After creating a new user on Javanese Wikipedia, I went to Serbian Wikipedia, found some article to fix typo and made an edit. Then, I opened https://jv.wikipedia.org/w/index.php?title=Paneer&action=edit&debug=1 to check if invite will show. First time, Visual Editor dialog was shown. I kept reloading as I was eliminating possible causes for invite not being shown. The script ext.cx.entrypoints.newbytranslation.js was not loaded, so I spent time checking conditions on server side. I checked following with respective outputs: Condition Output mw.user.options.get( 'cx-enable-entrypoints' ) true mw.config.get( 'wgVisualEditorConfig' ).showBetaWelcome true mw.user.options.get( 'visualeditor-hidebetawelcome' ) "1" These options and configs were used to check if early return is needed. If early return does not happen, we get to the following line: if ( $wgContentTranslationAsBetaFeature === false && self::isPotentialTranslator( $user ) ) Content Translation is no longer beta feature on Javanese. Check self::isPotentialTranslator( $user ) looks if user ever started any translation using CX. If not, we check CentralAuth for edit counts on Wikipedia sites. We can see that new user account I created has edits on Serbian Wikipedia - https://jv.wikipedia.org/w/index.php?title=Astamiwa:Otoritas_pusat&target=Testuser212 @santhosh What could be the reason for script ext.cx.entrypoints.newbytranslation.js not being loaded to show the invite?