Difference between revisions of "User:JChris.FillionR/Sandbox"

From Slicer Wiki
Jump to: navigation, search
Line 93: Line 93:
  
 
==== Database cleanup ====
 
==== Database cleanup ====
 +
 
* Rename the page
 
* Rename the page
* Clear all reference to the old page in the mw database
+
* Clear all references to the old page in the mw database
* Rename back to the orginal page
+
* Rename back to the original page
  
 
==== Permanent rename ====
 
==== Permanent rename ====
  
 
The page could be permanently renamed to something different. This is:
 
The page could be permanently renamed to something different. This is:
- easy
+
* easy
- suboptimal, it will lead to confusion for the user
+
* suboptimal, it will lead to confusion for the user and the maintainer
  
 
=== Reference ===
 
=== Reference ===

Revision as of 17:57, 19 February 2014

2014-02-19

Test1

  • Full link
[http://wiki.slicer.org/slicerWiki/index.php/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
[http://wiki.slicer.org/slicerWiki/index.php/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
[http://wiki.slicer.org/slicerWiki/index.php/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:
[http://wiki.slicer.org/slicerWiki/index.php/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?