Wikipedia:WikiProject Wiki Syntax: Difference between revisions

Content deleted Content added
m Thank you to contributors: Responsive columns instead of fixed-length, fake table
 
(40 intermediate revisions by 34 users not shown)
Line 1:
{{WikiProject status|Defunct|parent=Check Wikipedia}}
{{Shortcut|[[WP:WS]]}}
{{Further|Wikipedia:WikiProject Cleanup}}
__NOTOC__
 
''WP:WS does not stand for [[Wikipedia:Wikipedia Signpost]].''
 
== What is this? ==
{{Active Wiki Fixup Projects}}
An attempt to fix up mismatched [[WikipediaHelp:HowWiki to edit a pagemarkup|wiki syntax]] (such as brackets), like this <nowiki>"[link]]", or "(see [[Link)", or "(see link]])", or "[[link]"</nowiki>. They're all wrong, and need to be fixed. If you're looking at this page, it's probably because someone fixed something on a page you're watching. All that's being asked is that you do the same for someone else (i.e., fix something on someone else's page). You don't have to go looking for these misplaced bits of wiki syntax &mdash; that's already been done for you. All you have to do is follow the steps below &mdash; it's very easy, quick, and helpful.
 
== IHow willdoes rubthis your penis on my facework? ==
# Randomly select a page from the list of pages below (that hasn't been crossed out already).
# On that page, randomly select one block of 5 problems from the list of contents.
Line 25 ⟶ 23:
<!-- Please uncomment this when the pages above are done. -->
{| style="border:3px solid green" cellpadding="0" cellspacing="0"
| [[Image:Check_mark.svg|40px]] || align="center" | '''Status:''' All done! The most recent batch was completed on the [[21st January]] [[2006]].<br />The next batch will[http://toolserver.org/~sk/cw/enwiki/index.htm beis listedavailable here].{{dead whenlink|date= itApril becomes2020 available.}}
|}
 
Line 34 ⟶ 32:
! Pages
! Tip/Note
 
|- style="vertical-align:top;"
! Braces-Tables
| style="white-space:nowrap;" | <S>[[/braces-tables-000.txt|000]]</s>, <s>[[/braces-tables-001.txt|001]]</s>, <s>[[/braces-tables-002.txt|002]]</s>, <s>[[/braces-tables-003.txt|003]]</s>, <s>[[/braces-tables-004.txt|004]]</s>
 
|- style="vertical-align:top;"
! triple quotes
| style="white-space:nowrap;" | <s>[[/triple-quotes-000.txt|000]]</s>, <s>[[/triple-quotes-001.txt|001]]</s>, <s>[[/triple-quotes-002.txt|002]]</s>, <s>[[/triple-quotes-003.txt|003]]</s>, <s>[[/triple-quotes-004.txt|004]]</s>,<BRbr/>
<s>[[/triple-quotes-005.txt|005]]</s>, <s>[[/triple-quotes-006.txt|006]]</s>, <s>[[/triple-quotes-007.txt|007]]</s>, <s>[[/triple-quotes-008.txt|008]]</s>, <s>[[/triple-quotes-009.txt|009]]</s> <br>
|- style="vertical-align:top;"
Line 49 ⟶ 45:
|- style="vertical-align:top;"
! double quotes
| style="white-space:nowrap;" | <s>[[/double-quotes-000.txt|000]]</s>, <s>[[/double-quotes-001.txt|001]]</s>, <s>[[/double-quotes-002.txt|002]]</s>, <s>[[/double-quotes-003.txt|003]]</s>, <s>[[/double-quotes-004.txt|004]]</s>, <BRbr/> <s>[[/double-quotes-005.txt|005]]</s>, <s>[[/double-quotes-006.txt|006]]</s>, <s>[[/double-quotes-007.txt|007]]</s>, <s>[[/double-quotes-007.txt|008]]</s>, <s>[[/double-quotes-009.txt|009]]</s>, <BRbr/><s>[[/double-quotes-010.txt|010]]</s>, <s>[[/double-quotes-011.txt|011]]</s>, <s>[[/double-quotes-012.txt|012]]</s>, <s>[[/double-quotes-013.txt|013]]</s>, <s>[[/double-quotes-014.txt|014]]</s>
|- style="vertical-align:top;"
! square brackets
Line 130 ⟶ 126:
If you encounter unclosed ordinary brackets by themselves, i.e. "(" or ")" that are valid, please do not enclose these in nowiki tags, since ordinary brackets are not a kind of wiki syntax.
 
'''Note:''' If you find a link enclosed in square brackets (i.e. <nowiki>"[text [[link]] text]"</nowiki>), be sure to enclose '''both''' outer brackets in nowiki tags <nowiki>("&lt;nowiki&gt;[&lt;/nowiki&gt;text [[link]] text&lt;nowiki&gt;]&lt;/nowiki&gt;")</nowiki>.
 
== What types of problems does it find? ==
Line 147 ⟶ 143:
 
Do one of the following:
* (Most common situation) Replace "<nowiki>--></nowiki>" and "<nowiki>---></nowiki>" with &amp;rarr; which looks like this &rarr;
* Likewise replace "<nowiki><--</nowiki>" with &amp;larr; which looks like this &larr;
 
* In math, replace &lt;-- and --&gt; with \leftarrow and \rightarrow respectively.
For things within math tags (<nowiki> <math> </math> </nowiki>), proceed as below. Bear in mind that some mathematicians editing Wikipedia have qualms about using math tags in an "inline", as opposed to "displayed" context, because of failure of proper alignment with surrounding text, mismatches in sizes of characters, or punctuation such as a comma or period appearing only on the succeeding line as if it were part of a separate word. See [[Wikipedia:Manual of Style (mathematics)]] for more on this.
* In math, replaceReplace &lt;-- and --&gt; with <nowiki><math>\leftarrow</math></nowiki> and <nowiki><math>\rightarrow</math></nowiki> respectively.
* Replace "<nowiki>|--></nowiki>" with this: <nowiki><math>\mapsto</math></nowiki> which looks like this: <math>\mapsto</math>
* Replace "<nowiki><---></nowiki>" with this: <nowiki><math>\leftrightarrow</math></nowiki> which looks like this: <math>\leftrightarrow</math>
* Or replace "<nowiki><---></nowiki>" with this: &amp;harr; which looks like this: &harr;
* Make sure HTML open comments are matched with an equal number of HTML close comments e.g.: &lt;!-- blah --&gt;
* If none of the above apply, enclose in &lt;nowiki&gt; tags.
Line 165 ⟶ 163:
* Note that the redirect target is not enclosed in italic quotes, nor is the redirect target enclosed in ordinary-brackets / parentheses.
* The redirect target should always be in enclosed in matching double square brackets.
* Redirection doesn't show correctly on the preview
 
== Tips on fixing double-redirects ==
Line 184 ⟶ 183:
 
== Tips on fixing parentheses ==
* Please do not add or delete parentheses unless there really is a grammatical mistake - for example if an article has "The arguments in favour are 1) something 2) something else", then that's OK - but if it has "The arguments in favour are well known (see reference. " then that bracket should be closed. Things like emoticons :) are also grammatically OK (although possibly not always suitable for an encylopediaencyclopedia!).
* If you're in doubt as to whether something is a real problem or not, then please assume it's not a problem, and just delete it from the list of problems. It's better to not fix something that is a problem, than it is to fix something that is not a problem; or to put it another way: "If in doubt, leave it out."
* Please don't surround parentheses with nowiki tags (as they're not a wiki syntax).
Line 229 ⟶ 228:
There are many people who have contributed to fixing broken wiki syntax, and big thank you to everyone who has helped out &mdash; this project is only possible because of your help:
 
