Wikipedia:WikiProject Wiki Syntax: Difference between revisions
Content deleted Content added
adding WP:WPWS link |
m →Thank you to contributors: Responsive columns instead of fixed-length, fake table |
||
(30 intermediate revisions by 26 users not shown) | |||
Line 1:
{{WikiProject status|Defunct|parent=Check Wikipedia}}
{{Further|Wikipedia:WikiProject Cleanup}}
__NOTOC__
== What is this? ==
{{Active Wiki Fixup Projects}}
An attempt to fix up mismatched [[
== How does this work? ==
Line 24 ⟶ 23:
<!-- Please uncomment this when the pages above are done. -->
{| style="border:3px solid green" cellpadding="0" cellspacing="0"
| [[Image:
|}
Line 33 ⟶ 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>,<
<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 48 ⟶ 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>, <
|- style="vertical-align:top;"
! square brackets
Line 129 ⟶ 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>("<nowiki>[</nowiki>text [[link]] text<nowiki>]</nowiki>")</nowiki>.
== What types of problems does it find? ==
Line 146 ⟶ 143:
Do one of the following:
* (Most common situation) Replace "<nowiki>--></nowiki>" and "<nowiki>---></nowiki>" with &rarr; which looks like this
* Likewise replace "<nowiki><--</nowiki>" with &larr; which looks like this
For things within math tags (<nowiki> <math> </math> </nowiki>),
* Replace <-- and --> 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: &harr; which looks like this:
* Make sure HTML open comments are matched with an equal number of HTML close comments e.g.: <!-- blah -->
* If none of the above apply, enclose in <nowiki> tags.
Line 166 ⟶ 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 185 ⟶ 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
* 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 230 ⟶ 228:
There are many people who have contributed to fixing broken wiki syntax, and big thank you to everyone who has helped out — this project is only possible because of your help:
{{div col|colwidth=13em}}
* [[User:119|119]]
* [[User:128.131.209.122|128.131.209.122]]
Line 299 ⟶ 296:
* [[User:Bill Thayer|Bill Thayer]]
* [[User:Billfred|Billfred]]
* [[User:Billlion|
* [[User:Bluemask|Blue Mask]]
* [[User:Bob Palin|Bob Palin]]
Line 368 ⟶ 365:
* [[User:Ferkelparade|Ferkelparade]]
* [[User:Fg2|Fg2]]
* [[User:Flyhighplato|Flyhighplato]]
* [[User:Foobar|Foobar]]
Line 512 ⟶ 507:
* [[User:Onco_p53|Onco_p53]]
* [[User:Opus33|Opus33]]
* [[User:Ortonmc|Ortonmc]]
* [[User:P_b1999|P_b1999]]
Line 654 ⟶ 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 666 ⟶ 659:
== See also ==
*[[MediaZilla:5478]]: "Request for Special:WrongSyntax"
*[[Wikipedia:WikiProject Check Wikipedia]] ([[WP:CHECKWIKI]], [[WP:WCW]])
*[[Wikipedia:Cleanup]] – WikiProject Cleanup ([[WP:CLEAN]])
|