That looks to be old K&T with a pigtail and some kind of terminal block or something similar??? Kind of hard to tell.
Actually "pigtails" are an approved method of wiring up barns and the like up here where there is the risk that the lamp may get bumped. It allows for the lamp and holder to simply move about freely and not get smashed off the ceiling as it would if fastened securely, Mind you there is NO open wiring, and the connections are done in a box and covered with an actual bakelite canopy cover.
A.D