* (bug 10049) Prefix index search and namespaces in Special:Withoutinterwiki
* (bug 12668) Support for custom iPhone bookmark icon via $wgAppleTouchIcon
* Add option to include templates in Special:Export.
-* (bug 12655) Added $wgUserEmailUseReplyTo config option to put sender
- address in Reply-To instead of From for user-to-user emails.
- This protects against SPF problems and privacy-leaking bounce messages
- when using mailers that set the envelope sender to the From header value.
=== Bug fixes in 1.12 ===
* Creating a site with a name containing '#' is no longer permitted, since the
name will not work (but $wgSiteName is not checked if manually set).
* (bug 12695) Suppress dvips verbiage from web server error log
+* (bug 12716) Unprotecting a non-protected page leaves a log entry
== Parser changes in 1.12 ==
if ( $cascade )
$comment .= "$cascade_description";
- $nullRevision = Revision::newNullRevision( $dbw, $id, $comment, true );
- $nullRevId = $nullRevision->insertOn( $dbw );
-
# Update restrictions table
foreach( $limit as $action => $restrictions ) {
if ($restrictions != '' ) {
'pr_type' => $action ), __METHOD__ );
}
}
+ if($dbw->affectedRows() == 0)
+ // No change
+ return true;
+
+ # Insert a null revision
+ $nullRevision = Revision::newNullRevision( $dbw, $id, $comment, true );
+ $nullRevId = $nullRevision->insertOn( $dbw );
# Update page record
$dbw->update( 'page',