Index: trunk/phase3/includes/Linker.php |
— | — | @@ -254,7 +254,7 @@ |
255 | 255 | $query['action'] = 'edit'; |
256 | 256 | $query['redlink'] = '1'; |
257 | 257 | } |
258 | | - $ret = $target->getLinkUrl( $query ); |
| 258 | + $ret = $target->getLinkURL( $query ); |
259 | 259 | wfProfileOut( __METHOD__ ); |
260 | 260 | return $ret; |
261 | 261 | } |
Index: trunk/phase3/includes/media/MediaTransformOutput.php |
— | — | @@ -185,7 +185,7 @@ |
186 | 186 | } elseif ( !empty( $options['custom-title-link'] ) ) { |
187 | 187 | $title = $options['custom-title-link']; |
188 | 188 | $linkAttribs = array( |
189 | | - 'href' => $title->getLinkUrl(), |
| 189 | + 'href' => $title->getLinkURL(), |
190 | 190 | 'title' => empty( $options['title'] ) ? $title->getFullText() : $options['title'] |
191 | 191 | ); |
192 | 192 | } elseif ( !empty( $options['desc-link'] ) ) { |
Index: trunk/phase3/includes/ChangesList.php |
— | — | @@ -706,13 +706,13 @@ |
707 | 707 | if ( $type != RC_NEW ) { |
708 | 708 | $curLink = $this->message['cur']; |
709 | 709 | } else { |
710 | | - $curUrl = htmlspecialchars( $rc->getTitle()->getLinkUrl( $querycur ) ); |
| 710 | + $curUrl = htmlspecialchars( $rc->getTitle()->getLinkURL( $querycur ) ); |
711 | 711 | $curLink = "<a href=\"$curUrl\" tabindex=\"{$baseRC->counter}\">{$this->message['cur']}</a>"; |
712 | 712 | } |
713 | 713 | $diffLink = $this->message['diff']; |
714 | 714 | } else { |
715 | | - $diffUrl = htmlspecialchars( $rc->getTitle()->getLinkUrl( $querydiff ) ); |
716 | | - $curUrl = htmlspecialchars( $rc->getTitle()->getLinkUrl( $querycur ) ); |
| 715 | + $diffUrl = htmlspecialchars( $rc->getTitle()->getLinkURL( $querydiff ) ); |
| 716 | + $curUrl = htmlspecialchars( $rc->getTitle()->getLinkURL( $querycur ) ); |
717 | 717 | $diffLink = "<a href=\"$diffUrl\" tabindex=\"{$baseRC->counter}\">{$this->message['diff']}</a>"; |
718 | 718 | $curLink = "<a href=\"$curUrl\" tabindex=\"{$baseRC->counter}\">{$this->message['cur']}</a>"; |
719 | 719 | } |
Index: trunk/phase3/includes/Title.php |
— | — | @@ -959,7 +959,7 @@ |
960 | 960 | * for anonymous users). |
961 | 961 | * @return String the URL |
962 | 962 | */ |
963 | | - public function getLinkUrl( $query = array(), $variant = false ) { |
| 963 | + public function getLinkURL( $query = array(), $variant = false ) { |
964 | 964 | wfProfileIn( __METHOD__ ); |
965 | 965 | if ( $this->isExternal() ) { |
966 | 966 | $ret = $this->getFullURL( $query ); |
Index: trunk/phase3/includes/FakeTitle.php |
— | — | @@ -31,7 +31,7 @@ |
32 | 32 | function getPrefixedURL() { $this->error(); } |
33 | 33 | function getFullURL( $query = '', $variant = false ) { $this->error(); } |
34 | 34 | function getLocalURL( $query = '', $variant = false ) { $this->error(); } |
35 | | - function getLinkUrl( $query = array(), $variant = false ) { $this->error(); } |
| 35 | + function getLinkURL( $query = array(), $variant = false ) { $this->error(); } |
36 | 36 | function escapeLocalURL( $query = '' ) { $this->error(); } |
37 | 37 | function escapeFullURL( $query = '' ) { $this->error(); } |
38 | 38 | function getInternalURL( $query = '', $variant = false ) { $this->error(); } |