The wiki is correct! The source you linked must have assumed that the address with the smallest encoding has version_byte=00, data=20*00, checksum=94A00911
$ encodeBase58 00000000000000000000000000000000000000000094A00911
1111111111111111111114oLvT2
Which has length 27. This address is valid and has been used on the blockchain! But it is not the shortest address.
I wrote this short bash script to find the minimum length address. It found that there were a total of 266 address of length 26. For anyone who is curious, these are the 266 addresses with length 26.
The maximum length address has version_byte=00, data=20*FF, checksum=FA06820B:
$ encodeBase58 00FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFA06820B
1QLbz7JHiBTspS962RLKV8GndWFwi5j6Qr
Which has length 34. This has also been used to receive coins, as can be seen here.
"Version 0 witness addresses are always 42 or 62 characters."
So
bc1
prefixed addresses would adhere to this limitVersion 1 addresses (P2TR or Pay-To-Taproot) with a prefix
– oz21m Nov 22 '22 at 17:11bc1p
are not strictly Version 0 witness addresses... however there is no mention of address length in BIP341... so not sure what the length here would be...