I'd suggest the following:
The caster level of an intelligent item is the highest among: its Int,
Wis and Cha scores; and the caster levels of its Dedicated Powers
(minimum unless otherwise specified); and the caster level of the base
item.
To create an intelligent item with a spell-like ability, you must be
able to cast that spell.
To create one with ranks in a skill, you must have that many ranks in
that skill or be able to cast a spell that grants at least that much
enhancement bonus to that skill.
To create one that speaks a language, you must either speak that
language or be able to cast Tongues, Limited Wish, Wish or Miracle.
To create one with darkvision, you must be able to cast Darkvision,
Limited Wish, Wish or Miracle.
Also: I'd strongly advise against randomly generating intelligent
items by the method in the SRD when rolling minor or medium items, or
else it is possible (though unlikely) for the players to acquire one
with greater powers at first level and, even if they don't use it,
sell it for more than 50,000 gp.