That just lets you know what skill controls the weapon. In other words, it tells you which weapon lore skill you would need to take to boost attack value and attack speed, and also which skill would unlock modifiers.
So in this example:
You'd still get all the modifiers, even though you don't have the skill (note that it's in red). The game's just letting you know if you want to boost your speed and attack you need that skill.
Not every weapon has locked modifiers, you can always tell them because they're in red, like so:
In this case, Chance to stun opponents and Combat Values (attack and defense) won't be granted unless you take the Hafted Weapons skill. But Chance for Freeze would still work.