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

From Slicer Wiki
Jump to: navigation, search
m (Text replacement - "\[http:\/\/wiki\.slicer\.org\/slicerWiki\/index\.php\/([^ ]+) ([^]]+)]" to "$2")
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
 +
== 2015-04-17 ==
 +
 +
As [http://slicer-users.65878.n3.nabble.com/Organization-of-the-front-documentation-page-td4028835.html pointed out] by Andriy, link within the new module page are broken. This is caused by the fact [https://github.com/Slicer/slicer-wiki-scripts/issues/4 generated anchor are not unique].
 +
 +
This [[User:JChris.FillionR/Sandbox/CopyOfNightlyModuleExtensionListing_2015-04-17|page]] serves as a playground to identify how best the issue could be addressed.
 +
 
== 2014-02-19 ==
 
== 2014-02-19 ==
  
Line 6: Line 12:
  
 
<pre>
 
<pre>
[http://wiki.slicer.org/slicerWiki/index.php/Documentation/Nightly/Extensions/TCIABrowser TCIABrowser]
+
[[Documentation/Nightly/Extensions/TCIABrowser|TCIABrowser]]
 
</pre>
 
</pre>
  
render the this link: [http://wiki.slicer.org/slicerWiki/index.php/Documentation/Nightly/Extensions/TCIABrowser TCIABrowser]
+
render the this link: [[Documentation/Nightly/Extensions/TCIABrowser|TCIABrowser]]
  
  
Line 33: Line 39:
  
 
<pre>
 
<pre>
[http://wiki.slicer.org/slicerWiki/index.php/Documentation/Nightly/Extensions/GyroGuide GyroGuide]
+
[[Documentation/Nightly/Extensions/GyroGuide|GyroGuide]]
 
</pre>
 
</pre>
  
render the this link: [http://wiki.slicer.org/slicerWiki/index.php/Documentation/Nightly/Extensions/GyroGuide GyroGuide]
+
render the this link: [[Documentation/Nightly/Extensions/GyroGuide|GyroGuide]]
  
  
Line 64: Line 70:
  
 
<pre>
 
<pre>
[http://wiki.slicer.org/slicerWiki/index.php/Documentation/Nightly/Extensions/TCIABrowserNew TCIABrowserNew]
+
[[Documentation/Nightly/Extensions/TCIABrowserNew|TCIABrowserNew]]
 
</pre>
 
</pre>
  
render the this link: [http://wiki.slicer.org/slicerWiki/index.php/Documentation/Nightly/Extensions/TCIABrowserNew TCIABrowserNew]
+
render the this link: [[Documentation/Nightly/Extensions/TCIABrowserNew|TCIABrowserNew]]
  
  
Line 87: Line 93:
  
 
=== Conclusion ===
 
=== 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.
  
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
  
Possible approach:
+
==== 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 ====
 +
 
 +
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 ===
 
=== Reference ===
Line 107: Line 121:
  
 
Yet, when a link like this is made to it:
 
Yet, when a link like this is made to it:
[http://wiki.slicer.org/slicerWiki/index.php/Documentation/Nightly/Extensions/TCIABrowser TCIABrowser]
+
[[Documentation/Nightly/Extensions/TCIABrowser|TCIABrowser]]
  
 
it points to this blank page:
 
it points to this blank page:

Latest revision as of 02:19, 27 November 2019

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?