aboutsummaryrefslogtreecommitdiffstats
path: root/includes/parser/ParserOptions.php
diff options
context:
space:
mode:
authorÆvar Arnfjörð Bjarmason <avar@users.mediawiki.org>2010-08-05 12:50:34 +0000
committerÆvar Arnfjörð Bjarmason <avar@users.mediawiki.org>2010-08-05 12:50:34 +0000
commitb63c3457a4123354fd2166ff977cbcc02b86ee8f (patch)
tree5eb3627376030523b005a4727aee92d8a55ae996 /includes/parser/ParserOptions.php
parent7128c455ccccd16ff4395991b1a9ba7cae7c3b11 (diff)
downloadmediawikicore-b63c3457a4123354fd2166ff977cbcc02b86ee8f.tar.gz
mediawikicore-b63c3457a4123354fd2166ff977cbcc02b86ee8f.zip
UserMailer.php: Send diff links from old->new on $wgEnotifImpersonal, not from unrelated_old->old
Since UserMailer's $wgEnotifImpersonal setting was introduced in r21897 it has ostensibly been sending out mails like these: The OpenStreetMap Wiki page Servers has been changed on 10:20, 5 August 2010 by TomH, see http://wiki.openstreetmap.org/wiki/Servers for the current revision. See http://wiki.openstreetmap.org/w/index.php?title=Servers&oldid=507861&diff=prev That link takes you to a page with the diff between: Revision as of 2010-07-26T15:22:38 -> Revision as of 2010-07-29T13:03:51 Instead it should take you to: Revision as of 2010-07-29T13:03:51 -> Revision as of 2010-08-05T10:20:50 So that you get a diff *to* the 10:20 revision mentioned in the original E-Mail. Switch diff=prev to diff=next to fix this. Now it'll emit a link like: http://wiki.openstreetmap.org/w/index.php?title=Servers&oldid=507861&diff=next Reported-by: Grant Slater <openstreetmap@firefishy.com>
Notes
Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/70497
Diffstat (limited to 'includes/parser/ParserOptions.php')
0 files changed, 0 insertions, 0 deletions