Diff for ''

Revision 3
Author:
admin
Time:
2006-01-03 23:00
Comment:
[MiEro] /* Captcha */ oprava odkazu na authimage
Revision 26
Author:
black
Time:
2024-06-02 14:35
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
=== Captcha === nz2ycp , [url=http://mapzddyawftv.com/]mapzddyawftv[/url], [link=http://abssodnekdye.com/]abssodnekdye[/link], http://shzpnihwnsea.com/
Line 3: Line 3:
These are captcha patches to MediaWiki 1.4.5 used on this site. == pPyPxRMMtEzK ==
Line 5: Line 5:
Personal service, as reiuqred in the bill, would establish a higher standard of service for paternity actions than all other civil actions. This higher standard does not directly address paternity fraud or prevent fraud in the future but instead would adversely impact the establishment of paternities. Thousands of paternity judgments are established timely each year by serving individuals by substitute service or by mail. The bill’s requirement of personal delivery service would severely delay this process, but more important, would provide biological fathers the ability to evade service of process [my emphasis], preventing the establishment of paternity in the majority of these cases and allowing the avoidance of parental responsibilities. This would directly impact child support collections and would jeopardize California’s ability to meet federally reiuqred performance measures putting California at risk of losing up to $40 million in federal funds. [emphasis added]In addition, AB 2240 has substantial federal compliance problems that would adversely affect California. The bill’s requirement of a paternity questionnaire, signed by themother, would prevent the filing of a paternity action in cases against the father if the mother is deceased or unavailable, or if she simply refuses to cooperate. This would prevent moving ahead on cases even if other evidence establishes paternity. This would also apply to foster care cases where federal law requires the establishment of paternity and child support. AB 2240 would prevent California from proceeding on a large number, if not most, of foster care cases, putting California out of compliance with federal law.This is about money. Many states depend upon federal grants to support their child support systems. If the states can't declare the guys these whores are married to to be the fathers of those bastard children, then they can't declare any guy to be the father of those bastard children when the actual father isn't known. That means states lose tens of millions of dollars in federal grants - which means those states have to raise taxes to pay for the welfare that those women will surely need...because those women are going to need it when their husbands divorce them and they're left to pay for those kids on their own.This is about money. It's that simple. And that money is going to come from somewhere. And, as former-governor Gray Davis made clear, the rights of the victims don't matter.
Line 6: Line 7:
'''extensions/authimage-inc/''' == SCPRkuSHjypArRkrsq ==
Line 8: Line 9:
http://dev.wp-plugins.org/wiki/AuthImage PDWfnd <a href="http://nhtztxjxmyce.com/">nhtztxjxmyce</a>
Line 10: Line 11:
== USCHpeYE ==
Line 11: Line 13:
'''extensions/authimage-inc/veriword.ini''' 9n6gkT , [url=http://srmclvtqgyqs.com/]srmclvtqgyqs[/url], [link=http://nbhvcrhgtzso.com/]nbhvcrhgtzso[/link], http://oshlquvnvqvk.com/
Line 13: Line 15:
<pre>
...
randomword_length =
...
</pre>
== jMFqXVtJ ==
Line 19: Line 17:
oGzqIo , [url=http://owfgjechtwzg.com/]owfgjechtwzg[/url], [link=http://gncmcpaoumhh.com/]gncmcpaoumhh[/link], http://ayvucyttrqws.com/
Line 20: Line 19:
'''extensions/authimage-inc/words/words.txt''' == yMHHcphFbNu ==
Line 22: Line 21:
''Tip: Create your own captcha word dictionary!'' sRQhWL , [url=http://jrtbglbwbfps.com/]jrtbglbwbfps[/url], [link=http://cvonmmjhgkjz.com/]cvonmmjhgkjz[/link], http://qwdjjutlcafb.com/
Line 24: Line 23:
== OSIMikBYKDyBGVwUtA ==
Line 25: Line 25:
SEN1fw , [url=http://tmliusqnazys.com/]tmliusqnazys[/url], [link=http://srxfatqvibun.com/]srxfatqvibun[/link], http://xhrbxllegxqs.com/
Line 26: Line 27:
'''extensions/authimage.php'''
<pre>
<?php
/*
Plugin Name: AuthImage
Plugin URI: http://www.gudlyf.com/index.php?p=376
Description: Creates an authentication image to help combat spam in comments.
Version: 3.0
Author: Keith McDuffee
Author URI: http://www.gudlyf.com/
== LtUIGTSYrmXgxaYgVwp ==
Line 37: Line 29:
Modified by miEro
*/
l83mwJ , [url=http://wwkkgfklpumm.com/]wwkkgfklpumm[/url], [link=http://jgoxfeoewgyf.com/]jgoxfeoewgyf[/link], http://dydxssqnqrjh.com/
Line 40: Line 31:
$sess_key_name = "veriword"; // Don't change this
$authimage = "/extensions/authimage-inc/image.veriword.php";
== pohGwvQVZIpAHa ==
Line 43: Line 33:
function checkAICode($code)
{
  global $sess_key_name;

  require_once("authimage-inc/class.verificator.php");
  $veri = new VeriFicator($code);
  $verified = $veri->verified();

  $return = ($verified == 1) ? 1 : 0;
  if(!isset($_SESSION[$sess_key_name])) {
    $return = 0;
  } else {
    unset($_SESSION[$sess_key_name]);
  }

  return $return;
}

?>
</pre>
'''includes/EditPage.php'''
<pre>
$ diff -u EditPage.php.old EditPage.php
--- EditPage.php.old 2005-05-27 13:18:20.000000000 +0200
+++ EditPage.php 2005-11-14 12:33:34.000000000 +0100
@@ -65,7 +65,10 @@
                        return;
                }
                if ( $this->save ) {
- $this->editForm( 'save' );
+ if ( checkAICode($_POST['code']) || $wgUser->isSysop() )
+ $this->editForm( 'save' );
+ else
+ $this->editForm( 'edit' );
                } else if ( $this->preview ) {
                        $this->editForm( 'preview' );
                } else { # First time through
@@ -150,6 +153,7 @@
        }

        function submit() {
+
                $this->edit();
        }

@@ -170,7 +174,7 @@
                global $wgWhitelistEdit;
                global $wgSpamRegex, $wgFilterCallback;
                global $wgUseLatin1;
-
+
                $sk = $wgUser->getSkin();
                $isConflict = false;
                // css / js subpages of user pages get a special treatment
@@ -535,11 +539,18 @@
 {$commentsubject}
 <textarea tabindex='1' accesskey=\",\" name=\"wpTextbox1\" rows='{$rows}'
 cols='{$cols}'{$ew}>" .
-htmlspecialchars( $wgContLang->recodeForEdit( $this->textbox1 ) ) .
-"
+htmlspecialchars( $wgContLang->recodeForEdit( $this->textbox1 ) ) . "
 </textarea>
-<br />{$editsummary}
+<table><tr><td>
+{$editsummary}
 {$checkboxhtml}
+<p>
+<label for=\"code\">Enter phrase from image (or skip for another): </label>
+<input type=\"text\" name=\"code\" id=\"code\" value=\"\" size=\"20\" tabindex=\"4\"/>
+</p>
+</td><td valign=\"bottom\">
+<img style=\"border:1px solid black\" src=\"$GLOBALS[authimage]\" alt=\"authimage\"/><br/>
+</td></tr></table>
 <input tabindex='5' id='wpSave' type='submit' value=\"{$save}\" name=\"wpSave\" accesskey=\"".wfMsg('accesskey-save')."\"".
 " title=\"".wfMsg('tooltip-save')."\"/>
 <input tabindex='6' id='wpPreview' type='submit' value=\"{$prev}\" name=\"wpPreview\" accesskey=\"".wfMsg('accesskey-preview')."\"".
</pre>
'''includes/SpecialUserlogin.php'''
<pre>
$ diff -u SpecialUserlogin.php.old SpecialUserlogin.php
--- SpecialUserlogin.php.old 2005-04-25 05:17:58.000000000 +0200
+++ SpecialUserlogin.php 2005-11-11 19:47:38.000000000 +0100
@@ -51,6 +51,7 @@
                $this->mLoginattempt = $request->getCheck( 'wpLoginattempt' );
                $this->mAction = $request->getVal( 'action' );
                $this->mRemember = $request->getCheck( 'wpRemember' );
+ $this->mCode = $request->getVal( 'wpCode' );

                if( $wgEnableEmail ) {
                        $this->mEmail = $request->getText( 'wpEmail' );
@@ -74,14 +75,18 @@
                        $this->onCookieRedirectCheck( $this->mCookieCheck );
                        return;
                } else if( $this->mPosted ) {
- if( $this->mCreateaccount ) {
+ $ok = -1;
+ if( $this->mCreateaccount && ($ok = checkAICode($this->mCode)) ) {
                                return $this->addNewAccount();
- } else if ( $this->mCreateaccountMail ) {
+ } else if ( $this->mCreateaccountMail && ($ok = checkAICode($this->mCode))) {
                                return $this->addNewAccountMailPassword();
- } else if ( $this->mMailmypassword ) {
+ } else if ( $this->mMailmypassword && ($ok = checkAICode($this->mCode))) {
                                return $this->mailPassword();
                        } else if ( ( 'submitlogin' == $this->mAction ) || $this->mLoginattempt ) {
- return $this->processLogin();
+ if ($ok !== -1)
+ return $this->mainLoginForm( 'Incorrect phrase from image. Please, try again with another image.' );
+ else
+ return $this->processLogin();
                        }
                }
                $this->mainLoginForm( '' );
</pre>
'''includes/templates/Userlogin.php'''
<pre>
$ diff -u Userlogin.php.old Userlogin.php
--- Userlogin.php.old 2005-03-27 18:11:26.000000000 +0200
+++ Userlogin.php 2005-11-11 19:30:41.000000000 +0100
@@ -65,16 +65,24 @@
                                        <input tabindex='7' type='text' name="wpEmail" id="wpEmail"
                                                value="<?php $this->text('email') ?>" size='20' />
                                </td>
+ <td rowspan="2"><img src="<?php print $GLOBALS['authimage'] ?>" alt="authimage"/></td>
                        <?php } ?>
                        <?php if( $this->data['userealname'] ) { ?>
- </tr>
- <tr>
+ </tr>
+ <tr>
                                        <td align='right'><label for='wpRealName'><?php $this->msg('yourrealname') ?>:</label></td>
                                        <td align='left'>
                                                <input tabindex='8' type='text' name="wpRealName" id="wpRealName"
                                                        value="<?php $this->text('realname') ?>" size='20' />
                                        </td>
                        <?php } ?>
+ </tr>
+ <tr>
+ <td align='right'><label for='wpCode'>Enter phrase from image:</label></td>
+ <td align='left'>
+ <input tabindex='7' type='text' name="wpCode" id="wpCode"
+ value="" size='20' />
+ </td>
                        <td align='left'>
                                <input tabindex='9' type='submit' name="wpCreateaccount"
                                        value="<?php $this->msg('createaccount') ?>" />
</pre>

=== Other mediawiki customizations ===
http://www.fxparlant.net/Category:Mediawiki
efn94r <a href="http://ivjjhobeabhp.com/">ivjjhobeabhp</a>