World Library  
Flag as Inappropriate
Email this Article

IUCN Species Survival Commission

Article Id: WHEBN0009517278
Reproduction Date:

Title: IUCN Species Survival Commission  
Author: World Heritage Encyclopedia
Language: English
Subject: Chelonian Conservation and Biology, Pig, Peter Jackson (biologist), The world's 100 most threatened species, Madras Crocodile Bank Trust
Collection: Conservation, Iucn Commissions
Publisher: World Heritage Encyclopedia
Publication
Date:
 

IUCN Species Survival Commission

The IUCN Species Survival Commission is a special commission operated by the International Union for Conservation of Nature. The commission's "major role is to provide information to IUCN on biodiversity conservation, the inherent value of species, their role in ecosystem health and functioning, the provision of ecosystem services, and their support to human livelihoods."[1]

Contents

  • Specialist Groups and Task Forces 1
    • Amphibian and Reptile Specialist Groups 1.1
      • Amphibian Specialist Group 1.1.1
      • Anoline Lizard Specialist Group 1.1.2
      • Boa and Python Specialist Group 1.1.3
      • Chameleon Specialist Group 1.1.4
      • Crocodile Specialist Group 1.1.5
      • Iguana Specialist Group 1.1.6
      • Sea Snake Specialist Group 1.1.7
      • Marine Turtle Specialist Group 1.1.8
      • Tortoise and Freshwater Turtle Group 1.1.9
      • Viper Specialist Group 1.1.10
    • Birds 1.2
      • Cormorant Specialist Group 1.2.1
      • Crane Specialist Group 1.2.2
      • Diver/Loon Specialist Group 1.2.3
      • Duck Specialist Group 1.2.4
      • Flamingo Specialist Group 1.2.5
      • Goose Specialist Group 1.2.6
      • Grebe Specialist Group 1.2.7
      • Grouse Specialist Group 1.2.8
      • Heron Specialist Group 1.2.9
      • Megapod Specialist Group 1.2.10
      • Partridge, Quail and Francolin Specialist Group 1.2.11
      • Pelican Specialist Group 1.2.12
      • Pheasant Specialist Group 1.2.13
      • Rail Specialist Group 1.2.14
      • Seaduck Specialist Group 1.2.15
      • Stork, Ibis and Spoonbill Specialist Group 1.2.16
      • Swan Specialist Group 1.2.17
      • Threatened Waterfowl Specialist Group 1.2.18
      • Wader Specialist Group 1.2.19
      • Woodcock Specialist Group 1.2.20
    • Fishes 1.3
      • Coral Reef Fishes Specialist Group 1.3.1
      • Groupers and Wrasses Specialist Group 1.3.2
      • Salmonid Specialist Group 1.3.3
      • Shark Specialist Group 1.3.4
      • Sturgeon Specialist Group 1.3.5
      • IUCN/WI Freshwater Fishes Specialist Group 1.3.6
    • Fungi 1.4
      • Chytrids, Zygomycetes, Downy Mildews and Slime Moulds 1.4.1
      • Cup-fungi, Truffles and Allies 1.4.2
      • Lichens 1.4.3
      • Mushrooms, Brackets and Puffballs 1.4.4
      • Rusts and Smuts 1.4.5
    • Invertebrates 1.5
      • Mollusc Specialist Group 1.5.1
      • Odonata Specialist Group 1.5.2
    • Mammals 1.6
      • African Elephants Specialist Group 1.6.1
      • African Rhinos Specialist Group 1.6.2
      • Afrotheria Specialist Group 1.6.3
      • Anteaters, sloths and armadillos Specialist Group 1.6.4
      • Antelopes Specialist Group 1.6.5
      • Asian Elephants Specialist Group 1.6.6
      • Asian Rhinos Specialist Group 1.6.7
      • Asian Wild Cattle Specialist Group 1.6.8
      • Australasian Marsupials & Monotremes Specialist Group 1.6.9
      • Bats Specialist Group 1.6.10
      • Bear Specialist Group 1.6.11
      • Bison Specialist Group 1.6.12
      • Canid Specialist Group 1.6.13
      • Caprinae Specialist Group 1.6.14
      • Cat Specialist Group 1.6.15
      • Cetaceans Specialist Group 1.6.16
      • Deer Specialist Group 1.6.17
      • Equids Specialist Group 1.6.18
      • Hippos Specialist Group 1.6.19
      • Hyaena Specialist Group 1.6.20
      • Lagomorphs Specialist Group 1.6.21
      • New World Marsupials Specialist Group 1.6.22
      • Otters Specialist Group 1.6.23
      • Peccaries Specialist Group 1.6.24
      • Pinnipeds Specialist Group 1.6.25
      • Polar Bears Specialist Group 1.6.26
      • Primate Specialist Group 1.6.27
        • Section on Small Apes 1.6.27.1
      • Sirenia Specialist Group 1.6.28
      • Small Carnivores Specialist Group 1.6.29
      • Small Mammal Specialist Group 1.6.30
      • South American Camelids Specialist Group 1.6.31
      • Tapirs Specialist Group 1.6.32
      • Wild Pig Specialist Group 1.6.33
      • Wolf Specialist Group 1.6.34
    • Plants 1.7
    • Others 1.8
      • Disciplinary Groups 1.8.1
        • Conservation Breeding Specialist Group 1.8.1.1
        • Invasive Species Specialist Group 1.8.1.2
        • Re-introduction Specialist Group 1.8.1.3
        • Sustainable Use Specialist Group 1.8.1.4
        • Wildlife Health Specialist Group 1.8.1.5
      • Task Forces & Working Groups 1.8.2
  • See also 2
  • References 3
  • External links 4

