GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • history
  • Reedy
  • talk
  • contribs
  • Bawolff
  • talk
  • contribs
  • Aaron Schulz
  • talk
  • contribs
  • IAlex
  • talk
  • contribs

This view

  • Original page
  • New address

GeezerVison is showing static-codereview.wikimedia.org — r113816 MediaWiki - Code Review archive

r113816 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:< r113815‎ | r113816 | r113817 >
Date:16:04, 14 March 2012
Author:ialex
Status:ok
Tags:
Comment:
* (bug 34841) Fix for r103502: don't show edit links when display old page versions
Modified paths:
  • /branches/REL1_19/phase3/RELEASE-NOTES-1.19 (modified) (history)
  • /branches/REL1_19/phase3/includes/Article.php (modified) (history)
  • /trunk/phase3/RELEASE-NOTES-1.19 (modified) (history)
  • /trunk/phase3/includes/Article.php (modified) (history)

Diff [purge]

Index: trunk/phase3/RELEASE-NOTES-1.19
——@@ -18,6 +18,7 @@
1919 * (bug 35152) Help message for e-mail is shown again in user preferences
2020 * (bug 34887) $3 and $4 parameters are now substituted correctly in message
2121 "movepage-moved"
 22+* (bug 34841) Edit links are no longer displayed when display old page versions
2223
2324 === Configuration changes in 1.19 ===
2425 * Removed SkinTemplateSetupPageCss hook; use BeforePageDisplay instead.
Index: trunk/phase3/includes/Article.php
——@@ -455,7 +455,7 @@
456456 if ( $wgOut->isPrintable() ) {
457457 $parserOptions->setIsPrintable( true );
458458 $parserOptions->setEditSection( false );
459 - } elseif ( !$this->getTitle()->quickUserCan( 'edit' ) ) {
 459+ } elseif ( !$this->isCurrent() || !$this->getTitle()->quickUserCan( 'edit' ) ) {
460460 $parserOptions->setEditSection( false );
461461 }
462462
Index: branches/REL1_19/phase3/RELEASE-NOTES-1.19
——@@ -18,6 +18,7 @@
1919 * (bug 35152) Help message for e-mail is shown again in user preferences
2020 * (bug 34887) $3 and $4 parameters are now substituted correctly in message
2121 "movepage-moved"
 22+* (bug 34841) Edit links are no longer displayed when display old page versions
2223
2324 === Configuration changes in 1.19 ===
2425 * Removed SkinTemplateSetupPageCss hook; use BeforePageDisplay instead.
Index: branches/REL1_19/phase3/includes/Article.php
——@@ -451,7 +451,7 @@
452452 if ( $wgOut->isPrintable() ) {
453453 $parserOptions->setIsPrintable( true );
454454 $parserOptions->setEditSection( false );
455 - } elseif ( !$this->getTitle()->quickUserCan( 'edit' ) ) {
 455+ } elseif ( !$this->isCurrent() || !$this->getTitle()->quickUserCan( 'edit' ) ) {
456456 $parserOptions->setEditSection( false );
457457 }
458458

Follow-up revisions

RevisionCommit summaryAuthorDate
r113935MFT r112918, r113214, r113394, r113415, r113617, r113710, r113727, r113737, r...reedy17:27, 15 March 2012

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r103502* Added WikiPage::getParserOutput() and changed Article::getParserOutput() to...ialex20:21, 17 November 2011

Status & tagging log

  • 17:27, 15 March 2012 Reedy (talk | contribs) changed the tags for r113816 [removed: 1.19wmf1]
  • 18:13, 14 March 2012 Bawolff (talk | contribs) changed the tags for r113816 [removed: 1.19]
  • 18:09, 14 March 2012 Bawolff (talk | contribs) changed the tags for r113816 [added: 1.19]
  • 17:35, 14 March 2012 Aaron Schulz (talk | contribs) changed the status of r113816 [removed: new added: ok]
  • 16:10, 14 March 2012 IAlex (talk | contribs) changed the tags for r113816 [added: 1.19wmf1]
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.