r22546 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r22545‎ | r22546 | r22547 >
Date:22:02, 29 May 2007
Author:raymond
Status:old
Tags:
Comment:
(bug 7960) Link to "what links here" for each "what links here" entry
Patch from Thomas "Tango" Dalton
Modified paths:
  • /trunk/phase3/RELEASE-NOTES (modified) (history)
  • /trunk/phase3/includes/SpecialWhatlinkshere.php (modified) (history)
  • /trunk/phase3/languages/messages/MessagesDe.php (modified) (history)
  • /trunk/phase3/languages/messages/MessagesEn.php (modified) (history)
  • /trunk/phase3/maintenance/language/messages.inc (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/language/messages.inc
@@ -1265,6 +1265,7 @@
12661266 'istemplate',
12671267 'whatlinkshere-prev',
12681268 'whatlinkshere-next',
 1269+ 'whatlinkshere-links',
12691270 ),
12701271 'block' => array(
12711272 'blockip',
Index: trunk/phase3/includes/SpecialWhatlinkshere.php
@@ -230,6 +230,10 @@
231231 $wgOut->addHTML( ' (' . implode( ', ', $props ) . ') ' );
232232 }
233233
 234+ //add whatlinkshere link
 235+ $whatlink=$this->skin->makeKnownLinkObj( SpecialPage::getTitleFor( 'Whatlinkshere', $nt->getPrefixedDBkey() ), wfMsgHtml( 'whatlinkshere-links' ) );
 236+ $wgOut->addHTML(' ' . $whatlink);
 237+
234238 if ( $row->page_is_redirect ) {
235239 if ( $level < 2 ) {
236240 $this->showIndirectLinks( $level + 1, $nt, 500 );
Index: trunk/phase3/languages/messages/MessagesEn.php
@@ -1958,6 +1958,7 @@
19591959 'istemplate' => 'inclusion',
19601960 'whatlinkshere-prev' => '{{PLURAL:$1|previous|previous $1}}',
19611961 'whatlinkshere-next' => '{{PLURAL:$1|next|next $1}}',
 1962+'whatlinkshere-links' => '(? links)',
19621963
19631964 # Block/unblock IP
19641965 #
Index: trunk/phase3/languages/messages/MessagesDe.php
@@ -260,7 +260,7 @@
261261
262262 'about' => 'Über',
263263 'article' => 'Seite',
264 -'newwindow' => '(wird in einem neuen Fenster geöffnet)',
 264+'newwindow' => '(öffnet sich in neuem Fenster)',
265265 'cancel' => 'Abbrechen',
266266 'qbfind' => 'Finden',
267267 'qbbrowse' => 'Blättern',
@@ -540,7 +540,6 @@
541541 # Password reset dialog
542542 'resetpass' => 'Passwort für Benutzerkonto zurücksetzen',
543543 'resetpass_announce' => 'Anmeldung mit dem per E-Mail zugesandten Code. Um die Anmeldung abzuschließen, müssen Sie jetzt ein neues Passwort wählen.',
544 -'resetpass_text' => '<!-- Add text here -->',
545544 'resetpass_header' => 'Passwort zurücksetzen',
546545 'resetpass_submit' => 'Passwort übermitteln und anmelden',
547546 'resetpass_success' => 'Ihr Passwort wurde erfolgreich geändert. Es folgt die Anmeldung …',
@@ -1533,6 +1532,7 @@
15341533 'istemplate' => 'Vorlageneinbindung',
15351534 'whatlinkshere-prev' => '{{PLURAL:$1|vorheriger|vorherige $1}}',
15361535 'whatlinkshere-next' => '{{PLURAL:$1|nächster|nächste $1}}',
 1536+'whatlinkshere-links' => '(← Links)',
15371537
15381538 # Block/unblock
15391539 'blockip' => 'IP-Adresse/Benutzer sperren',
Index: trunk/phase3/RELEASE-NOTES
@@ -42,6 +42,7 @@
4343 * (bug 6072) Introducing 'border' keyword to the [[Image:]] syntax
4444 * Introducing 'frameless' keyword to [[Image:]] syntax which respects the
4545 user preferences for image width like 'thumb' but without a frame.
 46+* (bug 7960) Link to "what links here" for each "what links here" entry
4647
4748 == Bugfixes since 1.10 ==
4849

Follow-up revisions

RevisionCommit summaryAuthorDate
r22549Merged revisions 22518-22547 via svnmerge from...david01:48, 30 May 2007