World Library  
Flag as Inappropriate
Email this Article

Reasonable accommodation

Article Id: WHEBN0009285138
Reproduction Date:

Title: Reasonable accommodation  
Author: World Heritage Encyclopedia
Language: English
Subject: Freedom of religion in Canada, Mental health law, Disfranchisement, Equal Employment Opportunity Commission, Canadian identity
Collection:
Publisher: World Heritage Encyclopedia
Publication
Date:
 

Reasonable accommodation

A reasonable accommodation is an adjustment made in a system to accommodate or make fair the same system for an individual based on a proven need. Accommodations can be religious, academic, or employment related and are often mandated by law. Each country has its own system of reasonable accommodations. The United Nations use this term in the Convention on the Rights of Persons with Disabilities, saying refusal to make accommodation results in discrimination. It defines a 'reasonable accommodation' as:

“Reasonable accommodation” means necessary and appropriate modification and adjustments not imposing a disproportionate or undue burden, where needed in a particular case, to ensure to persons with disabilities the enjoyment or exercise on an equal basis with others of all human rights and fundamental freedoms;
— [1]

Canada

In Canada equality rights, as set out in provincial and federal anti-discrimination laws and in section 15 of the Canadian Charter of Rights and Freedoms, require that accommodation be made to various minorities. (The origin of the term "reasonable accommodation" is found in labour law jurisprudence, specifically O'Malley and Ontario Human Rights Commission v. Simpsons-Sears, [1985] 2 S.C.R. 536 and is argued to be the obligation of employers to change some general rules for certain employees, under the condition that this does not cause "undue hardship".)

Examples

In Quebec, under the Canadian Charter of Rights and Freedoms, the question on what was and will be the national identity has been contested, such as the court decision in Multani v. Commission scolaire Marguerite‑Bourgeoys.

The municipal council of the town of Hérouxville passed a "code of conduct" for residents. It provided details of expectations of behavior, and defined practices of other countries that were not acceptable in the town, such as stoning women or burning them alive, and female genital mutilation. The code of conduct also explained common practices in Canadian culture. It said that carrying a weapon to school (a reference to the Sikh ceremonial kirpan), covering one's face (some particular forms of the Muslim veil), and making accommodation for prayer in public schools would not be permitted. It attests that "Our people eat to nourish the body, not the soul," in reference to Jewish and Muslim dietary laws, and that health-care professionals "do not have to ask permission to perform blood transfusions."

This code of conduct was developed as the town and province absorbed more immigrants from other cultures. Other cultural questions arose. In 2007 a YMCA set up clouded windows to shield ultra-Orthodox Jews who had complained that youngsters could see girls and women in gym attire. There have been questions about whether voters are allowed to fill out and submit ballots while clothed in a niqab or burka, which can hide identity. A Muslim spokesman said that women are always required to show identity for public purposes, so it was a question raised unnecessarily.[2]

While most residents in Quebec have identified as Catholic on surveys, the province has become increasingly secular, with declining rates of church attendance. The provincial government has worked to reach an accommodation with the Roman Catholic Church on guidelines for conversion or disposal of underused churches. The church has allowed local parishes to work with municipalities to develop the buildings as community centres, for example, rather than for private condominium construction.

Judaism

Benjamin Rubin, a forward with the Gatineau Olympiques ice hockey team, refused to play several key matches because they fell on a Jewish holiday. Some claimed the Jews would end up forcing the Quebec Major Junior Hockey League to reschedule all their matches on Fridays and Saturdays. Rubin and the Olympiques came to an agreement, and "he will only miss a handful of games." He has since left the team.[3][4]

Islam

In 2007 Elections Canada ruled that Muslim women wearing the niqab (veil) or burka will be allowed to vote in all upcoming national elections, by-elections and referendums without showing their faces.[5] The same policy applies to all Canadians under federal Bill C-31, in that photo ID is not strictly required if two other pieces of acceptable official ID are provided, or another voter vouches for them. The proclamation created social animosity towards Muslims in Quebec.[5] Premier Jean Charest of Quebec described this as a bad decision. He noted the Province of Quebec had voted to forbid Muslim women from being permitted to vote if they would not reveal their faces and confirm their identities. [5]

The national Conservative government challenged Canada's chief electoral officer, Marc Mayrand, to review his decision to permit Muslim women to vote with their faces hidden. The federal Liberals and the Bloc Québécois also requested such a reversal, to demand that all voters be required to show their faces in order to vote, even those whose faces are normally covered for religious reasons. They joined other federal and provincial politicians from Quebec who attacked the decision.[6]

Sarah Elgazzar, an advocate for the Canadian Council on American-Islamic Relations in Montreal, declared that it is improbable that very many Muslim women will have hidden faces when voting. Elgazzar insisted that women using niqabs usually take them off to distinguish themselves and do not sport them for photo IDs. This fact was echoed by Salam Elmenyawi of the Muslim Council of Montreal.[7]

Media exposure

There was extensive coverage of related issues in Quebec's news media in 2006 and 2007. Some analysts attributed this more to competition among media than a measure of citizen concern. The premier of Quebec declared several non-negotiable values, such as "the equality of women and men; the primacy of French; the separation between the state and religion".

The conservative ADQ party appeared to gain support from these debates. It formed the official opposition in the provincial legislature for one term from 2007 to 2008, until the increasing prominence of the global economic crisis relegated reasonable accommodation to an issue of less importance.[8]

Employment integration

A 2006 examination from Statistics Canada demonstrated that Quebec had the highest newcomer unemployment rate in Canada.require('Module:No globals')

local p = {}

-- articles in which traditional Chinese preceeds simplified Chinese local t1st = { ["228 Incident"] = true, ["Chinese calendar"] = true, ["Lippo Centre, Hong Kong"] = true, ["Republic of China"] = true, ["Republic of China at the 1924 Summer Olympics"] = true, ["Taiwan"] = true, ["Taiwan (island)"] = true, ["Taiwan Province"] = true, ["Wei Boyang"] = true, }

-- the labels for each part local labels = { ["c"] = "Chinese", ["s"] = "simplified Chinese", ["t"] = "traditional Chinese", ["p"] = "pinyin", ["tp"] = "Tongyong Pinyin", ["w"] = "Wade–Giles", ["j"] = "Jyutping", ["cy"] = "Cantonese Yale", ["poj"] = "Pe̍h-ōe-jī", ["zhu"] = "Zhuyin Fuhao", ["l"] = "literally", }

-- article titles for wikilinks for each part local wlinks = { ["c"] = "Chinese language", ["s"] = "simplified Chinese characters", ["t"] = "traditional Chinese characters", ["p"] = "pinyin", ["tp"] = "Tongyong Pinyin", ["w"] = "Wade–Giles", ["j"] = "Jyutping", ["cy"] = "Yale romanization of Cantonese", ["poj"] = "Pe̍h-ōe-jī", ["zhu"] = "Bopomofo", }

-- for those parts which are to be treated as languages their ISO code local ISOlang = { ["c"] = "zh", ["t"] = "zh-Hant", ["s"] = "zh-Hans", ["p"] = "zh-Latn-pinyin", ["tp"] = "zh-Latn", ["w"] = "zh-Latn-wadegile", ["j"] = "yue-jyutping", ["cy"] = "yue", ["poj"] = "hak", ["zhu"] = "zh-Bopo", }

local italic = { ["p"] = true, ["tp"] = true, ["w"] = true, ["j"] = true, ["cy"] = true, ["poj"] = true, } -- Categories for different kinds of Chinese text local cats = { ["c"] = "", ["s"] = "", ["t"] = "", }

function p.Zh(frame) -- load arguments module to simplify handling of args local getArgs = require('Module:Arguments').getArgs local args = getArgs(frame) return p._Zh(args) end function p._Zh(args) local uselinks = not (args["links"] == "no") -- whether to add links local uselabels = not (args["labels"] == "no") -- whether to have labels local capfirst = args["scase"] ~= nil

        local t1 = false -- whether traditional Chinese characters go first
        local j1 = false -- whether Cantonese Romanisations go first
        local testChar
        if (args["first"]) then
                 for testChar in mw.ustring.gmatch(args["first"], "%a+") do
          if (testChar == "t") then
           t1 = true
           end
          if (testChar == "j") then
           j1 = true
           end
         end
        end
        if (t1 == false) then
         local title = mw.title.getCurrentTitle()
         t1 = t1st[title.text] == true
        end

-- based on setting/preference specify order local orderlist = {"c", "s", "t", "p", "tp", "w", "j", "cy", "poj", "zhu", "l"} if (t1) then orderlist[2] = "t" orderlist[3] = "s" end if (j1) then orderlist[4] = "j" orderlist[5] = "cy" orderlist[6] = "p" orderlist[7] = "tp" orderlist[8] = "w" end -- rename rules. Rules to change parameters and labels based on other parameters if args["hp"] then -- hp an alias for p ([hanyu] pinyin) args["p"] = args["hp"] end if args["tp"] then -- if also Tongyu pinyin use full name for Hanyu pinyin labels["p"] = "Hanyu Pinyin" end if (args["s"] and args["s"] == args["t"]) then -- Treat simplified + traditional as Chinese if they're the same args["c"] = args["s"] args["s"] = nil args["t"] = nil elseif (not (args["s"] and args["t"])) then -- use short label if only one of simplified and traditional labels["s"] = labels["c"] labels["t"] = labels["c"] end local body = "" -- the output string local params -- for creating HTML spans local label -- the label, i.e. the bit preceeding the supplied text local val -- the supplied text -- go through all possible fields in loop, adding them to the output for i, part in ipairs(orderlist) do if (args[part]) then -- build label label = "" if (uselabels) then label = labels[part] if (capfirst) then label = mw.language.getContentLanguage():ucfirst( The newest immigrants endured an unemployment ratio of 17.8% in 2006, or almost three times the 6.3% ratio of native-born help. In contrast, joblessness among current newcomers in Ontario was 11% contrasted with 4.4% among the Canadian-born. In British Columbia, the numbers were 9.5% and 3.7%, respectively.

"She notes that it will be some time before she and her colleagues can do enough analysis to say much about the causes of this phenomenon. Nevertheless, Quebec does seem to favour a more extreme version of this (syndrome) than other provinces. Several factors are the devaluation of allegedly inadequate foreign credentials, language tests that have little to do with professional performance and "Canadian experience" requirements that serve as an all-purpose excuse to lock out job applicants who don't already have a job.

"In both Quebec and Canada as a whole, 26 per cent said their biggest employment problem was a demand for Canadian experience and 21 per cent said it was would-be employers who wouldn't recognize foreign credentials or experience."[9]

Political reaction

Former leader of the Parti Québécois André Boisclair noted, "We're not talking about reasonable accommodation [if] it has nothing to do with public services," Boisclair said. At the same time, Boisclair blamed Premier Jean Charest for pandering to Quebecers who balk at adjustments made for immigrants in civil society.

Charest declined to defend them when girls wearing hijab were prohibited from soccer and tae kwon do, and when prejudiced remarks were offered about Jews.[10]

Mario Dumont, leader of the Action démocratique du Québec (ADQ) said in an interview in La Presse that Quebec needs more immigration for economic and demographic reasons, but that he believes that Quebec had met its limits of immigrant acculturation, and that any further increase in rates of immigration would create ghettos. (At present, the province accepts a smaller percentage of newcomers than elsewhere in Canada.) He criticized Charest for a plan to raise such levels when the Liberal government has cut funds for integration of newcomers into French culture. 'We're a linguistic minority...and immigrants need francization,' Dumont said. 'It's quite a challenge.'[11]

Then Parti Québécois leader Pauline Marois said that Quebec should assume all control over its immigration, not the 60% that it has now under a bilateral agreement with the government of Canada. She also said the province should make the message clear to immigrants that Quebec is a francophone "state", not officially bilingual as is Canada and Quebec's neighbouring province New Brunswick.

Ms. Marois said that Quebec is in need of more immigrants, to offset a low birth rate for future labor needs. She further believes that Quebec is a francophone state in which the rights of the anglophone minority are respected, and where all the inhabitants live in French.[12]

Charest criticized his political adversaries in the provincial legislature, and blamed them for encouraging "intolerance" in the continuing controversy. He published an open letter in regional dailies, saying he is worried the province's image of openness will diminish outside Quebec.

Dumont's statements about immigration, he said, led to the passing of a code of conduct by the town of Hérouxville that notified Muslims that face veils or stoning women would not be accepted there.[13]

Commission on Reasonable Accommodation

Premier Jean Charest, citing several instances of "unreasonable" accommodation, advised the Lieutenant Governor of Quebec to appoint a two-man commission in February 2007, to investigate the issue of reasonable accommodation, and report back by March 31, 2008. The formal title for the Commission[14] is the Consultation Commission on Accommodation Practices Related to Cultural Differences,[15] and it is sometimes called the Bouchard-Taylor Commission. Its commissioners are professors Charles Taylor, a well-known federalist philosopher, and Gérard Bouchard, a historian and sociologist. Bouchard said in an interview that sovereignty was the solution to calm Franco-Quebecers' cultural insecurity. Co-chair Taylor stated, however, that Quebecers need to demonstrate the "openness and generosity of spirit" that majorities should have towards minorities.[8]

The commission conducted hearings in various Quebec regions. The committee listened to individuals, organizations, and experts on Quebec identity, religion, and integration of so-called cultural communities (minority groups).

Before formal proceedings began, Bouchard and Taylor said they heard in focus groups across the province that there was insecurity among Quebec's traditional ethnic French population. They believed that hearings would help with educating the public; for instance, they thought the perception of Muslim influence was higher among some groups than is justified by data.[16]

Taylor underlined that Quebecers need to show an "openness and generosity of spirit" for 'cultural communities. As well, the report recommended that accommodation be made in public schools to allow students who want to wear religious attire in class, such as the hijab, kippah or turban, to do so.[17]

The Bouchard-Taylor report recommended that judges, Crown prosecutors, prison guards and police officers refrain from wearing any religious attire or symbols. “We believe that a majority of Quebecers accept that a uniform prohibition applying to all government employees regardless of the nature of their position is excessive, but want those employees who occupy positions that embody at the highest level the necessary neutrality of the state … to impose on themselves a form of circumspection concerning the expression of their religious convictions,” Messrs. Bouchard and Taylor wrote.[18]

United States

In the United States, federal law requires that reasonable accommodations be made for employment, education, housing, courts, and public venues.

Employment

The Americans With Disabilities Act, known as ADA, was signed into law on July 26, 1990. It carried forward material from Section 504 of the Rehabilitation Act of 1973. 'A reasonable accommodation' is defined by the US Department of Justice as "any modification or adjustment to a job or the work environment that will enable a qualified applicant or employee with a disability to participate in the application process or to perform essential job functions. Reasonable accommodation also includes adjustments to assure that a qualified individual with a disability has rights and privileges in employment equal to those of employees without disabilities."

In September 2012, Home Depot company agreed to pay $100,000 and furnish other relief to settle a disability discrimination lawsuit filed by the U.S Equal Employment Opportunity Commission, for the alleged failure to provide a reasonable accommodation for a cashier with cancer at its Towson, Maryland, store, and then for purportedly firing her because of her condition.[19]

State and Local Government Services, Programs, and Activities

Title II of the ADA provides that “no qualified individual with a disability shall, by reason of such disability, be excluded from participation in or be denied the benefits of the services, programs, or activities of a public entity, or be subject to discrimination by any such entity.”[20] State and local governments must provide reasonable accommodations to ensure such access, unless a fundamental alteration would result.

Public Accommodations

Title III of the ADA requires private businesses open to the public and commercial facilities to provide reasonable accommodations to people with disabilities to ensure that they have equal access to goods and services.

Housing

Under Title VIII of the Civil Rights Act of 1968, as amended by the Fair Housing Amendments Act of 1988, codified in the United States Code at 42 U.S.C. §§ 3601 - 3619, and commonly known as the Fair Housing Act, virtually all housing providers must make reasonable accommodations in their rules, policies, practices, or services under certain circumstances. A reasonable accommodation must be granted when such an accommodation is necessary to afford a prospective or existing tenant with a disability an opportunity to use and enjoy a dwelling (including but not limited to apartments, single family homes, and other types of private and public housing) to the same extent as a person who does not have that disability. The Fair Housing Act covers "dwellings," and in many situations that term encompasses such non-traditional housing as homeless shelters and college dormitories. It bears noting that in regard to larger dwellings such as apartment buildings, the right to a reasonable accommodation under the Fair Housing Act requires that housing providers grant a requested reasonable accommodation that is necessary to enable a disabled tenant to enjoy an indoor or outdoor common area to the same extent as a non-disabled tenant enjoys such areas.

In regard to reasonable accommodations, there is no requirement that a housing provider initiate the reasonable accommodation process; the Fair Housing Act contemplates that a tenant will approach his or her landlord with a request for a change in the landlord's policies that will reasonably accommodate the tenant's disability. For example, a prospective or actual tenant whose disability requires him to use crutches may request a reasonable accommodation in the form of an assigned parking space close to the entrance of his or her apartment building. If the disability is of a kind covered by the Fair Housing Act, and there is a genuine relationship between the requested accommodation and the disability, and granting the reasonable accommodation would not fundamentally alter the nature of the landlord's operations or impose an undue financial or administrative burden on the landlord, then the landlord must grant the requested reasonable accommodation or else find himself in violation of the Fair Housing Act and liable for substantial civil money penalties as well as payment to the disabled person for the injury suffered by him or her.

The Fair Housing Act is enforced by the U.S. Department of Housing and Urban Development (commonly known as "HUD"), whose regulations governing reasonable accommodations are found at 24 C.F.R. § 100.204. Sometimes it is easy to tell when (for example) a tenant has a disability and the tenant's reasonable accommodation request must be granted; other times it is not quite so apparent that a tenant suffers from a recognized disability. But a housing provider has an obligation to engage in an interactive process in order to honestly try to figure out whether the requested accommodation is reasonable and must be granted.

The Department of Housing and Urban Development and the U.S. Department of Justice have issued a joint statement to provide guidance on the concept of reasonable accommodation. [21]

Title II of the Americans with Disabilities Act of 1990, as amended (including the amendments made by the Americans with Disabilities Amendments Act of 2008), overlaps with the Fair Housing Act in its coverage of public housing. As noted on HUD's website: "Public housing was established to provide decent and safe rental housing for eligible low-income families, the elderly, and persons with disabilities."[22] Over a million U.S. households live in public housing.

References


-- Module:Hatnote -- -- -- -- This module produces hatnote links and links to related articles. It -- -- implements the and meta-templates and includes -- -- helper functions for other Lua hatnote modules. --


local libraryUtil = require('libraryUtil') local checkType = libraryUtil.checkType local mArguments -- lazily initialise Module:Arguments local yesno -- lazily initialise Module:Yesno

local p = {}


-- Helper functions


local function getArgs(frame) -- Fetches the arguments from the parent frame. Whitespace is trimmed and -- blanks are removed. mArguments = require('Module:Arguments') return mArguments.getArgs(frame, {parentOnly = true}) end

local function removeInitialColon(s) -- Removes the initial colon from a string, if present. return s:match('^:?(.*)') end

function p.findNamespaceId(link, removeColon) -- Finds the namespace id (namespace number) of a link or a pagename. This -- function will not work if the link is enclosed in double brackets. Colons -- are trimmed from the start of the link by default. To skip colon -- trimming, set the removeColon parameter to true. checkType('findNamespaceId', 1, link, 'string') checkType('findNamespaceId', 2, removeColon, 'boolean', true) if removeColon ~= false then link = removeInitialColon(link) end local namespace = link:match('^(.-):') if namespace then local nsTable = mw.site.namespaces[namespace] if nsTable then return nsTable.id end end return 0 end

function p.formatPages(...) -- Formats a list of pages using formatLink and returns it as an array. Nil -- values are not allowed. local pages = {...} local ret = {} for i, page in ipairs(pages) do ret[i] = p._formatLink(page) end return ret end

function p.formatPageTables(...) -- Takes a list of page/display tables and returns it as a list of -- formatted links. Nil values are not allowed. local pages = {...} local links = {} for i, t in ipairs(pages) do checkType('formatPageTables', i, t, 'table') local link = t[1] local display = t[2] links[i] = p._formatLink(link, display) end return links end

function p.makeWikitextError(msg, helpLink, addTrackingCategory) -- Formats an error message to be returned to wikitext. If -- addTrackingCategory is not false after being returned from -- Module:Yesno, and if we are not on a talk page, a tracking category -- is added. checkType('makeWikitextError', 1, msg, 'string') checkType('makeWikitextError', 2, helpLink, 'string', true) yesno = require('Module:Yesno') local title = mw.title.getCurrentTitle() -- Make the help link text. local helpText if helpLink then helpText = ' (help)' else helpText = end -- Make the category text. local category if not title.isTalkPage and yesno(addTrackingCategory) ~= false then category = 'Hatnote templates with errors' category = string.format( '%s:%s', mw.site.namespaces[14].name, category ) else category = end return string.format( '%s', msg, helpText, category ) end


-- Format link -- -- Makes a wikilink from the given link and display values. Links are escaped -- with colons if necessary, and links to sections are detected and displayed -- with " § " as a separator rather than the standard MediaWiki "#". Used in -- the template.


function p.formatLink(frame) local args = getArgs(frame) local link = args[1] local display = args[2] if not link then return p.makeWikitextError( 'no link specified', 'Template:Format hatnote link#Errors', args.category ) end return p._formatLink(link, display) end

function p._formatLink(link, display) -- Find whether we need to use the colon trick or not. We need to use the -- colon trick for categories and files, as otherwise category links -- categorise the page and file links display the file. checkType('_formatLink', 1, link, 'string') checkType('_formatLink', 2, display, 'string', true) link = removeInitialColon(link) local namespace = p.findNamespaceId(link, false) local colon if namespace == 6 or namespace == 14 then colon = ':' else colon = end -- Find whether a faux display value has been added with the | magic -- word. if not display then local prePipe, postPipe = link:match('^(.-)|(.*)$') link = prePipe or link display = postPipe end -- Find the display value. if not display then local page, section = link:match('^(.-)#(.*)$') if page then display = page .. ' § ' .. section end end -- Assemble the link. if display then return string.format('%s', colon, link, display) else return string.format('%s%s', colon, link) end end


-- Hatnote -- -- Produces standard hatnote text. Implements the template.


function p.hatnote(frame) local args = getArgs(frame) local s = args[1] local options = {} if not s then return p.makeWikitextError( 'no text specified', 'Template:Hatnote#Errors', args.category ) end options.extraclasses = args.extraclasses options.selfref = args.selfref return p._hatnote(s, options) end

function p._hatnote(s, options) checkType('_hatnote', 1, s, 'string') checkType('_hatnote', 2, options, 'table', true) local classes = {'hatnote'} local extraclasses = options.extraclasses local selfref = options.selfref if type(extraclasses) == 'string' then classes[#classes + 1] = extraclasses end if selfref then classes[#classes + 1] = 'selfref' end return string.format( '
%s
', table.concat(classes, ' '), s )

end

return p-------------------------------------------------------------------------------- -- Module:Hatnote -- -- -- -- This module produces hatnote links and links to related articles. It -- -- implements the and meta-templates and includes -- -- helper functions for other Lua hatnote modules. --


local libraryUtil = require('libraryUtil') local checkType = libraryUtil.checkType local mArguments -- lazily initialise Module:Arguments local yesno -- lazily initialise Module:Yesno

local p = {}


-- Helper functions


local function getArgs(frame) -- Fetches the arguments from the parent frame. Whitespace is trimmed and -- blanks are removed. mArguments = require('Module:Arguments') return mArguments.getArgs(frame, {parentOnly = true}) end

local function removeInitialColon(s) -- Removes the initial colon from a string, if present. return s:match('^:?(.*)') end

function p.findNamespaceId(link, removeColon) -- Finds the namespace id (namespace number) of a link or a pagename. This -- function will not work if the link is enclosed in double brackets. Colons -- are trimmed from the start of the link by default. To skip colon -- trimming, set the removeColon parameter to true. checkType('findNamespaceId', 1, link, 'string') checkType('findNamespaceId', 2, removeColon, 'boolean', true) if removeColon ~= false then link = removeInitialColon(link) end local namespace = link:match('^(.-):') if namespace then local nsTable = mw.site.namespaces[namespace] if nsTable then return nsTable.id end end return 0 end

function p.formatPages(...) -- Formats a list of pages using formatLink and returns it as an array. Nil -- values are not allowed. local pages = {...} local ret = {} for i, page in ipairs(pages) do ret[i] = p._formatLink(page) end return ret end

function p.formatPageTables(...) -- Takes a list of page/display tables and returns it as a list of -- formatted links. Nil values are not allowed. local pages = {...} local links = {} for i, t in ipairs(pages) do checkType('formatPageTables', i, t, 'table') local link = t[1] local display = t[2] links[i] = p._formatLink(link, display) end return links end

function p.makeWikitextError(msg, helpLink, addTrackingCategory) -- Formats an error message to be returned to wikitext. If -- addTrackingCategory is not false after being returned from -- Module:Yesno, and if we are not on a talk page, a tracking category -- is added. checkType('makeWikitextError', 1, msg, 'string') checkType('makeWikitextError', 2, helpLink, 'string', true) yesno = require('Module:Yesno') local title = mw.title.getCurrentTitle() -- Make the help link text. local helpText if helpLink then helpText = ' (help)' else helpText = end -- Make the category text. local category if not title.isTalkPage and yesno(addTrackingCategory) ~= false then category = 'Hatnote templates with errors' category = string.format( '%s:%s', mw.site.namespaces[14].name, category ) else category = end return string.format( '%s', msg, helpText, category ) end


-- Format link -- -- Makes a wikilink from the given link and display values. Links are escaped -- with colons if necessary, and links to sections are detected and displayed -- with " § " as a separator rather than the standard MediaWiki "#". Used in -- the template.


function p.formatLink(frame) local args = getArgs(frame) local link = args[1] local display = args[2] if not link then return p.makeWikitextError( 'no link specified', 'Template:Format hatnote link#Errors', args.category ) end return p._formatLink(link, display) end

function p._formatLink(link, display) -- Find whether we need to use the colon trick or not. We need to use the -- colon trick for categories and files, as otherwise category links -- categorise the page and file links display the file. checkType('_formatLink', 1, link, 'string') checkType('_formatLink', 2, display, 'string', true) link = removeInitialColon(link) local namespace = p.findNamespaceId(link, false) local colon if namespace == 6 or namespace == 14 then colon = ':' else colon = end -- Find whether a faux display value has been added with the | magic -- word. if not display then local prePipe, postPipe = link:match('^(.-)|(.*)$') link = prePipe or link display = postPipe end -- Find the display value. if not display then local page, section = link:match('^(.-)#(.*)$') if page then display = page .. ' § ' .. section end end -- Assemble the link. if display then return string.format('%s', colon, link, display) else return string.format('%s%s', colon, link) end end


-- Hatnote -- -- Produces standard hatnote text. Implements the template.


function p.hatnote(frame) local args = getArgs(frame) local s = args[1] local options = {} if not s then return p.makeWikitextError( 'no text specified', 'Template:Hatnote#Errors', args.category ) end options.extraclasses = args.extraclasses options.selfref = args.selfref return p._hatnote(s, options) end

function p._hatnote(s, options) checkType('_hatnote', 1, s, 'string') checkType('_hatnote', 2, options, 'table', true) local classes = {'hatnote'} local extraclasses = options.extraclasses local selfref = options.selfref if type(extraclasses) == 'string' then classes[#classes + 1] = extraclasses end if selfref then classes[#classes + 1] = 'selfref' end return string.format( '
%s
', table.concat(classes, ' '), s )

end

return p
  1. ^
  2. ^
  3. ^
  4. ^
  5. ^ a b c
  6. ^
  7. ^
  8. ^ a b
  9. ^
  10. ^
  11. ^
  12. ^
  13. ^
  14. ^
  15. ^
  16. ^
  17. ^ [1]
  18. ^ [2]
  19. ^
  20. ^ Civil Rights. (2012). U.S. Department of Health & Human Services. Retrieved January 28, 2014, from http://www.hhs.gov/ocr/civilrights/understanding/index.html
  21. ^ http://www.hud.gov/offices/fheo/library/huddojstatement.pdf
  22. ^ http://portal.hud.gov/hudportal/HUD?src=/program_offices/public_indian_housing/programs/ph

Further reading

  • Enforcement Guidance Reasonable Accommodation And Undue Hardship Under The Americans With Disabilities Act
  • Charest enters the fray
  • Charest raps opposition's closed-minded view of immigrants
  • Church and state find accommodation
  • Damaged commission: Reasonable accommodation commissioner already has made up his mind
  • Dumont criticizes PQ, Liberals over referendum hang-ups in election campaign
  • Immigration hearings aim to sort fact from fiction
  • Intolerance costly, says Charest
  • L'affaire Herouxville born out of fear: experts
  • Media stir up storm over 'accommodation'
  • accommodation vietnam accommodation Vietnam official website
  • Minorities excluded from public institution jobs
  • MPs feast on non-issue
  • Not particularly accommodating: Quebec voters are making fear of visible minorities a hot issue
  • Racism vs. reasonable accommodation of minorities sparks debate in Quebec
  • Rural Quebec town bans stoning women
  • Quebec town spawns uneasy debate
  • Quebec towns reject Hérouxville immigrant code
  • Segolene Royal speaks to packed Que. auditorium
This article was sourced from Creative Commons Attribution-ShareAlike License; additional terms may apply. World Heritage Encyclopedia content is assembled from numerous content providers, Open Access Publishing, and in compliance with The Fair Access to Science and Technology Research Act (FASTR), Wikimedia Foundation, Inc., Public Library of Science, The Encyclopedia of Life, Open Book Publishers (OBP), PubMed, U.S. National Library of Medicine, National Center for Biotechnology Information, U.S. National Library of Medicine, National Institutes of Health (NIH), U.S. Department of Health & Human Services, and USA.gov, which sources content from all federal, state, local, tribal, and territorial government publication portals (.gov, .mil, .edu). Funding for USA.gov and content contributors is made possible from the U.S. Congress, E-Government Act of 2002.
 
Crowd sourced content that is contributed to World Heritage Encyclopedia is peer reviewed and edited by our editorial staff to ensure quality scholarly research articles.
 
By using this site, you agree to the Terms of Use and Privacy Policy. World Heritage Encyclopedia™ is a registered trademark of the World Public Library Association, a non-profit organization.
 



Copyright © World Library Foundation. All rights reserved. eBooks from World eBook Library are sponsored by the World Library Foundation,
a 501c(4) Member's Support Non-Profit Organization, and is NOT affiliated with any governmental agency or department.