Help for this page

Select Code to Download


  1. or download this
    use LWP::Simple;
    use LWP::UserAgent;
    use HTTP::Request;
    use HTTP::Request::Common qw(GET);
    use HTTP::Response;
    
  2. or download this
    $|=1; #Disable buffering to allow instant output of text.
    
  3. or download this
    our $editorPassword = "**********";
    our $language = "en"; # language code for wikipedia namespace
    our $enabled = "true"; # set to false to take offline/disable
    
  4. or download this
    if ($enabled eq "true") {
    
  5. or download this
    if ($enabled) {
    
  6. or download this
    &getInput;
    
  7. or download this
    getInput();
    
  8. or download this
    my @gettheip = split(/\./,$ENV{'REMOTE_ADDR'});
    my $remoteHost = "$gettheip[0].$gettheip[1].$gettheip[2].$gettheip[3]"
    +;
    
  9. or download this
    sub readEditTokens {
    
    ...
        close (TOKENFILE);
        return ($editTokens);
    }
    
  10. or download this
    sub readEditTokens {
        open(my $TOKENFILE, '<', $editTokenFile) or
    ...
        my $editTokens = <$TOKENFILE>;
        return ($editTokens);
    }
    
  11. or download this
    print STDOUT "Content-type: text/html\n\n";