Difference between revisions of "Pin Eight:Manual of Style/Links"

From Pin Eight
Jump to: navigation, search
(Interwiki links: Both wikia: and wikia:c: work now; reflect Wikia's rebrand and new focus. Also expand bible: usage, and gen fixes)
(External links: Fx 57 and later unhide the tracking protection everywhere checkbox)
 
Line 78: Line 78:
 
Some websites deny service to users of [https://wiki.mozilla.org/Security/Tracking_protection Firefox's Tracking Protection feature] because their scripts confuse Tracking Protection with an [[Ad blocking|ad blocker]].
 
Some websites deny service to users of [https://wiki.mozilla.org/Security/Tracking_protection Firefox's Tracking Protection feature] because their scripts confuse Tracking Protection with an [[Ad blocking|ad blocker]].
 
Tracking Protection blocks only ads presented through ad networks and ad exchanges that track users from one website to another to build a dossier on their browsing habits.
 
Tracking Protection blocks only ads presented through ad networks and ad exchanges that track users from one website to another to build a dossier on their browsing habits.
By default, Firefox enables Tracking Protection in Private Browsing windows; there is a hidden preference to enable it in all windows.
+
By default, Firefox enables Tracking Protection in Private Browsing windows, and Firefox 57 and later expose a preference to enable it in all windows.
 
But some websites are unable to fall back to ads that do not track users, such as self-hosted ads.
 
But some websites are unable to fall back to ads that do not track users, such as self-hosted ads.
 
Websites seen to do this in 2016 or 2017 include at least WIRED, the INQUIRER, The Atlantic, Jellynote, and TV Tropes.
 
Websites seen to do this in 2016 or 2017 include at least WIRED, the INQUIRER, The Atlantic, Jellynote, and TV Tropes.

Latest revision as of 18:04, 13 November 2018

There are three ways to make a hyperlink to another document from a page on Pin Eight wiki.

Internal links

Links within this wiki work the same way as on any other MediaWiki site; see Help:Links on MediaWiki.org. These ordinarily appear in a darker shade of blue than other links, and links to a nonexistent page appear red.

The detailed syntax is the same as that of interwiki links (below), without the prefix: part. For example: [[Pin Eight:Scope]] produces Pin Eight:Scope, and [[Sex#Sexes|specialization]] produces specialization. Exceptions are the File: and Category: namespaces, which need a leading colon to suppress the transclusion behavior: [[:File:Smb1 title.png|this file description page]] links to this file description page instead of transcluding the image, and [[:Category:Data compression|a list of articles]] points to a list of articles instead of adding the article to the list.

Interwiki links

MUST
SHOULD
MAY
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in RFC 2119. (what's this?)

MediaWiki software supports interwiki links as a shortcut to make links to documents on select other wikis and even occasionally non-wiki sites that use standard identifiers for documents. These have up to six parts, taking this form:

[[prefix:namespace:pagetitle (disambig)#fragment|displayedtext]]
prefix 
The site's interwiki prefix, as listed at Special:Interwiki.
namespace 
For MediaWiki sites, the namespace. Optional; omit this (and the following colon) for pages in the main namespace or for non-MediaWiki sites.
pagetitle 
The title or other identifier of the page. Spaces will be converted to underscores (_), and code points above ASCII will be percent-encoded in UTF-8.
disambig 
MediaWiki sites may have multiple pages with the same title except for a disambiguator in parentheses at the end of the page title. Leave this out for non-MediaWiki sites.
fragment 
A URL fragment identifier, such as the title of an article section. Spaces are likewise converted to underscores, and some kinds of punctuation are converted using a variant of percent encoding.
displayedtext 
The text following the pipe character (the vertical bar | made with shift-backslash) is displayed in the link. A blank displayed text, called a "pipe trick", will automatically be replaced with the pagetitle when you save an edit, except in footnotes. If there is no pipe at all, the entire link will be displayed. Including displayed text is RECOMMENDED if the target site's pagetitles are not human-readable, such as YouTube video IDs. The displayed text SHOULD follow least astonishment; otherwise, you create a sinkhole or "Easter egg" link that confuses readers.

Here is a selection of prefixes for MediaWiki sites, which support namespace and disambig components with pagetitles:

prefix site subject
allthetropes
trope
All The Tropes Design patterns in storytelling
animutation FanimutationWiki Surreal Flash music videos
commons Wikimedia Commons A collection of free images (but image transclusion is not yet supported)
dram Encyclopædia Dramatica Internet drama and memes
harddrop Hard Drop The Tetris Company's Tetris
nesdev Nesdev Wiki Nintendo Entertainment System hardware and programming information
niwamario MarioWiki Nintendo's Super Mario Bros. and related video games
niwassb SmashWiki Nintendo's Super Smash Bros.
nookipedia Nookipedia Nintendo's Animal Crossing
wikia:sitename
wikia:c:sitename
Wikis hosted on FANDOM powered by Wikia General-purpose wiki farm, mostly about entertainment product identities
wikipedia English Wikipedia The free encyclopedia
wikisource English Wikisource A collection of free primary source texts
wikt English Wiktionary A free, multilingual dictionary
uncyc Uncyclopedia The content-free encyclopedia

Some non-MediaWiki sites are available as well:

prefix site subject What goes in the pagetitle
bible Bible lookup Translations of the Hebrew and Christian Greek Scriptures Verse number, with the book and chapter forming the namespace (e.g. bible:Mark 9:45). Omitting the verse number selects verse 1.
tvtropes TV Tropes Design patterns in storytelling The title of the page, with or without the namespace. tvtropes:TropeyTheWonderDog, tvtropes:Tropey the Wonder-Dog, and tvtropes:Laconic/Tropey the Wonder-Dog work.
wiki WikiWikiWeb Design patterns in computer science and software engineering The CamelCase title of the page

Like any other external link, interwiki links may eventually fail to resolve due to reorganization of the target site's URL scheme. Pages can be edited to fix link rot, but links in edit summaries in their revision histories will remain broken.

External links

For sites with unpredictable URL schemes, the wiki supports the MediaWiki external link syntax: [http://example.com/some/url displayedtext]. If your user account is new, or if you are editing a talk page as your IP address, you may be required to solve a puzzle to make sure you aren't an automated process adding off-topic external links.

Some websites deny service to users of Firefox's Tracking Protection feature because their scripts confuse Tracking Protection with an ad blocker. Tracking Protection blocks only ads presented through ad networks and ad exchanges that track users from one website to another to build a dossier on their browsing habits. By default, Firefox enables Tracking Protection in Private Browsing windows, and Firefox 57 and later expose a preference to enable it in all windows. But some websites are unable to fall back to ads that do not track users, such as self-hosted ads. Websites seen to do this in 2016 or 2017 include at least WIRED, the INQUIRER, The Atlantic, Jellynote, and TV Tropes. In 2018, sites such as Tech Review started doing this as a means of enforcing a metered paywall. Think hard before linking to a site that deliberately makes itself unreadable to Tracking Protection users, especially if another website that respects users' privacy has a comparable work available.

HTTPS

In general, if a website has both cleartext HTTP and HTTPS versions, prefer the HTTPS version. This protects readers by preventing an ISP from intercepting a connection and inserting advertisements or other malware, as Comcast has been caught doing in 2017.[1]

As of July 2018, Wikia was the top non-HTTPS domain in the United States (other than URL shorteners).[2]

References

  1. Sidney Fussell. "Comcast to Customer Who Noticed It Secretly Injecting Code: Maybe It’s Your Fault?". Gizmodo, 2017-12-13. Accessed 2018-07-25.
  2. Troy Hunt. "United States of America: The Most Popular Websites Loaded Insecurely". Why No HTTPS?. Accessed 2018-07-25.