r79764 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r79763‎ | r79764 | r79765 >
Date:22:19, 6 January 2011
Author:platonides
Status:ok
Tags:
Comment:
Follow up r79759. Title::loadRestrictionsFromRows called by LiquidThreads
Modified paths:
  • /trunk/phase3/includes/Title.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Title.php
@@ -2153,13 +2153,14 @@
21542154
21552155 /**
21562156 * Compiles list of active page restrictions from both page table (pre 1.10)
2157 - * and page_restrictions table for this existing page
 2157+ * and page_restrictions table for this existing page.
 2158+ * Public for usage by LiquidThreads.
21582159 *
21592160 * @param $rows array of db result objects
21602161 * @param $oldFashionedRestrictions string comma-separated list of page
21612162 * restrictions from page table (pre 1.10)
21622163 */
2163 - private function loadRestrictionsFromRows( $rows, $oldFashionedRestrictions = null ) {
 2164+ public function loadRestrictionsFromRows( $rows, $oldFashionedRestrictions = null ) {
21642165 $dbr = wfGetDB( DB_SLAVE );
21652166
21662167 $restrictionTypes = $this->getRestrictionTypes();

Follow-up revisions

RevisionCommit summaryAuthorDate
r798151.17: MFT r78327, r78560, r79131, r79708, r79713, r79725, r79758, r79759, r79...catrope13:55, 7 January 2011

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r79759Address my r76242 fixme....platonides21:26, 6 January 2011

Status & tagging log