r81243 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r81242‎ | r81243 | r81244 >
Date:12:26, 31 January 2011
Author:reedy
Status:ok
Tags:
Comment:
bug 27041, replace call to SiteStats::admins() to SiteStats::numberingroup( 'sysop' )
Modified paths:
  • /trunk/extensions/SemanticMediaWiki/includes/export/SMW_ExportController.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticMediaWiki/includes/export/SMW_ExportController.php
@@ -589,7 +589,7 @@
590590 $data->addPropertyObjectValue( SMWExporter::getSpecialElement( 'swivt', 'viewCount' ), $ed );
591591 $ed = new SMWExpData( new SMWExpLiteral( SiteStats::users(), null, 'http://www.w3.org/2001/XMLSchema#int' ) );
592592 $data->addPropertyObjectValue( SMWExporter::getSpecialElement( 'swivt', 'userCount' ), $ed );
593 - $ed = new SMWExpData( new SMWExpLiteral( SiteStats::admins(), null, 'http://www.w3.org/2001/XMLSchema#int' ) );
 593+ $ed = new SMWExpData( new SMWExpLiteral( SiteStats::numberingroup( 'sysop' ), null, 'http://www.w3.org/2001/XMLSchema#int' ) );
594594 $data->addPropertyObjectValue( SMWExporter::getSpecialElement( 'swivt', 'adminCount' ), $ed );
595595
596596 $this->serializer->startSerialization();

Follow-up revisions

RevisionCommit summaryAuthorDate
r81244bug 27041, swap Database::newFromParams to DatabaseBase::newFromType()reedy12:34, 31 January 2011
r81245bug 27041, kill Image::__constructreedy12:45, 31 January 2011
r81248bug 27041, SpecialPage:addPage is deprecated...reedy13:17, 31 January 2011

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r81220Part of bug 27041, removing all calls to escapeLike in extensionsreedy22:34, 30 January 2011
r81241bug 27041, fixup usages of userMailer()reedy12:21, 31 January 2011
r81242Per bug 27041, remove calls to $dbr->immediateBegin();...reedy12:24, 31 January 2011

Status & tagging log