MediaWiki
1.30.0
|
Functions | |
def | gen_captcha (text, fontname, fontsize, file_name) |
def | gen_subdir (basedir, md5hash, levels) |
def | pick_word (words, blacklist, verbose, nwords, min_length, max_length) |
def | read_wordlist (filename) |
def | run_in_thread (object) |
def | try_pick_word (words, blacklist, verbose, nwords, min_length, max_length) |
def | wobbly_copy (src, wob, col, scale, ang) |
Variables | |
action | |
args | |
def | blacklist = read_wordlist(opts.blacklist) |
int | chunks = 1 |
count = opts.count | |
list | data = [] |
default | |
dirs = opts.dirs | |
fill = opts.fill | |
font = opts.font | |
fontsize = opts.font_size | |
help | |
key = opts.key | |
metavar | |
nonalpha = re.compile('[^a-z]') | |
opts | |
output = opts.output | |
p = multiprocessing.Pool(threads); | |
parser = OptionParser() | |
script_dir = os.path.dirname(os.path.realpath(__file__)) | |
threads = opts.threads | |
type | |
verbose = opts.verbose | |
wordlist = opts.wordlist | |
words = None | |
def captcha-old.gen_captcha | ( | text, | |
fontname, | |||
fontsize, | |||
file_name | |||
) |
Generate a captcha image
Definition at line 75 of file captcha-old.py.
References wobbly_copy().
Referenced by run_in_thread().
def captcha-old.gen_subdir | ( | basedir, | |
md5hash, | |||
levels | |||
) |
Generate a subdirectory path out of the first _levels_ characters of _hash_, and ensure the directories exist under _basedir_.
Definition at line 113 of file captcha-old.py.
Referenced by run_in_thread().
def captcha-old.pick_word | ( | words, | |
blacklist, | |||
verbose, | |||
nwords, | |||
min_length, | |||
max_length | |||
) |
Definition at line 167 of file captcha-old.py.
References try_pick_word().
Referenced by run_in_thread().
def captcha-old.read_wordlist | ( | filename | ) |
Definition at line 174 of file captcha-old.py.
References Makefile.open.
def captcha-old.run_in_thread | ( | object | ) |
Definition at line 180 of file captcha-old.py.
References gen_captcha(), gen_subdir(), and pick_word().
def captcha-old.try_pick_word | ( | words, | |
blacklist, | |||
verbose, | |||
nwords, | |||
min_length, | |||
max_length | |||
) |
Definition at line 129 of file captcha-old.py.
Referenced by pick_word().
def captcha-old.wobbly_copy | ( | src, | |
wob, | |||
col, | |||
scale, | |||
ang | |||
) |
Definition at line 50 of file captcha-old.py.
Referenced by gen_captcha().
captcha-old.action |
Definition at line 212 of file captcha-old.py.
Referenced by LogPage.addEntry(), SimpleCaptcha.confirmEditMerged(), SimpleCaptcha.editShowCaptcha(), UpdateLogging.execute(), SkinFallbackTemplate.execute(), MediaWiki.getAction(), EditPage.getActionURL(), MediaWiki\Auth\PasswordAuthenticationRequest.getFieldInfo(), CaptchaAuthenticationRequest.getFieldInfo(), FancyCaptcha.getFormInformation(), MWExceptionRenderer.googleSearchForm(), SimpleCaptcha.injectEmailUser(), LogPager.limitAction(), FancyCaptcha.onAuthChangeFormFields(), MediaWiki.performRequest(), LogPage.saveContent(), MonoBookTemplate.searchBox(), SimpleCaptcha.setAction(), WikiRevision.setAction(), SimpleCaptcha.shouldCheck(), and SimpleCaptcha.showEditFormFields().
captcha-old.args |
Definition at line 227 of file captcha-old.py.
Referenced by AjaxDispatcher.__construct(), ObjectFactoryTestFixture.__construct(), MWOldPassword.crypt(), MWSaltedPassword.crypt(), EncryptedPassword.crypt(), Pbkdf2Password.crypt(), BcryptPassword.crypt(), LayeredParameterizedPassword.crypt(), PPCustomFrame_Hash.getArgument(), PPCustomFrame_DOM.getArgument(), PPCustomFrame_Hash.isEmpty(), PPCustomFrame_DOM.isEmpty(), ParameterizedPassword.parseHash(), LayeredParameterizedPassword.partialCrypt(), AjaxDispatcher.performAction(), ParameterizedPassword.toString(), and EncryptedPassword.update().
def captcha-old.blacklist = read_wordlist(opts.blacklist) |
Definition at line 248 of file captcha-old.py.
Referenced by CheckLanguageCLI.help(), and SpamBlacklistTest.setUp().
captcha-old.chunks = 1 |
Definition at line 270 of file captcha-old.py.
captcha-old.count = opts.count |
Definition at line 249 of file captcha-old.py.
Referenced by ParserDiffTest.__call(), QuickArrayReader.__construct(), TestFileEditor.__construct(), Wikimedia\Rdbms\DBConnRef.__construct(), DumpMultiWriter.__construct(), PermissionsError.__construct(), ORAResult.__construct(), HTMLCacheUpdateJob.__construct(), WordLevelDiff.__construct(), ApiContinuationManager.__construct(), UsersPager.__construct(), HashRing.__construct(), RefreshLinksJob.__construct(), MemcachedPeclBagOStuff.__construct(), MediaWiki\Auth\AuthPluginPrimaryAuthenticationProvider.__construct(), ResourceLoaderImage.__construct(), CustomUppercaseCollation.__construct(), SqlBagOStuff.__construct(), ApiMain.__construct(), HTMLForm.__construct(), MediaWiki\Tidy\Balancer.__construct(), FSLockManager.__destruct(), RedisLockManager.__destruct(), MemcLockManager.__destruct(), JobQueueGroup.__destruct(), DiffHistoryBlob.__sleep(), StatusValue.__toString(), MediaWiki\Tidy\BalanceElement.__toString(), DiffHistoryBlob.__wakeup(), MemcachedClient._load_items(), FileBackendMultiWrite.accessibilityCheck(), MemcLockManager.acquireMutexes(), LogPage.actionText(), User.addAutopromoteOnceGroups(), HTMLForm.addButton(), OutputPage.addCategoryLinks(), ApiBase.addDeprecation(), EditPage.addEditNotices(), DiffHistoryBlob.addItem(), UserrightsPage.addLogEntry(), OutputPage.addLogoPreloadLinkHeaders(), ApiResult.addMetadataToResultVars(), LocalFileMoveBatch.addOlds(), EditPage.addPageProtectionWarningHeaders(), MediaWiki\Tidy\BalanceActiveFormattingElements.addToNoahList(), Skin.addToSidebarPlain(), ApiQueryBase.addWhere(), ApiQueryBase.addWhereFld(), MediaWiki\Tidy\BalanceStack.adjustedCurrentNode(), ParserEditTests.alternatingAligned(), ChangesListFilterGroup.anySelected(), ApiResult.applyTransformations(), ArrayUtils.arrayDiffAssocRecursive(), SpecialVersion.arrayToString(), XhprofDataTest.assertArrayStructure(), ApiQueryWatchlistIntegrationTest.assertArraySubsetsEqual(), DatabaseSqliteTest.assertResultIs(), FileOpBatch.attempt(), LinksDeletionUpdate.batchDeleteByPK(), JobQueue.batchPush(), BenchmarkPurge.benchSquid(), buildCommonApiParams(), SkinTemplate.buildContentNavigationUrls(), SkinFallbackTemplate.buildHelpfulInformationMessage(), Wikimedia\Rdbms\Database.buildLike(), ChangesListSpecialPage.buildQuery(), SimpleCaptcha.buildRegexes(), ProtectionForm.buildSelector(), ChangeTags.buildTagFilterSelector(), MssqlInstaller.canCreateAccounts(), MysqlInstaller.canCreateAccounts(), TableDiffFormatter.changed(), CheckStorage.check(), CategoryFinder.check(), Title.checkActionPermissions(), Action.checkCanExecute(), Title.checkCascadingSourcesRestrictions(), Autopromote.checkCondition(), UserDupes.checkDupes(), CheckStorage.checkExternalConcatBlobs(), FindOrphanedFiles.checkFiles(), UserOptions.checkOpts(), Title.checkPermissionHooks(), Title.checkReadPermissions(), DumpFileOutput.checkRenameArgCount(), TestFileReader.checkSection(), EmailBlacklist.checkUser(), ApiUpload.checkVerification(), Block.chooseBlock(), SpecialEditWatchlist.cleanupWatchlist(), MediaWiki\Tidy\BalanceStack.clearToContext(), RedisConnectionPool.closeExcessIdleConections(), Diff.closing(), SectionProfiler.collateData(), QuorumLockManager.collectPledgeQuorum(), Language.commafy(), MediaWiki\Shell\Shell.command(), CgzCopyTransaction.commit(), WikiPage.commitRollback(), SearchEngine.completionSearchWithVariants(), DiffHistoryBlob.compress(), CompressOld.compressWithConcat(), FileBackendStore.concatenate(), CompareParsers.conclusions(), Article.confirmDelete(), FileBackendMultiWrite.consistencyCheck(), ObjectFactory.constructClassInstance(), PdfImage.convertDumpToArray(), LanguageTyv.convertGrammar(), ConvertUserOptions.convertOptionBatch(), LanguageKsh.convertPlural(), Language.convertPlural(), CopyFileBackend.copyFileBatch(), CopyJobQueue.copyJobs(), Title.countAuthorsBetween(), NaiveForeignTitleFactory.createForeignTitle(), MWOldPassword.crypt(), MWSaltedPassword.crypt(), EncryptedPassword.crypt(), Pbkdf2Password.crypt(), MediaWikiMediaTestCase.dataFile(), Preferences.datetimePreferences(), CommentStore.decodeMessage(), Article.delete(), CopyFileBackend.delFileBatch(), MediaWiki\Session\SessionBackend.deregisterSession(), FileBackendStore.describeInternal(), RefreshLinks.dfnCheckInterval(), DiffEngine.diff(), DiffEngine.diffInternal(), SpecialRedirect.dispatchLog(), RecompressTracked.doAllOrphans(), JobQueueFederated.doBatchPush(), JobQueueRedis.doBatchPush(), JobQueueDB.doBatchPushInternal(), WikiPage.doCreate(), LocalFileDeleteBatch.doDBDeletes(), LocalFileDeleteBatch.doDBInserts(), PopulateLogSearch.doDBUpdates(), DeleteOldRevisions.doDelete(), WikiPage.doDeleteArticleReal(), SwiftFileBackend.doDirectoryExists(), FileBackendStore.doExecuteOpHandlesInternal(), SwiftFileBackend.doExecuteOpHandlesInternal(), ApiQuery.doExport(), ExprParser.doExpression(), Installer.doGenerateKeys(), JobQueueMemory.doGetAcquiredCount(), PostgreSqlLockManager.doGetLocksOnServer(), MySqlLockManager.doGetLocksOnServer(), JobQueueFederated.doGetSiblingQueuesWithJobs(), JobQueueMemory.doGetSize(), SpecialRecentChanges.doHeader(), SpecialImport.doImport(), SpecialRecentChangesLinked.doMainQuery(), WikiPage.doModify(), ExprParser.doOperation(), FileBackend.doOperations(), FileBackendStore.doOperationsInternal(), TestFileOpPerformance.doPerfTest(), JobQueueFederated.doPop(), PurgeList.doPurge(), RevDelRevisionList.doQuery(), UserCache.doQuery(), ImageHistoryPseudoPager.doQuery(), GenderCache.doQuery(), FileBackend.doQuickOperations(), FileBackendStore.doQuickOperationsInternal(), FSLockManager.doSingleUnlock(), MovePageForm.doSubmit(), FileBackendTest.doTestDoOperations(), FileBackendTest.doTestDoOperationsFailing(), FileBackendTest.doTestDoOperationsPipeline(), FileBackendTest.doTestGetFileContents(), FileBackendTest.doTestGetLocalCopy(), FileBackendTest.doTestGetLocalReference(), QuorumLockManager.doUnlockByType(), LinksDeletionUpdate.doUpdate(), WikiPage.doUpdateRestrictions(), LinkHolderArray.doVariants(), RecountCategories.doWork(), HashRing.ejectFromLiveRing(), CommentStore.encodeMessage(), XMPReader.endElement(), TextPassDumper.endElement(), Installer.envCheckDB(), Installer.envCheckShellLocale(), CheckStorage.error(), PhpHttpRequest.errorHandler(), MediaWiki\Shell\Shell.escape(), SpecialGadgets.execute(), RemoveInvalidEmails.execute(), ApiImageRotate.execute(), ApiTag.execute(), ApiProtect.execute(), HHVMMakeRepo.execute(), ApiRevisionDelete.execute(), FindMissingFiles.execute(), FindOrphanedFiles.execute(), ApiQueryMyStashedFiles.execute(), ApiChangeAuthenticationData.execute(), ApiOptions.execute(), BenchmarkPurge.execute(), ApiEditPage.execute(), ApiQueryAllMessages.execute(), ApiQueryBlocks.execute(), ApiQueryExternalLinks.execute(), ApiQueryLangLinks.execute(), SpecialListGrants.execute(), SpecialTrackingCategories.execute(), ApiQueryDeletedrevs.execute(), ApiQueryIWLinks.execute(), SpecialRunJobs.execute(), ListVariants.execute(), ApiQueryFilearchive.execute(), ApiQueryPageProps.execute(), ImportSiteScripts.execute(), NukePage.execute(), RemoveUnusedAccounts.execute(), ApiDelete.execute(), ApiRollback.execute(), UpdateRestrictions.execute(), ApiQueryPagePropNames.execute(), GenerateNormalizerDataMl.execute(), MigrateFileRepoLayout.execute(), RefreshFileHeaders.execute(), CleanupSpam.execute(), UploadStashCleanup.execute(), DeleteOrphanedRevisions.execute(), FixDoubleRedirects.execute(), FixT22757.execute(), ApiQueryContributions.execute(), FixTimestamps.execute(), GenerateNormalizerDataAr.execute(), OrphanStats.execute(), ApiQueryLogEvents.execute(), ApiQueryImageInfo.execute(), ApiRemoveAuthenticationData.execute(), ApiQueryAllUsers.execute(), ApiQueryContributors.execute(), ApiUserrights.execute(), DeleteOldFancyCaptchas.execute(), DumpIterator.execute(), MinifyScript.execute(), ApiSetPageLanguage.execute(), ImportTextFiles.execute(), PurgeChangedPages.execute(), NukeNS.execute(), DumpRenderer.execute(), LinkSearchPage.execute(), MergeMessageFileList.execute(), RunJobs.execute(), RandomPage.execute(), MoveBatch.execute(), CopyFileBackend.execute(), CreateAndPromote.execute(), GenerateFancyCaptchas.execute(), RebuildLocalisationCache.execute(), FileDeleteForm.execute(), SpecialEditTags.execute(), FindHooks.execute(), MovePageForm.execute(), ConvertExtensionToRegistration.execute(), PurgeChangedFiles.execute(), SpecialEditWatchlist.execute(), BatchRowUpdate.execute(), FileDuplicateSearchPage.execute(), ApiQueryUsers.execute(), SpecialMergeHistory.execute(), SpecialRevisionDelete.execute(), ImportImages.execute(), FindDeprecated.execute(), ApiQueryInfo.execute(), DumpTestCase.expectETAOutput(), JSParser.Expression(), MediaWiki\Site\MediaWikiPageNameNormalizer.extractPageRecord(), LogFormatter.extractParameters(), ExternalStore.fetchFromURL(), Wikimedia\Rdbms\FakeResultWrapper.fetchRow(), MediaWikiGadgetsDefinitionRepo.fetchStructuredList(), UserrightsPage.fetchUser(), MediaWikiVersionFetcher.fetchVersion(), MessageCache.figureMessage(), CoreParserFunctions.filepath(), SpamBlacklist.filter(), SpecialRecentChanges.filterByCategories(), ChangesListSpecialPage.filterOnUserExperienceLevel(), Preferences.filterTimezoneInput(), TextPassDumper.finalOptionCheck(), LocalRepo.findBySha1s(), FileRepo.findBySha1s(), LocalRepo.findFiles(), TrackBlobs.findOrphanBlobs(), ChangesListSpecialPage.fixContradictoryOptions(), DoubleRedirectJob.fixRedirects(), MediaWiki\Logger\LegacyLogger.flatten(), MediaWiki\Tidy\BalanceElement.flatten(), FormatMetadata.flattenArrayReal(), ArrayDiffFormatter.format(), TemplatesOnThisPageFormatter.format(), DiffFormatter.format(), BlockLogFormatter.formatBlockFlags(), Language.formatComputingNumbers(), HTMLFormField.formatErrors(), Linker.formatHiddenCategories(), CategoryViewer.formatList(), GIFHandler.formatMetadata(), PNGHandler.formatMetadata(), ExifBitmapHandler.formatMetadata(), PdfHandler.formatMetadata(), LogFormatter.formatParametersForApi(), SpecialListGroupRights.formatPermissions(), OutputPage.formatPermissionsErrorMessage(), UsersPager.formatRow(), SpecialNewpages.formatRow(), ApiRsd.formatRsdApiList(), ChangeTags.formatSummaryRow(), MediaWiki\Tidy\BalanceStack.fosterParent(), RedisLockManager.freeLocksOnServer(), SearchSuggestionSet.fromStrings(), SearchSuggestionSet.fromTitles(), CoreParserFunctions.gender(), Language.gender(), GenerateCollationData.generateFirstChars(), MessageCache.get(), MemcachedClient.get_sock(), DeleteLogFormatter.getActionLinks(), LogEventsList.getActionSelector(), User.getAllRights(), Autopromote.getAutopromoteOnceGroups(), Title.getBaseText(), TitleBlacklist.getBlacklistText(), Block.getBlocksForIPList(), ImageHistoryPseudoPager.getBody(), QuorumLockManager.getBucketFromPath(), CacheHelper.getCachedNotice(), QuestyCaptcha.getCaptcha(), Skin.getCategoryLinks(), FileJournal.getChangeEntries(), ApiUpload.getChunkResult(), Language.getCodeFromFileName(), SiteConfiguration.getConfig(), RedisBagOStuff.getConnection(), CreditsAction.getContributors(), InfoAction.getContributors(), AllMessagesTablePager.getCustomisedStatuses(), EncryptedPassword.getDefaultParams(), DjVuHandler.getDimensionInfoFromMetaTree(), SwiftFileBackend.getDirListPageInternal(), ApiQueryInfo.getDisplayTitle(), SpecialUpload.getDupeWarning(), Title.getEditNotices(), EditPage.getEditToolbar(), TablePager.getEmptyBody(), MediaWiki\Session\SessionManager.getEmptySessionInternal(), ProcessCacheLRUTestable.getEntriesCount(), ApiBase.getExamplesMessages(), LogEventsList.getExcludeClause(), SpecialVersion.getExtensionCategory(), SpecialVersion.getExtensionCredits(), UploadStash.getExtensionForPath(), UploadForm.getExtensionsMessage(), LogEventsList.getExtraInputs(), SpecialRecentChanges.getExtraOptions(), FileContentsHasher.getFileContentsHash(), SwiftFileBackend.getFileListPageInternal(), LogPager.getFilterParams(), MWHttpRequest.getFinalUrl(), IcuCollation.getFirstLetterCount(), BaseTemplate.getFooter(), BaseTemplate.getFooterIcons(), BaseTemplate.getFooterLinks(), SpecialBlock.getFormFields(), Preferences.getFormObject(), ApiPageSet.getGoodTitleCount(), LocalFileDeleteBatch.getHashes(), ApiHelp.getHelp(), ApiHelp.getHelpInternal(), ResourceLoaderContext.getImageObj(), CategoryViewer.getImageSection(), Installer.getInstallSteps(), LogFormatter.getIRCActionText(), ChangesListFilterGroup.getJsData(), OutputPage.getKeyHeader(), PPNode_Hash_Array.getLength(), SpecialProtectedtitles.getLevelMenu(), Title.getLinksTo(), ApiQueryGadgetCategories.getList(), HashRing.getLiveRing(), HashRing.getLocations(), RedisLockManager.getLocksOnServer(), EnhancedChangesList.getLogText(), WebInstaller.getLowestUnhappy(), Wikimedia\Rdbms\LoadBalancer.getMasterPos(), Status.getMessage(), DeleteLogFormatter.getMessageKey(), DeleteLogFormatter.getMessageParameters(), RightsLogFormatter.getMessageParameters(), GIFMetadataExtractor.getMetadata(), ApiBase.getModuleFromPath(), ApiParamInfo.getModuleInfo(), RedisBagOStuff.getMulti(), WANObjectCache.getMulti(), DifferenceEngine.getMultiNotice(), HTMLFormField.getNearestFieldByName(), User.getNewMessageRevisionId(), SpecialNuke.getNewPages(), Skin.getNewtalks(), SpecialEditWatchlist.getNormalForm(), Title.getNotificationTimestamp(), UncategorizedPagesPage.getOrderFields(), DeadendPagesPage.getOrderFields(), LonelyPagesPage.getOrderFields(), SpecialSpecialpages.getPageGroups(), CategoryViewer.getPagesSection(), SpecialVersion.getParserFunctionHooks(), SpecialVersion.getParserTags(), User.getPasswordValidity(), GadgetHooks.getPreferences(), EditPage.getPreviewText(), ApiQueryInfo.getProtectionInfo(), NewFilesPager.getQueryInfo(), Wikimedia\Rdbms\LoadBalancer.getRandomNonLagged(), RandomImageGenerator.getRandomWordPairs(), Wikimedia\Rdbms\LoadBalancer.getReaderIndex(), SpecialDiff.getRedirect(), RedirectSpecialPage.getRedirectQuery(), MediaWiki\Auth\AuthenticationRequest.getRequestByClass(), MediaWiki\Auth\ButtonAuthenticationRequest.getRequestByName(), MWHttpRequest.getResponseHeader(), ApiPageSet.getRevisionCount(), Revision.getRevisionText(), FixT22757.getRevTextMap(), ConverterRule.getRuleConvertedStr(), InputBox.getSearchForm(), Wikimedia\Rdbms\LoadBalancer.getServerCount(), Wikimedia\Rdbms\LoadMonitor.getServerStates(), MediaWiki\Session\SessionManager.getSessionInfoForRequest(), SiteConfiguration.getSetting(), MysqlInstaller.getSettingsForm(), BaseBlacklist.getSharedBlacklists(), LinkBatch.getSize(), SearchSuggestionSet.getSize(), CgzCopyTransaction.getSize(), SpecialVersion.getSkinCredits(), Title.getSkinFromCssJsSubpage(), ApiUpload.getStashResult(), CategoryViewer.getSubcategorySection(), Title.getSubpageText(), LocalSettingsGenerator.getText(), SearchResult.getTextSnippet(), UIDGenerator.getTimeAndDelay(), Preferences.getTimeZoneList(), ApiPageSet.getTitleCount(), ApiQueryInfo.getTSIDs(), LogEventsList.getTypeMenu(), ContribsPager.getUserCond(), Title.getUserPermissionsErrorsInternal(), WebRequest.getValues(), ApiQueryInfo.getWatchedInfo(), WatchedItemQueryService.getWatchedItemsForUserQueryDbOptions(), WatchedItemQueryService.getWatchedItemsWithRecentChangeInfo(), ApiQueryInfo.getWatcherInfo(), SpecialVersion.getWgHooks(), Status.getWikiText(), BitmapMetadataHandler.GIF(), UserrightsPage.groupCheckboxes(), ApiMain.handleCORS(), ConvertExtensionToRegistration.handleHooks(), ApiPageSet.handleParamNormalization(), DumpRenderer.handleRevision(), DumpIterator.handleRevision(), SVGReader.handleSVGAttribs(), FSFileBackend.handleWarning(), BatchRowIterator.hasChildren(), LogPager.hasEqualsClause(), Gadget.hasModule(), Language.hasVariants(), Language.hebrewNumeral(), SearchHighlighter.highlightSimple(), SearchHighlighter.highlightText(), CdnCacheUpdate.HTCPPurge(), User.idFromName(), ImagePage.imageDupes(), ImagePage.imageLinks(), LinksUpdate.incrTableUpdate(), MediaWiki\Tidy\BalanceStack.indexOf(), User.inDnsBlacklist(), TableCleanup.init(), ImageBuilder.init(), WebRequest.initHeaders(), Title.inNamespaces(), ExternalStore.insert(), DatabaseOracle.insert(), Wikimedia\Rdbms\DatabaseMssql.insert(), Wikimedia\Rdbms\DatabasePostgres.insert(), ManualLogEntry.insert(), Wikimedia\Rdbms\DatabaseSqlite.insert(), Wikimedia\Rdbms\Database.insert(), MediaWiki\Tidy\BalanceStack.insertAfter(), ExternalStore.insertWithFallback(), Gadget.isAllowed(), UploadFromUrl.isAllowedHost(), WikiPage.isCountable(), GenericArrayObject.isEmpty(), PPCustomFrame_Hash.isEmpty(), PPCustomFrame_DOM.isEmpty(), ConcatenatedGzipHistoryBlob.isHappy(), DiffHistoryBlob.isHappy(), HTMLFormField.isHiddenRecurse(), ResourceLoaderWikiModule.isKnownEmpty(), MWHttpRequest.isLocalURL(), OutputPage.isSyndicated(), BitmapMetadataHandler.Jpeg(), LanguageKk_cyrl.lastLetter(), Diff.lcs(), MediaWiki\Tidy\BalanceStack.length(), LogPager.limitTitle(), LogPager.limitType(), SpecialNuke.listForm(), SpecialWhatLinksHere.listItem(), SpecialVersion.listToText(), Language.listToText(), TitleBlacklist.load(), ArchivedFile.load(), SpecialSearch.load(), SpecialChangeCredentials.loadAuth(), MediaWiki\Widget\Search\SimpleSearchResultSetWidget.loadCustomCaptions(), MediaWiki\Widget\Search\InterwikiSearchResultSetWidget.loadCustomCaptions(), MimeAnalyzer.loadFiles(), MessageCache.loadFromDB(), User.loadFromRow(), Title.loadRestrictionsFromRows(), Maintenance.loadSettings(), TitleBlacklist.loadWhitelist(), Maintenance.loadWithArgv(), FileJournal.logChangeBatch(), Wikimedia\Rdbms\LBFactory.logIfMultiDbTransaction(), FormatMetadata.makeFormattedData(), PPFuzzTester.makeInputText(), MemcachedBagOStuff.makeKeyInternal(), LoginSignupSpecialPage.makeLanguageSelector(), Licenses.makeLicenses(), LinkFilter.makeLikeArray(), BaseTemplate.makeLink(), Wikimedia\Rdbms\Database.makeList(), ResourceLoaderClientHtml.makeLoad(), RightsLogFormatter.makePageLink(), Wikimedia\Rdbms\Database.makeWhereFrom2d(), MagicWord.matchVariableStartToEnd(), Maintenance.maybeHelp(), LinkHolderArray.merge(), ExternalStoreDB.mergeBatchResult(), MigrateComments.migrate(), JavaScriptMinifier.minify(), ChangeTags.modifyDisplayQuery(), ApiMain.modifyHelp(), ChangesListStringOptionsFilterGroup.modifyQuery(), DiffOp.nclosing(), Language.needsGenderDistinction(), User.newFatalPermissionDeniedStatus(), ResourceFileCache.newFromContext(), Wikimedia\Rdbms\DatabaseDomain.newFromId(), Title.newFromIDs(), ForeignAPIFile.newFromTitle(), FileBackend.newStatus(), HashRing.newWithoutLocation(), SwiftFileBackendList.next(), BaseDump.nextPage(), SquidPurgeClient.nextRequest(), DiffOp.norig(), Linker.normalizeSubpageLink(), EmailNotification.notifyOnPageChange(), ORAResult.numFields(), Wikimedia\Rdbms\DatabaseSqlite.numFields(), Wikimedia\Rdbms\FakeResultWrapper.numRows(), SpecialSearchTestMockResultSet.numRows(), Wikimedia\Rdbms\DatabaseSqlite.numRows(), MWTimestamp.offsetForUser(), SwiftVirtualRESTService.onRequests(), SwiftVirtualRESTService.onResponses(), ImagePage.openShowImage(), Diff.orig(), UploadFromChunks.outputChunk(), ApiQuery.outputGeneralPageInfo(), SpecialListGroupRights.outputNamespaceProtectionInfo(), MediaStatisticsPage.outputResults(), CheckLanguageCLI.outputText(), MWMessagePack.pack(), PurgeChangedPages.pageableSortedRows(), InfoAction.pageInfo(), MediaWiki\Shell\Command.params(), IPTC.parse(), CookieJar.parseCookieResponseHeader(), ConverterRule.parseFlags(), ParameterizedPassword.parseHash(), MWHttpRequest.parseHeader(), MagicWordArray.parseMatch(), ApiBase.parseMultiValue(), SpecialLog.parseParams(), SearchMySQL.parseQuery(), SearchSqlite.parseQuery(), ConverterRule.parseRules(), MediaWiki.parseTitle(), NamespaceAwareForeignTitleFactory.parseTitleNoNs(), NamespaceAwareForeignTitleFactory.parseTitleWithNs(), JSMinPlus.parseTree(), Wikimedia\Http\HttpAcceptParser.parseWeights(), BacklinkCache.partition(), BacklinkJobUtils.partitionBacklinkJob(), DeferredUpdates.pendingUpdatesCount(), AuthManagerSpecialPage.performAuthenticationStep(), MediaWiki.performRequest(), ApiUpload.performUpload(), PPFuzzTester.pickEntryPoint(), FancyCaptcha.pickImageDir(), FancyCaptcha.pickImageFromDir(), FancyCaptcha.pickImageFromList(), ArrayUtils.pickRandom(), Wikimedia\Rdbms\LoadBalancer.pickReaderIndex(), DnsSrvDiscoverer.pickServer(), MediaWiki\Tidy\BalanceStack.pop(), MediaWiki\Tidy\BalanceStack.popTo(), PopulateContentModel.populatePage(), PdfImage.postProcessDump(), Language.preConvertPlural(), SpecialPagesWithProp.prefixSearchSubpages(), ApiQueryContributions.prepareQuery(), SkinTemplate.prepareQuickTemplate(), ProtectedPagesPager.preprocessResults(), Preprocessor_Hash.preprocessToObj(), SpecialBlock.preText(), SearchEngine.processCompletionResults(), SpecialTags.processCreateTagForm(), TextPassDumper.processFileOpt(), BackupDumper.processOptions(), SquidPurgeClient.processReadBuffer(), SpecialTags.processTagForm(), ApiPageSet.processTitlesArray(), SpecialUpload.processVerificationError(), SectionProfiler.profileInInternal(), Preferences.profilePreferences(), TableCleanup.progress(), ImageBuilder.progress(), CdnCacheUpdate.purge(), Maintenance.purgeRedundantText(), JobQueueGroup.push(), MediaWiki\Tidy\BalanceActiveFormattingElements.push(), Wikimedia\Rdbms\Database.qualifiedTableComponents(), MWDebug.query(), SearchOracle.queryNamespaces(), SearchSqlite.queryNamespaces(), SearchMySQL.queryNamespaces(), FixDoubleRedirects.queueJobs(), JobQueueGroup.queuesHaveJobs(), TextPassDumper.readDump(), ExtensionRegistry.readFromQueue(), ShortPagesPage.reallyDoQuery(), Wikimedia\Rdbms\DatabaseMssql.realTableName(), QueryPage.recache(), LocalisationCache.recache(), Autopromote.recCheckCondition(), EnhancedChangesList.recentChangesBlock(), EnhancedChangesList.recentChangesBlockGroup(), JobQueueDB.recycleAndDeleteStaleJobs(), JSParser.reduce(), ExtParserFunctions.rel2abs(), PoolCounterRedis.release(), QuorumLockManager.releasePledges(), CSSMin.remap(), SectionProfiler.remapCallTree(), MediaWiki\Tidy\BalanceStack.removeElement(), MediaWiki\Tidy\BalanceActiveFormattingElements.removeFromNoahList(), RenameuserSQL.rename(), ImageMap.render(), Wikimedia\Rdbms\DatabaseSqlite.replace(), Wikimedia\Rdbms\Database.replace(), MediaWiki\Tidy\BalanceStack.replaceAt(), LinkHolderArray.replaceInternal(), DbTestPreviewer.report(), ImportReporter.reportPage(), ApiMain.reportUnusedParams(), ApiBase.requireAtLeastOneParameter(), ApiBase.requireMaxOneParameter(), ApiBase.requireOnlyOneParameter(), ApiBase.requirePostedParameters(), SearchExactMatchRescorer.rescore(), ProcessCacheLRU.resize(), FileRepo.resolveVirtualUrl(), CheckStorage.restoreText(), ChangeTags.restrictedTagError(), Title.resultToError(), ApiQueryDeletedRevisions.run(), ApiQueryAllRevisions.run(), ApiQueryAllDeletedRevisions.run(), SquidPurgeClientPool.run(), ApiQueryPrefixSearch.run(), ApiQueryLangBacklinks.run(), ApiQueryIWBacklinks.run(), ApiQueryImages.run(), ApiQueryProtectedTitles.run(), ApiQueryExtLinksUsage.run(), ApiQueryDuplicateFiles.run(), ApiQueryWatchlistRaw.run(), ApiQueryCategories.run(), ApiQueryPagesWithProp.run(), ApiQueryAllCategories.run(), ApiQueryWatchlist.run(), ApiQueryCategoryMembers.run(), ApiQueryAllPages.run(), ApiQueryLinks.run(), ApiQueryAllImages.run(), ApiQueryRevisions.run(), ApiQueryBacklinksprop.run(), CategoryFinder.run(), ApiQueryAllLinks.run(), ApiQueryRandom.run(), ApiQueryRecentChanges.run(), ApiQueryBacklinks.run(), ExtParserFunctions.runExplode(), ApiQueryBacklinks.runFirstQuery(), MultiHttpClient.runMulti(), VirtualRESTServiceClient.runMulti(), Wikimedia\Rdbms\Database.runOnTransactionIdleCallbacks(), Wikimedia\Rdbms\Database.runOnTransactionPreCommitCallbacks(), FileOpBatch.runParallelBatches(), ApiQueryBacklinks.runSecondQuery(), RecentChange.save(), User.saveOptions(), CategoryFinder.scanNextLayer(), PrefixSearch.searchBackend(), SearchPostgres.searchQuery(), PrefixSearch.searchWithVariants(), UserMailer.send(), UserMailer.sendInternal(), ProcessCacheLRU.set(), MapCacheLRU.set(), HashBagOStuff.set(), MemcachedClient.set_servers(), BatchRowIterator.setFetchColumns(), BackupReader.setNsfilter(), SpecialRedirect.setParameter(), ParserEditTests.setupFileData(), DiffEngine.shiftBoundaries(), CategoryViewer.shortList(), SimpleCaptcha.shouldCheck(), Maintenance.shouldExecute(), ProtectionForm.show(), SpecialAllPages.showChunk(), DifferenceEngine.showDiffPage(), UserrightsPage.showEditUserGroupsForm(), MovePageForm.showForm(), SpecialEditTags.showForm(), SpecialRevisionDelete.showForm(), SpecialWhatLinksHere.showIndirectLinks(), SpecialAutoblockList.showList(), SpecialBlockList.showList(), SpecialInterwiki.showList(), LogEventsList.showLogExtract(), SpecialGadgets.showMainForm(), DifferenceEngine.showMissingRevision(), OutputPage.showPermissionsErrorPage(), ParserEditTests.showResults(), EditPage.showTextbox1(), SpecialEditWatchlist.showTitles(), SpecialUploadStash.showUploads(), SpecialUpload.showUploadWarning(), SearchSuggestionSet.shrink(), Wikimedia\Rdbms\ChronologyProtector.shutdown(), PrefixSearch.specialSearch(), ImportImages.splitFilename(), FileBackend.splitStoragePath(), MediaWiki\Tidy\RemexCompatMunger.splitTagStack(), RepoGroup.splitVirtualUrl(), ForkController.start(), XMPReader.startElement(), MediaWiki\Widget\Search\SearchFormWidget.startsWithImage(), UploadStash.stashFile(), JSParser.Statement(), ParserTestParserHook.staticTagHook(), SpecialEditTags.submit(), SpecialEditWatchlist.submitClear(), SpecialEditWatchlist.submitNormal(), SpecialEditWatchlist.submitRaw(), ExtParserFunctions.switchObj(), UpdateLogging.sync(), SyncFileBackend.syncBackends(), SyncFileBackend.syncFileBatch(), CoreParserFunctions.tagObj(), PPFuzzTest.templateHook(), MediaWiki\Auth\AuthManagerTest.testAccountCreation(), MediaWiki\Auth\AuthManagerTest.testAccountLink(), GenericArrayObjectTest.testAppend(), MediaWiki\Auth\AuthManagerTest.testAuthentication(), MWDebugTest.testAvoidDuplicateDeprecations(), MWDebugTest.testAvoidNonConsecutivesDuplicateDeprecations(), JobQueueTest.testBasicOperations(), BlockTest.testBlocksOnXff(), SpecialPageFactoryTest.testConflictResolution(), GenericArrayObjectTest.testConstructor(), MediaWiki\Session\SessionTest.testDataAccess(), StatusTest.testErrorWithMessage(), StatusTest.testFatalWithMessage(), RevisionStorageTest.testFetchRevision(), TitleTest.testFixSpecialNameRetainsParameter(), WANObjectCacheTest.testGetMulti(), WANObjectCacheTest.testGetMultiWithSetCallback(), WANObjectCacheTest.testGetMultiWithUnionSetCallback(), StatusTest.testGetStatusArrayWithNonObjectMessages(), ImagePage404Test.testGetThumbSizes(), ImagePageTest.testGetThumbSizes(), XhprofDataTest.testInclude(), SiteListTest.testIsEmpty(), LinkFilterTest.testMakeLikeArrayWithValidPatterns(), StatusTest.testMerge(), StatusTest.testMergeWithOverwriteValue(), HooksTest.testNewStyleHookInteraction(), GenericArrayObjectTest.testOffsetSet(), GadgetsTest.testPreferences(), ApiQueryAllPagesTest.testPrefixNormalizationSearchBug(), ApiPurgeTest.testPurgeMainPage(), BatchRowUpdateTest.testReaderBasicIterate(), RefreshLinksPartitionTest.testRefreshLinks(), GadgetsTest.testRLtag(), JobQueueTest.testRootDeduplication(), GenericArrayObjectTest.testSerialization(), MediaWiki\Session\SessionBackendTest.testSessionStuff(), SiteTest.testSetAndRemovePath(), ApiQueryTest.testTitlesAreRejectedIfInvalid(), AbstractChangesListSpecialPageTestCase.testValidateOptions(), StatusTest.testWarningWithMessage(), ApiWatchTest.testWatchClear(), ApiWatchTest.testWatchProtect(), BatchRowUpdateTest.testWriterBasicFunctionality(), JobQueueFederated.throwErrorIfAllPartitionsDown(), IPTC.timeHelper(), ExtParserFunctions.titleparts(), ThumbnailImage.toHtml(), ParameterizedPassword.toString(), Job.toString(), TrackBlobs.trackOrphanText(), TrackBlobs.trackRevisions(), LanguageFi.translateBlockExpiry(), LocalisationCacheBulkLoad.trimCache(), Language.truncate_endBracket(), ApiBase.truncateArray(), Language.truncateHtml(), MediaWiki.tryNormaliseRedirect(), DiffHistoryBlob.uncompress(), PageArchive.undeleteRevisions(), Wikimedia\Rdbms\Database.unionConditionPermutations(), MediaWiki\Shell\Command.unsafeParams(), StripState.unstripType(), EncryptedPassword.update(), RecentChangesUpdateJob.updateActiveUsers(), WikiPage.updateCategoryCounts(), WatchedItemStore.updateNotificationTimestamp(), PopulateContentModel.updatePageRows(), PopulateContentModel.updateRevisionOrArchiveRows(), ChangeTags.updateTags(), ChangeTags.updateTagsWithChecks(), Wikimedia\Rdbms\DatabaseMysqlBase.upsert(), Wikimedia\Rdbms\Database.upsert(), Language.userAdjust(), Title.userCan(), OutputPage.userCanPreview(), HTMLMultiSelectField.validate(), HTMLCheckMatrix.validate(), Exif.validate(), TitleBlacklistHooks.validateBlacklist(), Cookie.validateCookieDomain(), PrefixSearch.validateNamespaces(), ApiQueryTestBase.validateRequestExpectedPair(), Article.view(), Wikimedia\Rdbms\LoadBalancer.waitForAll(), Wikimedia\Rdbms\LBFactory.waitForReplication(), wfOutputHandler(), wfStreamThumb(), HTMLCacheUpdateJob.workItemCount(), and RefreshLinksJob.workItemCount().
list captcha-old.data = [] |
Definition at line 276 of file captcha-old.py.
captcha-old.default |
Definition at line 216 of file captcha-old.py.
captcha-old.dirs = opts.dirs |
Definition at line 251 of file captcha-old.py.
captcha-old.fill = opts.fill |
Definition at line 250 of file captcha-old.py.
captcha-old.font = opts.font |
Definition at line 244 of file captcha-old.py.
Referenced by PHPVersionCheck.getIndexErrorOutput().
captcha-old.fontsize = opts.font_size |
Definition at line 253 of file captcha-old.py.
captcha-old.help |
Definition at line 211 of file captcha-old.py.
Referenced by DumpBackup.__construct(), MediaWiki\Auth\ButtonAuthenticationRequest.__construct(), PHPVersionCheck.checkVendorExistence(), MWExceptionHandler.handleFatalError(), mccShowUsage(), and showUsage().
captcha-old.key = opts.key |
Definition at line 236 of file captcha-old.py.
captcha-old.metavar |
Definition at line 211 of file captcha-old.py.
captcha-old.nonalpha = re.compile('[^a-z]') |
Definition at line 47 of file captcha-old.py.
captcha-old.opts |
Definition at line 227 of file captcha-old.py.
Referenced by NewPagesPager.__construct(), NewFilesPager.__construct(), JobSpecification.__construct(), SpecialNewFiles.buildForm(), SpecialNewFiles.execute(), SpecialContributions.execute(), SpecialWhatLinksHere.execute(), SpecialNewpages.execute(), SpecialNewpages.feed(), SpecialNewpages.filterLinks(), SpecialNewpages.form(), SpecialWhatLinksHere.getFilterPanel(), SpecialContributions.getForm(), SpecialWhatLinksHere.getPrevNext(), NewPagesPager.getQueryInfo(), JobSpecification.ignoreDuplicates(), SpecialNewpages.parseParams(), SpecialNewpages.setup(), SpecialWhatLinksHere.showIndirectLinks(), and SpecialWhatLinksHere.whatlinkshereForm().
captcha-old.output = opts.output |
Definition at line 240 of file captcha-old.py.
captcha-old.p = multiprocessing.Pool(threads); |
Definition at line 275 of file captcha-old.py.
Referenced by CologneBlueTemplate.afterContent(), CologneBlueTemplate.beforeContent(), PHPVersionCheck.checkRequiredPHPVersion(), WebRequest.doSecurityRedirect(), PHPVersionCheck.getIndexErrorOutput(), MWExceptionRenderer.googleSearchForm(), and wfThumbError().
captcha-old.parser = OptionParser() |
Definition at line 210 of file captcha-old.py.
Referenced by Preprocessor_DOM.__construct(), Preprocessor_Hash.__construct(), JSMinPlus.__construct(), CLIParser.initParser(), JSMinPlus.min(), CLIParser.parse(), Preprocessor_Hash.preprocessToObj(), Preprocessor_DOM.preprocessToObj(), Preprocessor_DOM.preprocessToXml(), ExpressionTest.setUp(), ExtraParserTest.setUp(), ExtraParserTest.testCleanSig(), ExtraParserTest.testCleanSigDisabled(), ExpressionTest.testExpression(), ExtraParserTest.testGetPreloadText(), ExtraParserTest.testGetSection(), ExtraParserTest.testLongNumericLinesDontKillTheParser(), ExtraParserTest.testParse(), ExtraParserTest.testPreprocess(), ExtraParserTest.testPreSaveTransform(), ExtraParserTest.testReplaceSection(), ExtraParserTest.testTrackingCategory(), and ExtraParserTest.testTrackingCategorySpecial().
captcha-old.script_dir = os.path.dirname(os.path.realpath(__file__)) |
Definition at line 209 of file captcha-old.py.
int captcha-old.threads = opts.threads |
Definition at line 254 of file captcha-old.py.
captcha-old.type |
Definition at line 216 of file captcha-old.py.
captcha-old.verbose = opts.verbose |
Definition at line 252 of file captcha-old.py.
captcha-old.wordlist = opts.wordlist |
Definition at line 230 of file captcha-old.py.
list captcha-old.words = None |
Definition at line 259 of file captcha-old.py.
Referenced by ExprParser.doExpression(), and CheckLanguageCLI.help().