User:JChris.FillionR/Sandbox

From Slicer Wiki
< User:JChris.FillionR
Revision as of 02:19, 27 November 2019 by Grundlett (talk | contribs) (Text replacement - "\[http:\/\/wiki\.slicer\.org\/slicerWiki\/index\.php\/([^ ]+) ([^]]+)]" to "$2")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

2015-04-17

As pointed out by Andriy, link within the new module page are broken. This is caused by the fact generated anchor are not unique.

This page serves as a playground to identify how best the issue could be addressed.

2014-02-19

Test1

  • Full link
[[Documentation/Nightly/Extensions/TCIABrowser|TCIABrowser]]

render the this link: TCIABrowser


  • Wiki link
[[Documentation/Nightly/Extensions/TCIABrowser|TCIABrowser]]

render the this link: TCIABrowser


Observations

Both link link to a page of the form

http://wiki.slicer.org/slicerWiki/index.php/Documentation/Nightly/Extensions/TCIABrowser%EF%BB%BF

Using a site like http://www.url-encode-decode.com/ to decode

%EF%BB%BF

doesn't give much information.


Test2

  • Full link
[[Documentation/Nightly/Extensions/GyroGuide|GyroGuide]]

render the this link: GyroGuide


  • Wiki link
[[Documentation/Nightly/Extensions/GyroGuide|GyroGuide]]

render the this link: GyroGuide


Observations

Both links work as expected.


Test3

  • Backup current documentation page by (1) clicking edit and (2) copying the text into a text file
  • Try to move the page to a different name TCIABrowser to TCIABrowserNew
  • Try to link to the moved page
  • Full link
[[Documentation/Nightly/Extensions/TCIABrowserNew|TCIABrowserNew]]

render the this link: TCIABrowserNew


  • Wiki link
[[Documentation/Nightly/Extensions/TCIABrowserNew|TCIABrowserNew]]

render the this link: TCIABrowserNew


Observations

After moving the page, both links work as expected.

Link are borken after moving the page back to its original name.


Conclusion

New Since link work after moving the page to a different name but are broken again after renaming to the original name. I suspect there is something wrong in the database.

Possible approaches

Database cleanup

  • Rename the page
  • Clear all references to the old page in the mw database
  • Rename back to the original page

Permanent rename

The page could be permanently renamed to something different. This is:

  • easy
  • suboptimal, it will lead to confusion for the user and the maintainer

Reference

Hi Jc,

This is perplexing me. Do you know what is going on?

This wiki page exist:

http://wiki.slicer.org/slicerWiki/index.php/Documentation/Nightly/Extensions/TCIABrowser

Yet, when a link like this is made to it:
[[Documentation/Nightly/Extensions/TCIABrowser|TCIABrowser]]

it points to this blank page:

http://wiki.slicer.org/slicerWiki/index.php/Documentation/Nightly/Extensions/TCIABrowser%EF%BB%BF

Then I edited this page by adding one character "a" and tried to redirect it to the actually existing wiki page, but the "Move page" and the "To new title" names are identical. So of course,

*Source and destination titles are the same; cannot move a page over itself.*

Is it anything to do with error in wiki parsing? How can it be remedied?