Specialist Groups and Task Forces

The SSC operates a multitude of specialist groups and task forces under its wing. Each group is specifically inclined towards the conservation of a specific scientific journal or newsletter.

Each specialist groups are arranged together by taxon.

Amphibian and Reptile Specialist Groups

Amphibian Specialist Group

The Amphibian Specialist Group (ASG) is a global network of dedicated experts who donate their time and expertise to create a community from where practical amphibian conservation can be advanced based on a solid foundation of science. This global network consists of over 700 members in over 40 Regions/Countries enabling the ASG to act on a global scale. The Amphibian Specialist Group website contains information on projects and partnerships around the world and includes a number of publications relating to the conservation of amphibians, most notably the Amphibian Conservation Action Plan (ACAP).

Anoline Lizard Specialist Group

The Anoline Lizard Specialist Group was founded in 2011 with the goals of assessing the conservation status of almost 400 Anolis species in the iguanian family Dactyloidae, identify the threats to these lizards, and developing plans to conserve the species that are most imperilled, through international collaboration. The Anoline Lizard Specialist Group website is operated by herpetologists dedicated to the most species-rich terrestrial vertebrate genus.

Boa and Python Specialist Group

The Boa and Python Specialist Group (BPSG) was founded in 2011 and comprises a global network of herpetologists, conservationists, government and non-government representatives, and researchers working to understand and conserve almost 190 species of boas, pythons, dwarf boas, shieldtails, Asian pipesnakes, American pipesnakes, dwarf pipesnakes, Round Island boas, Calabar burrowing python, Mexican burrowing python, sunbeam snakes, and spine-jawed snakes. The group produced a / Boa and Python Specialist Group brochure highlighting the species these families, their distribution, and the threats they face.

Chameleon Specialist Group

The Chameleon Specialist Group (CSG) was formed in 2010, with a mission to improve the conservation status and sustainable use of wild chameleons and their habitats, through Africa, Madagascar, other Indian Ocean islands, southern Europe, south India and Sri Lanka.

Crocodile Specialist Group

The Crocodile Specialist Group (CSG) focuses on the conservation of the world's crocodilian species.[2] In 1992, the group produced a book on crocodilian conservation entitled Crocodiles: An Action Plan for Their Conservation.[3] This was followed in 1998 by a second edition, entitled Crocodiles: Status Survey and Conservation Action Plan.[4] The Crocodile Specialist Group website contains details of the conservation work of the group and information on all 23 currently recognised species of alligators, caimans, crocodiles, the false gharial and the Ganges gharial. The group also published Action Plans for each of these species, a regular Newsletter of the CSG and since 1971, the Annual Proceedings of the Working Meetings.

Iguana Specialist Group

The Iguana Specialist Group (ISG) is concerned with the conservation of 45 lizards in the family Iguanidae in North, Central and South America, the Caribbean, and the Galapagos and Fijian Islands. Included are the marine iguanas (Amblyrhynchus), Melanesian iguanas (Brachylophus), Galápagos land iguanas (Conolophus), spiny-tailed iguanas (Ctenosaura), rock iguanas (Cyclura), desert iguanas (Dipsosaurus), green iguanas (Iguana), and chuckwallas (Sauromalus).

Sea Snake Specialist Group

