Reconstituted "see also" sections

tl;dr: The "see also" section now has valid content.

Doing a JavaScript page import quality check against the originals, I 
noticed the "See Also" sections were all empty on the import.  So I 
reconstituted the "See Also" section by mapping the wiki pages back to 
the original import html files, scanned each original for the "see also" 
div, grabbed the odd link in it that looks like this:

     <a href="8063ecd5-5778-4e87-b985-b21420171914.htm">String Object 
(JavaScript)</a>

It's an invalid href, however, this odd token before ".htm" in href just 
happens to match something in a meta tag in the target page 
unambiguously.   So I scanned all original html files for a match of 
that href minus the .htm in a meta element that looks like this:

     <meta name="Microsoft.Help.Id" 
content="8063ecd5-5778-4e87-b985-b21420171914" />

Then I mapped that matching html file back to the new wiki page name, 
and inserted it as an internal wiki link at the bottom in the ==See 
Also== section.

Fortunately, there was already a See_Also_Section template, so I 
employed it and did a fresh import again.  It's form enabled and looks 
pretty good.

Now double checking against the original you see the "See Also" is now 
correct.  Check the bottoms of both page pairs, for example:

lastIndexOf:
     http://docs.webplatform.org/test/javascript/Array/lastIndexOf
http://msdn.microsoft.com/en-us/library/ie/ff679972%28v=vs.94%29.aspx

map:
     http://docs.webplatform.org/test/javascript/Array/map
http://msdn.microsoft.com/en-us/library/ie/ff679976%28v=vs.94%29.aspx

Since we only imported the Reference pages, the other links in the 
originals were not included, such as this at the bottom of the array map 
page:

     Concepts
         Using Arrays (JavaScript)
     Other Resources
         Hilo JavaScript sample app (Windows Store)

Received on Saturday, 25 January 2014 21:43:24 UTC