Jump to content

User:Sun Creator/A to An/Boundary

From Wikipedia, the free encyclopedia

Boundary tests

[edit]

Non word or digit characters

[edit]

Without a space

[edit]

a ad -> :a ad b01 no change. Can occur after ]] A ad -> :a ad b02 no change. Can occur after ]]

a ad -> a ad b03 no change, grammar issue not 'a to an' Intended new line above.

A ad -> an ad b04 Intended new line above Z.a ad -> :a ad b05 no change Z;a ad -> :a ad b06 no change, grammar issue not 'a to an', also  a not uncommon Z,a ad -> :a ad b07 no change, grammar issue not 'a to an' Z:a ad -> :a ad b08 no change, i.e [[wikiquote:A History of Mathematics|''A History of Mathematics'']] Z=a ad -> :a ad b09 no change, i.e |title=A open letter. Z=a ad -> an ad b10 Possible after a reference i.e. <ref="123/>A ad Z"a ad -> :a ad b11 Adding to rule breaks XML display Z(a ad -> an ad b12 possible, i.e. person xyz(:a opponent) -> (an opponent) Z)a ad -> :a ad b13 no change Z{a ad -> :a ad b14 Within a template name i.e. * {{A History of the Byzantine State and Society}} Z}a ad -> :a ad b15 After templates. i.e. RIVER.jpg|A image of Astoria

with a space

[edit]
a up -> an up a01 Indent
A up -> an up a02 Indent
  • a up -> an up a03 Listed
  • A up -> an up a04 Listed

| a up -> an up a05 Infoboxes possible when used via Find and search

  1. a up -> an up a06 Numbered list
  2. A up -> an up a07 Numbered list

> a up -> an up a08 after a <ref> a . A up -> an up a09 at start of sentence


[edit]

Z a ad -> an ad e01

Z, a ad -> an ad e02

Z; a ad -> an ad e03

Z. a ad -> an ad e04

Z: a ad -> an ad e05

Z: a ad -> an ad e06

"Z" a ad -> an ad e07

Z a ad -> an ad e08


Spaces in front (three positives)

[edit]
  • Important(!) that this is working correctly.

A up -> an up s01 On a newline. a up -> an up s02 a up -> an up s03 [[wiki-link]]a up -> an up s01 [[wiki-link]] a up -> an up s02 [[wiki-link]] a up -> an up s03

Digits

[edit]
  • 1 a up -> :a up d1
  • 2 a up -> :a up d2
  • 3 a up -> :a up d3
  • A1 a up -> :a up d4 No change
  • B22 a up -> :a up d5 No change
  • 123 a up -> :a up d6 No change

Periods exclude all

[edit]
  • Exclude if rule is not always avoided if a preceding period.
  • a.k.a ad
  • a.k.a. ad
  • M.I.A ad
  • Dr.A ad
  • Jr.A ad
  • Sr.A ad
  • S.p.a ad
  • S.p.A ad
  • U.S.A ad
  • U.S.A. ad
  • A. A. Allen
  • A.A. Allen
  • B.A. Allen
  • C.A. Allen
  • D.A. Allen
  • E.A. Allen
  • F.A. Allen
  • G.A. Allen
  • H.A. Allen
  • I.A. Allen
  • J.A. Allen
  • K.A. Allen
  • L.A. Allen
  • M.A. Allen
  • N.A. Allen
  • O.A. Allen
  • P.A. Allen
  • Q.A. Allen
  • R.A. Allen
  • S.A. Allen
  • T.A. Allen
  • U.A. Allen
  • V.A. Allen
  • W.A. Allen
  • X.A. Allen
  • Y.A. Allen
  • Z.A. Allen