Author: sumanah
Description:
webpage displaying login error
This might be multiple bugs that need to be split up.
I went to zh.wikipedia.org and clicked the 登录 link in the upper right hand corner (next to the user icon) to sign in. I presumed that my user account for User:Sharihareswara_(WMF) would get me in, thanks to SUL.
I know the login UI so it didn't bother me that it was labelled in a language I don't know. I filled in:
Username: Sharihareswara (WMF)
Password: [correct password]
and got the following error message in red (see screenshots):
登录错误
<<table id="mw-protectedpagetext" class="plainlinks fmbox fmbox-warning" style="clear: both; margin: 0.2em 0; border: 1px solid #aaa; background: #f9f9f9; width: 100%; background: #FFDBDB; border: 1px solid #BB7070;"> <tr> <td class="mbox-text" style=""> <p>本用户已经被禁止创建,由于用户名“Sharihareswara (WMF)”和<a href="/wiki/MediaWiki:Titleblacklist" title="MediaWiki:Titleblacklist">本地</a>或<a href="//meta.wikimedia.org/wiki/Title_blacklist" class="extiw" title="m:Title blacklist">全域</a>黑名單<code> .*(apologise|war).* <newaccountonly></code>配合。请确保用户名符合<a href="/wiki/Wikipedia:%E7%94%A8%E6%88%B7%E5%90%8D" title="Wikipedia:用户名">用户名方针</a>。如果需要协助,请参照<a href="/wiki/Wikipedia:%E8%B4%A6%E5%8F%B7%E8%AF%B7%E6%B1%82" title="Wikipedia:账号请求">Wikipedia:账号请求</a>所列指示直接向管理员申请账号或提交反馈。 </p> </td> </tr> </table> >
When I switched to English via the ":中文(简体) | 中文(繁體) | English | 日本語 | 한국어" choices just above that error and tried again, I got:
Login error
<The user name "Sharihareswara (WMF)" has been banned from creation. It matches the following blacklist entry: <code> .*(apologise|war).* <newaccountonly></code>>
(My last name has the string "war" in it; never realized that before.)
However, if I tried logging in with an *incorrect* password, I got a well-formatted error "Login error: Incorrect password entered. Please try again." or "登录错误: 你输入的密码错误。请重试". That error message doesn't reveal any of the <table> or <code> tags to the user in the message.
Therefore:
- Zhwiki administrators or Chinese translators, could you fix the messaging for the "this username has been banned from creation"? I looked in https://translatewiki.net/w/i.php?title=Special:Translate&language=zh-hant&group=core&filter=&action=translate and I couldn't figure out what message needs fixing, sorry.
- If the wiki's administrators have banned a particular user name from creation, but our SUL unification tries to make an account for them, then is it the right thing to do to still display a regular "wrong password" error message when someone tries to login with that username but gets the password wrong?
Version: unspecified
Severity: normal
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=44718
Attached: