Skip to content

Commit

Permalink
Merge pull request #1658 from SemanticMediaWiki/incop
Browse files Browse the repository at this point in the history
Import optimization includes/
  • Loading branch information
mwjames committed Jun 17, 2016
2 parents a099c28 + 1ed3ddd commit a5a0d8e
Show file tree
Hide file tree
Showing 14 changed files with 23 additions and 28 deletions.
2 changes: 1 addition & 1 deletion includes/GlobalFunctions.php
@@ -1,8 +1,8 @@
<?php

use SMW\CompatibilityMode;
use SMW\NamespaceManager;
use SMW\NumberFormatter;
use SMW\CompatibilityMode;
use SMW\SPARQLStore\SparqlDBConnectionProvider;

/**
Expand Down
4 changes: 2 additions & 2 deletions includes/articlepages/ConceptPage.php
Expand Up @@ -3,10 +3,10 @@
namespace SMW;

use Html;
use SMW\Query\Language\ConceptDescription;
use SMW\MediaWiki\ByLanguageCollationMapper;
use SMWPageLister;
use SMW\Query\Language\ConceptDescription;
use SMWDataItem as DataItem;
use SMWPageLister;

/**
* Special handling for relation/attribute description pages.
Expand Down
3 changes: 1 addition & 2 deletions includes/articlepages/SMW_OrderedListPage.php
@@ -1,9 +1,8 @@
<?php

use SMW\ApplicationFactory;
use SMW\DIProperty;

use SMW\PropertyRegistry;
use SMW\ApplicationFactory;

/**
* Abstract subclass of MediaWiki's Article that handles the common tasks of
Expand Down
2 changes: 1 addition & 1 deletion includes/articlepages/SMW_PropertyPage.php
Expand Up @@ -2,9 +2,9 @@

use SMW\ApplicationFactory;
use SMW\DataValueFactory;
use SMW\Localizer;
use SMW\RequestOptions;
use SMW\StringCondition;
use SMW\Localizer;

/**
* Implementation of MediaWiki's Article that shows additional information on
Expand Down
3 changes: 1 addition & 2 deletions includes/datavalues/SMW_DV_Number.php
@@ -1,10 +1,9 @@
<?php

use SMW\Highlighter;
use SMW\DataValues\ValueFormatters\DataValueFormatter;
use SMW\IntlNumberFormatter;
use SMW\Localizer;
use SMW\Message;
use SMW\DataValues\ValueFormatters\DataValueFormatter;

/**
* @ingroup SMWDataValues
Expand Down
5 changes: 2 additions & 3 deletions includes/datavalues/SMW_DV_Quantity.php
@@ -1,9 +1,8 @@
<?php

use SMW\ApplicationFactory;
use SMW\NumberFormatter;
use SMW\Message;
use SMW\DataValues\UnitConversionFetcher;
use SMW\Message;
use SMW\NumberFormatter;

/**
* @ingroup SMWDataValues
Expand Down
2 changes: 1 addition & 1 deletion includes/datavalues/SMW_DV_String.php
@@ -1,9 +1,9 @@
<?php

use SMW\DataValues\ValueFormatters\DataValueFormatter;
use SMWDIBlob as DIBlob;
use SMWDataItem as DataItem;
use SMWDataValue as DataValue;
use SMWDIBlob as DIBlob;

/**
* This datavalue implements String-Datavalues suitable for defining
Expand Down
4 changes: 2 additions & 2 deletions includes/datavalues/SMW_DataValue.php
Expand Up @@ -8,14 +8,14 @@
* @ingroup SMW
*/
use SMW\ApplicationFactory;
use SMW\DataValues\InfoLinksProvider;
use SMW\DataValues\ValueFormatterRegistry;
use SMW\DataValues\ValueValidatorRegistry;
use SMW\Deserializers\DVDescriptionDeserializerRegistry;
use SMW\Localizer;
use SMW\Message;
use SMW\Options;
use SMW\Localizer;
use SMW\Query\QueryComparator;
use SMW\DataValues\InfoLinksProvider;

/**
* Objects of this type represent all that is known about a certain user-provided
Expand Down
4 changes: 2 additions & 2 deletions includes/query/SMW_QueryParser.php
@@ -1,14 +1,14 @@
<?php

use SMW\DataTypeRegistry;
use SMW\DIWikiPage;
use SMW\Query\Language\ClassDescription;
use SMW\Query\Language\ConceptDescription;
use SMW\Query\Language\Description;
use SMW\Query\Language\NamespaceDescription;
use SMW\Query\Language\SomeProperty;
use SMW\Query\Language\ThingDescription;
use SMW\Query\Parser\DescriptionProcessor;
use SMW\DataTypeRegistry;
use SMW\DIWikiPage;

/**
* Objects of this class are in charge of parsing a query string in order
Expand Down
6 changes: 3 additions & 3 deletions includes/specials/SMW_SpecialBrowse.php
@@ -1,11 +1,11 @@
<?php

use SMW\ApplicationFactory;
use SMW\DataValueFactory;
use SMW\DIProperty;
use SMW\UrlEncoder;
use SMW\Localizer;
use SMW\SemanticData;
use SMW\ApplicationFactory;
use SMW\DataValueFactory;
use SMW\UrlEncoder;

/**
* @ingroup SMWSpecialPage
Expand Down
2 changes: 1 addition & 1 deletion includes/specials/SMW_SpecialSMWAdmin.php
Expand Up @@ -2,9 +2,9 @@

use SMW\ApplicationFactory;
use SMW\MediaWiki\Jobs\RefreshJob;
use SMW\SQLStore\PropertyTableIdReferenceDisposer;
use SMW\MediaWiki\ManualEntryLogger;
use SMW\Settings;
use SMW\SQLStore\PropertyTableIdReferenceDisposer;
use SMW\Store;
use SMW\StoreFactory;

Expand Down
2 changes: 1 addition & 1 deletion includes/storage/SMW_QueryResult.php
Expand Up @@ -3,8 +3,8 @@
use SMW\HashBuilder;
use SMW\Query\PrintRequest;
use SMW\Query\QueryLinker;
use SMW\SerializerFactory;
use SMW\Query\TemporaryEntityListAccumulator;
use SMW\SerializerFactory;

/**
* Objects of this class encapsulate the result of a query in SMW. They
Expand Down
8 changes: 3 additions & 5 deletions includes/storage/SMW_ResultArray.php
@@ -1,13 +1,11 @@
<?php

use SMW\DataValueFactory;
use SMW\InTextAnnotationParser;
use SMW\Query\PrintRequest;
use SMW\Localizer;
use SMW\DataValueFactory;
use SMWDIBlob as DIBlob;
use SMWQuery as Query;
use SMWDataItem as DataItem;
use SMW\Query\TemporaryEntityListAccumulator;
use SMWDataItem as DataItem;
use SMWDIBlob as DIBlob;

/**
* Container for the contents of a single result field of a query result,
Expand Down
4 changes: 2 additions & 2 deletions includes/storage/SQLStore/SMW_Sql3SmwIds.php
@@ -1,9 +1,9 @@
<?php

use SMW\DIWikiPage;
use SMW\ApplicationFactory;
use SMW\DIProperty;
use SMW\DIWikiPage;
use SMW\HashBuilder;
use SMW\ApplicationFactory;
use SMW\SQLStore\IdToDataItemMatchFinder;
use SMW\SQLStore\PropertyStatisticsTable;
use SMW\SQLStore\RedirectInfoStore;
Expand Down

0 comments on commit a5a0d8e

Please sign in to comment.