The Sea Snake Specialist Group (SSSG) is concerned with the marine snakes of the elapid subfamilies Hydrophiinae and Laticaudinae, 62 species of true seasnakes, and eight species of sea kraits respectively. All are front-fanged venomous snakes with paddle-shaped tails. A number of species exhibit extremely localised ranges, whilst others are widely distributed. Some are harvested heavily for the snake-skin trade or food.

Marine Turtle Specialist Group

The Marine Turtle Specialist Group (MTSG) is one of more than 100 specialist groups and task forces that make up the IUCN Species Survival Commission. Its mission is: "To develop and support strategies, set priorities, and provide tools that promote and guide the conservation of marine turtles, and their ecological roles and habitats."[5] It was founded in 1966, when Sir Peter Scott asked Dr Archie Carr to chair the group and appoint members. The group now has over 210 volunteer members from more than 80 countries and is considered to be the global authority on sea turtles.[6]

Tortoise and Freshwater Turtle Group

The Tortoise and Freshwater Turtle Group (TFTSG) is dedicated to terrestrial and freshwater chelonians. Their mission is to identify and document threats to the survival of all species of tortoises and freshwater turtles, and to help catalyze conservation action to ensure that none become extinct and that sustainable populations of all species persist in the wild. They published Conservation Biology of Freshwater Turtles and Tortoises.[7]

Viper Specialist Group

The Viper Specialist Group (VSG) was formed through a cooperation between the IUCN and The Orianne Society. There are over 250 species of vipers distributed across all continents with the exception of Australia and Antarctica. The majority of these species are declining in populations. The Viper Specialist Group is dedicated to viper conservation worldwide.

Birds

Directory of SSC Specialist Groups for Birds

Cormorant Specialist Group

Crane Specialist Group

Diver/Loon Specialist Group

Duck Specialist Group

Flamingo Specialist Group

Goose Specialist Group

Grebe Specialist Group

Grouse Specialist Group

Heron Specialist Group

The Heron Specialist Group is a collaborative group of Oxford University Press), and Conserving Herons, A Conservation Action Plan for the Herons of the World (James A. Kushlan, Station Biologique de la Tour du Valat, Les Sambuc, France). The latter presents the status of the populations of the herons of the world and outlines strategies and specific projects for the conservation of herons.

Megapod Specialist Group

Partridge, Quail and Francolin Specialist Group

Pelican Specialist Group

Pheasant Specialist Group

Rail Specialist Group

Seaduck Specialist Group

Stork, Ibis and Spoonbill Specialist Group

Swan Specialist Group

Threatened Waterfowl Specialist Group

Wader Specialist Group

Woodcock Specialist Group

Fishes

Directory of SSC Specialist Groups for Fishes

Coral Reef Fishes Specialist Group

Groupers and Wrasses Specialist Group

The Groupers and Wrasses Species Survival Commission Specialist Group focuses on conservation efforts for species of fish in the families Serranidae and Labridae. Many members of these families are heavily exploited as food and sport fishes.[8]

Salmonid Specialist Group

The Salmonid Specialist Group specializes in the conservation of species of fish under the order Salmoniformes.

Shark Specialist Group

The IUCN Shark Specialist Group was founded in 1991 by L. Fowler OBE and Professor Samuel (Sonny) Gruber. The group is currently chaired by Prof. Nicholas K. Dulvy and Prof. Colin A. Simpfendorfer for the quadrennium (2012-2016). The SSG is a group of 128 experts from 35 countries distributed among 12 regional groups (roughly reflecting FAO fishing areas) in the fields of shark biology, conservation, management, fisheries and taxonomy, connected by their joint goal to promote the sustainable use, wise management, and conservation of all ~1250 sharks, rays and chimaeras. Their mission is to secure the conservation, management and, where necessary, the recovery of the world's sharks, rays and chimaeras by mobilizing global technical and scientific expertise to provide the knowledge that enables action.

Sturgeon Specialist Group

The Sturgeon Specialist Group specializes in the conservation of species of fish under the family Acipenseridae.

IUCN/WI Freshwater Fishes Specialist Group

The IUCN/WI Freshwater Fishes Specialist Group focuses on conservation efforts towards the freshwater fishes of the world.

Fungi

Directory of SSC Specialist Groups for Fungi

Chytrids, Zygomycetes, Downy Mildews and Slime Moulds

Cup-fungi, Truffles and Allies

Lichens

Mushrooms, Brackets and Puffballs

Rusts and Smuts

Invertebrates

Directory of SSC Specialist Groups for Invertebrates

Mollusc Specialist Group

Odonata Specialist Group

Mammals

