User:Joe Beaudoin Jr./Scratch pad

From Battlestar Wiki, the free, open content Battlestar Galactica encyclopedia and episode guide

Hack for Google Code, in SpecialSearch.php:

               $battlestarwiki_server = $_SERVER['HTTP_HOST'];
               $fname = 'SpecialSearch::showResults';
               wfProfileIn( $fname );
               if ($battlestarwiki_server != "media.battlestarwiki.org") {
                       wfshowResultsGoogle( $term );
                       return;
               } 

To Do

From "Bastille Day"

RegEx

\[\[([^:[]*) \(TOS\)\|(.*)\]\]" with "{{TOS|$1|$2}}

  1. 1.0 1.1 1.2 1.3 1.4 1.5 1.6 1.7 Cite error: Invalid <ref> tag; no text was provided for refs named sheet