User:Gadget850/Technical edits

From Wikipedia, the free encyclopedia

Task 1: br clear[edit]

  • clear on <br /> is obsolete under HTML5.

 Done

Obsolete Replacement Search
  • <br clear=all />
  • <br clear=left />
  • <br clear=right />
  • <div style="clear: both;"></div> or {{clear}}
  • <div style="clear: left;"></div> or {{clear|left}}
  • <div style="clear: right;"></div> or {{clear|right}}

Task 2: center on chart and family tree[edit]

 Done

Obsolete Replacement Search
<center>{{chart/start}}</center> {{chart/start|align=center}}
<center>{{family tree/start}}</center> {{family tree/start|align=center}}

Task 3: center on wide image[edit]

  • <center> is obsolete under HTML5
  • Added |align-cap= to {{chart}} and {{family tree}}
Obsolete Replacement Search
<center>{{wide image}}</center> {{wide image}} (centered by default)
{{wide image|image|<center>caption</center>}} {{wide image|image|align-cap=center|caption}}

Task 4: id on cite[edit]

Under the previous XHTML 4.01 usage <cite>...</cite> defined an entire citation. With HTML5, <cite> now defines only the title of a work. There are still many uses of <cite> used to define an entire citation and often to apply an anchor id. Note that uses of <cite> exist without the closing </cite> or incorrectly closed by </span>.

Subtask a[edit]

 Done

Where used with a Citation Style 1 or Citation Style 2 template, the <cite> should be removed:

Obsolete Replacement Search
<cite>{{cite book |author=Sappol, Michael |title=A traffic of dead bodies: anatomy and embodied social identity in nineteenth-century America |publisher=Princeton University Press |location=Princeton, N.J. |year=2002 |isbn=0-691-05925-X |url=http://books.google.com/books/princeton?id=-9cKRzEx6ywC&printsec=frontcover&dq=A+Traffic+of+Dead+Bodies}}</cite> {{cite book |author=Sappol, Michael |title=A traffic of dead bodies: anatomy and embodied social identity in nineteenth-century America |publisher=Princeton University Press |location=Princeton, N.J. |year=2002 |isbn=0-691-05925-X |url=http://books.google.com/books/princeton?id=-9cKRzEx6ywC&printsec=frontcover&dq=A+Traffic+of+Dead+Bodies}}

Subtask b[edit]

 Done Where an anchor id is used with a citation template, the id should be moved to the |ref= parameter.

Obsolete Replacement Search
*<cite id=Alberti>{{cite book |last=Arnold |first=David L. G. |editor=John Alberti (ed.) |year=2003 |title=[[Leaving Springfield|Leaving Springfield: The Simpsons and the Possibility of Oppositional Culture]] |location=Detroit |publisher=[[Wayne State University Press]] |chapter=Use a Pen, Sideshow Bob: The Simpsons and the Threat of High Culture |isbn=0-8143-2849-0}}</cite> * {{cite book |last=Arnold |first=David L. G. |editor=John Alberti (ed.) |year=2003 |title=[[Leaving Springfield|Leaving Springfield: The Simpsons and the Possibility of Oppositional Culture]] |location=Detroit |publisher=[[Wayne State University Press]] |chapter=Use a Pen, Sideshow Bob: The Simpsons and the Threat of High Culture |isbn=0-8143-2849-0 |ref=Alberti}}

Subtask c[edit]

In this instance, the anchor can be formed by using |ref=harv, but the |anchor= parameters must be updated to |last= and |first=. (more difficult)

Obsolete Replacement Search
*<cite id="CITEREFAsphaugRyanZuber2003">{{cite journal| last = Asphaug| first = Erik|author2= Ryan, Eileen V.|author3= Zuber, Maria T.| title = Asteroid Interiors| journal = Asteroids III| pages = 463–484| publisher = University of Arizona | location = Tucson| year = 2003| url = http://www-geodyn.mit.edu/asphaug.interiors.pdf| accessdate = 2009-01-04|bibcode=2002aste.conf..463A}}</cite> *{{cite journal |last=Asphaug |first=Erik |last2= Ryan |first2=Eileen V. |last3=Zuber |first3=Maria T. |title= Asteroid Interiors |journal=Asteroids III |pages=463–484 |publisher=University of Arizona |location=Tucson |year=2003 |url=http://www-geodyn.mit.edu/asphaug.interiors.pdf |accessdate=2009-01-04 |bibcode=2002aste.conf..463A |ref=harv}}</cite>

Subtask d[edit]

Where used simply as an anchor, convert to {{anchor}}

Task 5: font color[edit]

  • <font>...</font> is obsolete

Subtask a[edit]

 Done Convert simple uses to {{font color}}

Obsolete Replacement Search
<font color="red">Content</font>
  • <span style="color: red;">Content</span>
  • or
  • {{font color|red|Content}}

Subtask b[edit]

Merge more complex uses into surrounding CSS.

Task 6: center on gallery[edit]

  • <center> is obsolete under HTML5
Obsolete Replacement Search
<center>{{gallery}}</center> {{gallery|align=center}}

Task 7: center on location map[edit]

  • <center> is obsolete under HTML5
Obsolete Replacement Search
<center>{{location map}}</center> {{location map|float=center}}

Task 8: center on listen[edit]

 Done

  • <center> is obsolete under HTML5
  • Added center to |pos=
Obsolete Replacement Search
<center>{{listen}}</center> {{listen|pos=center}}

Task9: center on multiple image[edit]

 Done

Task 10: prettytable[edit]

 Done

  • Class prettytable was deleted 13 May 2010

Convert uses to wikitable

Task 11: registration[edit]

 Done Convert uses of |format=registration required in Citation Style 1 and Citation Style 2 templates to |registration=yes.

Task 12: registration[edit]

 Done Convert uses of |format=subscription required in Citation Style 1 and Citation Style 2 templates to |subscription=yes.

Task 13: small-references[edit]

 Done

  • Class prettytable was deleted 10 May 2010

Convert uses for bibliographies to {{refbegin}}/{{refend}}

Convert uses for reference lists to {{reflist}} or variant

Task 14: US Census population[edit]

 Done

  • Convert uses of {{US Census population}} using <center> to center |footnote= to use |align-fn=center
  • Convert uses of {{US Census population}} using <div align=center> to center |footnote= to use |align-fn=center

Task 15: #tag:ref[edit]

  • #tag:ref is cryptic, invariant and difficult to find

Subtask a[edit]

  • Convert uses to {{refn}}
  • Remove quotes from |name= and |group= as they will defualt the reference list style to decimal

Subtask b[edit]

Task 16: quotes in name and group[edit]

  • Remove current uses of quotes from |name= and |group= in {{refn}} and variants as they will default the reference list style to decimal

Task 17: center on gallery[edit]

  • <center> is obsolete under HTML5

Convert <center>{{gallery}}</center> to {{gallery|align=center}}