60

There was yet again a question posted in a wrong language (now deleted, i.e. 10k+). Since there are other checks already in place, perhaps it would be worthwhile to require that a question title on English-speaking Stack Overflow must contain several letters [a-zA-Z] in the title. In this case all characters in the title "Заполнение диагоналей трехмерной матрицы" (translation: "Filling the diagonals of a three-dimensional matrix ") were either white space or Cyrillic letters.

As a further improvement the body of that particular question had 3 letters N of the Latin script in the body, and that would have failed the dummiest validation, but perhaps there should be a simple frequency analysis - if too many \w+ words outside the code blocks have letters not in [a-zA-Z] then at least a warning should be displayed - this should also catch even those occasional Việtnamese ones that I've seen.

23
  • 11
    seeing such questions hanging open for days (and sometimes even getting answers, go figure) always makes me think that triage review is somehow terribly broken
    – gnat
    Commented Oct 6, 2019 at 12:31
  • 1
    That question simply needed to be migrated to ru.stackoverflow.com. This should trivially be automatable.
    – smci
    Commented Oct 7, 2019 at 3:45
  • 13
    @smci and what if it was written in Ukrainian... Commented Oct 7, 2019 at 5:12
  • Antti there is no ua.stackoverflow.com, and even if there was, Cyrillic-reading users could trivially easy figure out what to do with it. What is your proposal (other than automating preventing people asking Cyrillic questions)? What should SO autosuggest to them?
    – smci
    Commented Oct 7, 2019 at 6:25
  • 10
    As my question reads my proposal is to automate Stack Overflow to reject titles that do not have English letters in them and to state - in English - that the site is English-language only and hence question titles must be written in English. Commented Oct 7, 2019 at 7:46
  • 8
    @smci The guidance has always been "don't migrate crap" (I might be paraphrasing). So unless we have created an automated quality verifier that also understands all of the languages supported on the various language-specific SO sites, I'm guessing it's not so trivial... Commented Oct 7, 2019 at 13:49
  • 3
    @HereticMonkey The key point to the "don't migrate crap" policy is that it applies to content that's already been posted to the wrong site. An automated filter like the one smci proposed would automatically detect that it's Cyrillic and then create the post on ru.stackoverflow.com from the outset.
    – TylerH
    Commented Oct 7, 2019 at 15:13
  • 2
    @TylerH the thing is I've never seen a good question posted in wrong language to Stack Overflow. Or maybe the standards over there are just a tad lower. My filter would forbid from such posts ever landing. Hey, the instruction message could even point to other language sites, there aren't too many. Let the user figure out which one is appropriate. Commented Oct 7, 2019 at 15:17
  • 1
    @AnttiHaapala FWIW I agree with your proposal, I just think smci's addition would be even better. (I have seen a few good questions get asked here, and then deleted and re-asked on the appropriate site after being pointed out in comments).
    – TylerH
    Commented Oct 7, 2019 at 15:22
  • 2
    @TylerH Then I guess it's less migration than simply redirection, if the post never shows up on SO. Still seems like we're pushing potential crap on another site that doesn't necessarily want to deal with it either. I mean, we could technically detect that questions that ask for a review of code (a search of "please review my code") and post those to Code Review, but I doubt they would be pleased with the result... Commented Oct 7, 2019 at 15:23
  • 2
    @HereticMonkey Yes, though CR isn't a good comparison, because they aren't "SO but in another language" - they require specific things (like not an MCVE but rather the whole program, for one thing). Each of the foreign language SOs, to my knowledge, all have the exact same rules as the English-speaking SO for topicality/scope. But I do agree that we could and should be doing a lot more to block a lot of questions from being posted (e.g. anything with the phrase "best practices" used in interrogative form, for one).
    – TylerH
    Commented Oct 7, 2019 at 15:27
  • 1
    @HereticMonkey and Tyler: since I don't read Cyrillic or speak Russian, I didn't know if this was nonsense. It's unclear what Antti (or the rest of you) are actually proposing should be done with this post, other than complaining it shouldn't be allowed on the English-speaking site. Obviously crap shouldn't be posted, but given SO can't manage to police the English-language site adequately, I wouldn't hold my breath on implementing crap-detection heuristics in Cyrillic.
    – smci
    Commented Oct 7, 2019 at 21:34
  • @smci I think the proposal is clear; just as we don't allow questions which have the word "error" in a short title, we prevent questions where the title and/or non-code portions of the body is solely in a character set outside of, say, ISO 8859-1. That said, I agree with not holding our collective breaths considering SO, inc, is busy making sure scores can't (appear to) go below 0... Commented Oct 7, 2019 at 21:41
  • 1
    @HereticMonkey: the proposal is totally unclear, for the 90+% of us who don't read Cyrillic! We don't know whether "Заполнение диагоналей трехмерной матрицы" means "Filling the diagonals of a three-dimensional matrix " any more than "Scrape hot girls' profiles from social-media". Context! So I just added a translation. Next time, give context. Or else we might start posting posts in Kyrgyz then say "But of course it's clear!"
    – smci
    Commented Oct 7, 2019 at 21:52
  • 1
    @smci I very purposefully put stackoverflow.com and not ru.stackoverflow.com. They would be rejected on the English-only Stack Overflow site, obviously. This is meta.stackoverflow.com, after all, not meta.ru.stackoverflow.com. What happens to posts with "error" in a short title? Nothing, because there are no (new) posts with that problem -- they are prevented from being posted in the first place. Commented Oct 7, 2019 at 22:05

