From: Chad Horohoe Date: Mon, 16 Mar 2009 20:11:36 +0000 (+0000) Subject: (bug 17990) trackback.php lacks a .php5 equivalent X-Git-Tag: 1.31.0-rc.0~42475 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/?a=commitdiff_plain;h=ac6b6b1628b8297687325c645eb19d00ed744c1b;p=lhc%2Fweb%2Fwiklou.git (bug 17990) trackback.php lacks a .php5 equivalent --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index b705d77b38..563030dde7 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -267,7 +267,8 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN two "page" parameters * (bug 17972) Special:FileDuplicateSearch form now works correctly on wikis that don't use PathInfo or short urls - +* (bug 17990) trackback.php now has a trackback.php5 alias and works with + $wgScriptExtension == API changes in 1.15 == * (bug 16858) Revamped list=deletedrevs to make listing deleted contributions diff --git a/includes/Title.php b/includes/Title.php index a6fd58a194..6f7d967ddc 100644 --- a/includes/Title.php +++ b/includes/Title.php @@ -3500,9 +3500,9 @@ class Title { * @return \type{\string} Trackback URL */ public function trackbackURL() { - global $wgScriptPath, $wgServer; + global $wgScriptPath, $wgServer, $wgScriptExtension; - return "$wgServer$wgScriptPath/trackback.php?article=" + return "$wgServer$wgScriptPath/trackback$wgScriptExtension?article=" . htmlspecialchars(urlencode($this->getPrefixedDBkey())); } diff --git a/trackback.php5 b/trackback.php5 new file mode 100644 index 0000000000..fe811760a7 --- /dev/null +++ b/trackback.php5 @@ -0,0 +1 @@ +