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

From Wikipedia

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

Contents

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"

[edit] tests

[edit] search MediaZilla for section

=== [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

[edit] s

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

[edit] a b c

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

[edit] x y z

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

[edit] foo

[[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

[edit] bar

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

[edit] /bar

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

[edit] bugzilla:

=== [[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"

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

testing autocomment for TOC section: bugzilla:

[edit] bugzilla: (piped)

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

[edit] broken pipe link

=== 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>

[edit] bugzilla:04308

=== [[|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

[edit] One (Two), Three

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

[edit] http://example.com

=== 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

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

==== 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

[edit] example.com

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

[edit] [1]

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

[edit] skype://angela

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

[edit] identical section names

=== 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

[edit] identical section name

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

[edit] identical section name

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

[edit] identical section name

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

[edit] identical section name

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

[edit] not tested

testing autocomment for TOC section: not tested

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

=== 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: #

[edit] special characters ...

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

http://test.wikipedia.org/w/index.php?title=user:Gangleri/tests/bugzilla/section_links/wiki_syntax#special_characters_...
http://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 ...

[edit] special characters :::

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

http://test.wikipedia.org/w/index.php?title=user:Gangleri/tests/bugzilla/section_links/wiki_syntax#special_characters_:::
http://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 :::

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

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

[edit] invalid titles and invalid links

===== 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: [[ _ _ ]]

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

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

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

==== 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

[edit] precombined characters

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

[edit] variables

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

[edit] 23:08

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

[edit] BiDi (bidirectional) issues

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

[edit] TeX, LaTeX

=== TeX, LaTeX ===

[edit] math

==== math ====

[edit] \aleph_0

===== <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>

[edit] extensions

=== extensions ===

[edit] inputbox

==== inputbox ====

[edit] broken wiki syntax

=== 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

[edit] complications as results of other bugs

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

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

==== [[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

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

===== [[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"

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

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

[edit] bugzilla:04581

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

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

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

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

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

[edit] other curiosities

=== other curiosities ===

[edit] sections inserted out of sequence

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

[edit] sections containing inline links

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

[edit] section containing an interwiki link

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

[edit] section containing a category link

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

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

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

[edit] text after (balanced) section syntyx

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

[edit] text after (unbalanced) section syntyx

==== 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

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

=== 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: _

[edit] three four five spaces

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

testing autocomment for TOC section: three four five spaces

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

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

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

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

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

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

[edit] comments

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

Navigation
generic heading
In other languages