This category includes 34 groups.[9]

African Elephants Specialist Group

African Rhinos Specialist Group

Afrotheria Specialist Group

This group includes aardvarks, hyrax, golden-moles, tenrecs and elephant shrews or sengis.[9]

Anteaters, sloths and armadillos Specialist Group

Antelopes Specialist Group

Asian Elephants Specialist Group

Asian Rhinos Specialist Group

Asian Wild Cattle Specialist Group

Asian Wild Cattle Specialist Group Homepage

Australasian Marsupials & Monotremes Specialist Group

Bats Specialist Group

Bear Specialist Group

Bison Specialist Group

Canid Specialist Group

This group (CSG) includes foxes, jackals, African wild dogs, and wolves.[9]

Caprinae Specialist Group

This group includes wild sheep and goats.[9]

Cat Specialist Group

The Cat Specialist Group was founded in 1971. Professor Paul Leyhausen of the Max Planck Institute for Behavioural Physiology in Germany was elected Chairman, and held the chair until 1982. He was succeeded by Dr Norman Myers, a British conservation scientist. In 1983 Peter Jackson, a British specialist on the tiger, was appointed to the Chair, and held this position until his retirement in 2000. He was succeeded by Swiss carnivore specialists, Drs Urs and Christine Breitenmoser.[10]

The main tasks of the group include: maintaining the [11] and the Cat SG website;[12] education and training of nature conservation experts (capacity development).[13]

It currently has more than 200 members in 57 countries, who are dedicated to advance the understanding and conservation of the world's 38 wild living cat species.[14]

Cetaceans Specialist Group

This group includes dolphins, porpoises and whales.[9]

Deer Specialist Group

Equids Specialist Group

This group includes horses, asses and zebras.[9]

Hippos Specialist Group

Hyaena Specialist Group

Lagomorphs Specialist Group

This group includes rabbits, pikas and hares.[9]

New World Marsupials Specialist Group

Otters Specialist Group

Peccaries Specialist Group

Pinnipeds Specialist Group

This group includes seals and walruses.[9]

Polar Bears Specialist Group

Primate Specialist Group

The Primate Specialist Group (PSG) was created and organized in 1977 by Dr. Russell Mittermeier, the current Chair and also the president of Conservation International (CI). The Deputy Chair is Dr. Anthony Rylands,[15] also from CI. There are two Vice-Chairs, one for each Section. The Vice-Chair for the Section on Small Apes is Dr Benjamin Rawson,[15] from Fauna & Flora International and the Vice-Chair for the Section Large Apes is Dr Liz Williamson[15] from University of Stirling. The PSG is a network of scientists and conservationists dedicated to the preservation of the world's primates, and assist by promoting research on the ecology and conservation of primates. With the help of experts in the field, the PSG evaluates the conservation status of all primates, which contributes to the IUCN Red List. The PSG also generates Action Plans aimed at helping specific groups of species and provides newsletters and journals for scientific publications. These publications cover all four global primate regions: Africa, Asia, Madagascar, and the Neotropics. It's broadest journal, Primate Conservation publishes research about threatened primate species.[16]
The Primate Specialist Group has two Sections: The Section on Great Apes[17] and the Section on Small Apes.[18]

Section on Small Apes

The Section on Small Apes specialises in the protection of gibbons and siamangs of South-East Asia.[18] The SSA is a group of gibbon experts from around the world that individually and collectively work to conserve gibbons. The SSA was set up in 2011 because of the serious threat of extinction that gibbons face globally. Of 19 recognized species of gibbon, all are threatened with extinction on the IUCN Red List of Threatened Species, with four listed as Critically Endangered and nine as Endangered. The major threats to gibbons include loss of habitat and hunting pressure, often for the wildlife trade.[18]

Sirenia Specialist Group

This group includes dugongs and manatees.[9]

Small Carnivores Specialist Group

Small Mammal Specialist Group

The Small Mammal Specialist Group (SMSG) was formed in 2010 and is co-chaired by Dr Richard Young, Head of Conservation Science at the Durrell Wildlife Conservation Trust, and Dr Don Wilson of the Smithsonian Institution. The SMSG is a network of scientists and conservationists working to promote a greater understanding of and conservation for the world's rodents, eulipotyphlans (hedgehogs, shrews, moles and solenodons) and tree shrews. These taxonomic groups are made up of over 2700 species, representing around half of all mammals. Led by Dr Giovanni Amori, the Red List Authority Focal Point, the SMSG evaluates the conservation status of all small mammals, which contributes to the IUCN Red List.

