wiki.techinc.nl/includes
Roan Kattouw 880f09b10c (bug 27302) Avoid unnecessary requests for user and site modules if the relevant wiki pages don't exist.
Done by adding isKnownEmpty() to ResourceLoaderModule and overriding it to check for page existence in ResourceLoaderWikiModule. Needed to rearrange some code in OutputPage::makeResourceLoaderLink() to have the emptiness check and dropping of modules work properly. Also factored the page_touched check in ResourceLoaderWikiModule::getModifiedTime() out to a separate method (getTitleMtimes()) and moved in-object caching there as well, so getModifiedTime() and isKnownEmpty() share code and caching for their timestamp/existence checks.

This does not account for the case where e.g. a user has user CSS but no user JS: I had implemented this by checking for $context->getOnly() in getTitleMtimes(), but then realized it's not safe to do this in a function called by getModifiedTime(): it causes the timestamp list in the startup module to only take scripts in account for wiki modules, because the startup module has &only=scripts set
2011-02-19 17:07:05 +00:00
..
api More parameter documentation 2011-02-19 00:30:18 +00:00
db More function level documentation 2011-02-19 00:44:38 +00:00
diff Remove unreachable line in DifferenceEngine 2011-02-18 01:06:04 +00:00
extauth Remove false related to failfunction... 2011-02-02 11:38:25 +00:00
filerepo More function level documentation 2011-02-18 23:56:08 +00:00
installer Bug 27518: Updater calls PopulateLogSearch before adding logging.log_user_text; populateLogUsertext not called 2011-02-19 11:49:14 +00:00
job w/s fixups 2011-02-12 04:06:22 +00:00
json Follow up r82091, which uses the local file constant SERVICES_JSON_LOOSE_TYPE. 2011-02-19 16:59:34 +00:00
libs (bug 27328) Redo r82218 properly, expanding URLs with absolute paths 2011-02-19 14:58:16 +00:00
media Close the xmlreader when we are done with it. 2011-02-19 15:42:02 +00:00
normal * (bug 25708) Update case mappings and normalization to Unicode 6.0.0 2011-01-09 12:04:28 +00:00
parser More function and variable documentation 2011-02-19 01:02:56 +00:00
resourceloader (bug 27302) Avoid unnecessary requests for user and site modules if the relevant wiki pages don't exist. 2011-02-19 17:07:05 +00:00
revisiondelete Fix up few remaining fixme things from r69910 2010-12-14 15:44:16 +00:00
search More function and variable documentation 2011-02-19 01:02:56 +00:00
specials get rid of unnecessary double quotes 2011-02-19 02:09:53 +00:00
templates bug 10158 : do not mention allowing others to contact you if $wgEnableUserEmail=false 2011-01-14 16:53:36 +00:00
upload Bug #26059 — Add support for KML/KMZ filetype 2011-02-19 03:22:03 +00:00
zhtable Follow r80973, fix a tiny error. 2011-01-25 17:28:15 +00:00
.htaccess
AjaxDispatcher.php Yet more additions of wfProfileOut() 2011-02-10 16:39:53 +00:00
AjaxFunctions.php
AjaxResponse.php
Article.php Follow up r63584. The change of resetArticleID() could have all kinds of 2011-02-18 23:44:18 +00:00
AuthPlugin.php
AutoLoader.php Bug 27518: Updater calls PopulateLogSearch before adding logging.log_user_text; populateLogUsertext not called 2011-02-19 11:49:14 +00:00
Autopromote.php
BacklinkCache.php
BagOStuff.php Adding more wfProfileOut() 2011-02-10 16:11:34 +00:00
Block.php Followup r73348, r70608: move 'infinity' stuff to DB classes 2011-01-05 13:43:13 +00:00
CacheDependency.php
Category.php
Categoryfinder.php
CategoryPage.php Revert r70418, r70959: direct use of $_GET is not needed anymore since we no longer use null characters as separators as of r80443. 2011-01-20 06:42:45 +00:00
Cdb.php
Cdb_PHP.php
ChangesFeed.php Pass the url to ChangesFeed::getFeedObject() instead of grabbing it from $wgTitle 2011-02-17 19:26:38 +00:00
ChangesList.php Follow-up r79084: synchronise keys. 2010-12-27 20:02:10 +00:00
ChangeTags.php * Added a third parameter to ChangeTags::buildTagFilterSelector() to pass the Title object instead of using $wgTitle, only used when the second parameter is true (no such call both in core and extensions) 2011-02-18 16:03:07 +00:00
Collation.php Update comments to take into account r80443 and r80614 changes, per CR. 2011-01-28 22:27:52 +00:00
ConfEditor.php w/s fixups 2011-02-12 04:06:22 +00:00
Credits.php
DefaultSettings.php Bug #26059 — Add support for KML/KMZ filetype 2011-02-19 03:22:03 +00:00
Defines.php Bug #26059 — Add support for KML/KMZ filetype 2011-02-19 03:22:03 +00:00
DjVuImage.php Add profiling to DjVuImage::retrieveMetaData 2011-02-10 16:40:59 +00:00
EditPage.php Followup bug #27447 and r82308 and r82328 with patch supplied by 2011-02-17 18:41:44 +00:00
Exception.php Partial revert of r79903, unstubbing needs localisation cache which might need database 2011-01-09 18:31:52 +00:00
Exif.php Throw an exception instead of low-level PHP fatal error if something invokes the Exif() class when exif functions aren't actually present. (Discovered with PagedTiffHandler enabled on my test machine.) 2010-12-26 20:39:21 +00:00
Export.php Yet more additions of wfProfileOut() 2011-02-10 16:39:53 +00:00
ExternalEdit.php (bug 26716, well partially anyways. kind of second half of r80608) Add a comment to external editor ini control file explaining 2011-01-20 01:49:49 +00:00
ExternalStore.php
ExternalStoreDB.php
ExternalStoreHttp.php
ExternalUser.php
FakeTitle.php
Fallback.php Fix r79494: Don't prefix functions now that they're in their own class 2011-01-04 01:44:11 +00:00
Feed.php Spell false with small latter 2011-01-11 14:28:35 +00:00
FeedUtils.php
FileDeleteForm.php
FileRevertForm.php
ForkController.php
FormOptions.php
GenderCache.php Followup r82029 - typo in comment 2011-02-12 21:05:27 +00:00
GlobalFunctions.php * (bug 26250, bug 23817) Fix wfObjectToArray() to descend into arrays; fixes processing of JSON return values for ForeignAPIRepo when native json module not present 2011-02-13 23:04:34 +00:00
HistoryBlob.php Change old php4 style constructor 2010-12-15 22:41:06 +00:00
HistoryPage.php Remove unused $wgContLang globals after refactoring at r81456 and r81456 2011-02-08 22:40:07 +00:00
Hooks.php Hooks.php: trim trailing spaces, tweak docs, etc. 2011-01-26 16:50:31 +00:00
Html.php Html::expandAttributes( array( 'foo' => null ) ); ' foo=""' -> '' 2011-02-05 20:28:04 +00:00
HTMLCacheUpdate.php Misc whitespace changes, mostly EOL w/s and indention fixes so TAB = 4 spaces 2010-12-19 04:31:15 +00:00
HTMLFileCache.php followup to r77843: fix off by one error 2010-12-06 00:36:54 +00:00
HTMLForm.php revert r82283, loads of unrelated changes 2011-02-16 19:51:25 +00:00
HttpFunctions.old.php
HttpFunctions.php Allow callback to be set by options array, inspired by bug 27391 2011-02-14 17:16:39 +00:00
ImageFunctions.php
ImageGallery.php followup r82181 and r82215 to fix the FIXME and botched fix for FIXME. 2011-02-16 23:21:19 +00:00
ImagePage.php Partial revert my accidental revert of r82366 in r82445. 2011-02-19 16:25:02 +00:00
ImageQueryPage.php Followup r78805, remove now unused function 2010-12-22 16:28:52 +00:00
Import.php Kill the XMLReader2 class in response to Tim's code review comments on r68587 2011-02-03 01:25:09 +00:00
Interwiki.php Implement Message::isBlank and Message::isDisabled. 2011-01-14 10:51:05 +00:00
IP.php Follow-up r82093: fixed comment :) 2011-02-13 23:30:26 +00:00
Licenses.php Implement Message::isBlank and Message::isDisabled. 2011-01-14 10:51:05 +00:00
LinkBatch.php * (bug 17160) Gender specific display text for User namespace 2011-02-12 20:40:40 +00:00
LinkCache.php w/s fixups 2011-02-12 04:06:22 +00:00
Linker.php Fix the wrong merge of r81894 after r81893 2011-02-10 16:47:19 +00:00
LinkFilter.php
LinksUpdate.php Remove unused variables 2011-02-18 01:10:38 +00:00
LocalisationCache.php * Fix for r81960: List the local magic word synonyms first, so that they will be returned by $magic->getSynonym( 0 ). Apply array_values() to fix up the keys, potentially corrupted by array_unique(). 2011-02-16 07:24:36 +00:00
LogEventsList.php We have a OutputPage object; so use it to get the Title object instead of $wgTitle 2011-02-19 12:31:50 +00:00
LogPage.php Fix mistake in r80248 and restructure a bit 2011-01-15 12:46:37 +00:00
MacBinary.php
MagicWord.php * Fix for r81960: List the local magic word synonyms first, so that they will be returned by $magic->getSynonym( 0 ). Apply array_values() to fix up the keys, potentially corrupted by array_unique(). 2011-02-16 07:24:36 +00:00
Math.php
memcached-client.php Few braces and spaces 2010-11-30 19:06:28 +00:00
MemcachedSessions.php
Message.php Fixed two bugs in message parameter handling: 2011-02-10 09:10:47 +00:00
MessageBlobStore.php (bug 26535) Variable naming collision in MessageBlobStore::updateMessage() caused exception ('Non-string key given' in MessageCache) when conflicted updates were retried. 2011-01-06 15:13:24 +00:00
MessageCache.php revert r77452, r80492 and r82246. 2011-02-16 16:07:58 +00:00
Metadata.php
mime.info Bug #26059 — Add support for KML/KMZ filetype 2011-02-19 03:22:03 +00:00
mime.types Bug #26059 — Add support for KML/KMZ filetype 2011-02-19 03:22:03 +00:00
MimeMagic.php Cleanup MimeMagic: Add public identifier to functions; kill error operator; Cleanup function documentation; Manual stylize 2011-02-06 22:47:10 +00:00
MWFunction.php Forcing array breaks MWFunction with <2 parameters 2011-01-04 01:51:48 +00:00
Namespace.php * (bug 17160) Gender specific display text for User namespace 2011-02-12 20:40:40 +00:00
ObjectCache.php Remove unreachable line in DifferenceEngine 2011-02-18 01:06:04 +00:00
OutputHandler.php
OutputPage.php (bug 27302) Avoid unnecessary requests for user and site modules if the relevant wiki pages don't exist. 2011-02-19 17:07:05 +00:00
PageQueryPage.php Merge querypage-work2 branch from trunk. The most relevant changes are: 2010-12-22 14:16:25 +00:00
Pager.php Follow-up r82391 per Nikerabbit's CR: Fix it in a better way 2011-02-18 15:14:08 +00:00
PatrolLog.php
PoolCounter.php
Preferences.php * (bug 22606) Follow-up r63059: don't send the "someone registred an account" message when setting email address (i.e. old one empty) in user preferences 2011-01-29 09:32:02 +00:00
PrefixSearch.php * (bug 25675) Fix search suggestions for Special: pages with spaces 2011-02-14 00:32:13 +00:00
Profiler.php Move the overhead computation to another function. 2011-02-10 16:54:51 +00:00
ProfilerSimple.php
ProfilerSimpleText.php
ProfilerSimpleTrace.php Remove a couple of unused variables, add spaces, wrap some long lines 2010-11-30 18:33:59 +00:00
ProfilerSimpleUDP.php
ProfilerStub.php
ProtectionForm.php We have OutputPage::showPermissionsErrorPage() for that 2011-02-08 15:19:49 +00:00
proxy_check.php
ProxyTools.php
QueryPage.php w/s fixups 2011-02-12 04:06:22 +00:00
RawPage.php Implement Message::isBlank and Message::isDisabled. 2011-01-14 10:51:05 +00:00
RecentChange.php Documentation format 2011-01-05 23:08:13 +00:00
Revision.php Fixup a couple of parameter documentation bits 2011-02-11 22:06:46 +00:00
Sanitizer.php (bug 27093, CVE-2011-0047): Fixed CSS injection vulnerability. The StringUtils.php patch is by Roan, the Sanitizer.php patch is by me. 2011-02-01 22:36:43 +00:00
SeleniumWebSettings.php Follow up to #79421. Cleaned up some globals and some typos. Going to follow up with some actual test changes 2011-01-11 00:36:36 +00:00
Setup.php Merged retrieval of request URL and header from WebRequest and Setup.php to avoid duplicate code and reduced the number of wfDebug() calls in Setup.php. 2011-02-19 13:09:17 +00:00
SiteConfiguration.php More unused variables 2010-11-30 18:44:50 +00:00
SiteStats.php Swap "or" to || 2011-01-31 16:41:19 +00:00
Skin.php * Use $this->mTitle instead of $wgTitle 2011-02-19 13:39:09 +00:00
SkinLegacy.php * Use OutputPage::getSyndicationLinks() to build feed links 2011-02-19 14:40:56 +00:00
SkinTemplate.php * Use appendQueryValue() instead of appendQuery() so that if e.g. printable=no is already present in the URL, it doesn't become printable=no&printable=yes 2011-02-18 12:25:22 +00:00
SpecialPage.php w/s fixups 2011-02-12 04:06:22 +00:00
SquidPurgeClient.php More unused variables 2010-11-30 18:44:50 +00:00
SquidUpdate.php
Status.php More function level documentation 2011-02-19 00:44:38 +00:00
StreamFile.php Remove some unused variables and globals 2010-11-28 16:13:13 +00:00
StringUtils.php (bug 27093, CVE-2011-0047): Fixed CSS injection vulnerability. The StringUtils.php patch is by Roan, the Sanitizer.php patch is by me. 2011-02-01 22:36:43 +00:00
StubObject.php (bug 27094) fix path traversal vulnerability 2011-02-01 22:43:58 +00:00
tidy.conf
Title.php * (bug 17160) Gender specific display text for User namespace 2011-02-12 20:40:40 +00:00
TitleArray.php
User.php revert r82283, loads of unrelated changes 2011-02-16 19:51:25 +00:00
UserArray.php
UserMailer.php When using safe_mode, mail() cannot take the 5th parameter. Rather than (needlessly) disabling e-mail confirmation as a result, just disregard the parameter. Pointed out by Kunda on IRC. 2010-12-15 19:55:08 +00:00
UserRightsProxy.php
ViewCountUpdate.php Per Platonides, fix for r79430: removed debugging code 2011-01-01 21:57:32 +00:00
WatchedItem.php Add profiling to removeWatch 2011-02-13 19:12:24 +00:00
WatchlistEditor.php w/s fixups 2011-02-12 04:06:22 +00:00
WebRequest.php Merged retrieval of request URL and header from WebRequest and Setup.php to avoid duplicate code and reduced the number of wfDebug() calls in Setup.php. 2011-02-19 13:09:17 +00:00
WebResponse.php
WebStart.php Per my comment on r68760: Make MWfunction class, complete with call_user_func helper functions that automatically 2011-01-02 06:48:07 +00:00
Wiki.php * Modified Article::loadPageData() to use a slave database connection and pageDataFromTitle() instead of pageDataFromId() in the default case, as in Wiki.php (this also saves a query since the ID will be fetched with other fileds) 2011-01-03 19:50:01 +00:00
WikiError.php * (bug 23119) WikiError class and subclasses are now marked as deprecated 2010-12-06 10:09:43 +00:00
WikiMap.php
Xml.php * (bug 25571) Xml::encodeJsVar now passes floats natively instead of converting to strings 2011-02-14 00:54:40 +00:00
XmlTypeCheck.php
ZhClient.php
ZhConversion.php Follow r80973, fix a tiny error. 2011-01-25 17:28:15 +00:00