On Commons, when a user clicks on a wikilink [[Special:UserLogout]] (URL), they are presented with the following page (using English and Russian just as examples—all languages are affected):
Language | Screenshot | Current text | Suggestion#1 | Suggestion#2 |
English | Submit | Log out | Log out | |
Russian | Отправить | Завершить сеанс работы | Выйти из системы | |
String with key "htmlform-submit" is used there (Special:UserLogout?uselang=qqx). See also functions getSubmitText in HTMLForm.php and alterForm in SpecialUserLogout.php.
While [[Special:UserLogout]] is technically an HTML form, there is nothing to "submit". The text on the button should probably be improved.
Suggestion #1
There is already suitable text in the localized strings, namely text of the string with key "tooltip-pt-logout" (Russian "Завершить сеанс работы")—"log out" here is a verb, as opposed to "userlogout" (Russian "Завершение сеанса"), where it is a noun. Obviously, a new localization key is required. Similar wording is currently used in localizable strings "logouttext" (Russian) and "session_fail_preview_html" (Russian).
Suggestion #2
The second suggestion in the table is based on the current wording of localizable strings "userlogout-continue" (Russian), (three in a row) "logout-failed", "cannotlogoutnow-title", and "cannotlogoutnow-text" (Russian).
Notes
- Originally reported at Commons' Village Pump.
- I've used https://itpro.cz/juniconv/ to convert Unicode escapes in browser.
- The sentence in documentation comment of function alterForm in FormSpecialPage.php seems to be missing its ending.