* (bug 12346) XML fix when body double-click and click handlers are present
* Fix regression -- missing feed links in sidebar on Special:Recentchanges
* (bug 12371) Handle more namespace case variants in namespaceDupes.php
-
+* (bug 12380) Bot-friendly EditPage::spamPage
== Parser changes in 1.12 ==
$wgOut->setRobotPolicy( 'noindex,nofollow' );
$wgOut->setArticleRelated( false );
+ $wgOut->addHtml( '<div id="spamprotected">' );
$wgOut->addWikiText( wfMsg( 'spamprotectiontext' ) );
if ( $match )
- $wgOut->addWikiText( wfMsg( 'spamprotectionmatch', "<nowiki>{$match}</nowiki>" ) );
+ $wgOut->addWikiText( wfMsg( 'spamprotectionmatch',wfEscapeWikiText( $match ) ) );
+ $wgOut->addHtml( '</div>' );
$wgOut->returnToMain( false, $wgTitle );
}