First, some side remarks : # http://fr.anarchopedia.org/index.php?title=Special:Connexion&type=signup... displays the submit button wrong, because of http://fr.anarchopedia.org/MediaWiki:Createaccount which contains wikitext. The message here, is not parsed / cannot display links on a submit button. I think that modifying [[MediaWiki:signupend]] to customize the signup page is more appropriate here. Check other languages as well.
# trying to debug the first remark, I saw that http://fr.anarchopedia.org/Special:Messages_syst%C3%A8me was spitting out a PHP fatal error (!?) Fatal error: Allowed memory size of 20971520 bytes exhausted (tried to allocate 1628161 bytes) in $PATH_REMOVED/OutputPage.php on line 948. ( Note that the disclosure of the installation full path, even on fatal errors, is an important security vulnerability. You should not let php "display_errors" activated when in production. ) See http://www.mediawiki.org/wiki/Manual:Errors_and_Symptoms#Fatal_error:_Allowe... for memory solutions. Check Special:Allmessages on other langs.
# instead of using start:! which crawls through *all* the pages of your wiki, consider using a more precise parameter. (check pagegenerators.py headers to have a list of the most common generator parameters used) Here, -weblink:"http://raforum.apinc.org", using [[Special:LinkSearch]] is much more efficient :)
After reproducing your bug, the source contains : "Your edit includes new external links. To help protect against automated spam, please type the two words you see in the box below". It seems that a captcha is displayed, because we're altering external links. I guess that without dot, the modification doesn't look like a link change to mediawiki. (I fixed in r6069 the behavior of pywikipedia, making sure it detects ReCaptchas instead of spitting out HTML)
Now, we're usually able to ask the operator to provide the answer for standard mediawiki captchas. But we have no support (yet ?) for ReCaptcha. I don't know about the captcha-policy on anarchopedia, but usually, autoconfirmed accounts do not have to enter captchas. Have you tried with an old enough account ?
2008/11/6 Guillaume esperanza@no-log.org:
I've got a strange error when running replace.py -start:! "raforum.apinc.org" "raforum.info"
When changing page, pywikipedia shows code of the article like this: </ul> </div>
</div>
<script type="text/javascript">if (window.runOnloadHook)
runOnloadHook();</script>
<!-- Served in 1.205 secs. --></body></html>
Saving page [[1793]] failed: Bot goes on after on others pages. It's running correctly without . (dot). Replace.py doesn't work with ponctuation ? Should I use UTF 8 ?
Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l