Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 158 Stack Exchange communities.

What is meta?
Here's how it works:
  1. Any Stack Exchange user can ask a question
  2. The community provides support, votes on ideas, and reports bugs
  3. Your voice helps shape the way Stack Exchange operates

The close link on the mobile site gets mangled if you vote to close something that has existing close votes:

mangled mobile close link

This is a result of the response handler in StackExchange.vote_closingAndFlagging which does

b.text(b.text().replace(/\w?\(\d\)/, "") + " " + d.Message)

Since the mobile version of the site doesn't generate a space between the "close" and "(#)" portions, the \w? matches the "e" in addition to the count and cuts it off.

The mobile version of the site should likely have a space before the vote count, and the intended regular expression was probably /\s?\(\d\)/ (although removing the extra space isn't strictly necessary).

share|improve this question
I would have probably stopped at the image. Nice job digging in and finding the cause of the bug. – Bill the Lizard Oct 31 '12 at 18:37
I figure they have bigger (and potentially literal) fish to fry on account of the flooding, so I opted to provide as much information as possible. – Tim Stone Oct 31 '12 at 18:42
up vote 6 down vote accepted

Just gonna take your word on this one, the space will be there in the next build.

share|improve this answer

You must log in to answer this question.

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