Go to the documentation of this file.
40 if ( is_null( $prefix ) ) {
43 parent::__construct(
$query, $moduleName, $prefix );
49 $prop = array_flip(
$params[
'prop'] );
54 'version' =>
$params[
'metadataversion'],
55 'language' =>
$params[
'extmetadatalanguage'],
56 'multilang' =>
$params[
'extmetadatamultilang'],
57 'extmetadatafilter' =>
$params[
'extmetadatafilter'],
58 'revdelUser' => $this->
getUser(),
61 $pageIds = $this->
getPageSet()->getAllTitlesByNamespace();
62 if ( !empty( $pageIds[
NS_FILE] ) ) {
67 if ( !is_null(
$params[
'continue'] ) ) {
68 $cont = explode(
'|',
$params[
'continue'] );
70 $fromTitle = strval( $cont[0] );
71 $fromTimestamp = $cont[1];
74 if (
$title < $fromTitle ) {
83 $findTitles = array_map(
function (
$title ) use (
$user ) {
99 $start =
$title === $fromTitle ? $fromTimestamp :
$params[
'start'];
101 if ( !isset( $images[
$title] ) ) {
102 if ( isset( $prop[
'uploadwarning'] ) ) {
107 array(
'query',
'pages', intval( $pageId ) ),
108 'imagerepository',
''
118 if ( self::getTransformCount() >= self::TRANSFORM_LIMIT ) {
119 if ( count( $pageIds[
NS_FILE] ) == 1 ) {
132 array(
'query',
'pages', intval( $pageId ) ),
133 'imagerepository', $img->getRepoName()
136 if ( count( $pageIds[
NS_FILE] ) == 1 ) {
159 ( is_null( $start ) || $img->getTimestamp() <= $start ) &&
160 ( is_null(
$params[
'end'] ) || $img->getTimestamp() >=
$params[
'end'] )
165 self::getInfo( $img, $prop,
$result,
166 $finalThumbParams, $opts
170 if ( count( $pageIds[
NS_FILE] ) == 1 ) {
184 $count = ( $gotOne ? 1 : 0 );
187 foreach ( $oldies
as $oldie ) {
192 if ( count( $pageIds[
NS_FILE] ) == 1 ) {
200 self::getInfo( $oldie, $prop,
$result,
201 $finalThumbParams, $opts
205 if ( count( $pageIds[
NS_FILE] ) == 1 ) {
230 if (
$params[
'urlwidth'] != -1 ) {
232 $scale[
'width'] =
$params[
'urlwidth'];
233 $scale[
'height'] =
$params[
'urlheight'];
234 } elseif (
$params[
'urlheight'] != -1 ) {
238 $scale[
'height'] =
$params[
'urlheight'];
242 $this->
dieUsage(
"{$p}urlparam requires {$p}urlwidth",
"urlparam_no_width" );
261 if ( !isset( $thumbParams[
'width'] ) && isset( $thumbParams[
'height'] ) ) {
266 if ( $image->getWidth() <= 0 ) {
267 $thumbParams[
'width'] = max( $wgThumbLimits );
269 $thumbParams[
'width'] = $image->getWidth();
273 if ( !$otherParams ) {
278 $h = $image->getHandler();
280 $this->
setWarning(
'Could not create thumbnail because ' .
281 $image->getName() .
' does not have an associated image handler' );
286 $paramList = $h->parseParamString( $otherParams );
292 $this->
setWarning(
"Could not parse {$p}urlparam for " . $image->getName()
293 .
'. Using only width and height' );
298 if ( isset( $paramList[
'width'] ) ) {
299 if ( intval( $paramList[
'width'] ) != intval( $thumbParams[
'width'] ) ) {
300 $this->
setWarning(
"Ignoring width value set in {$p}urlparam ({$paramList['width']}) "
301 .
"in favor of width value derived from {$p}urlwidth/{$p}urlheight "
302 .
"({$thumbParams['width']})" );
308 $this->
dieUsage(
"Invalid value for {$p}urlparam ($name=$value)",
"urlparam" );
312 return $thumbParams + $paramList;
335 if ( !$opts || is_string( $opts ) ) {
337 'version' => $opts ?:
'latest',
339 'multilang' =>
false,
340 'extmetadatafilter' =>
array(),
341 'revdelUser' =>
null,
348 if ( isset( $prop[
'timestamp'] ) ) {
353 if ( isset( $opts[
'revdelUser'] ) && $opts[
'revdelUser'] ) {
354 $revdelUser = $opts[
'revdelUser'];
355 $canShowField =
function ( $field ) use (
$file, $revdelUser ) {
356 return $file->userCan( $field, $revdelUser );
359 $canShowField =
function ( $field ) use (
$file ) {
360 return !
$file->isDeleted( $field );
364 $user = isset( $prop[
'user'] );
365 $userid = isset( $prop[
'userid'] );
367 if (
$user || $userid ) {
369 $vals[
'userhidden'] =
'';
374 $vals[
'user'] =
$file->getUser();
377 $vals[
'userid'] =
$file->getUser(
'id' );
379 if ( !
$file->getUser(
'id' ) ) {
387 if ( isset( $prop[
'size'] ) || isset( $prop[
'dimensions'] ) ) {
388 $vals[
'size'] = intval(
$file->getSize() );
389 $vals[
'width'] = intval(
$file->getWidth() );
390 $vals[
'height'] = intval(
$file->getHeight() );
392 $pageCount =
$file->pageCount();
393 if ( $pageCount !==
false ) {
394 $vals[
'pagecount'] = $pageCount;
398 $pcomment = isset( $prop[
'parsedcomment'] );
399 $comment = isset( $prop[
'comment'] );
403 $vals[
'commenthidden'] =
'';
417 $canonicaltitle = isset( $prop[
'canonicaltitle'] );
418 $url = isset( $prop[
'url'] );
419 $sha1 = isset( $prop[
'sha1'] );
420 $meta = isset( $prop[
'metadata'] );
421 $extmetadata = isset( $prop[
'extmetadata'] );
422 $commonmeta = isset( $prop[
'commonmetadata'] );
423 $mime = isset( $prop[
'mime'] );
424 $mediatype = isset( $prop[
'mediatype'] );
425 $archive = isset( $prop[
'archivename'] );
426 $bitdepth = isset( $prop[
'bitdepth'] );
427 $uploadwarning = isset( $prop[
'uploadwarning'] );
429 if ( $uploadwarning ) {
434 $vals[
'filehidden'] =
'';
439 $vals[
'suppressed'] =
true;
447 if ( $canonicaltitle ) {
448 $vals[
'canonicaltitle'] =
$file->getTitle()->getPrefixedText();
452 if ( !is_null( $thumbParams ) ) {
453 $mto =
$file->transform( $thumbParams );
454 self::$transformCount++;
455 if ( $mto && !$mto->isError() ) {
460 if ( $mto->getUrl() !==
$file->getUrl() ) {
461 $vals[
'thumbwidth'] = intval( $mto->getWidth() );
462 $vals[
'thumbheight'] = intval( $mto->getHeight() );
464 $vals[
'thumbwidth'] = intval(
$file->getWidth() );
465 $vals[
'thumbheight'] = intval(
$file->getHeight() );
468 if ( isset( $prop[
'thumbmime'] ) &&
$file->getHandler() ) {
470 $mto->getExtension(),
$file->getMimeType(), $thumbParams );
471 $vals[
'thumbmime'] =
$mime;
473 } elseif ( $mto && $mto->isError() ) {
474 $vals[
'thumberror'] = $mto->toText();
487 $metadata = unserialize(
$file->getMetadata() );
489 if ( $metadata &&
$version !==
'latest' ) {
490 $metadata =
$file->convertMetadataVersion( $metadata,
$version );
495 $metaArray =
$file->getCommonMetaArray();
499 if ( $extmetadata ) {
505 $format->getContext()->setLanguage( $opts[
'language'] );
506 $extmetaArray = $format->fetchExtendedMetadata(
$file );
507 if ( $opts[
'extmetadatafilter'] ) {
508 $extmetaArray = array_intersect_key(
509 $extmetaArray, array_flip( $opts[
'extmetadatafilter'] )
512 $vals[
'extmetadata'] = $extmetaArray;
516 $vals[
'mime'] =
$file->getMimeType();
520 $vals[
'mediatype'] =
$file->getMediaType();
523 if ( $archive &&
$file->isOld() ) {
524 $vals[
'archivename'] =
$file->getArchiveName();
528 $vals[
'bitdepth'] =
$file->getBitDepth();
553 if ( is_array( $metadata ) ) {
554 foreach ( $metadata
as $key =>
$value ) {
555 $r =
array(
'name' => $key );
556 if ( is_array(
$value ) ) {
583 if ( $start ===
null ) {
584 $start = $img->getTimestamp();
587 return $img->getOriginalTitle()->getDBkey() .
'|' . $start;
616 'urlheight' =>
array(
620 'metadataversion' =>
array(
624 'extmetadatalanguage' =>
array(
628 'extmetadatamultilang' =>
array(
632 'extmetadatafilter' =>
array(
641 'localonly' =>
false,
653 return array_diff( array_keys( self::getProperties() ), $filter );
664 'timestamp' =>
' timestamp - Adds timestamp for the uploaded version',
665 'user' =>
' user - Adds the user who uploaded the image version',
666 'userid' =>
' userid - Add the user ID that uploaded the image version',
667 'comment' =>
' comment - Comment on the version',
668 'parsedcomment' =>
' parsedcomment - Parse the comment on the version',
669 'canonicaltitle' =>
' canonicaltitle - Adds the canonical title of the image file',
670 'url' =>
' url - Gives URL to the image and the description page',
671 'size' =>
' size - Adds the size of the image in bytes ' .
672 'and the height, width and page count (if applicable)',
673 'dimensions' =>
' dimensions - Alias for size',
674 'sha1' =>
' sha1 - Adds SHA-1 hash for the image',
675 'mime' =>
' mime - Adds MIME type of the image',
676 'thumbmime' =>
' thumbmime - Adds MIME type of the image thumbnail' .
677 ' (requires url and param ' . $modulePrefix .
'urlwidth)',
678 'mediatype' =>
' mediatype - Adds the media type of the image',
679 'metadata' =>
' metadata - Lists Exif metadata for the version of the image',
680 'commonmetadata' =>
' commonmetadata - Lists file format generic metadata ' .
681 'for the version of the image',
682 'extmetadata' =>
' extmetadata - Lists formatted metadata combined ' .
683 'from multiple sources. Results are HTML formatted.',
684 'archivename' =>
' archivename - Adds the file name of the archive ' .
685 'version for non-latest versions',
686 'bitdepth' =>
' bitdepth - Adds the bit depth of the version',
687 'uploadwarning' =>
' uploadwarning - Used by the Special:Upload page to ' .
688 'get information about an existing file. Not intended for use outside MediaWiki core',
701 array(
'What image information to get:' ),
702 array_values( array_diff_key( self::getProperties( $modulePrefix ), array_flip( $filter ) ) )
714 'prop' => self::getPropertyDescriptions(
array(), $p ),
716 "If {$p}prop=url is set, a URL to an image scaled to this width will be returned.",
717 'For performance reasons if this option is used, ' .
718 'no more than ' . self::TRANSFORM_LIMIT .
' scaled images will be returned.'
720 'urlheight' =>
"Similar to {$p}urlwidth.",
721 'urlparam' =>
array(
"A handler specific parameter string. For example, pdf's ",
722 "might use 'page15-100px'. {$p}urlwidth must be used and be consistent with {$p}urlparam" ),
723 'limit' =>
'How many image revisions to return per image',
724 'start' =>
'Timestamp to start listing from',
725 'end' =>
'Timestamp to stop listing at',
727 =>
array(
"Version of metadata to use. if 'latest' is specified, use latest version.",
728 "Defaults to '1' for backwards compatibility" ),
729 'extmetadatalanguage' =>
array(
730 'What language to fetch extmetadata in. This affects both which',
731 'translation to fetch, if multiple are available, as well as how things',
732 'like numbers and various values are formatted.'
734 'extmetadatamultilang'
735 =>
'If translations for extmetadata property are available, fetch all of them.',
737 =>
"If specified and non-empty, only these keys will be returned for {$p}prop=extmetadata",
738 'continue' =>
'If the query response includes a continue value, ' .
739 'use it here to get another page of results',
740 'localonly' =>
'Look only for files in the local repository',
746 'timestamp' =>
array(
747 'timestamp' =>
'timestamp'
750 'userhidden' =>
'boolean',
755 'userhidden' =>
'boolean',
756 'userid' =>
'integer',
761 'width' =>
'integer',
762 'height' =>
'integer',
763 'pagecount' =>
array(
768 'dimensions' =>
array(
770 'width' =>
'integer',
771 'height' =>
'integer',
772 'pagecount' =>
array(
778 'commenthidden' =>
'boolean',
784 'parsedcomment' =>
array(
785 'commenthidden' =>
'boolean',
786 'parsedcomment' =>
array(
791 'canonicaltitle' =>
array(
792 'canonicaltitle' =>
array(
798 'filehidden' =>
'boolean',
803 'thumbwidth' =>
array(
807 'thumbheight' =>
array(
811 'thumberror' =>
array(
819 'descriptionurl' =>
array(
825 'filehidden' =>
'boolean',
832 'filehidden' =>
'boolean',
838 'thumbmime' =>
array(
839 'filehidden' =>
'boolean',
840 'thumbmime' =>
array(
845 'mediatype' =>
array(
846 'filehidden' =>
'boolean',
847 'mediatype' =>
array(
852 'archivename' =>
array(
853 'filehidden' =>
'boolean',
854 'archivename' =>
array(
860 'filehidden' =>
'boolean',
868 return array_diff_key( $props, array_flip( $filter ) );
876 return 'Returns image information and upload history.';
882 return array_merge( parent::getPossibleErrors(),
array(
883 array(
'code' =>
"{$p}urlwidth",
'info' =>
"{$p}urlheight cannot be used without {$p}urlwidth" ),
884 array(
'code' =>
'urlparam',
'info' =>
"Invalid value for {$p}urlparam" ),
885 array(
'code' =>
'urlparam_no_width',
'info' =>
"{$p}urlparam requires {$p}urlwidth" ),
891 'api.php?action=query&titles=File:Albert%20Einstein%20Head.jpg&prop=imageinfo',
892 'api.php?action=query&titles=File:Test.jpg&prop=imageinfo&iilimit=50&' .
893 'iiend=20071231235959&iiprop=timestamp|user|url',
898 return 'https://www.mediawiki.org/wiki/API:Properties#imageinfo_.2F_ii';
getParamDescription()
Return the API documentation for the parameters.
getContinueStr( $img, $start=null)
The index of the header message $result[1]=The index of the body text message $result[2 through n]=Parameters passed to body text message. Please note the header message cannot receive/use parameters. 'ImportHandleLogItemXMLTag':When parsing a XML tag in a log item. $reader:XMLReader object $logInfo:Array of information Return false to stop further processing of the tag 'ImportHandlePageXMLTag':When parsing a XML tag in a page. $reader:XMLReader object $pageInfo:Array of information Return false to stop further processing of the tag 'ImportHandleRevisionXMLTag':When parsing a XML tag in a page revision. $reader:XMLReader object $pageInfo:Array of page information $revisionInfo:Array of revision information Return false to stop further processing of the tag 'ImportHandleToplevelXMLTag':When parsing a top level XML tag. $reader:XMLReader object Return false to stop further processing of the tag 'ImportHandleUploadXMLTag':When parsing a XML tag in a file upload. $reader:XMLReader object $revisionInfo:Array of information Return false to stop further processing of the tag 'InfoAction':When building information to display on the action=info page. $context:IContextSource object & $pageInfo:Array of information 'InitializeArticleMaybeRedirect':MediaWiki check to see if title is a redirect. $title:Title object for the current page $request:WebRequest $ignoreRedirect:boolean to skip redirect check $target:Title/string of redirect target $article:Article object 'InterwikiLoadPrefix':When resolving if a given prefix is an interwiki or not. Return true without providing an interwiki to continue interwiki search. $prefix:interwiki prefix we are looking for. & $iwData:output array describing the interwiki with keys iw_url, iw_local, iw_trans and optionally iw_api and iw_wikiid. 'InternalParseBeforeSanitize':during Parser 's internalParse method just before the parser removes unwanted/dangerous HTML tags and after nowiki/noinclude/includeonly/onlyinclude and other processings. Ideal for syntax-extensions after template/parser function execution which respect nowiki and HTML-comments. & $parser:Parser object & $text:string containing partially parsed text & $stripState:Parser 's internal StripState object 'InternalParseBeforeLinks':during Parser 's internalParse method before links but after nowiki/noinclude/includeonly/onlyinclude and other processings. & $parser:Parser object & $text:string containing partially parsed text & $stripState:Parser 's internal StripState object 'InvalidateEmailComplete':Called after a user 's email has been invalidated successfully. $user:user(object) whose email is being invalidated 'IRCLineURL':When constructing the URL to use in an IRC notification. Callee may modify $url and $query, URL will be constructed as $url . $query & $url:URL to index.php & $query:Query string $rc:RecentChange object that triggered url generation 'IsFileCacheable':Override the result of Article::isFileCacheable()(if true) $article:article(object) being checked 'IsTrustedProxy':Override the result of wfIsTrustedProxy() $ip:IP being check $result:Change this value to override the result of wfIsTrustedProxy() 'IsUploadAllowedFromUrl':Override the result of UploadFromUrl::isAllowedUrl() $url:URL used to upload from & $allowed:Boolean indicating if uploading is allowed for given URL 'isValidEmailAddr':Override the result of User::isValidEmailAddr(), for instance to return false if the domain name doesn 't match your organization. $addr:The e-mail address entered by the user & $result:Set this and return false to override the internal checks 'isValidPassword':Override the result of User::isValidPassword() $password:The password entered by the user & $result:Set this and return false to override the internal checks $user:User the password is being validated for 'Language::getMessagesFileName':$code:The language code or the language we 're looking for a messages file for & $file:The messages file path, you can override this to change the location. 'LanguageGetNamespaces':Provide custom ordering for namespaces or remove namespaces. Do not use this hook to add namespaces. Use CanonicalNamespaces for that. & $namespaces:Array of namespaces indexed by their numbers 'LanguageGetMagic':DEPRECATED, use $magicWords in a file listed in $wgExtensionMessagesFiles instead. Use this to define synonyms of magic words depending of the language $magicExtensions:associative array of magic words synonyms $lang:language code(string) 'LanguageGetSpecialPageAliases':DEPRECATED, use $specialPageAliases in a file listed in $wgExtensionMessagesFiles instead. Use to define aliases of special pages names depending of the language $specialPageAliases:associative array of magic words synonyms $lang:language code(string) 'LanguageGetTranslatedLanguageNames':Provide translated language names. & $names:array of language code=> language name $code language of the preferred translations 'LanguageLinks':Manipulate a page 's language links. This is called in various places to allow extensions to define the effective language links for a page. $title:The page 's Title. & $links:Associative array mapping language codes to prefixed links of the form "language:title". & $linkFlags:Associative array mapping prefixed links to arrays of flags. Currently unused, but planned to provide support for marking individual language links in the UI, e.g. for featured articles. 'LinkBegin':Used when generating internal and interwiki links in Linker::link(), before processing starts. Return false to skip default processing and return $ret. See documentation for Linker::link() for details on the expected meanings of parameters. $skin:the Skin object $target:the Title that the link is pointing to & $html:the contents that the< a > tag should have(raw HTML) $result
static singleton()
Get a RepoGroup instance.
skin txt MediaWiki includes four core it has been set as the default in MediaWiki since the replacing Monobook it had been been the default skin since before being replaced by Vector largely rewritten in while keeping its appearance Several legacy skins were removed in the as the burden of supporting them became too heavy to bear Those in etc for skin dependent CSS etc for skin dependent JavaScript These can also be customised on a per user by etc This feature has led to a wide variety of user styles becoming that gallery is a good place to ending in php
usually copyright or history_copyright This message must be in HTML not wikitext $subpages will be ignored and the rest of subPageSubtitle() will run. 'SkinTemplateBuildNavUrlsNav_urlsAfterPermalink' whether MediaWiki currently thinks this is a CSS JS page Hooks may change this value to override the return value of Title::isCssOrJsPage(). 'TitleIsAlwaysKnown' whether MediaWiki currently thinks this page is known isMovable() always returns false. $title whether MediaWiki currently thinks this page is movable Hooks may change this value to override the return value of Title::isMovable(). 'TitleIsWikitextPage' whether MediaWiki currently thinks this is a wikitext page Hooks may change this value to override the return value of Title::isWikitextPage() 'TitleMove' use UploadVerification and UploadVerifyFile instead where the first element is the message key and the remaining elements are used as parameters to the message based on mime etc Preferred in most cases over UploadVerification object with all info about the upload string $mime
mergeThumbParams( $image, $thumbParams, $otherParams)
Validate and merge scale parameters with handler thumb parameters, give error if invalid.
wfTimestamp( $outputtype=TS_UNIX, $ts=0)
Get a timestamp string in one of various formats.
getResult()
Get the result object.
wfSuppressWarnings( $end=false)
Reference-counted warning suppression.
static getPropertyNames( $filter=array())
Returns all possible parameters to iiprop.
A query action to get image information and upload history.
this class mediates it Skin Encapsulates a look and feel for the wiki All of the functions that render HTML and make choices about how to render it are here and are called from various other places when and is meant to be subclassed with other skins that may override some of its functions The User object contains a reference to a and so rather than having a global skin object we just rely on the global User and get the skin with $wgUser and also has some character encoding functions and other locale stuff The current user interface language is instantiated as and the content language as $wgContLang
static formatComment( $comment, $title=null, $local=false)
This function is called by all recent changes variants, by the page history, and by the user contribu...
getExamples()
Returns usage examples for this module.
static getInfo( $file, $prop, $result, $thumbParams=null, $opts=false)
Get result information for an image revision.
getUser()
Get the User object.
static getExistsWarning( $exists)
Formats a result of UploadBase::getExistsWarning as HTML This check is static and can be done pre-upl...
static getTransformCount()
Get the count of image transformations performed.
static getResultPropertiesFiltered( $filter=array())
execute()
Evaluates the parameters, performs the requested query, and sets up the result.
static getProperties( $modulePrefix='')
Returns array key value pairs of properties and their descriptions.
linkcache txt The LinkCache class maintains a list of article titles and the information about whether or not the article exists in the database This is used to mark up links when displaying a page If the same link appears more than once on any page then it only has to be looked up once In most cases link lookups are done in batches with the LinkBatch class or the equivalent in so the link cache is mostly useful for short snippets of parsed and for links in the navigation areas of the skin The link cache was formerly used to track links used in a document for the purposes of updating the link tables This application is now deprecated To create a you can use the following $titles
wfRestoreWarnings()
Restore error level to previous value.
This is a base class for all Query modules.
const TS_ISO_8601
ISO 8601 format with no timezone: 1986-02-09T20:00:00Z.
the array() calling protocol came about after MediaWiki 1.4rc1.
List of Api Query prop modules.
static processMetaData( $metadata, $result)
when a variable name is used in a it is silently declared as a new masking the global
deferred txt A few of the database updates required by various functions here can be deferred until after the result page is displayed to the user For updating the view updating the linked to tables after a etc PHP does not yet have any way to tell the server to actually return and disconnect while still running these but it might have such a feature in the future We handle these by creating a deferred update object and putting those objects on a global list
getModulePrefix()
Get parameter prefix (usually two letters or an empty string).
extractRequestParams( $parseLimit=true)
Using getAllowedParams(), this function makes an array of the values provided by the user,...
presenting them properly to the user as errors is done by the caller $title
Allows to change the fields on the form that will be generated $name
dieContinueUsageIf( $condition)
Die with the $prefix.
dieUsage( $description, $errorCode, $httpRespCode=0, $extradata=null)
Throw a UsageException, which will (if uncaught) call the main module's error handler and die with an...
__construct( $query, $moduleName, $prefix='ii')
Constructor.
static getExistsWarning( $file)
Helper function that does various existence checks for a file.
getPageSet()
Get the PageSet object to work on.
please add to it if you re going to add events to the MediaWiki code where normally authentication against an external auth plugin would be creating a account $user
if(PHP_SAPI !='cli') $file
getAllowedParams()
Returns an array of allowed parameters (parameter name) => (default value) or (parameter name) => (ar...
setWarning( $warning)
Set warning section for this module.
getResultProperties()
Returns possible properties in the result, grouped by the value of the prop parameter that shows them...
getDescription()
Returns the description string for this module.
wfBaseConvert( $input, $sourceBase, $destBase, $pad=1, $lowercase=true, $engine='auto')
Convert an arbitrarily-long digit string from one numeric base to another, optionally zero-padding to...
This document is intended to provide useful advice for parties seeking to redistribute MediaWiki to end users It s targeted particularly at maintainers for Linux since it s been observed that distribution packages of MediaWiki often break We ve consistently had to recommend that users seeking support use official tarballs instead of their distribution s and this often solves whatever problem the user is having It would be nice if this could such as
getScale( $params)
From parameters, construct a 'scale' array.
setContinueEnumParameter( $paramName, $paramValue)
Set a query-continue value.
return true to allow those checks to and false if checking is done use this to change the tables headers temp or archived zone change it to an object instance and return false override the list derivative used the name of the old file when set the default code will be skipped add a value to it if you want to add a cookie that have to vary cache options can modify $query
wfLocalFile( $title)
Get an object referring to a locally registered file.
userCanSeeRevDel()
Check whether the current user has permission to view revision-deleted fields.
addPageSubItem( $pageId, $item, $elemname=null)
Same as addPageSubItems(), but one element of $data at a time.
please add to it if you re going to add events to the MediaWiki code where normally authentication against an external auth plugin would be creating a account incomplete not yet checked for validity & $retval
static getPropertyDescriptions( $filter=array(), $modulePrefix='')
Returns the descriptions for the properties provided by getPropertyNames()
wfExpandUrl( $url, $defaultProto=PROTO_CURRENT)
Expand a potentially local URL to a fully-qualified URL.
getCacheMode( $params)
Get the cache mode for the data generated by this module.