Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Wikipedia: Mediawiki

Problem with reCaptcha extension: Additional tag in HTML source

 

 

Wikipedia mediawiki RSS feed   Index | Next | Previous | View Threaded


ichwillwerbung at yahoo

Sep 1, 2009, 7:13 AM

Post #1 of 6 (965 views)
Permalink
Problem with reCaptcha extension: Additional tag in HTML source

Hi,

due to repeating spam attacks against my wiki I tried the reCaptcha extension.
Somehow, the extension screws up the HTML source of the pages.
Now,
the source of each page from my wiki begins with </pre>,
followed by the DOCTYPE definition and the rest of the page.

Most
browsers ignore that tag, however, the RSS feed don't work anymore,
since the XML cannot be interpreted correctly if this tag is at the
begin of the feed.

I've tried to update the underlying ConfirmEdit extension, but with no success,the problem still persists.
MW is version 1.15.1, the reCaptcha Plugin is version 1.7

Any hints?
Paul


New Email names for you!
Get the Email name you&#39;ve always wanted on the new @ymail and @rocketmail.
Hurry before someone else does!
http://mail.promotions.yahoo.com/newdomains/sg/

_______________________________________________
MediaWiki-l mailing list
MediaWiki-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


matsch at rockinchina

Sep 1, 2009, 10:56 AM

Post #2 of 6 (901 views)
Permalink
Re: Problem with reCaptcha extension: Additional tag in HTML source [In reply to]

It might not be reCaptcha causing the problem. Have you checked your
LocalSettings.php if you have accidentally inserted something there?

Best,
matsch


Am Tue, 1 Sep 2009 07:13:21 -0700 (PDT)
schrieb Paul Fels <ichwillwerbung [at] yahoo>:

> Hi,
>
> due to repeating spam attacks against my wiki I tried the reCaptcha
> extension. Somehow, the extension screws up the HTML source of the
> pages. Now,
> the source of each page from my wiki begins with </pre>,
> followed by the DOCTYPE definition and the rest of the page.
>
> Most
> browsers ignore that tag, however, the RSS feed don't work anymore,
> since the XML cannot be interpreted correctly if this tag is at the
> begin of the feed.
>
> I've tried to update the underlying ConfirmEdit extension, but with
> no success,the problem still persists. MW is version 1.15.1, the
> reCaptcha Plugin is version 1.7
>
> Any hints?
> Paul
>
>
> New Email names for you!
> Get the Email name you&#39;ve always wanted on the new @ymail and
> @rocketmail. Hurry before someone else does!
> http://mail.promotions.yahoo.com/newdomains/sg/
>
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l [at] lists
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>


--
Rock in China
http://wiki.rockinchina.com/
http://www.rockinchina.com/

_______________________________________________
MediaWiki-l mailing list
MediaWiki-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


Platonides at gmail

Sep 1, 2009, 2:05 PM

Post #3 of 6 (900 views)
Permalink
Re: Problem with reCaptcha extension: Additional tag in HTML source [In reply to]

Matthias Korn wrote:
> It might not be reCaptcha causing the problem. Have you checked your
> LocalSettings.php if you have accidentally inserted something there?
>
> Best,
> matsch

Or at the recaptcha extension files.
Look for </pre> in the files above the <?php or below ?> in the files
which contain it.


_______________________________________________
MediaWiki-l mailing list
MediaWiki-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


ichwillwerbung at yahoo

Sep 2, 2009, 6:08 AM

Post #4 of 6 (892 views)
Permalink
Re: Problem with reCaptcha extension: Additional tag in HTML source [In reply to]

Hi,

> Matthias Korn wrote:
>> It might not be reCaptcha causing the problem. Have you checked your
>> LocalSettings.php if you have accidentally inserted something there?

Platonides wrote:
> Or at the recaptcha extension files.
> Look for </pre> in the files above the <?php or below ?> in the files
> which contain it.

thanks for your hints. The command
for i in `ls`; do grep -nH "</pre>" $i; done;
revealed, that I accidentally pasted the </pre> into the file ReCaptcha.i18n.php
when adding some translations.

Paul



New Email addresses available on Yahoo!
Get the Email name you&#39;ve always wanted on the new @ymail and @rocketmail.
Hurry before someone else does!
http://mail.promotions.yahoo.com/newdomains/sg/

_______________________________________________
MediaWiki-l mailing list
MediaWiki-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


smolensk at eunet

Sep 2, 2009, 6:16 AM

Post #5 of 6 (883 views)
Permalink
Re: Problem with reCaptcha extension: Additional tag in HTML source [In reply to]

Paul Fels wrote:
>> Matthias Korn wrote:
>>> It might not be reCaptcha causing the problem. Have you checked your
>>> LocalSettings.php if you have accidentally inserted something there?
>
> Platonides wrote:
>> Or at the recaptcha extension files.
>> Look for </pre> in the files above the <?php or below ?> in the files
>> which contain it.
>
> thanks for your hints. The command
> for i in `ls`; do grep -nH "</pre>" $i; done;
> revealed, that I accidentally pasted the </pre> into the file ReCaptcha.i18n.php
> when adding some translations.

What's difference between that line and

grep -nH "</pre>" *

?

_______________________________________________
MediaWiki-l mailing list
MediaWiki-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


ichwillwerbung at yahoo

Sep 2, 2009, 10:00 AM

Post #6 of 6 (887 views)
Permalink
Re: Problem with reCaptcha extension: Additional tag in HTML source [In reply to]

>> for i in `ls`; do grep -nH "</pre>" $i; done;

>What's difference between that line and
>grep -nH "</pre>" *

your version is shorter :-)


Get your preferred Email name!
Now you can @ymail.com and @rocketmail.com
http://mail.promotions.yahoo.com/newdomains/sg/

_______________________________________________
MediaWiki-l mailing list
MediaWiki-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Wikipedia mediawiki RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.