{{div col|colwidth=13em}}
{|
| valign=top |
* [[User:119|119]]
* [[User:128.131.209.122|128.131.209.122]]
Line 266 ⟶ 264:
* [[User:AHM|AHM]]
* [[User:ALoan|ALoan]]
* [[User:Aaron Jacobs|Aaron Jacobs]]
* [[User:AceMyth|AceMyth]]
* [[User:Adam Clark|Adam Clark]][[User_talk:Adam Clark|<sup>(User_Talk)</sup>]]
Line 299 ⟶ 296:
* [[User:Bill Thayer|Bill Thayer]]
* [[User:Billfred|Billfred]]
* [[User:Billlion|BilllionBillion]]
* [[User:Bluemask|Blue Mask]]
* [[User:Bob Palin|Bob Palin]]
Line 368 ⟶ 365:
* [[User:Ferkelparade|Ferkelparade]]
* [[User:Fg2|Fg2]]
| &nbsp;
| valign=top |
* [[User:Flyhighplato|Flyhighplato]]
* [[User:Foobar|Foobar]]
Line 377 ⟶ 372:
* [[User:Fx2|Fx2]]
* [[User:Gabbe|Gabbe]]
* [[User:Gbeeker|Gbeeker]]
* [[User:GCarty|GCarty]]
* [[User:GRider|GRider]]\<sup>[[User_talk:GRider|talk]]</sup>
Line 511 ⟶ 507:
* [[User:Onco_p53|Onco_p53]]
* [[User:Opus33|Opus33]]
| &nbsp;
| valign=top |
* [[User:Ortonmc|Ortonmc]]
* [[User:P_b1999|P_b1999]]
Line 653 ⟶ 647:
* [[User:Zik-Zak|Zik-Zak]]
* [[User:Zzyzx11|Zzyzx11]]
{{div col end}}
|}
 
'''Note:''' If you've helped out before and your name is missing, or if you've just fixed something, then please add your name to the list.
Line 665 ⟶ 659:
== See also ==
*[[MediaZilla:5478]]: "Request for Special:WrongSyntax"
*[[Wikipedia:WikiProject Check Wikipedia]] ([[WP:CHECKWIKI]], [[WP:WCW]])
 
*[[Wikipedia:Cleanup]] – WikiProject Cleanup ([[WP:CLEAN]])
[[Category:Wikipedia maintenance|Wiki Syntax]]
[[Category:Wikipedia WikiProjects|Wiki syntax]]