MediaWiki
1.28.0
|
Import one or more images from the local file system into the wiki without using the web-based interface. More...
Go to the source code of this file.
Functions | |
showUsage ($reason=false) | |
Variables | |
$comment = 'Importing file' | |
if(isset($options['comment-file'])) elseif(isset($options['comment'])) | $commentExt = isset( $options['comment-ext'] ) ? $options['comment-ext'] : false |
$count = count( $files ) | |
if(count($args)==0) | $dir = $args[0] |
$extensions | |
$files = findFiles( $dir, $extensions, isset( $options['search-recursively'] ) ) | |
$from = $options['from'] | |
$license = isset( $options['license'] ) ? $options['license'] : '' | |
$limit = $options['limit'] | |
$optionsWithArgs | |
$optionsWithoutArgs | |
$processed = $added = $ignored = $skipped = $overwritten = $failed = 0 | |
$sleep = $options['sleep'] | |
$summary = isset( $options['summary'] ) ? $options['summary'] : '' | |
if($limit) | $timestamp = isset( $options['timestamp'] ) ? $options['timestamp'] : false |
$user | |
if(isset($options['protect'])&&isset($options['unprotect'])) if(isset($options['protect'])&&$options['protect']==1) global | $wgFileExtensions |
if(!$user instanceof User) | $wgUser = $user |
if(isset($options['check-userblock'])) | else |
Import one or more images from the local file system into the wiki without using the web-based interface.
"Smart import" additions:
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. http://www.gnu.org/copyleft/gpl.html
Definition in file importImages.php.
showUsage | ( | $reason = false | ) |
Definition at line 122 of file importImages.php.
Referenced by BackupDumperLoggerTest\addLogEntry(), LogFormatterTest\assertIRCComment(), BackupDumperLoggerTest\assertLogItem(), Orphans\checkOrphans(), DummyLinker\commentBlock(), Linker\commentBlock(), ApiFeedWatchlist\createFeedItem(), ApiTestCaseUpload\deleteFileByTitle(), UserCache\doQuery(), GenderCache\doQuery(), ApiImageRotate\execute(), ApiQueryRevisionsBase\extractRevisionInfo(), Linker\formatAutocomments(), DummyLinker\formatComment(), Linker\formatComment(), FeedUtils\formatDiffRow(), SpecialUndelete\formatFileRow(), DummyLinker\formatLinksInComment(), Linker\formatLinksInComment(), DeletedContribsPager\formatRevisionRow(), SpecialMergeHistory\formatRevisionRow(), SpecialUndelete\formatRevisionRow(), SpecialNewpages\formatRow(), ContribsPager\formatRow(), LogFormatter\getComment(), UploadBase\getFilenamePrefixBlacklist(), ChangeTagsRevisionItem\getHTML(), ChangeTagsLogItem\getHTML(), RevDelLogItem\getHTML(), RevDelRevisionItem\getHTML(), RevisionItem\getHTML(), ApiQueryImageInfo\getInfo(), SpecialUpload\getInitialPageText(), LogFormatter\getIRCActionComment(), IRCColourfulRCFeedFormatter\getLine(), GIFMetadataExtractor\getMetadata(), MediaWikiTestCase\insertPage(), LogEventsList\logLine(), MovePage\move(), MovePage\moveToInternal(), RecentChange\newForCategorization(), CategoryMembershipChange\notifyCategorization(), RecentChange\notifyEdit(), RecentChange\notifyNew(), RevertAction\onSubmit(), UploadBase\performUpload(), OldLocalFile\recordOldUpload(), LocalFile\recordUpload2(), ImportReporter\reportPage(), RevDelList\setVisibility(), EditPage\showEditForm(), SpecialRevisionDelete\submit(), LinkerTest\testFormatComment(), LanguageTest\testGetParentLanguage(), LanguageTest\testIsSupportedLanguage(), LogFormatterTest\testLogComment(), PageArchive\undelete(), PageArchive\undeleteRevisions(), LocalFile\upload(), OldLocalFile\uploadOld(), and XmlDumpWriter\writeUpload().
if (isset($options['comment-file'])) elseif (isset($options['comment'])) $commentExt = isset( $options['comment-ext'] ) ? $options['comment-ext'] : false |
Definition at line 133 of file importImages.php.
$count = count( $files ) |
Definition at line 141 of file importImages.php.
Referenced by RedisLockManager\__destruct(), Benchmarker\bench(), ImageBuilder\buildTable(), SectionProfiler\calltreeCount(), CheckStorage\check(), UserDupes\checkDupes(), NamespaceConflictChecker\checkNamespace(), DumpMultiWriter\closeAndRename(), LanguageKsh\convertPlural(), Language\convertPlural(), SpecialWatchlist\countItems(), Sanitizer\decodeCharReferencesAndNormalize(), CategoryViewer\doCategoryQuery(), PopulateParentId\doDBUpdates(), FixExtLinksProtocolRelative\doDBUpdates(), DeleteOldRevisions\doDelete(), JobQueueDB\doGetAbandonedCount(), JobQueueDB\doGetAcquiredCount(), SpecialRecentChanges\doHeader(), PopulateRevisionLength\doLenUpdates(), PopulateRevisionSha1\doSha1LegacyUpdates(), PopulateRevisionSha1\doSha1Updates(), MovePageForm\doSubmit(), MysqlUpdater\doTemplatelinksUpdate(), MultiWriteBagOStuff\doWrite(), DatabasePostgres\estimateRowCount(), RemoveInvalidEmails\execute(), StorageTypeStats\execute(), ApiQueryMyStashedFiles\execute(), CheckBadRedirects\execute(), ApiQueryExternalLinks\execute(), ApiQueryBlocks\execute(), ApiQueryTags\execute(), ApiQueryLangLinks\execute(), ApiQueryDeletedrevs\execute(), ApiQueryIWLinks\execute(), MakeTestEdits\execute(), MigrateUserGroup\execute(), ApiQueryFilearchive\execute(), NukePage\execute(), RemoveUnusedAccounts\execute(), ApiFeedContributions\execute(), DeleteArchivedFiles\execute(), DeleteOrphanedRevisions\execute(), ApiQueryLogEvents\execute(), ApiQueryPagePropNames\execute(), DeleteArchivedRevisions\execute(), RefreshFileHeaders\execute(), RenameDbPrefix\execute(), ApiQueryContributions\execute(), CleanupSpam\execute(), ApiQueryImageInfo\execute(), ApiQueryContributors\execute(), ApiQueryAllUsers\execute(), ImportTextFiles\execute(), NukeNS\execute(), ShowJobs\execute(), CopyFileBackend\execute(), UpdateCollation\execute(), PPFrame_DOM\expand(), TextPassDumper\finalOptionCheck(), TemplatesOnThisPageFormatter\format(), MostcategoriesPage\formatResult(), MostinterwikisPage\formatResult(), CategoryPager\formatRow(), ActiveUsersPager\formatRow(), UsersPager\formatRow(), CreditsAction\getContributors(), InfoAction\getContributors(), JobQueueFederated\getCrossPartitionSum(), DjVuHandler\getDimensionInfo(), User\getEditCount(), DumpMultiWriter\getFilenames(), ApiHelp\getHelpInternal(), ApiBase\getModuleFromPath(), SpecialEditWatchlist\getNormalForm(), BacklinkCache\getNumLinks(), WantedPagesPage\getQueryInfo(), RandomImageGenerator\getRandomWordPairs(), MergeHistory\getRevisionCount(), UIDGenerator\getSequentialPerNodeIDs(), Language\handleExplicitPluralForms(), SearchHighlighter\highlightText(), ImagePage\imageLinks(), MediaWiki\Auth\Throttler\increase(), DatabaseOracle\indexExists(), ImageBuilder\init(), User\initEditCount(), RemoveUnusedAccounts\isInactiveAccount(), Title\moveSubpages(), moveToExternal(), UIDGenerator\newSequentialPerNodeIDs(), ChangesList\numberofWatchingusers(), ImagePage\openShowImage(), MediaStatisticsPage\outputTableRow(), CheckLanguageCLI\outputText(), PurgeChangedPages\pageableSortedRows(), CoreParserFunctions\pagesincategory(), FormatJson\parse(), PPFuzzTester\pickEntryPoint(), User\pingLimiter(), RebuildTextIndex\populateSearchIndex(), Language\preConvertPlural(), Preprocessor_Hash\preprocessToObj(), ImageBuilder\progress(), Maintenance\purgeRedundantText(), MediaWiki\Tidy\BalanceActiveFormattingElements\push(), ApiQueryContinueTestBase\query(), AllMessagesTablePager\reallyDoQuery(), EnhancedChangesList\recentChangesBlockGroup(), JobQueueDB\recycleAndDeleteStaleJobs(), DatabasePostgres\relationExists(), DbTestPreviewer\report(), ChangeTags\restrictedTagError(), ApiQueryDeletedRevisions\run(), ApiQueryAllRevisions\run(), ApiQueryAllDeletedRevisions\run(), ApiQueryPrefixSearch\run(), ApiQueryProtectedTitles\run(), ApiQueryLangBacklinks\run(), ApiQueryImages\run(), ApiQueryIWBacklinks\run(), ApiQueryExtLinksUsage\run(), ApiQueryDuplicateFiles\run(), ApiQueryWatchlistRaw\run(), ApiQueryCategories\run(), ApiQueryAllCategories\run(), ApiQuerySearch\run(), ApiQueryPagesWithProp\run(), ApiQueryQueryPage\run(), ApiQueryWatchlist\run(), ApiQueryCategoryMembers\run(), ApiQueryAllPages\run(), ApiQueryLinks\run(), ApiQueryAllImages\run(), ApiQueryRevisions\run(), ApiQueryBacklinksprop\run(), ApiQueryAllLinks\run(), ApiQueryRecentChanges\run(), ApiQueryBacklinks\runFirstQuery(), ApiQueryRandom\runQuery(), ApiQueryBacklinks\runSecondQuery(), Maintenance\shouldExecute(), UserrightsPage\showEditUserGroupsForm(), MovePageForm\showSubpages(), SpecialUpload\showUploadWarning(), SpecialUpload\showViewDeletedLinks(), SearchHighlighter\splitAndAdd(), SevenZipStream\stream_read(), UploadSourceAdapter\stream_read(), ApiEditPageTest\testEdit_redirect(), ApiEditPageTest\testEdit_redirectText(), ApiEditPageTest\testEditAppend(), ApiEditPageTest\testEditConflict(), ApiEditPageTest\testEditConflict_bug41990(), ApiEditPageTest\testEditConflict_newSection(), ServiceContainerTest\testGetService(), SpecialPageFactoryTest\testHookNotCalledTwice(), SiteTest\testSetAndRemovePath(), GenericArrayObjectTest\testUnset(), BagOStuff\trackDuplicateKeys(), PopulateContentModel\updatePageRows(), PopulateContentModel\updateRevisionOrArchiveRows(), UserOptions\USAGER(), Exif\validate(), DumpMultiWriter\writeClosePage(), DumpMultiWriter\writeCloseStream(), DumpMultiWriter\writeOpenPage(), DumpMultiWriter\writeOpenStream(), and DumpMultiWriter\writeRevision().
if (count($args)==0) $dir = $args[0] |
Definition at line 56 of file importImages.php.
Referenced by IndexPager\__construct(), FSFileBackendList\__construct(), FileBackendStoreShardListIterator\__construct(), CheckSyntax\addDirectoryContent(), OutputPage\addStyle(), ApiQueryBase\addTimestampWhereRange(), ApiQueryBase\addWhereRange(), HHVMMakeRepo\appendDir(), FileCacheBase\cachePath(), JobQueueDB\claimRandom(), FileRepo\cleanDir(), SqliteInstaller\dataDirOKmaybeCreate(), UploadFromUrlTestSuite\deleteDirs(), FileBackendStore\directoryExists(), CliInstaller\dirIsExecutable(), Installer\dirIsExecutable(), FileBackendStore\doClean(), FSFileBackend\doCleanInternal(), SwiftFileBackend\doCleanInternal(), FSFileBackend\doDirectoryExists(), SwiftFileBackend\doDirectoryExists(), TestFileOpPerformance\doPerfTest(), FileBackendStore\doPrepare(), FSFileBackend\doPrepareInternal(), FileBackendStore\doPublish(), FSFileBackend\doPublishInternal(), FileBackendStore\doSecure(), FSFileBackend\doSecureInternal(), FileBackendTest\doTestRecursiveClean(), Language\embedBidi(), Installer\envCheckUploadsDirectory(), HHVMMakeRepo\execute(), SpecialExport\execute(), ApiQueryDeletedrevs\execute(), ApiQueryFilearchive\execute(), PruneFileCache\execute(), UploadStashCleanup\execute(), ApiQueryAllUsers\execute(), FindHooks\execute(), Exif\exifGPStoNumber(), ExtensionProcessor\extractExtensionMessagesFiles(), ExtensionProcessor\extractInfo(), ExtensionProcessor\extractResourceLoaderModules(), findFiles(), LocalSettingsGenerator\generateExtEnableLine(), FileBackendStore\getDirectoryList(), MemoryFileBackend\getDirectoryListInternal(), FSFileBackend\getDirectoryListInternal(), SwiftFileBackend\getDirectoryListInternal(), SwiftFileBackend\getDirListPageInternal(), FileBackendStore\getFileList(), FSFileBackend\getFileListInternal(), SwiftFileBackend\getFileListInternal(), SwiftFileBackend\getFileListPageInternal(), SpecialVersion\getGitCurrentBranch(), SpecialVersion\getGitHeadSha1(), FindHooks\getHooksFromDir(), SqliteInstaller\getLocalSettings(), SpecialRandomInCategory\getQueryInfo(), RandomImageGenerator\getRandomFilenames(), FSFileBackendList\getRelPath(), ResourceLoaderTestCase\getResourceLoaderContext(), ForeignAPIFile\getThumbnails(), LocalFile\getThumbnails(), FileRepo\initDirectory(), FSFileBackendList\initIterator(), AutoloadGenerator\initMediaWikiDefault(), SqliteInstaller\makeStubDBFile(), SqliteInstaller\needsUpgrade(), SqliteInstaller\openConnection(), ImageCleanup\pokeFile(), ExtensionRegistry\processAutoLoader(), PruneFileCache\prune_directory(), LocalFile\purgeOldThumbnails(), LocalFile\purgeThumbList(), ForeignAPIFile\purgeThumbnails(), LocalFile\purgeThumbnails(), FileRepo\quickCleanDir(), AutoloadGenerator\readDir(), LocalisationCache\recache(), ApiQueryDeletedRevisions\run(), ApiQueryAllRevisions\run(), ApiQueryAllDeletedRevisions\run(), ApiQueryAllCategories\run(), ApiQueryPagesWithProp\run(), ApiQueryCategoryMembers\run(), ApiQueryAllPages\run(), WikiImporter\setImageBasePath(), SqliteInstaller\setupDatabase(), OutputPage\setupOOUI(), UploadFromUrlTestSuite\setupUploadDir(), Article\showCssOrJsPage(), LogEventsList\showLogExtract(), Article\showMissingArticle(), SqliteInstaller\submitConnectForm(), GitInfoTest\testMissingJsonData(), and RandomImageGenerator\writeImages().
Definition at line 69 of file importImages.php.
Referenced by ResourceLoaderImage\__construct(), ApiQuerySiteinfo\appendExtensions(), UploadBase\checkWarnings(), WebInstallerOptions\execute(), HHVMMakeRepo\execute(), SpecialVersion\execute(), SpecialVersion\getExtensionCredits(), UploadStash\getExtensionForPath(), MediaHandler\getThumbType(), MimeAnalyzer\loadFiles(), SpecialUpload\processVerificationError(), and wfEntryPointCheck().
$files = findFiles( $dir, $extensions, isset( $options['search-recursively'] ) ) |
Definition at line 74 of file importImages.php.
Referenced by MediaWikiTestCase\addTmpFiles(), HHVMMakeRepo\appendDir(), CheckSyntax\buildFileList(), AutoLoaderTest\checkAutoLoadConf(), TextPassDumperDatabaseTest\checkpointHelper(), Sqlite\checkSqlSyntax(), SqliteMaintenance\checkSyntax(), LocalFileMoveBatch\cleanupSource(), ResourceLoaderFileModule\compileLessFile(), UploadFromUrlTestSuite\deleteFiles(), ParserTestRunner\deleteFiles(), FileBackendTest\doTestDoQuickOperations(), FileBackendTest\doTestGetDirectoryList(), FileBackendTest\doTestGetFileList(), HHVMMakeRepo\execute(), ParserFuzzTest\execute(), JSParseHelper\execute(), PatchSql\execute(), ImportTextFiles\execute(), ParserTestsMaintenance\execute(), FindDeprecated\execute(), ExtensionProcessor\extractMessagesDirs(), RepoGroup\findBySha1s(), FileRepo\findBySha1s(), findFiles(), LocalRepo\findFilesByPrefix(), ResourceLoaderImageModule\getFileHashes(), ResourceLoaderFileModule\getFileHashes(), SwiftFileBackend\getFileListPageInternal(), FindDeprecated\getFiles(), MWDebug\getFilesIncluded(), CSSMin\getLocalFileReferences(), ResourceLoaderFileModule\getScript(), ResourceLoaderFileModule\getScriptFiles(), ForeignAPIFile\getThumbnails(), LocalFile\getThumbnails(), CryptRand\initialRandomState(), ResourcesTest\provideMediaStylesheets(), ResourcesTest\provideResourceFiles(), LocalFile\purgeOldThumbnails(), LocalFile\purgeThumbList(), ForeignAPIFile\purgeThumbnails(), LocalFile\purgeThumbnails(), MergeMessageFileList\readFile(), ResourceLoaderFileModule\readStyleFiles(), LocalFileDeleteBatch\removeNonexistentFiles(), LocalFileRestoreBatch\removeNonexistentFiles(), LocalFileMoveBatch\removeNonexistentFiles(), LocalFileRestoreBatch\removeNonexistentFromCleanup(), ApiQueryDuplicateFiles\run(), ResourceLoaderModule\setFileDependencies(), SpecialUndelete\showHistory(), SpecialUploadStash\showUploads(), ResourcesTest\testCommentedLocalFileReferences(), and FileContentsHasherTest\testMultipleFileHash().
Definition at line 98 of file importImages.php.
Referenced by DoubleReplacer\__construct(), CategoryPager\__construct(), MediaWiki\Session\SessionInfo\__construct(), LanguageConverter\applyManualConv(), MediaWiki\Auth\AuthManager\autoCreateUser(), CategoryPage\closeShowCategory(), WikiPage\commitRollback(), ReassignEdits\doReassignEdits(), SiteConfiguration\doReplace(), SpecialCategories\execute(), ApiQueryDeletedrevs\execute(), ApiQueryFilearchive\execute(), CleanupBlocks\execute(), ReassignEdits\execute(), ApiQueryAllUsers\execute(), SpecialPrefixindex\execute(), SpecialAllPages\execute(), ConvertLinks\execute(), SpecialWatchlist\fetchOptionsFromRequest(), WikiFilePage\followRedirect(), BrokenRedirectsPage\formatResult(), ApiFeedWatchlist\getAllowedParams(), FormatJsonTest\getEncodeTestCases(), WikiFilePage\getRedirectTarget(), ApiPageSet\getRedirectTargets(), ConverterRule\getRulesDesc(), CategoryPager\getStartForm(), WikiPage\loadFromRow(), Article\loadFromRow(), WikiPage\loadPageData(), Article\loadPageData(), SpecialPrefixindex\namespacePrefixForm(), WikiPage\newFromID(), WikiPage\newFromRow(), RollbackAction\onView(), SpecialAllPages\outputHTMLForm(), ConverterRule\parseRules(), UserDupes\reassignEdits(), File\redirectedFrom(), ReplacementArray\removeArray(), ReplacementArray\removePair(), ApiQueryLangBacklinks\run(), ApiQueryIWBacklinks\run(), ApiQueryAllCategories\run(), ApiQueryPagesWithProp\run(), ApiQueryCategoryMembers\run(), ApiQueryAllPages\run(), ApiQueryAllImages\run(), ApiQueryAllLinks\run(), User\saveSettings(), ApiOpenSearch\search(), Database\selectSQLText(), UserMailer\send(), User\sendMail(), ReplacementArray\setPair(), Article\setRedirectedFrom(), SpecialAllPages\showChunk(), SpecialWhatLinksHere\showIndirectLinks(), SpecialPrefixindex\showPrefixChunk(), SpecialAllPages\showToplevel(), SpecialEmailUser\submit(), MediaWiki\Auth\TemporaryPasswordPrimaryAuthenticationProviderTest\testAccountCreationEmail(), FormatJsonTest\testEncodeAllOk(), FormatJsonTest\testEncodeDefault(), FormatJsonTest\testEncodeUtf8(), FormatJsonTest\testEncodeXmlMeta(), and MediaWiki\Auth\TemporaryPasswordPrimaryAuthenticationProviderTest\testProviderChangeAuthenticationDataEmail().
Definition at line 138 of file importImages.php.
Referenced by SpecialUpload\getInitialPageText(), and LocalFile\recordUpload().
$limit = $options['limit'] |
Definition at line 112 of file importImages.php.
$optionsWithArgs |
Definition at line 35 of file importImages.php.
$optionsWithoutArgs |
Definition at line 40 of file importImages.php.
$processed = $added = $ignored = $skipped = $overwritten = $failed = 0 |
Definition at line 47 of file importImages.php.
Referenced by SearchHighlighter\highlightText(), ImageBuilder\progress(), and SearchUpdateTest\testUnicodeLinkSearchIndexError().
$sleep = $options['sleep'] |
Definition at line 103 of file importImages.php.
Definition at line 135 of file importImages.php.
Referenced by DumpTestCase\addRevision(), FetchTextTest\addRevision(), DumpTestCase\assertRevision(), Article\commitRollback(), WikiPage\commitRollback(), ApiQueryWatchlistIntegrationTest\doAnonPageEdit(), ApiQueryWatchlistIntegrationTest\doBotPageEdit(), WikiPage\doCreate(), WikiPage\doEdit(), Article\doEdit(), WikiPage\doEditContent(), Article\doEditContent(), ApiQueryWatchlistIntegrationTest\doMinorPageEdit(), WikiPage\doModify(), ApiQueryWatchlistIntegrationTest\doPageEdit(), ApiQueryWatchlistIntegrationTest\doPatrolledPageEdit(), Article\doRollback(), WikiPage\doRollback(), ApiTestCase\editPage(), MakeTestEdits\execute(), ApiRollback\execute(), EditCLI\execute(), ImportTextFiles\execute(), RollbackEdits\execute(), ApiParse\formatSummary(), ResourceLoaderWikiModule\getDefinitionSummary(), ResourceLoaderStartUpModule\getDefinitionSummary(), ResourceLoaderImageModule\getDefinitionSummary(), ResourceLoaderFileModule\getDefinitionSummary(), SpecialJavaScriptTest\getSummaryHtml(), ResourceLoaderModule\getVersionHash(), Revision\newNullRevision(), ApiStashEdit\parseAndStash(), User\pingLimiter(), SpecialJavaScriptTest\plainQUnit(), EditPageTest\testCreatePage(), EditPageTest\testCreatePageTrx(), WikitextContentHandlerTest\testGetAutosummary(), EditPageTest\testSectionEdit(), EditPageTest\testUpdatePage(), and EditPageTest\testUpdatePageTrx().
Definition at line 119 of file importImages.php.
Referenced by MergeHistory\__construct(), ParserOutput\addImage(), ImageBuilder\addMissingImage(), LocalFileMoveBatch\addOlds(), ProtectionForm\buildForm(), ApiStashEdit\buildStashValue(), FileCacheBase\cacheTimestamp(), AjaxResponse\checkLastModified(), OutputPage\checkLastModified(), RevisionDeleter\checkRevisionExistence(), SwiftFileBackend\convertSwiftDate(), ApiFeedWatchlist\createFeedItem(), Xml\dateMenu(), SqlBagOStuff\deleteObjectsExpiringBefore(), ApiTestCase\doApiRequestWithToken(), Block\doAutoblock(), JobQueueRedis\doDeduplicateRootJob(), JobQueue\doDeduplicateRootJob(), JobQueueDB\doDeduplicateRootJob(), SpecialWatchlist\doHeader(), JobQueueRedis\doIsRootJobOldDuplicate(), JobQueue\doIsRootJobOldDuplicate(), RevDelFileList\doPostCommitUpdates(), RevDelFileList\doQuery(), ApiMergeHistory\execute(), ApiSetNotificationTimestamp\execute(), FixUserRegistration\execute(), FixTimestamps\execute(), ApiQueryAllUsers\execute(), ImportTextFiles\execute(), LocalFileRestoreBatch\execute(), EditPageTest\forceRevisionDate(), ApiEditPageTest\forceRevisionDate(), FeedUtils\formatDiff(), FeedUtils\formatDiffRow(), AtomFeed\formatTime(), BlockListPager\formatValue(), CreditsAction\getAuthor(), Block\getAutoblockExpiry(), EnhancedChangesListTest\getCategorizationChange(), NewUsersLogFormatter\getComment(), ReverseChronologicalPager\getDateCond(), TestRecentChangesHelper\getDefaultAttributes(), EnhancedChangesListTest\getEditChange(), RevertAction\getFormFields(), User\getNewMessageLinks(), PageArchive\getPreviousRevision(), ActiveUsersPager\getQueryInfo(), BenchmarkParse\getRevIdForTime(), PageArchive\getRevision(), DifferenceEngine\getRevisionHeader(), Parser\getRevisionTimestamp(), ImageHistoryList\getThumbForLine(), FSFile\getTimestamp(), Revision\getTimestampFromId(), Preferences\getTimezoneOptions(), ImageHistoryList\imageHistoryLine(), EditPage\internalAttemptSave(), FileCacheBase\isCacheGood(), Block\isExpired(), RecentChange\isInRCLifespan(), MediaWiki\Auth\TemporaryPasswordPrimaryAuthenticationProvider\isTimestampValid(), Skin\lastModified(), JobRunner\loadBackoffs(), Revision\loadFromTimestamp(), MediaWiki\main(), TestRecentChangesHelper\makeCategorizationRecentChange(), MediaWiki\Logger\Monolog\SyslogHandler\makeCommonSyslogHeader(), TestRecentChangesHelper\makeDeletedEditRecentChange(), TestRecentChangesHelper\makeEditRecentChange(), TestRecentChangesHelper\makeLogRecentChange(), TestRecentChangesHelper\makeNewBotEditRecentChange(), WANObjectCache\makePurgeValue(), MediaWiki\Session\Token\match(), ApiMergeHistory\merge(), RecentChange\newForCategorization(), RecentChange\newLogEntry(), RecentChange\notifyEdit(), RecentChange\notifyLog(), RecentChange\notifyNew(), SpecialLockdb\onSubmit(), RevertAction\onSuccess(), SpecialRecentChanges\optionsPanel(), IPTC\parse(), Parser\pstPass2(), ZipDirectoryReader\readCentralDirectory(), DeleteLinksJob\run(), ApiQueryRecentChanges\run(), User\setEmailAuthenticationTimestamp(), OutputPage\setLastModified(), WatchedItemStore\setNotificationTimestampsForUser(), Article\setOldSubtitle(), OutputPage\setRevisionTimestamp(), ParserOutput\setTimestamp(), MessageBlobStoreTest\setUp(), SpecialSearch\showHit(), SpecialUndelete\showRevision(), JobRunner\syncBackoffDeltas(), WatchedItemUnitTest\testAddWatch(), ConvertibleTimestampTest\testConstructWithNoTimestamp(), WatchedItemUnitTest\testFromUserTitle(), ReverseChronologicalPagerTest\testGetDateCond(), ConvertibleTimestampTest\testInvalidOutput(), RecentChangeTest\testIsInRCLifespan(), MergeHistoryTest\testIsValidMerge(), WatchedItemUnitTest\testIsWatched(), WfTimestampTest\testOldTimestamps(), ConvertibleTimestampTest\testOutOfRangeTimestamps(), WatchedItemUnitTest\testRemoveWatch(), WatchedItemStoreUnitTest\testSetNotificationTimestampsForUser_allRows(), WatchedItemStoreUnitTest\testSetNotificationTimestampsForUser_specificTargets(), ConvertibleTimestampTest\testToString(), ConvertibleTimestampTest\testValidOutput(), ConvertibleTimestampTest\testValidParse(), MediaWiki\Session\Token\toStringAtTimestamp(), File\transform(), LinksUpdate\updateLinksTimestamp(), WatchedItemStore\updateNotificationTimestamp(), User\validateCache(), and XmlDumpWriter\writeTimestamp().
$user |
Definition at line 77 of file importImages.php.
if (isset($options['protect'])&&isset($options['unprotect'])) if (isset($options['protect'])&&$options['protect']==1) global $wgFileExtensions |
Definition at line 63 of file importImages.php.
Referenced by showUsage().
if ($count > 0) else |
Definition at line 92 of file importImages.php.