r186 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r185‎ | r186 | r187 >
Date:18:55, 22 February 2002
Author:magnus_manske
Status:old
Tags:
Comment:
added bug reports link to sidebar on demand from wikipedia-l
Modified paths:
  • /trunk/phpwiki/fpw/wikiPage.php (modified) (history)
  • /trunk/phpwiki/fpw/wikiTextEn.php (modified) (history)

Diff [purge]

Index: trunk/phpwiki/fpw/wikiPage.php
@@ -1029,6 +1029,7 @@
10301030 global $wikiMainPage , $wikiRecentChanges , $wikiRecentChangesLink , $wikiUpload , $wikiPopularPages , $wikiLongPages , $action ;
10311031 global $user , $oldID , $version , $wikiEditThisPage , $wikiDeleteThisPage , $wikiHistory , $wikiMyWatchlist , $wikiAskSQL ;
10321032 global $wikiStatistics , $wikiNewPages , $wikiOrphans , $wikiMostWanted , $wikiAllPages , $wikiRandomPage , $wikiStubs , $wikiListUsers ;
 1033+ global $wikiBugReports , $wikiBugReportsLink ;
10331034 $editOldVersion = "" ;
10341035 if ( $oldID != "" ) $editOldVersion="&oldID=$oldID&version=$version" ;
10351036 $column = "" ;
@@ -1064,6 +1065,7 @@
10651066 if ( $user->isLoggedIn ) {
10661067 $column .= "<br>\n<a href=\"".wikiLink("special:WatchList")."\">$wikiMyWatchlist</a>" ;
10671068 }
 1069+ $column .= "<br>\n<a href=\"".wikiLink($wikiBugReportsLink)."\">$wikiBugReports</a>" ;
10681070 $a = $this->getOtherNamespaces () ;
10691071 if ( count ( $a ) > 0 ) $column .= "<hr>".implode ( "<br>\n" , $a ) ;
10701072
Index: trunk/phpwiki/fpw/wikiTextEn.php
@@ -106,6 +106,8 @@
107107 $wikiBlockIPTitle = "Block an IP (sysops only)" ;
108108 $wikiBlockIPText = "IP $1 was blocked by $2" ;
109109 $wikiIPblocked = "<font color=red size='+1'>Your IP has been blocked! Your edits will not be saved. Please contact a sysop to have the block removed, or try again later.</font>" ;
 110+$wikiBugReports = "Bug reports" ;
 111+$wikiBugReportsLink = "wikipedia:Bug Reports" ;
110112
111113 # Interwiki links
112114 $wikiInterwiki = array ( "w"=>"http://www.wikipedia.com/wiki/$1" , "m"=>"http://meta.wikipedia.com/wiki.phtml?title=$1" ) ;

Follow-up revisions

RevisionCommit summaryAuthorDate
r97418Add search-title and search-monuments-database messages, which were waiting s...platonides14:34, 18 September 2011

Status & tagging log