(bug 4253, bug 16586) Don't repeat titles of new pages in URLs in the RC->IRC feed...
authorIlmari Karonen <vyznev@users.mediawiki.org>
Wed, 10 Dec 2008 15:56:02 +0000 (15:56 +0000)
committerIlmari Karonen <vyznev@users.mediawiki.org>
Wed, 10 Dec 2008 15:56:02 +0000 (15:56 +0000)
commitdbf477d5cc4e39a7ac0193568014af7fc16e148f
tree42a50cc80c8b52e80cafb5f7e35d7e8dc9bf9355
parent208502dde8131e65ceef856f8c18ef114f261dae
(bug 4253, bug 16586) Don't repeat titles of new pages in URLs in the RC->IRC feed, use the shorter and more useful revision ID instead.
Also simplify URL construction: old code used to call Title::getInternalURL() to build the URLs and then undo most of the work with preg_replace().
(TODO: Maybe consider introducing new global $wgIRCLineURLPrefix to optionally override the $wgInternalServer.$wgScript prefix?)
RELEASE-NOTES
includes/RecentChange.php