Board Thread:Character Discussion/@comment-24323512-20131222030520

In the episode "The Serpent" you can see that Sidney's Lamp is in the book about genies and his lamp was in Jafar's cabinet. Does this mean all the Wonderland's events happend before OUAT main series events? And how does Sidney get to the Enchanted Forest for that matter? 