my stab at it..
source = Import[
"http://en.wikipedia.org/wiki/List_of_missions_to_the_Moon",
{"HTML", "Source"}];
tstart = StringPosition[source,
"<table class=\"wikitable sortable\"" ][[1, 1]];
tend = Select[
StringPosition[source, "</table>"] , #[[1]] > tstart & ][[1, 2]];
tabledata =
ImportString[
StringTake[ source , {tstart, tend} ], {"html", "Data"}];
Grid@tabledata
If there are more elegant ways of parsing html I'd like to see..
By the way WikipediaData gives me these sorts of errors no matter what I try:
" ServiceObject::noget: The parameter Wikicode is not available for the service Wikipedia. >> "
WikipediaData["List of missions to the Moon", "ArticleWikicode"]works fine. – Mahdi May 06 '15 at 17:15PageIDis wrong, the correct one is38293476. – Mahdi May 06 '15 at 17:17Import:Import["http://en.wikipedia.org/wiki/List_of_missions_to_the_Moon", {"HTML", "Source"}]. (WikipediaDatadoesn't work for me either by the way ) – george2079 May 06 '15 at 17:45