That sentence isn't the longest valid English sentence, for example, this sentence is longer. In fact, as that Wikipedia article says, you can extend that sentence as well:
> Thomas Tymoczko has pointed out that there is nothing special about eight "buffalos"; any sentence consisting solely of the word "buffalo" repeated any number of times is grammatically correct.