Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Help:Magic links

From Wikipedia, the free encyclopedia
This page is currently inactive and is retained forhistorical reference.
Magic links were removed from theMediaWiki code in March 2021 (seethis MediaWiki RfC).This March 2017 (English Wikipedia) RfC determined that these magic links on the English Wikipedia should be replaced by the{{ISBN}},{{PMID}}, and{{IETF RFC}} templates.
This help page is ahow-to guide.
It explains concepts or processes used by the Wikipedia community. It is not one ofWikipedia's policies or guidelines, and may reflect varying levels ofconsensus.
Wikitext

Magic links are automatic links for certain unique identifiers that require no markup. This functionalityis expected to be removed from the MediaWiki software; users are encouraged to use the corresponding templates.

ISBN

[edit]
Main page:Wikipedia:ISBN

The following instructions are deprecated. Editors should use the{{ISBN}} template to link ISBNs.

TheInternational Standard Book Number (ISBN) is a unique numeric commercial book identifier. The created link is toSpecial:BookSources. The allowable formats are:

  • 10 or 13 digits
  • optional delimiting hyphens or spaces
  • 1 check character
MarkupRenders as
ISBN 978-0-306-40615-7

ISBN 978-0-306-40615-7

ISBN 1413304540

ISBN 1413304540

SeeCategory:Pages using ISBN magic links.

PMID

[edit]
Main page:Wikipedia:PMID

The following instructions are deprecated. Editors should use the{{PMID}} template to link PMIDs.

A PMID (PubMed identifier or PubMed unique identifier) is a unique number assigned to aPubMed record.

MarkupRenders as
PMID 11209037

PMID 11209037.

SeeCategory:Pages using PMID magic links.

RFC

[edit]

The following instructions are deprecated. Editors should use the{{IETF RFC}} template to link IETF RFCs.

ARequest for Comments (RFC) is a memorandum published by theInternet Engineering Task Force (IETF).

MarkupRenders as
RFC 5620

RFC 5620

SeeCategory:Pages using RFC magic links.

Suppressing the link

[edit]

The following instructions will no longer be necessary when magic links are disabled.

If no link is desired, insert<nowiki /> between the identifier and the value.

MarkupRenders as
ISBN <nowiki />978-0-306-40615-7

ISBN 978-0-306-40615-7

Or alternatively, wrap<nowiki>...</nowiki> around the entire magic link:

MarkupRenders as
<nowiki>ISBN 978-0-306-40615-7</nowiki>

ISBN 978-0-306-40615-7

Technical

[edit]

Magic links are rendered byParser.php. The links for PMID and RFC are rendered by MediaWiki interface pages:

See also

[edit]
General
technical help
Special
page
-related
Wikitext
Links anddiffs
Media files: images,
videos and sounds
Other graphics
Templates and
Lua modules
Data structure
HTML andCSS
Customisation
and tools
Automated editing
Retrieved from "https://en.wikipedia.org/w/index.php?title=Help:Magic_links&oldid=1052248893"
Categories:

[8]ページ先頭

©2009-2026 Movatter.jp