TL;DR: Wikipedia is correct there, (left) Libertarianism came first and is the correct one (the one that makes more sense as an ideology), right Libertarianism originated as a scam.
Longer TL;DR: That heavily depends on what you refer to as "Libertarianism". There are groups that are referred to as "left libertarian" or "right libertarian" though that is kinda misleading because it gives the impression that there is such a thing as a universally accepted definition of "libertarianism" and that these are merely the left or right wing of that position. So as if you were talking about a political spectrum of a certain ideology. That is not the case. Left and right libertarian are sharply opposed at times they are mutually exclusive. They have different ideologies, draw from different traditions, have vastly different goals, means and aspirations and share next to nothing but the name. And as said the left wing version was first and the right has acknowledged that steal of terminology. See the quote Murray Rothbard quote from this answer: https://politics.stackexchange.com/a/49709/42766
“One gratifying aspect of our rise to some prominence is that, for the first time in my memory, we, ‘our side,’ had captured a crucial word from the enemy . . . ‘Libertarians’ . . . had long been simply a polite word for left-wing anarchists, that is for anti-private property anarchists, either of the communist or syndicalist variety. But now we had taken it over...”
Though if you come from a country where this (right libertarianism) is the definition of "libertarian", you'd probably be justified in your confusion how someone would call that "left wing" or how that should have emerged from a leftist tradition. It isn't and it doesn't.
Even longer answer: To keep it at least a little short. Throughout medieval Europe feudalism and estate systems dominated the political order. Where usually the first estate was the church, who then provided the narrative of an approval of god to the second estate which was the nobility and below that came the peasantry who had to rent land from the first and pay tribute and assistance in stuff, work and warfare.
Though with the end of the medieval period (maybe caused by the pestilence) and the enlightenment that structure got some cracks. Intellectually science was providing alternative explanations for how the world works, kinda bringing the church in trouble which worked hard to suppress it but ultimately had to give in. Philosophers were pondering about individual rights, freedoms, privileges, social contracts the necessity or superfluousness of the monarchy. Britain developed a parliament pretty early which wasn't really all that democratic yet (and isn't officially a republic even now), but marked an ever more incremental process towards rights shifting from the king to the lower levels.
While economically an ever more potent middle class emerged with large economic influence but next to no political power. Then the U.S. declared their independence and the French had a pretty influential revolution and suddenly those utopian ideas of a system where there is no king but where the people themselves form the state (republic) and where free and equal citizens themselves decide the future of their country (democracy) were no longer pipe dreams but close to being implemented.
And the French Revolution also introduced the idea of "left" and "right" as political orientations, as groups of people with similar ideas grouped themselves in proximity in the parliament and those with wishing to conserve the system and reinstall the monarchy ended up being on the right, while the revolutionaries were on the left, with the "liberals" who wanted more privileges for them (or conversely less for the nobility) but weren't overly revolutionary in the middle. Then the monarchists tried to betray that the king was executed, the republic was declared and the liberals moved from left and center to the right.
So you had a huge victory for those ideas of liberty and equality, for ideas of getting rid of social hierarchies, of the king of republics, democracies and also economically the enlightenment had gone over to the industrialization allowing increased production and the end of scarcity. The future was looking bright and tons of people added their own two cents. You're still probably hard pressed to find democratic parties who can get away not at least paying lip service to freedom(germanic etymology)/liberty(latin etymology) and equality. Even conservative parties often talk about "equality of opportunity" to at least check that box or extensively about "economic liberty" while talking surprisingly little about what that means for people with low or no income...
Though with the implementations also the intended or unintended flaws and shortcomings with respect to those ideals became apparent. Like equality of individuals made it sound like some Kantian ideas of the categorical imperative like universal rights, treating people not as a means to an end but as an end in itself. And while equal rights sound like a step in the right direction, that alone isn't quite cutting it if you apply equal laws to unequal conditions:
In its majestic equality, the law forbids rich and poor alike to sleep under bridges, beg in the streets and steal loaves of bread.
Or if you allow political contribution based on tax load, then miraculously it's only really the aristocracy (traditionally rich) and the upper middle class (new rich) who can afford to do politics, though their doing politics also ensures that things stay that way... Apparently some liberals have developed in that regard quite a fondness of property rights as that was their route out of serfdom and into political agency.
Conversely for the lower classes that meant surprisingly little change came out of these glorious revolutions, it had been a bunch of rich tyrants ruling them and it still is a bunch of rich tyrants ruling them... Just with a better PR campaign.
And the enlightenment focus on the individual that could be read as "everybody is important" also was kinda also read as "me being important and me caring only for myself, if youself not care for youself it's you problem". So indivdiualism isn't just putting a spotlight on the individual it also pretends that the individual actually is an island that can stand on it's own. Which for the most part is a lie. Without a society they had no food, no home, no customers for their skills or they'd need to do that all by themselves which is borderline impossible (at modern levels).
So there is a strain of liberalism that focuses on these early implementations and on claims of an open competition of ideas and people and somewhat of a social darwinism where the fittest ideas, people, products will emerge and where the perishing of the rest is intended or acceptable.
Which brings it closer in effect to classical conservatism which also advocated for a social hierarchy of people, though their narrative was more biological darwinism or previously assisted by religious arguments. And the most extreme versions of those are then "right libertarians" who actually emerged in the 1960s out of Old Right conservatists in the U.S. and basically tried to sell the same old unregulated market capitalism as before but with a twinkle of the anarchist lingo that the Hippies were using.
Now what does that have to do with liberty? Are individuals, especially those at the bottom of the food chain (remember that equality bit), actually free? Turns out that liberty and anarchism isn't really related to people or at best to the ones at the top where "they can spend their money however they want and so can you (if you had any to spare...)", but usually it's just a synonym for unregulated markets...
While on the other side, this dissatisfaction with how the liberal ideas being implemented and being somewhat corrupted (though that depends on how you read them in the first place), lead to ideas that put a bigger focus on society as a whole. Giving rise to "socialism". Opening up a can of worms of thousands of different ideologies how to reconcile individual liberty with the fact that other people also have individual liberty and are equal.
Though usually the least common denominator was that workers should own the means of production as industrial capitalism saw a huge rise in power of the capitalists who owned those privately to the exclusion of everyone else.
And then we get to the OG libertarians which basically developed the idea of liberation and the progression from less power to the king more power to the people to it's most extreme conclusion. That is: Anarchism. No social hierarchies, no rulers, no ruled, no institutionalized power of the state, that enforces laws (classical liberals were still very fond of that restriction of the liberties of others if it served their own). So not just liberal (towards more liberty) but "libertarian" (demanding the full thing). Where libertarian and Anarchist were used synonymously. Afaik Anarchism came first but it's connection with chaos and lawlessness (actually anomie not anarchy) lead to people preferring the use libertarian to stress the liberty aspect (rather than the absence of rulers), though that PR move didn't work and so they still largely use anarchism instead.
Now that school of though usually splits loosely in individualist and collectivist anarchism so depending on whether you see it more as a mutual collective of individuals or as a society without hierarchies. Conceptually they should meet somewhere in the middle as even collectivist anarchists often promote unions of egoists and mutual cooperation, while other's have a little less distrust of other people and put more focus on mutual aid.
But the least common denominator of anarchists is the rejection of social hierarchies and the rule of people over other people. Which pretty much from the beginning made them side more with the socialists, but at least made them anti-capitalist. Seriously the first person to call himself an anarchist Pierre-Joseph Proudhon is famous for his slogan "Property is theft!" and his mutualism is already more "right-ish" in the anarchist movement, allowing market based economies.
Which should make it obvious in how sharp of a contrast that is to supposedly "right libertarianism" and "anarcho-capitalism" which makes property rights front and center, even putting them before human rights and liberty and even being ok with a state if it ensures property rights (minarchism, probably the most common "right libertarian" faction).
Even the term capitalism was coined in it's modern meaning by socialists and anarchists as a dystopian system:
"What I call 'capitalism' that is to say the appropriation of capital by some to the exclusion of others" - Louis Blanc in 1850
"Economic and social regime in which capital, the source of income, does not generally belong to those who make it work through their labor". - Pierre-Joseph Proudhon in 1861
So the conflation of Anarchism/Libertarianism with ideas of nationalism, chauvinism, social hierarchies (classical conservatism), capitalism, etc. is pretty oxymoronic as these ideas are mutually exclusive.
For completion, there might be this very narrow overlap between capitalism, socialism and anarchism where everyone owned their own set of means of production, produced their own stuff and exchanges equal amounts of labor with other people so that as a result no one gets the better or ends up in a position where they own so much more that it becomes a source of power over other people. Which is both anarchism (no ruler), socialism (workers owning the means of production) and capitalism (private ownership of the means of production) though which is really going out on a limp on any of these and it's pretty unlikely that removing the democratic restrictions on rich people to unleash a tyranny of their own volition is going to get us there anytime soon.
Though most of the time there is a mutual aversion between anarchists (of any school) and anarcho-capitalists and vice versa. Hope this gives a very broad overview about the topic.
Edit: One last point, due to the obvious problem that actual Anarchism is in somewhat of contradiction with the existence of states and technically also with the monopoly of violence that is at the heart of most states claim to authority, it's much more likely to find large factions of "right libertarians" and "anarcho-capitalists" who present as rather inoffensive to the status quo of a capitalist system, despite all the radical language, then actual Anarchists who's existence beyond an intellectual level of thought might probably render them illegal (because in competition to the state; at least the revolutionary ones). So with regards to what you might hear of those, it's probably more likely to hear of those who are allowed to buy public advertisements.