r48454 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r48453‎ | r48454 | r48455 >
Date:20:11, 16 March 2009
Author:demon
Status:ok
Tags:
Comment:
(bug 17990) trackback.php lacks a .php5 equivalent
Modified paths:
  • /trunk/phase3/RELEASE-NOTES (modified) (history)
  • /trunk/phase3/includes/Title.php (modified) (history)
  • /trunk/phase3/trackback.php5 (added) (history)

Diff [purge]

Index: trunk/phase3/trackback.php5
@@ -0,0 +1 @@
 2+<?php require './trackback.php';
\ No newline at end of file
Property changes on: trunk/phase3/trackback.php5
___________________________________________________________________
Name: svn:eol-style
13 + native
Index: trunk/phase3/includes/Title.php
@@ -3500,9 +3500,9 @@
35013501 * @return \type{\string} Trackback URL
35023502 */
35033503 public function trackbackURL() {
3504 - global $wgScriptPath, $wgServer;
 3504+ global $wgScriptPath, $wgServer, $wgScriptExtension;
35053505
3506 - return "$wgServer$wgScriptPath/trackback.php?article="
 3506+ return "$wgServer$wgScriptPath/trackback$wgScriptExtension?article="
35073507 . htmlspecialchars(urlencode($this->getPrefixedDBkey()));
35083508 }
35093509
Index: trunk/phase3/RELEASE-NOTES
@@ -267,8 +267,9 @@
268268 two "page" parameters
269269 * (bug 17972) Special:FileDuplicateSearch form now works correctly on wikis that
270270 don't use PathInfo or short urls
 271+* (bug 17990) trackback.php now has a trackback.php5 alias and works with
 272+ $wgScriptExtension
271273
272 -
273274 == API changes in 1.15 ==
274275 * (bug 16858) Revamped list=deletedrevs to make listing deleted contributions
275276 and listing all deleted pages possible

Status & tagging log