3 Answers 3

22

Bump. This is becoming more and more a problem over time, there are misguided Russian-speakers several times a day now. Any post that largely consists of Cyrillic should be either rejected, and/or the author should be made aware that Stack Overflow на русском exists with a custom message.

1
  • 5
    They actually tried to give a warning for questions that might fit on a foreign language SO. I don't know if it's still active. Unfortunately, Ukrainian uses the same letters as Russian so it's possible that such a message wouldn't always be helpful, but it couldn't be less helpful than allowing them to post anyway. Plus I can't help but think that we can use that one header that tells you what language a user prefers to maximize accuracy.
    – Laurel
    Commented Mar 20, 2022 at 15:37
22

Example of Title Validation Result

Ok, so I added a new question title validation that titles must have at least one character between a-z. It's a pretty minimally intrusive rule; there could be more done to require multiple characters / words, etc, but this should catch the most blatant of cases and have very few false positives.

This has been rolled out to all sites except the following:

This was based on this query I ran on how positively received questions without a latin a-Z character were per site:

query results showing percent of questions well received per site

This will end up applying validation rules to some existing questions that will apply on next revision. So if people edit the following questions, they'll have to also provide an updated title. In most places, these questions would benefit from revision or adding clarifying copy alongside the current title.

In the future, we may do some language detection and try to route russian askers to the russian stack site (for example), but that'll be a different ticket.

Update 3/14

Updated copy to "English" and add link to Do posts have to be in English on Stack Exchange?. Thanks to Laurel & Makyen for the suggestions!

2
  • 1
    Is it intentional that these validation rules are not applied on rollbacks?
    – gparyani
    Commented Mar 16, 2023 at 19:44
  • 3
    Yes, I'm sure that's intentional, @gparyani. Someone who wants to rollback an inappropriate edit should be able to do so immediately, without having to worry about rewriting the post to meet our current standards.
    – Cody Gray Mod
    Commented Mar 17, 2023 at 7:53
13

Here’s a query I wrote to find all existing titles that don’t contain A-Z:

select id as [Post Link] from posts where title not like'%[a-zA-Z]%'

As you can see, there are a handful of (what I consider) legitimate titles with no alphabetics, but not enough to stop this FR from being a good idea (not just here but also on most of the other sites in the network). There’s also a trivial way to change these titles to actually contain words (e.g. “Why is it that 185.3 + 12.37 = 197.67000000000002?”)

Strangely enough this query also turns up a question posted completely in English where the title was edited into Russian(?) days after it was posted without anyone noticing. (Which I have never seen before but would have been caught by a title filter like this.)

2
  • 1
    Of course the filter could be changed to "if there are any letters then there should be Latin letters" if those types of titles are considered worth keeping Commented Oct 8, 2019 at 6:10
  • 5
    I'd consider all of the titles gotten from that query unclear, and deserving of being rejected in favor or a well-formed question sentence. Commented Oct 8, 2019 at 8:08

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .