User:Cpiral/sandbox/C


 * 1
 * 2
 * 3
 * 4
 * 5
 * 6
 * 7
 * 8
 * 9
 * 0


 * 1) 1[//wikipedia.org/wiki/template:links_to/doc#See_also]
 * 2[]
 * 3[]
 * 4[]
 * 5[]
 * 1) 6[/wiki/template:links_to/doc#See_also]
 * 2) 7[/wiki/   :links_to/doc#See_also]
 * 8
 * 9
 * 0

Template: linksto

{{nomirror|{{wikibullet | {{intitle}} }}

{{noprint| {{wikibullet}} {{intitle}} }}

{{Search link|Wikipedia:page name|Namespace, pagename, and fullpagename}}

[{{canonicalurl: wp:page name}}] [{{canonicalurl: project:page name}}] [{{canonicalurl: wikiPedia: page name}}] [{{fullurl:wt: page name}} fullurl:wt:page name] [{{fullurl:wt: page name}} fullurl:wikipedia talk:page name]

Help:Link/1/2/3 RDcheck says...

unicode’ unicode mm³ unicode unicode² unicode ’³² unicode ’ ³ ² unicode 9’ 9³ ²9 unicode:’:³:²:

{{regex|(’{{!}}³{{!}}²)}} divs matches DivX

8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8
 * run 4 run
 * run:4:run
 * run :4: run
 * run: 4: run
 * run :4 :run
 * run4 run
 * run4:run
 * run 4run
 * run:4run

8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8
 * run 4 runner
 * run:4:runner
 * run :4: runner
 * run: 4: runner
 * run :4 :runner
 * run4 runner
 * run4:runner
 * run 4runner
 * run:4runner


 * n 9 nEr
 * n:9:nEr
 * n :9: nEr
 * n: 9: nEr
 * n :9 :nEr
 * n9 nEr
 * n9:nEr
 * n 9nEr
 * n:9nEr

8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8
 * run run run
 * run4run4run
 * runRunRun
 * runRunRun
 * run:run:run
 * run:Run:run
 * run:run:Run

8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8

test whitespace (defined as "pure whitespace" + greyspace == non-indexed strings, excluding whitespace whitespace == greyspace + "pure" whitespace camelCase == wordWord numberCase == word9999 test cases the above delimiters 1)word delimiting: whitespace or greyspace or quotes 2)word quantity per 3 types of delimiting (verified by proximity) 3)stemming 4)


 * i1
 * i:1
 * i1 i1
 * i:1 i:1
 * i :1 i: 1
 * i 1:i 1
 * i 1: i 1
 * i 1 :i 1
 * i 1 i 1
 * i1 i1 i1
 * i1:i1:i1
 * :i1


 * 9n 9N 9n9n 9n:9n


 * nN nn NN Nn


 * w1 w2 w3 sW ww WW

morelike with nonsence words| chro | harvd | blazp https://en.wikipedia.org/w/index.php?title=Special:Search&profile=default&search=morelike:text+|+chro+|+harvd+|+blazp&fulltext=Search happy3 matches
 * happy 3rd
 * "Happy" #3
 * "soHappy" - 3:36
 * 4happy-3-year-anniversary
 * Happy" [3]
 * happier

"happy 3" will not match "happy 3rd" but will match happy 3 "happy3" will match happy 3word. "happy3rd" will match happy 3 rd such as happy 3-rd

{{sl|german chemist prefix:{{FULLPAGENAME}}|press here}}

nrml german chemist 1 2 3 4 5

xtrw german inorganic chemist 1 2 3 4 5

pnct german, chemist 1 2 3 4 5

plrl: germans chemists 1 2 3 4 5

stem germanic chemistry 1 2 3 4 5

A literal " character

clouded zorp k9ed

test

special:preferences

special:preferences

Today CirrusSearch patch task T111293 hit the WP and MW sites, so I had to hack away at Help:CirrusSearch to "install" documentation corresponding to that patch. THere is a big difference between fear and love, and right now, I'm not loving translations. Can anyone please temporarily disable translations there? I did find the original problem, thanks to Nemo, but I'm not comfortable tip-toeing around translations machinery when the page is in major flux. Hey, lets edit Help:CirrusSearch and fill in the missing documentation that is nowhere to be found! No, never-mind, its vacuous lacking is fixed in place by translating the vacuous lacking to the world.

aaa:bb {{aaa:bb}}  no t ag {{sl:aaa-bb aaa:bb aaa+bb}}

{|

center"> {|

{{regex|center\"?\>.{0,3}"{{{!}}"}}

$3 cm$ $3 uM$ {{tlusage|val|mug|0}} {{convert|23.2|mol|g}}  &rarr; 

{{val

echo {{echo|{{{pattern|{{{2|regexp}}}}}}|pattern=two}}

echo {{ echo|oine|two}}

WordA wordB extra1word extra2word wordc

{{regex|test.ba}}

NEW: {{sl|insource:/zer deuche/ prefix:{{FULLPAGENAME}}}}

{{regex|\{\{}}

Searching for {{tag|pre|o}} breaks the template. To workaround use {{tl|plain link}} with {{para|url}} and {{para|name}}:
 * → {{plain link|url=//en.wikipedia.org/w/index.php?title=Special:Search&search=insource%3A%2F\%3Cpre+width%2Fi&fulltext=Search|name=(search articles)}}

{{search link|link=bar|text=foo prefix:template}}

{{sl|link=label|text=hastemplate prefix:template}}

{{regex|prefix}}

48 30 0 64 40 @  80 50 P   96 60 `  112 70 p 49 31 1 65 41 A  81 51 Q   97 61 a  113 71 q 2 02 STX 18 12 DC2  34 22 "  50 32 2  66 42 B  82 52 R   98 62 b  114 72 r  {{sl|3 03 ETX  19 13 DC3  35 23 #  51 33 3  67 43 C  83 53 S   99 63 c  115 73 s|no label}}  {{regex|4 04 EOT  20 14 DC4  36 24 $  52 34 4  68 44 D  84 54 T  100 64 d|:|no label}}  116 74 t  5 05 ENQ  21 15 NAK  37 25 %  53 35 5  69 45 E  85 55 U  101 65 e  117 75 u  6 06 ACK  22 16 SYN  38 26 &  54 36 6  70 46 F  86 56 V  102 66 f  118 76 v  7 07 BEL  23 17 ETB  39 27 '  55 37 7  71 47 G  87 57 W  103 67 g  119 77 w  8 08 BS   24 18 CAN  40 28 (  56 38 8  72 48 H  88 58 X  104 68 h  120 78 x  9 09 HT   25 19 EM   41 29 )  57 39 9  73 49 I  89 59 Y  105 69 i  121 79 y 10 0A LF   26 1A SUB  42 2A *  58 3A :  74 4A J  90 5A Z  106 6A j  122 7A z 11 0B VT   27 1B ESC  43 2B +  59 3B ;  75 4B K  91 5B [  107 6B k  123 7B { 12 0C FF   28 1C FS   44 2C,  60 3C <  76 4C L  92 5C \  108 6C l  124 7C | 13 0D CR   29 1D GS   45 2D -  61 3D =  77 4D M  93 5D ]  109 6D m  125 7D } 14 0E SO  30 1E RS   46 2E. 62 3E > 78 4E N  94 5E ^  110 6E n  126 7E ~ 15 0F SI  31 1F US   47 2F /  63 3F ? 79 4F O 95 5F _  111 6F o  127 7F DEL

Sample text for testing: abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ 0123456789 +-.,!@#$%^&*;\/|<>"' 12345 -98.7 3.141 .6180 9,000 +42 555.123.4567	+1-(800)-555-2468 foo@demo.net	bar.ba@test.co.uk www.demo.com	http://foo.co.uk/ http://regexr.com/foo.html?q=bar

link

{{sl|text prefix:{{FULLPAGENAME}}}} switch on a colon to a colon: '{{#switch: 2 |:|0 = 3 |1|2=:}}'

urlencode:'{{urlencode:

a b      c}}' fullurl:{{fullurl:Special:Search
 * search=lisa+doll}}'

two spaces

{{template usage|pattern=[\\]}}

$5 ms$ $3 us$ $1 ks$ $2 Ms$

{{search link|operating system}}

folks inhouse

{{regexp|pattern = \ \ b}}

{{plain link|http://www.ibm.com|The     Blue}}

infobox unit: {{infobox unit }}
 * inunits1 = 5
 * unit1 = 6.8

plainlinks: {{plain link http://www.ibm.com |{{#invoke:String|replace |Locate /\{[{{#invoke:String|sub |{{uc:name}}|1|1}}{{#invoke:String|sub |{{lc:name}}|1|1}}]{{#invoke:String|sub |name|2}}\{{!}}[^}]{{{pattern}}}/ |[|&#91;}}|]|&#93;}} in a name on this page. }}
 * url =
 * name = {{#invoke:String|replace

{{template usage|pattern = m}}

Subpagename and basepagename
The terminology for referencing a subpage (and its parent page) is suggested by the MediaWiki software's { {SUBPAGENAME}} (and { {BASEPAGENAME}}). These can be a clear and concise way to talk about subpages. See where are used on pages.

Subpagenames and subpage links are used to abbreviate linking and transclusion among closely interworking subpages, where they are seen near the top of every subpage in the nav list, and in [ [wikilinks]], and in { {templates}}.

Navigating or linking to any page requires [ [fullpagename]] except when to and from subpages. For example, at Manual of Style or at The Missing Manual. The construct  is an abbreviation borrowed from computing, and using it in a wikilink renders the fullpagename.

The table below shows a live demo of subpage naming relations, and subpage linking. See this table on subpages /one/two/three/four and /sub/page/name1/sub/page/name2.

It shows that
 * A subpagename is just a label inside its pagename, with a software-added / slash delimiter.
 * The basepagename is just the pagename of the parent, so it absorbs child subpagenames.
 * A fullpagename is a namespace:basepagename/subpagename, or a ../subpagename.
 * The pagename includes the subpagename. There really is a sub-pagename, (although there is no full-pagename or full pagename).
 * The pagename of a subpage is is basename/subpagename.
 * Basepagename only lacks the namespace needed for linking or navigating.
 * When not on a subpage:
 * the terms are synonymous: pagename, subpagename, basepagename.
 * renders ../, ../../, etc.
 * When the subpagename has a / slash character in it, a subpage link to it [ [../]] renders a redlinked fullpagename.

Other facts concerning subpages are that
 * A wikilink [ [/subpagename]] can create a subpage.
 * While editing a subpage you don't see subpagenames to know for sure how to reference parent pages in subpage links. You only a have view of the title.
 * The subpage navigation list only shows subpages above. You can list subpages below
 * indirectly from the "Page information" item on every page.
 * directly from a "Subpages" item on every page, by adding a bit of JavaScript to your.
 * indirectly using Search with the prefix parameter.

You can find standardized subpagenames by using the intitle parameter. See common subpagenames from these searches:

Each pagename in a namespaces is unique, but those searches show how subpagenames are standardized, and repeated many times.