WikiLambda
MediaWiki WikiLambda extension
Loading...
Searching...
No Matches
MediaWiki\Extension\WikiLambda\API\ApiSupportedProgrammingLanguages Class Reference
+ Inheritance diagram for MediaWiki\Extension\WikiLambda\API\ApiSupportedProgrammingLanguages:
+ Collaboration diagram for MediaWiki\Extension\WikiLambda\API\ApiSupportedProgrammingLanguages:

Public Member Functions

 __construct ( $query, $moduleName)
 @inheritDoc
 
 execute ()
 @inheritDoc
 
 executeGenerator ( $resultPageSet)
 @inheritDoc
 
 isInternal ()
 Mark as internal.
 
- Public Member Functions inherited from MediaWiki\Extension\WikiLambda\API\WikiLambdaApiBase
 dieWithZError ( $zerror)
 
 setLogger (LoggerInterface $logger)
 @inheritDoc
 
 getLogger ()
 @inheritDoc
 

Static Public Member Functions

static wrapMessageInZError ( $message, $call)
 Convenience method to wrap a non-error in a Z507/Evaluation ZError.
 

Protected Member Functions

 getAllowedParams ()
 @inheritDoc @codeCoverageIgnore
 
- Protected Member Functions inherited from MediaWiki\Extension\WikiLambda\API\WikiLambdaApiBase
 setUp ()
 
 executeFunctionCall ( $zObject, $validate)
 

Additional Inherited Members

- Protected Attributes inherited from MediaWiki\Extension\WikiLambda\API\WikiLambdaApiBase
 $orchestrator
 
 $orchestratorHost
 
 $logger
 

Member Function Documentation

◆ isInternal()

MediaWiki\Extension\WikiLambda\API\ApiSupportedProgrammingLanguages::isInternal ( )

Mark as internal.

This isn't meant to be user-facing, and can change at any time.

Returns
bool

◆ wrapMessageInZError()

static MediaWiki\Extension\WikiLambda\API\ApiSupportedProgrammingLanguages::wrapMessageInZError ( $message,
$call )
static

Convenience method to wrap a non-error in a Z507/Evaluation ZError.

TODO (T311480): This is used by two different APIs. Move to the ZErrorFactory, which is where all the error creating convenience methods are right now.

Parameters
string$messageThe non-error to wrap.
string$callThe functional call context.
Returns
ZError

The documentation for this class was generated from the following file: