1
$\begingroup$

I've noticed that on a handful of tag wikis, the initial portions are missing, even though they are reflected on the tag wiki page itself.

In the tags list:

enter image description here

On the tag wiki page:

enter image description here

$\endgroup$
2
$\begingroup$

This is by design, the tag wiki excerpt code tries to avoid repetition in the beginning of the excerpt. See this answer by Jeff Atwood for some more details. The regex is supposed to be the following, though I don't know if this is still current:

^.{0,40}?
(
(this\stag\s(is)?\s?)  # this tag .. this tag is|about ...
|
(used\sto\s)           # this tag is used to ...
|
(the\s[^\s]+\stag\s)   # the {foo} tag ...
|
(the\stag\s[^\s]+)     # the tag {foo} ...
|
(\s(is|are)\s)         # blah blah blah is|are ...
)

This causes a significant amount of collateral damage, as you have noticed.

$\endgroup$
4
  • $\begingroup$ Interesting. It's funny, I've never noticed it before today (and I've edited a "few" in my day, hehe). Maybe there's a new build out which enforces it more strongly now. $\endgroup$
    – jonsca
    Aug 1 '12 at 6:15
  • $\begingroup$ I wonder why it grabbed "processes" and not "study" in the other tag, though? $\endgroup$
    – jonsca
    Aug 1 '12 at 6:16
  • $\begingroup$ The last regex removes anything before an "is" or "are" in the first 40 characters, that is the one which caused your truncated examples. $\endgroup$ Aug 1 '12 at 6:18
  • $\begingroup$ Ah, I misread it. Okay. $\endgroup$
    – jonsca
    Aug 1 '12 at 6:22

You must log in to answer this question.

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