aboutsummaryrefslogtreecommitdiffstats
path: root/includes/MessageCache.php
Commit message (Collapse)AuthorAgeFilesLines
* Adding cache related stuff to a new 'Cache' subpackageÆvar Arnfjörð Bjarmason2005-04-121-0/+1
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/8268
* Decouple revision.rev_id from text.old_idBrion Vibber2005-03-281-2/+2
| | | | | | | | | | | | | * This will allow the backend text storage to use different id numbers * Revisions noting metadata changes can be added to history without duplicating text (implemented for page move) This changes the revision table schema and requires running update.php or maintenance/archives/patch-rev_text_id.sql on existing test wikis. PostgreSQL table defs are still not in sync, so not updated. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/7964
* Use Revision for individual message loads; not using it for bulk load just ↵Brion Vibber2005-03-191-9/+17
| | | | | | | now; need to modify to do bulk loads efficiently Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/7752
* For custom messages, fall back to the default language's db messagesBrion Vibber2005-03-131-33/+47
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/7676
* * Reduce message cache outage recovery delay from 1 day to 5 minutesBrion Vibber2005-03-081-1/+1
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/7612
* fix phpdoc commentAntoine Musso2005-01-271-0/+1
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/7278
* Allower zh: users to customize the Traditional/Simplified conversion tables. ↵Zheng Zhu2004-12-291-2/+2
| | | | | | | From REL1_4. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/6878
* Merge capitallinks message fixes from REL1_4Brion Vibber2004-12-221-4/+2
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/6760
* Start splitting back-end functions from the Article user-interface class.Brion Vibber2004-12-191-2/+4
| | | | | | | Fix Special:Export for new schema. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/6712
* Merge SCHEMA_WORK into HEAD. Lots of changes, some things are probably broken:Brion Vibber2004-12-191-18/+20
| | | | | | | | | * Page moves/overwrites are a little iffy * Compression might not be working right * Profit! Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/6710
* * Fix message page caching behavior when $wgCapitalLinks is turned offBrion Vibber2004-12-181-2/+5
| | | | | | | after installation and the wiki is subsequently upgraded Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/6705
* * Defer message cache initialization, shaving a few ms off file cache hitsBrion Vibber2004-12-091-1/+12
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/6591
* (bug 1039) mCache may not be an array if cache failures are happening, so ↵Brion Vibber2004-12-081-1/+1
| | | | | | | check before searching it Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/6576
* Code styleBrion Vibber2004-11-211-21/+21
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/6322
* Correcting bugs due to double-prefixing table names. Removing obsolete ↵Tim Starling2004-10-241-1/+1
| | | | | | | Database member functions. Adding comments to Database.php Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/6052
* fix from live site, set->add for "loading".Domas Mituzas2004-10-111-1/+1
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/5809
* For content language, removed language code suffix from the message keys in ↵Zheng Zhu2004-10-111-3/+5
| | | | | | | the mediawiki: namespace. This way languages that do not support multiple variants will see no change in the way the namespace works. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/5804
* * cache standalone messages fetched from DB on memcachedDomas Mituzas2004-10-051-0/+14
| | | | | | | * from DB/memcached on MC:mCache Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/5707
* initial support for partial message cache, the way to have separated messageDomas Mituzas2004-10-041-6/+14
| | | | | | | | cache objects by scope and/or severity, though by leaving rarely used messages standalone on db and/or cached daemons... Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/5679
* first attempt to support multiple language variants in the MediaWiki: namespace.Zheng Zhu2004-09-251-5/+14
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/5478
* removed caching of UI messages; it does not make sense, after all.Zheng Zhu2004-09-251-10/+9
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/5477
* Sorry I forgot to commit the fix...Zheng Zhu2004-09-241-5/+5
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/5460
* hotfix for undefined variableMagnus Manske2004-09-241-1/+1
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/5459
* passing the language object in as parameter when initializing the message cacheZheng Zhu2004-09-241-27/+9
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/5448
* Adding a wgContLang object to handle message translation for the content of ↵Zheng Zhu2004-09-221-9/+28
| | | | | | | the site; wgLang should be used exclusively for UI messages. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/5378
* no real change. (rm trailing whitespace, convert leading spaces to tabs)Arne Heizmann2004-09-201-31/+31
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/5326
* suppress warnings before calling $wgLang->getMessage(), because many ↵Tim Starling2004-09-201-0/+4
| | | | | | | language files generate notices Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/5321
* Re-enable message transformations when we're done building the message list.Brion Vibber2004-09-091-0/+1
| | | | | | | | Fix for bug 435: Page footer variables not replaced when viewing Special:Allmessages http://bugzilla.wikipedia.org/show_bug.cgi?id=435 Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/5188
* Split files and classes in different packages for phpdocumentor. I probably ↵Antoine Musso2004-09-031-0/+3
| | | | | | | changed some double quotes to single and used function foo () { shema Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/5069
* Changing comments layout preparing for generated documentation with ↵Antoine Musso2004-09-021-14/+32
| | | | | | | Phpdocumentor Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/5032
* When using wfMsgNoDB(), *don't use the cached messsages!*Brion Vibber2004-08-301-2/+2
| | | | | | | | This restores Special:Allmessages to working order; previously it was showing the MediaWiki: message in both columns, which is not too helpful. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/4974
* massive double to single quotes conversion. I have not noticed any bug after ↵Antoine Musso2004-08-221-25/+25
| | | | | | | a lot of testing Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/4904
* Fixed profilingTim Starling2004-08-201-2/+2
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/4864
* Add some more profiling pointsBrion Vibber2004-08-191-1/+16
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/4850
* Add MessageCache::clear and use it on initialise/rebuild of messagesBrion Vibber2004-08-111-0/+7
| | | | | | | to clear the object cache. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/4666
* * Support for table name prefixes throughout the code. No support yet for ↵Tim Starling2004-07-181-12/+14
| | | | | | | | | | | | | converting static SQL, which also means no installation. But it has been tested by creating the tables in the ordinary way and then renaming them * DB_WRITE now called DB_MASTER, DB_READ now called DB_SLAVE * Converted to use SQL wrapper functions instead of direct SQL in various places * Experimental method for preserving the chronological order of events when slave servers are used. Untested. * Fixes to the new post-parse existence test feature * Some.. other stuff Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/4318
* OOP calling convention for database functions. DBMS abstraction implemented ↵Tim Starling2004-07-101-8/+14
| | | | | | | by means of functions instead of global variables, PostgreSQL object converted to a subclass instead of a drop-in replacement. Also the beginnings of a flexible table name feature. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/4261
* trying to work around memcached problems on the live siteTim Starling2004-07-101-6/+14
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/4254
* don't cache redirects created by the conversion scriptTim Starling2004-06-041-1/+1
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/3865
* Introducing special page modular extensions, making the board vote special ↵Tim Starling2004-05-151-18/+31
| | | | | | | | | | | | | page the first of these. * Moving common special page handling to SpecialPage.php * Special page lists in the language classes are obsolete, replaced by the list in SpecialPage.php * Special:Specialpages uses the standard page titles wfMsg(pagename) instead of the description list previously contained in the $wgSpecialPagesEn arrays * Ability to add custom messages to the MessageCache. Overridable by the MediaWiki namespace. * Moving board vote functionality from includes/SpecialBoardvote.php to extensions/BoardVote.php Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/3583
* Add an objectcache table for limited caching when memcached isn'tBrion Vibber2004-05-091-15/+11
| | | | | | | | | | available. Currently using for the message cache to avoid reading every message separately. This now is only slightly slower than memcached in my tests when $wgUseDatabaseMessages is enabled, so it's a bit of a speedup for common hosts. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/3516
* added way to swich off message expansionGabriel Wicke2004-05-031-3/+6
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/3466
* fixed noticesTim Starling2004-04-071-1/+1
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/3005
* Added transformation to wfMsg output, allowing tags such as {{SITENAME}} and ↵Tim Starling2004-04-051-3/+16
| | | | | | | {{localurl:Special:Preferences}} in the language files and MediaWiki namespace Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/2976
* * Changed inclusion syntax to allow e.g. {{stub}}Tim Starling2004-03-201-22/+16
| | | | | | | | | * Split MediaWiki namespace into MediaWiki and Template (requires changes to all language files) * Purge links to on edit of Template namespace * General refactoring of purging and cache invalidation code Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/2769
* Imported the register_globals hack from REL1_2. Also starting work onBrion Vibber2004-03-081-1/+1
| | | | | | | | | | | | elimination of the use of import_request_variables (which gives us all the insecurity of register_globals). Uncomment the define of DEBUG_GLOBALS in index.php to turn on extra error reporting and trace down use of uninitialized variables and nassssty globals. Also rearranged the magic_quotes fixing, may not yet cover everything... Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/2655
* Clear message cache on rebuildBrion Vibber2004-03-011-0/+4
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/2584
* Fix for compatibility with short_open_tag = OffBrion Vibber2004-02-181-1/+1
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/2485
* bug fixTim Starling2004-01-251-1/+2
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/2354
* Using UTF-8 compatible ucfirst/lcfirst -- bug fixTim Starling2004-01-251-2/+4
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/2351