Go to the documentation of this file.
89 parent::__construct(
false );
92 throw new MWException(
"The calling convention to LinksUpdate::LinksUpdate() has changed. " .
93 "Please see Article::editUpdates() for an invocation example.\n" );
97 throw new MWException(
"The calling convention to LinksUpdate::__construct() has changed. " .
98 "Please see WikiPage::doEditUpdates() for an invocation example.\n" );
102 $this->mId =
$title->getArticleID();
105 throw new MWException(
"The Title object did not provide an article " .
106 "ID. Perhaps the page doesn't exist?" );
109 $this->mParserOutput = $parserOutput;
111 $this->mLinks = $parserOutput->getLinks();
112 $this->mImages = $parserOutput->getImages();
113 $this->mTemplates = $parserOutput->getTemplates();
114 $this->mExternals = $parserOutput->getExternalLinks();
115 $this->mCategories = $parserOutput->getCategories();
116 $this->mProperties = $parserOutput->getProperties();
117 $this->mInterwikis = $parserOutput->getInterwikiLinks();
119 # Convert the format of the interlanguage links
120 # I didn't want to change it in the ParserOutput, because that array is passed all
121 # the way back to the skin, so either a skin API break would be required, or an
122 # inefficient back-conversion.
123 $ill = $parserOutput->getLanguageLinks();
124 $this->mInterlangs =
array();
127 $this->mInterlangs[$key] =
$title;
130 foreach ( $this->mCategories
as &$sortkey ) {
131 # If the sortkey is longer then 255 bytes,
132 # it truncated by DB, and then doesn't get
133 # matched when comparing existing vs current
134 # categories, causing bug 25254.
135 # Also. substr behaves weird when given "".
136 if ( $sortkey !==
'' ) {
137 $sortkey = substr( $sortkey, 0, 255 );
141 $this->mRecursive = $recursive;
162 $this->
incrTableUpdate(
'pagelinks',
'pl', $this->linkDeletions, $this->linkInsertions );
171 # Invalidate all image description pages which had links added or removed
172 $imageUpdates = $imageDeletes + array_diff_key( $this->mImages, $existing );
185 # Inline interwiki links
203 # Invalidate all categories which were added, deleted or changed (set symmetric difference)
204 $categoryInserts = array_diff_assoc( $this->mCategories, $existing );
205 $categoryUpdates = $categoryInserts + $categoryDeletes;
217 # Invalidate the necessary pages
218 $changed = $propertiesDeletes + array_diff_assoc( $this->mProperties, $existing );
221 # Update the links table freshness for this title
224 # Refresh links of all pages including this page
225 # This will be in a separate transaction
226 if ( $this->mRecursive ) {
241 if ( $this->mTitle->getNamespace() ==
NS_FILE ) {
255 if (
$title->getBacklinkCache()->hasLinks( $table ) ) {
262 "refreshlinks:{$table}:{$title->getPrefixedText()}"
285 $a->updateCategoryCounts(
286 array_keys( $added ), array_keys( $deleted )
305 if ( $table ==
'page_props' ) {
306 $fromField =
'pp_page';
308 $fromField =
"{$prefix}_from";
310 $where =
array( $fromField => $this->mId );
311 if ( $table ==
'pagelinks' || $table ==
'templatelinks' || $table ==
'iwlinks' ) {
312 if ( $table ==
'iwlinks' ) {
313 $baseKey =
'iwl_prefix';
315 $baseKey =
"{$prefix}_namespace";
317 $clause = $this->mDb->makeWhereFrom2d( $deletions, $baseKey,
"{$prefix}_title" );
324 if ( $table ==
'langlinks' ) {
325 $toField =
'll_lang';
326 } elseif ( $table ==
'page_props' ) {
327 $toField =
'pp_propname';
329 $toField = $prefix .
'_to';
331 if ( count( $deletions ) ) {
332 $where[$toField] = array_keys( $deletions );
338 $this->mDb->delete( $table, $where, __METHOD__ );
340 if ( count( $insertions ) ) {
341 $this->mDb->insert( $table, $insertions, __METHOD__,
'IGNORE' );
342 wfRunHooks(
'LinksUpdateAfterInsert',
array( $this, $table, $insertions ) );
354 foreach ( $this->mLinks
as $ns => $dbkeys ) {
355 $diffs = isset( $existing[$ns] )
356 ? array_diff_key( $dbkeys, $existing[$ns] )
358 foreach ( $diffs
as $dbk => $id ) {
360 'pl_from' => $this->mId,
361 'pl_namespace' => $ns,
377 foreach ( $this->mTemplates
as $ns => $dbkeys ) {
378 $diffs = isset( $existing[$ns] ) ? array_diff_key( $dbkeys, $existing[$ns] ) : $dbkeys;
379 foreach ( $diffs
as $dbk => $id ) {
381 'tl_from' => $this->mId,
382 'tl_namespace' => $ns,
399 $diffs = array_diff_key( $this->mImages, $existing );
400 foreach ( $diffs
as $iname => $dummy ) {
402 'il_from' => $this->mId,
417 $diffs = array_diff_key( $this->mExternals, $existing );
418 foreach ( $diffs
as $url => $dummy ) {
421 'el_id' => $this->mDb->nextSequenceValue(
'externallinks_el_id_seq' ),
424 'el_index' => $index,
442 $diffs = array_diff_assoc( $this->mCategories, $existing );
444 foreach ( $diffs
as $name => $prefix ) {
448 if ( $this->mTitle->getNamespace() ==
NS_CATEGORY ) {
450 } elseif ( $this->mTitle->getNamespace() ==
NS_FILE ) {
456 # Treat custom sortkeys as a prefix, so that if multiple
457 # things are forced to sort as '*' or something, they'll
458 # sort properly in the category rather than in page_id
461 $this->mTitle->getCategorySortkey( $prefix ) );
464 'cl_from' => $this->mId,
466 'cl_sortkey' => $sortkey,
467 'cl_timestamp' => $this->mDb->timestamp(),
468 'cl_sortkey_prefix' => $prefix,
469 'cl_collation' => $wgCategoryCollation,
485 $diffs = array_diff_assoc( $this->mInterlangs, $existing );
487 foreach ( $diffs
as $lang =>
$title ) {
489 'll_from' => $this->mId,
504 $diffs = array_diff_assoc( $this->mProperties, $existing );
508 'pp_page' => $this->mId,
509 'pp_propname' =>
$name,
525 foreach ( $this->mInterwikis
as $prefix => $dbkeys ) {
526 $diffs = isset( $existing[$prefix] )
527 ? array_diff_key( $dbkeys, $existing[$prefix] )
530 foreach ( $diffs
as $dbk => $id ) {
532 'iwl_from' => $this->mId,
533 'iwl_prefix' => $prefix,
550 foreach ( $existing
as $ns => $dbkeys ) {
551 if ( isset( $this->mLinks[$ns] ) ) {
552 $del[$ns] = array_diff_key( $existing[$ns], $this->mLinks[$ns] );
554 $del[$ns] = $existing[$ns];
569 foreach ( $existing
as $ns => $dbkeys ) {
570 if ( isset( $this->mTemplates[$ns] ) ) {
571 $del[$ns] = array_diff_key( $existing[$ns], $this->mTemplates[$ns] );
573 $del[$ns] = $existing[$ns];
587 return array_diff_key( $existing, $this->mImages );
597 return array_diff_key( $existing, $this->mExternals );
607 return array_diff_assoc( $existing, $this->mCategories );
617 return array_diff_assoc( $existing, $this->mInterlangs );
626 return array_diff_assoc( $existing, $this->mProperties );
637 foreach ( $existing
as $prefix => $dbkeys ) {
638 if ( isset( $this->mInterwikis[$prefix] ) ) {
639 $del[$prefix] = array_diff_key( $existing[$prefix], $this->mInterwikis[$prefix] );
641 $del[$prefix] = $existing[$prefix];
654 $res = $this->mDb->select(
'pagelinks',
array(
'pl_namespace',
'pl_title' ),
655 array(
'pl_from' => $this->mId ), __METHOD__, $this->mOptions );
658 if ( !isset( $arr[$row->pl_namespace] ) ) {
659 $arr[$row->pl_namespace] =
array();
661 $arr[$row->pl_namespace][$row->pl_title] = 1;
673 $res = $this->mDb->select(
'templatelinks',
array(
'tl_namespace',
'tl_title' ),
674 array(
'tl_from' => $this->mId ), __METHOD__, $this->mOptions );
677 if ( !isset( $arr[$row->tl_namespace] ) ) {
678 $arr[$row->tl_namespace] =
array();
680 $arr[$row->tl_namespace][$row->tl_title] = 1;
692 $res = $this->mDb->select(
'imagelinks',
array(
'il_to' ),
693 array(
'il_from' => $this->mId ), __METHOD__, $this->mOptions );
695 foreach (
$res as $row ) {
696 $arr[$row->il_to] = 1;
708 $res = $this->mDb->select(
'externallinks',
array(
'el_to' ),
709 array(
'el_from' => $this->mId ), __METHOD__, $this->mOptions );
711 foreach (
$res as $row ) {
712 $arr[$row->el_to] = 1;
724 $res = $this->mDb->select(
'categorylinks',
array(
'cl_to',
'cl_sortkey_prefix' ),
725 array(
'cl_from' => $this->mId ), __METHOD__, $this->mOptions );
727 foreach (
$res as $row ) {
728 $arr[$row->cl_to] = $row->cl_sortkey_prefix;
741 $res = $this->mDb->select(
'langlinks',
array(
'll_lang',
'll_title' ),
742 array(
'll_from' => $this->mId ), __METHOD__, $this->mOptions );
744 foreach (
$res as $row ) {
745 $arr[$row->ll_lang] = $row->ll_title;
756 $res = $this->mDb->select(
'iwlinks',
array(
'iwl_prefix',
'iwl_title' ),
757 array(
'iwl_from' => $this->mId ), __METHOD__, $this->mOptions );
760 if ( !isset( $arr[$row->iwl_prefix] ) ) {
761 $arr[$row->iwl_prefix] =
array();
763 $arr[$row->iwl_prefix][$row->iwl_title] = 1;
775 $res = $this->mDb->select(
'page_props',
array(
'pp_propname',
'pp_value' ),
776 array(
'pp_page' => $this->mId ), __METHOD__, $this->mOptions );
778 foreach (
$res as $row ) {
779 $arr[$row->pp_propname] = $row->pp_value;
815 global $wgPagePropLinkInvalidations;
818 if ( isset( $wgPagePropLinkInvalidations[
$name] ) ) {
819 $inv = $wgPagePropLinkInvalidations[
$name];
820 if ( !is_array( $inv ) ) {
823 foreach ( $inv
as $table ) {
837 if ( $this->linkInsertions ===
null ) {
841 foreach ( $this->linkInsertions
as $insertion ) {
854 if ( $this->linkDeletions ===
null ) {
858 foreach ( $this->linkDeletions
as $ns =>
$titles ) {
873 $timestamp = $this->mParserOutput->getCacheTime();
874 $this->mDb->update(
'page',
876 array(
'page_id' => $this->mId ),
897 parent::__construct(
false );
899 $this->mPage = $page;
902 throw new MWException(
"Page ID not known, perhaps the page doesn't exist?" );
910 $title = $this->mPage->getTitle();
911 $id = $this->mPage->getId();
913 # Delete restrictions for it
914 $this->mDb->delete(
'page_restrictions',
array(
'pr_page' => $id ), __METHOD__ );
916 # Fix category table counts
918 $res = $this->mDb->select(
'categorylinks',
'cl_to',
array(
'cl_from' => $id ), __METHOD__ );
920 foreach (
$res as $row ) {
921 $cats[] = $row->cl_to;
924 $this->mPage->updateCategoryCounts(
array(), $cats );
926 # If using cascading deletes, we can skip some explicit deletes
927 if ( !$this->mDb->cascadingDeletes() ) {
928 # Delete outgoing links
929 $this->mDb->delete(
'pagelinks',
array(
'pl_from' => $id ), __METHOD__ );
930 $this->mDb->delete(
'imagelinks',
array(
'il_from' => $id ), __METHOD__ );
931 $this->mDb->delete(
'categorylinks',
array(
'cl_from' => $id ), __METHOD__ );
932 $this->mDb->delete(
'templatelinks',
array(
'tl_from' => $id ), __METHOD__ );
933 $this->mDb->delete(
'externallinks',
array(
'el_from' => $id ), __METHOD__ );
934 $this->mDb->delete(
'langlinks',
array(
'll_from' => $id ), __METHOD__ );
935 $this->mDb->delete(
'iwlinks',
array(
'iwl_from' => $id ), __METHOD__ );
936 $this->mDb->delete(
'redirect',
array(
'rd_from' => $id ), __METHOD__ );
937 $this->mDb->delete(
'page_props',
array(
'pp_page' => $id ), __METHOD__ );
940 # If using cleanup triggers, we can skip some manual deletes
941 if ( !$this->mDb->cleanupTriggers() ) {
942 # Clean up recentchanges entries...
943 $this->mDb->delete(
'recentchanges',
945 'rc_namespace' =>
$title->getNamespace(),
946 'rc_title' =>
$title->getDBkey() ),
948 $this->mDb->delete(
'recentchanges',
949 array(
'rc_type != ' .
RC_LOG,
'rc_cur_id' => $id ),
961 $a->updateCategoryCounts(
962 array_keys( $added ), array_keys( $deleted )
getInterlangInsertions( $existing=array())
Get an array of interlanguage link insertions.
getTemplateDeletions( $existing)
Given an array of existing templates, returns those templates which are not in $this and thus should ...
static & makeTitle( $ns, $title, $fragment='', $interwiki='')
Create a new Title from a namespace index and a DB key.
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
getCategoryDeletions( $existing)
Given an array of existing categories, returns those categories which are not in $this and thus shoul...
doUpdate()
Update link tables with outgoing links from an updated article.
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
getInterwikiDeletions( $existing)
Given an array of existing interwiki links, returns those links which are not in $this and thus shoul...
invalidatePages( $namespace, array $dbkeys)
Invalidate the cache of a list of pages from a single namespace.
wfMakeUrlIndexes( $url)
Make URL indexes, appropriate for the el_index field of externallinks.
static queueRecursiveJobsForTable(Title $title, $table)
Queue a RefreshLinks job for any table.
wfProfileIn( $functionname)
Begin profiling of a function.
int $mId
Page ID of the article linked from *.
array $mCategories
Map of category names to sort keys *.
__construct(WikiPage $page)
Constructor.
Class representing a MediaWiki article and history.
array $mImages
DB keys of the images used, in the array key only *.
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
getImageDeletions( $existing)
Given an array of existing images, returns those images which are not in $this and thus should be del...
invalidateImageDescriptions( $images)
set to $title object and return false for a match for latest after cache objects are set use the ContentHandler facility to handle CSS and JavaScript for highlighting & $link
updateLinksTimestamp()
Update links table freshness.
getExternalDeletions( $existing)
Given an array of existing external links, returns those links which are not in $this and thus should...
getPropertyInsertions( $existing=array())
Get an array of page property insertions.
queueRecursiveJobs()
Queue recursive jobs for this page.
getExistingImages()
Get an array of existing images, image names in the keys.
incrTableUpdate( $table, $prefix, $deletions, $insertions)
Update a table by doing a delete query then an insert query.
getExistingTemplates()
Get an array of existing templates, as a 2-D array.
static factory(Title $title)
Create a WikiPage object of the appropriate class for the given title.
array $mTemplates
Map of title strings to IDs for the template references, including broken ones *.
array $mProperties
Map of arbitrary name to value *.
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
getInterlangDeletions( $existing)
Given an array of existing interlanguage links, returns those links which are not in $this and thus s...
WikiPage $mPage
The WikiPage that was deleted *.
invalidateProperties( $changed)
Invalidate any necessary link lists related to page property changes.
wfProfileOut( $functionname='missing')
Stop profiling of a function.
wfRunHooks( $event, array $args=array(), $deprecatedVersion=null)
Call hook functions defined in $wgHooks.
getImageInsertions( $existing=array())
Get an array of image insertions Skips the names specified in $existing.
null array $linkInsertions
Added links if calculated.
the array() calling protocol came about after MediaWiki 1.4rc1.
List of Api Query prop modules.
when a variable name is used in a it is silently declared as a new masking the global
__construct( $title, $parserOutput, $recursive=true)
Constructor.
getExistingProperties()
Get an array of existing categories, with the name in the key and sort key in the value.
Title $mTitle
object of the article linked from *
getTitle()
Return the title object of the page being updated.
static newRootJobParams( $key)
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
getExistingInterlangs()
Get an array of existing interlanguage links, with the language code in the key and the title in the ...
ParserOutput $mParserOutput
getParserOutput()
Returns parser output.
doUpdate()
Do some database updates after deletion.
Class to invalidate the HTML cache of all the pages linking to a given title.
getAddedLinks()
Fetch page links added by this LinksUpdate.
static makeTitleSafe( $ns, $title, $fragment='', $interwiki='')
Create a new Title from a namespace index and a DB key.
DatabaseBase $mDb
Database connection reference *.
Job to update link tables for pages.
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
getTemplateInsertions( $existing=array())
Get an array of template insertions.
array $mOptions
SELECT options to be used *.
Database abstraction object.
getLinkInsertions( $existing=array())
Get an array of pagelinks insertions for passing to the DB Skips the titles specified by the 2-D arra...
getExistingCategories()
Get an array of existing categories, with the name in the key and sort key in the value.
null array $linkDeletions
Deleted links if calculated.
Update object handling the cleanup of links tables after a page was deleted.
Abstract base class for update jobs that put some secondary data extracted from article content into ...
getExistingExternals()
Get an array of existing external links, URLs in the keys.
getPropertyDeletions( $existing)
Get array of properties which should be deleted.
getInterwikiInsertions( $existing=array())
Get an array of interwiki insertions for passing to the DB Skips the titles specified by the 2-D arra...
__construct()
Constructor.
getImages()
Return the list of images used as generated by the parser.
array $mInterlangs
ap of language codes to titles *
getCategoryInsertions( $existing=array())
Get an array of category insertions.
Represents a title within MediaWiki.
updateCategoryCounts( $added, $deleted)
Update all the appropriate counts in the category table.
getRemovedLinks()
Fetch page links removed by this LinksUpdate.
array $mExternals
URLs of external links, array key only *.
if(count( $args)< 1) $job
static singleton( $wiki=false)
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
bool $mRecursive
Whether to queue jobs for recursive updates *.
getExternalInsertions( $existing=array())
Get an array of externallinks insertions.
invalidateCategories( $cats)
getExistingLinks()
Get an array of existing links, as a 2-D array.
array $mLinks
Map of title strings to IDs for the links in the document *.
getLinkDeletions( $existing)
Given an array of existing links, returns those links which are not in $this and thus should be delet...
updateCategoryCounts( $added, $deleted)
Update all the appropriate counts in the category table.
getExistingInterwikis()
Get an array of existing inline interwiki links, as a 2-D array.