The first magistrates court in Ankara threw out the appeal filed earlier this week by the Wikimedia Foundation.
The first magistrates court in Ankara threw out the appeal filed earlier this week by the Wikimedia Foundation, which owns the domain name for Wikipedia, the state-run Anadolu news agency said.
The ban had been imposed on Saturday by Turkey's Information and Communication Technologies Authority (BTK) and had remained in place after being backed up by a court order earlier this week.
Turkish officials have said that the ban was needed as Wikipedia had failed to remove content deemed to be false from its pages that linked Turkey with terror groups.
But the move caused an outcry among freedom of information activists who accuse Turkey of slapping bans on websites and social media with alarming regularity.
There have also been questions why Turkey had to ban the entire website in all languages as its objections reportedly related only two pages in the English version.
BTK head Omer Fatih Sayan said earlier this week that the ban would only be lifted when the judiciary's decisions were implemented and the pages removed.
Istanbul municipality officials on Tuesday also removed Wikipedia founder Jimmy Wales from the guest list of the World Cities Expo, a major international conference to be held in the city on May 15-18.
Reacting to the ban for Wikipedia on Saturday, Wales had said on Twitter: "Access to information is a fundamental human right. Turkish people, I will always stand with you to fight for this right."
Turkey has frequently blocked access to websites temporarily including popular websites such as Facebook, Twitter and YouTube following terror attacks or anti-government demonstrations.
Savvy internet users frequently resort to the use of Virtual Private Networks (VPNs) to get around these bans although there have been complaints that the use of VPNs has now also started to be blocked.