User:Gangleri/tests/bugzilla/section links/wiki syntax

From Wikipedia!
Jump to navigation Jump to search

ns: user · · rev-ID : - · ar · arc · dv · fa · he · ug · ur · yi

please compare the rendering of the TOC with the rendering of the sections

Also, note that #tests in the page history doesn't work quite right: in Special:Recentchanges and Special:Watchlist, it links to the "tests" section of the special page.

search MediaZilla for section
search MediaZilla for autocomment
bugzilla:04899 – "Wrong section from section edit button (tracking)"
→→ "dependency tree for bug 04899"
bugzilla:05019 – "Generate identical TOC-texts, return to sections, anchors and autocomments wherever possible (share the code / implement equivalent code)"
→→ "dependency tree for bug 05019"

tests[edit]

search MediaZilla for section[edit]

=== [http://bugzilla.wikimedia.org/buglist.cgi?query_format=advanced&long_desc_type=allwordssubstr&long_desc=section&order=Bug+Number search '''MediaZilla''' for section] ===
testing autocomment for TOC section: search MediaZilla for section

s[edit]

=== <s>s</s> ===
testing autocomment for TOC section: s

a b c[edit]

=== a '''b''' c ===
testing autocomment for TOC section: a b c

x y z[edit]

=== x ''y'' z ===
testing autocomment for TOC section: x y z

foo[edit]

[[foo]]
bugzilla:02831 – "Return after edit sections using headings with wikilinks returns to other anchors then the ones used in TOC"
testing autocomment for TOC section: foo

bar[edit]

[[bar (piped)|]]
testing autocomment for TOC section: bar

/bar[edit]

[[/bar]]
user:Gangleri/tests/bugzilla/section links/wiki syntax/bar
search MediaZilla for subpage
testing autocomment for TOC section: /bar

bugzilla:[edit]

=== [[bugzilla:]] ===
bugzilla:00111 – "Return to page after edit of section (where section name occurs multiple times)"
bugzilla:04581 – "MediaZilla does not render links ending with ":" properly"

//test.wikipedia.org/w/index.php?title=user:Gangleri/tests/bugzilla/section_links/wiki_syntax#bugzilla:
//test.wikipedia.org/w/index.php?title=user:Gangleri/tests/bugzilla/section_links/wiki_syntax#bugzilla%3A

testing autocomment for TOC section: bugzilla:

bugzilla: (piped)[edit]

=== [[bugzilla:|bugzilla: (piped)]] ===
testing autocomment for TOC section: bugzilla: (piped)

broken pipe link[edit]

=== broken pipe link ===
see: #.5B.5Bmeta:Help talk:Recent changes.23bugzilla:05009.7C.5D.5D

[edit]

=== [[stealth| ]] ===
note: for this section no text is generated in the TOC after numbering; this section can not be reached from the TOC; if the rendered text inside the TOC or inside the rendered page is selected with the mouse a space is visible in Internet Explorer but not in Firefox
search MediaZilla for stealth
testing autocomment for TOC section: <nowiki>[[stealth| ]]</nowiki>

bugzilla:04308[edit]

=== [[|bugzilla:04308]] ===
bugzilla:04308 – "RFE: pipe trick uniform syntax"
bugzilla:04792 – "Numbered internal links"
bugzilla:00111 – "Return to page after edit of section (where section name occurs multiple times)"
testing autocomment for TOC section: bugzilla:04308

One (Two), Three[edit]

=== [[|One (Two), Three]] ===
bugzilla:04308 – "RFE: pipe trick uniform syntax"
bugzilla:04792 – "Numbered internal links"
testing autocomment for TOC section: One (Two), Three

http://example.com[edit]

=== http://example.com ===
bugzilla:00917 – "External links in section headers cause problems with internal anchor links"
user:Gangleri/tests/bugzilla/00917
#http:.2F.2Fexample.com
testing autocomment for TOC section: http://example.com

http://test.wikipedia.org/w/index.php?title=Bar_%28piped%29&redirect=no[edit]

==== http://test.wikipedia.org/w/index.php?title=Bar_%28piped%29&redirect=no ====
testing autocomment for TOC section: http://test.wikipedia.org/w/index.php?title=Bar_(piped)&redirect=no

example.com[edit]

=== [http://example.com example.com] ===
user:Gangleri/tests/bugzilla/00917
#example.com
testing autocomment for TOC section: example.com

[1][edit]

=== [http://example.com] ===
user:Gangleri/tests/bugzilla/00917
testing autocomment for TOC section: [1]

skype://angela[edit]

=== skype://angela ===
bugzilla:00431 – "Make external links protocols configurable"
testing autocomment for TOC section: skype://angela

identical section names[edit]

=== identical section names ===
bugzilla:00111 – "Return to page after edit of section (where section name occurs multiple times)"
testing autocomment for TOC section: identical section names

identical section name[edit]

==== identical section name ====
testing autocomment for TOC section: identical section name (1/n)

identical section name[edit]

==== identical section name ====
testing autocomment for TOC section: identical section name (2/n)

identical section name[edit]

==== identical section name ====
testing autocomment for TOC section: identical section name (3/n)

identical section name[edit]

==== identical section name ====
testing autocomment for TOC section: identical section name (4/n)

not tested[edit]

testing autocomment for TOC section: not tested

special characters as & % ? = , ; etc. / \[edit]

=== special characters as & % ? = , ; etc. / \ ===
bugzilla:02346 – "Special characters break section links in page history"
testing autocomment for TOC section: special characters as & % ? = , ; etc. / \

#[edit]

==== # ====
testing autocomment for TOC section: #

special characters ...[edit]

==== special characters ... ====
bugzilla:04581 – "MediaZilla does not render links ending with ":" properly"

//test.wikipedia.org/w/index.php?title=user:Gangleri/tests/bugzilla/section_links/wiki_syntax#special_characters_...
//test.wikipedia.org/w/index.php?title=user:Gangleri/tests/bugzilla/section_links/wiki_syntax#special_characters_..%2E

testing autocomment for TOC section: special characters ...

special characters :::[edit]

==== special characters ::: ====
bugzilla:04581 – "MediaZilla does not render links ending with ":" properly"

//test.wikipedia.org/w/index.php?title=user:Gangleri/tests/bugzilla/section_links/wiki_syntax#special_characters_:::
//test.wikipedia.org/w/index.php?title=user:Gangleri/tests/bugzilla/section_links/wiki_syntax#special_characters_::%3A

testing autocomment for TOC section: special characters :::

special characters as < > [ ] { | }[edit]

==== special characters as <nowiki>< > [ ] { | }</nowiki> ====
testing autocomment for TOC section: special characters special characters as < > [ ] { | }

invalid titles and invalid links[edit]

===== invalid titles and invalid links =====
testing autocomment for TOC section: invalid titles and invalid links

[[]][edit]

====== [[]] ======
testing autocomment for TOC section: [[]]

[[__ __ __]][edit]

====== [[__ __ __]] ======
testing autocomment for TOC section: [[__ __ __]]

[[ _ _ ]][edit]

====== [[ _ _ ]] ======
note: this section is generated using multiple consecutive spaces
testing autocomment for TOC section: [[ _ _ ]]

character normalisation &entity; &#nnnn; &#xnnn;[edit]

=== character normalisation &entity; &#nnnn; &#xnnn; ===
testing autocomment for TOC section: character normalisation &entity; &#nnnn; &#xnnn;

character entity in : garbage in – garbage out[edit]

==== character entity in : garbage in – garbage out ====
notes:

  1. &ndash; used for ""
  2. the section anchor at the TOC is #character_entity_in_:_garbage_in_.E2.80.93_garbage_out
  3. invalid "_" is converted to " " in the "URL part" of the link but not in the "anchor part"
    this is OK and supports "copy and paste" of such links
    some older MediaWiki revisions used rendering of "_" as " " in wiki links; this changed; Why?
    please comment here: user:Gangleri/tests/bugzilla/02329#comments
* spaces [[User:Gangleri/tests/bugzilla/section links]]
** spaces [[User:Gangleri/tests/bugzilla/section links/wiki syntax#character entity in : garbage in .E2.80.93 garbage out]]
* underscores [[User:Gangleri/tests/bugzilla/section_links]]
** underscores [[User:Gangleri/tests/bugzilla/section_links/wiki_syntax#character_entity_in_:_garbage_in_.E2.80.93_garbage_out]]

generates:

testing autocomment for TOC section: character entity in : garbage in – garbage out

precombined characters[edit]

=== precombined characters ===
testing autocomment for TOC section: precombined characters

variables[edit]

=== [[template:wikivar#variables|variables]] ===
testing autocomment for TOC section: variables

09:25[edit]

==== {{CURRENTTIME}} ====
testing autocomment for TOC section: 09:25 ({{CURRENTTIME}} is used here; wait time 2 minutes)

BiDi (bidirectional) issues[edit]

=== BiDi (bidirectional) issues ===
testing autocomment for TOC section: BiDi (bidirectional) issues

TeX, LaTeX[edit]

=== TeX, LaTeX ===

math[edit]

==== math ====

[edit]

===== <math>\aleph_0</math> =====
note: for this section no text is generated in the TOC after numbering; this section can not be reached from the TOC; if the rendered text inside the TOC or inside the rendered page is selected with the mouse a space is visible in Internet Explorer but not in Firefox
search MediaZilla for math
search MediaZilla for math+markup
testing autocomment for TOC section: <math>\aleph_0</math>

extensions[edit]

=== extensions ===

inputbox[edit]

==== inputbox ====

broken wiki syntax[edit]

=== broken wiki syntax ===
There are many ways to handle this:

  1. "garbage in – garbage out" – no notification at all (KISS implementation)
    If some help can be provided to editors that's OK but developer resources should be used first to solve higher priorities.
  2. "garbage in – garbage out" – minimal feedback

complications as results of other bugs[edit]

=== complications as results of other bugs ===

[[meta:Help talk:Recent changes#bugzilla:05009|]][edit]

==== [[meta:Help talk:Recent changes#bugzilla:05009|]] ====
note: the pipe trick does not work here

search MediaZilla for pipe+trick
search MediaZilla for pipe+link
[[foo (bar)#foobar|]][edit]

===== [[foo (bar)#foobar|]] =====
foo (bar)#foobar
bugzilla:05036 – "[[foo (bar)#foobar|]] is not replaced with [[foo (bar)#foobar|foo]] during 'Save'; it renders at 'Save' and in 'Preview' as invalid wiki syntax"

[[foobar#foo (bar)|]][edit]

===== [[foobar#foo (bar)|]] =====
foobar#foo (bar)
bugzilla:01034#c2 – "[[Piped links|]] to the main namespace produce unformatted text instead of functioning links"

bugzilla:04581[edit]

==== [[bugzilla:04581]] ====
bugzilla:04581 – "MediaZilla does not render links ending with ":" properly"

http://en.wikipedia.org/wiki/Paris_(disambiguation)[edit]

===== http://en.wikipedia.org/wiki/Paris_(disambiguation) ===
http://en.wikipedia.org/wiki/Paris_(disambiguation) – this does not render correctly at MediaZilla: and in ChatZilla

http://en.wikipedia.org/wiki/Paris_(disambiguation%29[edit]

===== http://en.wikipedia.org/wiki/Paris_(disambiguation%29 ===
http://en.wikipedia.org/wiki/Paris_(disambiguation%29

other curiosities[edit]

=== other curiosities ===

sections inserted out of sequence[edit]

==== sections inserted out of sequence ====

sections containing inline links[edit]

==== sections containing inline links ====

section containing an interwiki link[edit]

===== section containing an interwiki link [[en:Main_Page]] =====
testing autocomment for TOC section: section containing an interwiki link ===== section containing a category link

=[edit]

===== section containing a category link [[category:foobar]] =====
testing autocomment for TOC section: section containing a category link

section containing an image link ;-) nonsense[edit]

===== section containing an image link [[image:Smiley.png|{{CURRENTDAY}}0px|;-) nonsense]] =====
testing autocomment for TOC section: section containing an image link

text after (balanced) section syntyx[edit]

==== text after (balanced) section syntyx ====
===== text after (balanced) foo section ===== bar ===== text after (balanced) foo section ===== bar

text after (unbalanced) section syntyx[edit]

==== text after (unbalanced) section syntyx ====
===== text after (unbalanced) foo section ====== bar ====== text after (unbalanced) foo section ====== bar
====== text after (unbalanced) foo section ===== bar ====== text after (unbalanced) foo section ===== bar

other syntax then ====space foo space====[edit]

=== other syntax then ====space foo space==== ===
testing autocomment for TOC section: other syntax then ====space foo space====

[edit]

==== ====
testing autocomment for TOC section:

"return to" link generated here is
http://test.wikipedia.org/wiki/User:Gangleri/tests/bugzilla/section_links/wiki_syntax#
ending with #

_[edit]

====_====
testing autocomment for TOC section: _

three four five spaces[edit]

====   three    four     five spaces ====

testing autocomment for TOC section: three four five spaces

== unbalanced ...... .... unbalanced[edit]

====== unbalanced ...... .... unbalanced ====

unbalanced ...... .... unbalanced ==[edit]

====== unbalanced ...... .... unbalanced ========

== multiple unbalanced ====== ==== multiple unbalanced[edit]

====== multiple unbalanced ====== ==== multiple unbalanced ====

comments[edit]

Enjoy! Best regards Gangleri | w: Th | T 03:33, 19 February 2006 (UTC)