r70499 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r70498‎ | r70499 | r70500 >
Date:14:46, 5 August 2010
Author:platonides
Status:ok
Tags:
Comment:
Follow up r70498. Actually remove the quickUserCan().
Modified paths:
  • /trunk/phase3/includes/parser/Parser.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/parser/Parser.php
@@ -3701,12 +3701,6 @@
37023702
37033703 $doNumberHeadings = $this->mOptions->getNumberHeadings();
37043704
3705 -
3706 - # Do not call quickUserCan unless necessary
3707 - if ( $showEditLink && !$this->mTitle->quickUserCan( 'edit' ) ) {
3708 - $showEditLink = 0;
3709 - }
3710 -
37113705 # Inhibit editsection links if requested in the page
37123706 if ( isset( $this->mDoubleUnderscores['noeditsection'] ) ) {
37133707 $showEditLink = 0;

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r70498Change quickUserCan( 'edit' ) and getIsPrintable() into setEditSection( false )...platonides14:37, 5 August 2010

Status & tagging log