From c18d1fe826ee4f5ea10db25c1c4b5cbf01345b11 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Niklas=20Laxstr=C3=B6m?= Date: Wed, 16 Apr 2008 19:58:31 +0000 Subject: [PATCH] * (bug 13632) Show white space differences with wikidiff2 too --- RELEASE-NOTES | 2 +- skins/common/diff.css | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 57359ef7a5..9a9cbb49e5 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -139,7 +139,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN so groups may optionally edit protected pages without having 'protect' perms * Disallow deletion of big pages by means of moving a page to its title and using the "delete and move" option. -* (bug 13466) White space differences not shown in diffs +* (bug 13466, 13632) White space differences not shown in diffs * (bug 1953) Search form now honors namespace selections more reliably * (bug 12294) Namespace class renamed to MWNamespace for PHP 5.3 compatibility * PHP 5.3 compatibility fix for wfRunHooks() called with no parameters diff --git a/skins/common/diff.css b/skins/common/diff.css index 222be7e278..5737e74084 100644 --- a/skins/common/diff.css +++ b/skins/common/diff.css @@ -33,6 +33,8 @@ td.diff-context { color: red; font-weight: bold; text-decoration: none; + white-space: pre-wrap; + white-space: -moz-pre-wrap; } .diffchange-inline { border: 1px dotted red; -- 2.20.1