Just some thoughts here...
Barrels were originally long to give a greater sight radius , which enhanced accuracy in non scoped rifles. As your last article explains, the lost velocity is not related to accuracy itself, but more about the effective range.
In pcp's, you can get more velocity in any given barrel length by using more air or higher pressure. As shown in several threads, including my own, pellets have an optimum velocity so faster is not necessarily better. It then becomes a choice of HOW to get there. A short, high pressure blast in a short barrel may get you to the same speed as a longer lower pressure blast in a long barrel but which will give you better shot count? Also to consider are the harmonics... short being higher frequency but less amplitude, and balance... longer putting mass further from center thus helping damp movement (easier to shoot).
In EBR type benchrest, pushing the heavy pellets fast enough is easier with longer barrels so you'll likely only see long barrels where 25 meter doesn't allow or need that power so SOME airguns have been made with shorter barrels with no detriment. In AAFTA style FT, power is limited and you'll also see barrel length vary a good bit.
Aiguns are a huge collection of tradeoffs so weight, ergonomics, power, balance and shot count are just SOME of the things barrel length will affect more than accuracy .
Bob