South American Camelids Specialist Group

This group includes guanacos and vicuñas.[9]

Tapirs Specialist Group

Wild Pig Specialist Group

Wolf Specialist Group

This group (WSG) is limited to red and gray wolves. Other types of wolves are included in the Canid Specialist Group.

Plants

Directory of SSC Specialist Groups for Plants

Others

Disciplinary Groups

Directory of SSC Disciplinary Groups

Conservation Breeding Specialist Group

Conservation Breeding Specialist Group website The Conservation Breeding Specialist Group (CBSG) is a worldwide conservation network dedicated to saving threatened species by increasing the effectiveness of conservation efforts worldwide. “Conservation Breeding" is a species conservation strategy. It employs the scientifically managed breeding of threatened wildlife for creation and maintenance of populations that serve to enable, support, or enhance the conservation of wild populations.

CBSG is recognized as a respected force using innovative, scientifically sound, collaborative processes to bring together people and knowledge to effect positive conservation change. CBSG is a part of the Species Survival Commission of the IUCN. Its ties to the IUCN are essential to the strength of the CBSG and its position as a vital link among governments, conservation organizations, and others in the conservation community.

CBSG's mission is to save threatened species by facilitating successful integration of conservation efforts worldwide. CBSG links conservation breeding institutions (such as zoos, aquariums, botanic gardens and others) with other stakeholders helping each to contribute more effectively to the conservation of species in wild habitats.

CBSG's work in conservation is based on a central philosophy: that people from many different backgrounds and perspectives are required to address the global biodiversity crisis. Therefore, CBSG emphasizes the exchange of information across diverse groups to reach agreement on the important challenges facing humans and wildlife. They do this by designing interactive, participatory workshops that provide an objective environment, expert knowledge, and thoughtful group facilitation. CBSG's workshop “toolkit” for conservation professionals is based on using sound scientific principles, and promotes the creative use of new information to refine existing wildlife management practices. Through developing a broad understanding of challenges and alternative solutions, workshop participants can produce meaningful and practical management recommendations that generate political and social support for conservation action—from local communities to national political authorities. Timely production of workshop reports has immediate impact on stakeholders and decision makers.

Invasive Species Specialist Group

The Invasive Species Specialist Group (ISSG) is a global network of scientific and policy experts on invasive species, organized under the auspices of the Species Survival Commission (SSC) of the International Union for Conservation of Nature (IUCN). ISSG aims to reduce threats to natural ecosystems and the native species they contain by increasing awareness of invasive alien species, and of ways to prevent, control or eradicate them. ISSG was established in 1993 by the SSC, comprising a global network of scientific and policy experts on invasive species. The ISSG in 2015 is made up of 203 experts drawn from over 35 countries. A wider informal membership of over 1700 practitioners and researchers contribute to its work. The ISSG promotes and facilitates the exchange of information and knowledge on invasive alien species across the globe and ensures the linkage between knowledge, practice and policy so that decision making is informed. The core activity areas of the ISSG are policy and technical advice, and information management and exchange through development of knowledge products and networking. The ISSG was chaired by Mick Clout from 1993-2008, and by Piero Genovesi from 2009 to the present. The ISSG over the past two decades has dedicated its activities to policy support, advocacy and the management and dissemination of global IAS data and information. ISSG published the twice-yearly Aliens Newsletter and hosts the Global Invasive Species Database, considered the most authoritative data repository on invasive species.

Invasive Species Specialist Group website Hosts the Global Invasive Species Database [1]. Publishes the newsletter Aliens.

Re-introduction Specialist Group

Re-introduction Specialist Group website

Sustainable Use Specialist Group

Sustainable Use Specialist Group profile

Wildlife Health Specialist Group

Wildlife Health Specialist Group website

Task Forces & Working Groups

Directory of SSC Task Forces & Working Groups

Asian Vulture Task Force

Large Carnivore Initiative for Europe Working Group

Species Conservation Planning Task Force

Restructuring Task Force

See also

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. ^
  6. ^
  7. ^
  8. ^
  9. ^ a b c d e f g h i j
  10. ^ http://www.catsg.org/index.php?id=43
  11. ^ http://www.catsg.org/index.php?id=7
  12. ^ http://www.catsg.org/index.php?id=1
  13. ^ http://www.catsg.org/index.php?id=3
  14. ^ http://www.catsg.org/index.php?id=46
  15. ^ a b c
  16. ^
  17. ^
  18. ^ a b c

External links

  • IUCN Species Survival Commission
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 Project Gutenberg 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.