https://bugzilla.wikimedia.org/show_bug.cgi?id=41023
--- Comment #9 from Daniel Zahn <[email protected]> --- <?php # returns an array with the names of all current W3C wikis function get_w3c_wikis() { $listurl="http://www.w3.org/community/groups/"; $buffer=file_get_contents($listurl); $pattern = '/a id="(.*)"/'; preg_match_all($pattern, $buffer, $matches); return($matches[1]); } #print_r(get_w3c_wikis()); # output the list as SQL for importing foreach (get_w3c_wikis() as &$wiki) { print "INSERT into w3cwikis (prefix) values ('$wiki'); \n"; } ?> <-- imported current list of wiki names into db with that 178 of them as of today -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
