Thread:Project:Support desk/showing Arabic and Hebrew

I have a website that uses the Wikipedia software and I would like to know what software does Wikipedia use to keep the languages like Arabic and Hebrew to show their page from right to left. I don't want to put tags on every page of the above languages. I want it to be like Wikipedia. My software shows it from left to right. I would like to know how Wikipedia is dealing with this issue. I invested a lot of thime and efforts and so far no luck.