quality:corruption, information:extraction
Law and jurisprudence

Historically, sharia was interpreted by independent jurists (muftis). Their legal opinions (fatwa) were taken into account by ruler-appointed judges who presided over qāḍī 's courts, and by maẓālim courts, which were controlled by the ruler's council and administered criminal law. In the modern era, sharia-based criminal laws were widely replaced by statutes inspired by European models. The Ottoman Empire 's 19th century Tanzimat reforms led to the Mecelle civil code and represented the first attempt to codify sharia. While the constitutions of most Muslim-majority states contain references to sharia, its classical rules were largely retained only in personal status (family) laws. Legislative bodies which codified these laws sought to modernize them without abandoning their foundations in traditional jurisprudence. The Islamic revival of the late 20th century brought along calls by Islamist movements for complete implementation of sharia. The role of sharia has become a contested topic around the world. There are ongoing debates as to whether sharia is compatible with secular forms of government, human rights, freedom of thought, and women's rights.