* (bug 14088) Excessively long block expiry times are rejected as invalid,
keeps the log page from being distorted.
* (bug 14708) Emulate INSERT...IGNORE with standard SQL for Postgres backend.
+* (bug 14646) Fix some double-escaping of HTML in feed output
+
=== API changes in 1.13 ===
$skin = $wgUser->getSkin();
# log enties
- if( $actiontext ) {
- $comment = "$actiontext $comment";
- }
- $completeText = '<p>' . $skin->formatComment( $comment ) . "</p>\n";
+ $completeText = '<p>' . implode( ' ',
+ array_filter(
+ array(
+ $actiontext,
+ $skin->formatComment( $comment ) ) ) ) . "</p>\n";
//NOTE: Check permissions for anonymous users, not current user.
// No "privileged" version should end up in the cache.
$diffText = '<a href="' .
$diffLink .
'">' .
- htmlspecialchars( wfMsgForContent( 'difference' ) ) .
+ htmlspecialchars( wfMsgForContent( 'showdiff' ) ) .
'</a>';
} elseif ( $diffText === false ) {
// Error in diff engine, probably a missing revision
/**
* @static
+ * @return HTML string
*/
static function actionText( $type, $action, $title = NULL, $skin = NULL, $params = array(), $filterWikilinks=false ) {
global $wgLang, $wgContLang, $wgLogActions;