wiki.techinc.nl/includes
Tim Starling be76d86932 * Rewrote ObjectCache.php to conform to the modern coding style, and to be less convoluted about how CACHE_ANYTHING and CACHE_ACCEL are resolved. Moved most functionality to static members of a new ObjectCache class.
* Moved the global functions to GlobalFunctions.php, where they are now just convenience wrappers. Made them return non-references. Updated callers (none found in extensions). 
* Added an advanced configuration method, $wgObjectCaches, which allows a lot more detail in the object cache configuration than $wgMainCacheType. 
* Made all object cache classes derive from BagOStuff. 
* Split the MWMemcached class into a generic client class and a MediaWiki-specific wrapper class. The wrapper class presents a simple BagOStuff interface to calling code, hiding memcached client internals, and will simplify the task of supporting the PECL extension.
* Added some extra constructor parameters to MWMemcached, configurable via $wgObjectCaches.
* Removed the *_multi() methods from BagOStuff, my grepping indicates that they are not used.
* Rewrote FakeMemCachedClient as a BagOStuff subclass, called EmptyBagOStuff.
* Added an optional "server" parameter to SQLBagOStuff. This allows the server holding the objectcache table to be different from the server holding the core DB.
* Added MultiWriteBagOStuff: a cache class which writes to multiple locations, and reads from them in a defined fallback sequence. This can be used to extend the cache space by adding disk-backed storage to existing in-memory caches.
* Made MWMemcached::get() return false on failure instead of null, to match the BagOStuff documentation and the other BagOStuff subclasses. Anything that was relying on it returning null would have already been broken with SqlBagOStuff.
* Fixed a bug in the memcached client causing keys with spaces or line breaks in them to break the memcached protocol, injecting arbitrary commands or parameters. Since the PECL client apparently also has this flaw, I implemented the fix in the wrapper class.
* Renamed BagOStuff::set_debug() to setDebug(), since we aren't emulating the memcached client anymore
* Fixed spelling error in MWMemcached: persistant -> persistent
2011-03-03 09:37:37 +00:00
..
api Fix typo in @param comment 2011-03-02 13:07:15 +00:00
db * forgot about those ... 2011-03-01 13:58:50 +00:00
diff spaces, added some braces to DairikiDiff.php 2011-02-20 19:04:58 +00:00
extauth Remove false related to failfunction... 2011-02-02 11:38:25 +00:00
filerepo Revert r69907, r69908, r70264, r70296: introduces bug 27477. 2011-03-02 21:06:54 +00:00
installer Localisation updates for core and extension messages from translatewiki.net (2011-03-02 20:08:00 UTC) 2011-03-02 20:25:35 +00:00
job Commit some uncommited documentation from my w/c 2011-02-28 16:37:34 +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 (bug 27809) Check for availability of imagerotate function before using it 2011-03-02 19:42:30 +00:00
normal * (bug 25708) Update case mappings and normalization to Unicode 6.0.0 2011-01-09 12:04:28 +00:00
objectcache * Rewrote ObjectCache.php to conform to the modern coding style, and to be less convoluted about how CACHE_ANYTHING and CACHE_ACCEL are resolved. Moved most functionality to static members of a new ObjectCache class. 2011-03-03 09:37:37 +00:00
parser Fixed fatal error in Preprocessor_Hash due to r82645 2011-02-28 02:40:39 +00:00
resourceloader doxygen can use @code ! 2011-03-02 20:28:32 +00:00
revisiondelete More function documentation 2011-02-19 22:08:26 +00:00
search Ununsed variables 2011-02-23 12:35:41 +00:00
specials remove wfVarDump() statement 2011-03-02 20:41:51 +00:00
templates (bug 1379) Installer directory conflicts with some hosts' configuration panel. 2011-02-26 12:35:23 +00:00
upload Tweak documentation 2011-02-27 21:11:45 +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 Followup r82727, improve comments, cast return value to bool 2011-02-24 16:00:06 +00:00
AuthPlugin.php
AutoLoader.php * Rewrote ObjectCache.php to conform to the modern coding style, and to be less convoluted about how CACHE_ANYTHING and CACHE_ACCEL are resolved. Moved most functionality to static members of a new ObjectCache class. 2011-03-03 09:37:37 +00:00
Autopromote.php
BacklinkCache.php
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 Ununsed variables 2011-02-23 12:35:41 +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 * Rewrote ObjectCache.php to conform to the modern coding style, and to be less convoluted about how CACHE_ANYTHING and CACHE_ACCEL are resolved. Moved most functionality to static members of a new ObjectCache class. 2011-03-03 09:37:37 +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 More member variable documentation 2011-02-24 17:04:49 +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 Move the include_path finding code to Fallback class. 2011-02-26 22:37:58 +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 FormOptions: adds doc & tests 2011-02-28 20:58:34 +00:00
GenderCache.php Followup r82029 - typo in comment 2011-02-12 21:05:27 +00:00
GlobalFunctions.php * Rewrote ObjectCache.php to conform to the modern coding style, and to be less convoluted about how CACHE_ANYTHING and CACHE_ACCEL are resolved. Moved most functionality to static members of a new ObjectCache class. 2011-03-03 09:37:37 +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
HTMLForm.php revert r82283, loads of unrelated changes 2011-02-16 19:51:25 +00:00
HttpFunctions.old.php
HttpFunctions.php Fix typo in @param comment 2011-03-02 13:07:15 +00:00
ImageFunctions.php
ImageGallery.php Gallery's perrow was overwriting the original style= attribute. 2011-02-20 21:31:15 +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 All functions of the importer have $title, origTitle, but processTitle() returned $title, origTitle. 2011-02-19 20:35:51 +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 typo from r83073 2011-03-02 10:59:30 +00:00
LinkFilter.php
LinksUpdate.php Remove unused variables 2011-02-18 01:10:38 +00:00
LocalisationCache.php Followup for r81340: 2011-02-28 03:15:39 +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
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 Add mime type/info for .eml files 2011-02-28 00:05:04 +00:00
mime.types Add mime type/info for .eml files 2011-02-28 00:05:04 +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 Remove unreachable return 2011-02-27 00:29:21 +00:00
OutputHandler.php
OutputPage.php * (bug 27680) Fix for r82273: wgCanonicalSpecialPageName no longer false when requesting a special page with subpage parameter 2011-02-25 11:48:14 +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
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 Followup r82641, set default for 2nd param 2011-02-22 23:40:48 +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 27539) Allow attributes beginning with a digit in wiktext tag parameters. 2011-02-19 20:16:54 +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 * Rewrote ObjectCache.php to conform to the modern coding style, and to be less convoluted about how CACHE_ANYTHING and CACHE_ACCEL are resolved. Moved most functionality to static members of a new ObjectCache class. 2011-03-03 09:37:37 +00:00
SiteConfiguration.php
SiteStats.php Swap "or" to || 2011-01-31 16:41:19 +00:00
Skin.php Per Reedy, fix for r82034: forgot to change a wfGetCacheNotice() call (and also changed a comment) 2011-03-01 08:52:38 +00:00
SkinLegacy.php * Use OutputPage::getSyndicationLinks() to build feed links 2011-02-19 14:40:56 +00:00
SkinTemplate.php Ununsed variables 2011-02-23 12:35:41 +00:00
SpecialPage.php w/s fixups 2011-02-12 04:06:22 +00:00
SquidPurgeClient.php Commit some uncommited documentation from my w/c 2011-02-28 16:37:34 +00:00
SquidUpdate.php
Status.php * (bug 24230) Added JAR detection. ZIP archives containing a .class file will be rejected by default. Malformed ZIP archives will be rejected due to the danger of ambiguous parsing on the client side. 2011-02-25 04:51:17 +00:00
StreamFile.php
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 Missing line break in wfDebug() call 2011-03-01 08:55:13 +00:00
TitleArray.php
User.php Follow-up r83080: forogt to commit this (oops) 2011-03-02 13:13:51 +00:00
UserArray.php
UserMailer.php Tweak some documentation 2011-02-27 00:40:06 +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 Per Platonides, fix for r82686: make ApiUploadTest work again 2011-03-02 12:52:47 +00:00
WebResponse.php
WebStart.php Tweak comment, we don't create LS in the conf dir anymore, you have to upload it 2011-02-26 12:56:32 +00:00
Wiki.php * (bug 27761) Fix regression: pages with Esperanto titles containing convertible character sequences became unreachable 2011-03-01 21:20:40 +00:00
WikiError.php
WikiMap.php
Xml.php Null -> null, reorder docs to match signature 2011-02-26 10:55:44 +00:00
XmlTypeCheck.php
ZhClient.php
ZhConversion.php Follow r80973, fix a tiny error. 2011-01-25 17:28:15 +00:00
ZipDirectoryReader.php Minor fix in ZIP64 code from r82783. Note that this code is, before and after this fix, untested and unused. I only committed it because I thought it might be a helpful starting point for future development. 2011-02-28 02:26:47 +00:00