25

If I create a tag filter that looks for the eleição tag on meta.pt.SO, it should return some questions, since they exist:

result count for the eleição tag on meta.pt.SO

The tag filter setup form disagrees, suggesting there's 0 questions with that tag:

tag filter setup for the eleição tag

If the questions had been posted more recently we might have been able to blame caching, but the problem is actually that the tag filter functionality is unaware that Marc put in all that hard work supporting diacritics and non-Latin characters in tags, and just strips them all out:

eleição tag changed to eleicao

For kicks I tried adding the грамматика tag from Russian Language—that fails entirely with an internal server error, presumably because it can't reduce the tag name to a non-zero amount of Latin characters, which in turn trips up the rest of the process.

"Tag filters aren't a highly used feature anyway" might be a reasonable response to this, but unfortunately I really kind of need the tag filter to work correctly to automatically pull election information for the Election Statistics site as there isn't another sane way to get notified of a new election*.

*In lieu of fixing this I will accept some other way of getting a list of active elections, since parsing the RSS feed is itself kind of obnoxious

  • I suppose you can look for eleicao as a workaround, until the bug gets fixed. Just don't rely on that bug forever — I wouldn't want to endorse that a search for eleição would to match eleicao or vice versa! – Gilles 'SO- stop being evil' Jun 10 '15 at 17:27
  • In this instance I'll just add the election manually, since that's all I track the RSS feed for and I know it's started. Then it's just a matter of hoping that it's fixed before they (or another non-English site) have their next election. – Tim Stone Jun 10 '15 at 17:33
  • 1
    Related: while the search engine on pt.so supports ignoring diacritics (e.g. meta.pt.stackoverflow.com/search?q=eleicao), it does not work when you search for [tag] (e.g. meta.pt.stackoverflow.com/search?q=%5Beleicao%5D+eleicao). Maybe both issues could be fixed at once. – bfavaretto Jun 10 '15 at 20:15
  • Hi, can you also give a look on this? meta.pt.stackoverflow.com/q/5175/132 – Victor Stafusa Jul 20 '16 at 20:34
  • 1
    @VictorStafusa Yeah, I will address that, thanks! – Tim Stone Jul 20 '16 at 20:36

You must log in to answer this question.

Browse other questions tagged .