Antoine Musso
2ca68a256d
Clean up unused globals!
2005-12-04 18:27:59 +00:00
Ævar Arnfjörð Bjarmason
cb0a54af65
* Accessor/Mutator for $mDisableTransform, should all be merged into one with
...
wfSetVar() but I'm too lazy.
2005-11-28 01:14:12 +00:00
Tim Starling
6d82fa2f15
Added local message cache feature ($wgLocalMessageCache), to reduce bandwidth requirements to the memcached server.
2005-11-08 11:54:04 +00:00
Brion Vibber
219094eb01
Committing various live hacks from Wikimedia servers
2005-10-22 20:52:30 +00:00
Tim Starling
ce9d5692f1
Workaround for memcachedism
2005-09-11 17:33:25 +00:00
Tim Starling
5dd3b4903f
* Negative caching for the MediaWiki namespace. This is especially important when the user language is different to the content language.
...
* Allow messages to be blank, without them being considered missing
2005-09-11 14:50:47 +00:00
Tim Starling
fbeef2d0fb
respect $useDB
2005-08-14 07:21:43 +00:00
Brion Vibber
1960085c1a
* Fix Special:Allmessages under PHP 5
2005-07-31 00:25:55 +00:00
Ævar Arnfjörð Bjarmason
fcaddb96af
* Using addMessage() inside addMessages() instead of modifying
...
mExtensionMessages directly
2005-07-22 20:35:08 +00:00
River Tarnell
291c848de6
try a different way of handling the message cache
2005-07-07 03:08:58 +00:00
Ævar Arnfjörð Bjarmason
ed9232300b
* Documented
2005-06-26 15:30:50 +00:00
Tim Starling
6d7456c82c
less debug log spam
2005-05-28 11:07:55 +00:00
Tim Starling
4b390e9c9b
fixed potential XSS vulnerability
2005-05-14 05:42:29 +00:00
Domas Mituzas
83514a73a5
revert my cruft regarding incremental message cache building, it targetted wrong trouble in wrong path anyway
2005-05-04 19:24:10 +00:00
Ævar Arnfjörð Bjarmason
273671cf32
Adding cache related stuff to a new 'Cache' subpackage
2005-04-12 01:29:21 +00:00
Brion Vibber
0b86f637f2
Decouple revision.rev_id from text.old_id
...
* 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.
2005-03-28 10:47:12 +00:00
Brion Vibber
3f7fe13247
Use Revision for individual message loads; not using it for bulk load just now; need to modify to do bulk loads efficiently
2005-03-19 10:40:41 +00:00
Brion Vibber
63c344e80c
For custom messages, fall back to the default language's db messages
2005-03-13 11:50:54 +00:00
Brion Vibber
41470111f1
* Reduce message cache outage recovery delay from 1 day to 5 minutes
2005-03-08 02:53:09 +00:00
Antoine Musso
2104f62734
fix phpdoc comment
2005-01-27 19:51:47 +00:00
Zheng Zhu
12c4d6f977
Allower zh: users to customize the Traditional/Simplified conversion tables. From REL1_4.
2004-12-29 01:07:43 +00:00
Brion Vibber
be2f51ae42
Merge capitallinks message fixes from REL1_4
2004-12-22 07:28:11 +00:00
Brion Vibber
2b1127fe90
Start splitting back-end functions from the Article user-interface class.
...
Fix Special:Export for new schema.
2004-12-19 12:21:29 +00:00
Brion Vibber
64ac6b8e77
Merge SCHEMA_WORK into HEAD. Lots of changes, some things are probably broken:
...
* Page moves/overwrites are a little iffy
* Compression might not be working right
* Profit!
2004-12-19 08:00:50 +00:00
Brion Vibber
d3867d1ae8
* Fix message page caching behavior when $wgCapitalLinks is turned off
...
after installation and the wiki is subsequently upgraded
2004-12-18 08:11:32 +00:00
Brion Vibber
9a2a36ce5e
* Defer message cache initialization, shaving a few ms off file cache hits
2004-12-09 05:51:20 +00:00
Brion Vibber
a7004b90e9
(bug 1039) mCache may not be an array if cache failures are happening, so check before searching it
2004-12-08 17:43:09 +00:00
Brion Vibber
27ffdd86b6
Code style
2004-11-21 13:56:04 +00:00
Tim Starling
412eda0517
Correcting bugs due to double-prefixing table names. Removing obsolete Database member functions. Adding comments to Database.php
2004-10-24 07:10:33 +00:00
Domas Mituzas
d5bab421f4
fix from live site, set->add for "loading".
2004-10-11 04:13:43 +00:00
Zheng Zhu
9aae1d5065
For content language, removed language code suffix from the message keys in the mediawiki: namespace. This way languages that do not support multiple variants will see no change in the way the namespace works.
2004-10-11 02:15:55 +00:00
Domas Mituzas
f5c50a9bf8
* cache standalone messages fetched from DB on memcached
...
* from DB/memcached on MC:mCache
2004-10-05 11:18:43 +00:00
Domas Mituzas
c5b7002917
initial support for partial message cache, the way to have separated message
...
cache objects by scope and/or severity, though by leaving rarely used messages
standalone on db and/or cached daemons...
2004-10-04 20:36:11 +00:00
Zheng Zhu
ada3997051
first attempt to support multiple language variants in the MediaWiki: namespace.
2004-09-25 04:15:47 +00:00
Zheng Zhu
32c223e2a1
removed caching of UI messages; it does not make sense, after all.
2004-09-25 02:23:04 +00:00
Zheng Zhu
9ce3187366
Sorry I forgot to commit the fix...
2004-09-24 13:10:38 +00:00
Magnus Manske
fde2d0ba2a
hotfix for undefined variable
2004-09-24 10:02:48 +00:00
Zheng Zhu
9b826b9bf7
passing the language object in as parameter when initializing the message cache
2004-09-24 00:09:42 +00:00
Zheng Zhu
cc632696ba
Adding a wgContLang object to handle message translation for the content of the site; wgLang should be used exclusively for UI messages.
2004-09-22 03:32:56 +00:00
Arne Heizmann
5d1c3fa82e
no real change. (rm trailing whitespace, convert leading spaces to tabs)
2004-09-20 14:55:25 +00:00
Tim Starling
e5e545aac9
suppress warnings before calling $wgLang->getMessage(), because many language files generate notices
2004-09-20 10:30:18 +00:00
Brion Vibber
b1f135446a
Re-enable message transformations when we're done building the message list.
...
Fix for bug 435: Page footer variables not replaced when viewing Special:Allmessages
http://bugzilla.wikipedia.org/show_bug.cgi?id=435
2004-09-09 22:22:17 +00:00
Antoine Musso
ba2afcd9fa
Split files and classes in different packages for phpdocumentor. I probably changed some double quotes to single and used function foo () { shema
2004-09-03 23:00:01 +00:00
Antoine Musso
90155b8a97
Changing comments layout preparing for generated documentation with Phpdocumentor
2004-09-02 23:28:24 +00:00
Brion Vibber
9aafcca999
When using wfMsgNoDB(), *don't use the cached messsages!*
...
This restores Special:Allmessages to working order; previously it was
showing the MediaWiki: message in both columns, which is not too helpful.
2004-08-30 05:11:21 +00:00
Antoine Musso
3d60242fb5
massive double to single quotes conversion. I have not noticed any bug after a lot of testing
2004-08-22 17:24:50 +00:00
Tim Starling
9a1e009420
Fixed profiling
2004-08-20 14:50:03 +00:00
Brion Vibber
830e915970
Add some more profiling points
2004-08-19 08:44:13 +00:00
Brion Vibber
17513fbf00
Add MessageCache::clear and use it on initialise/rebuild of messages
...
to clear the object cache.
2004-08-11 02:31:47 +00:00
Tim Starling
ac549401d4
* Support for table name prefixes throughout the code. No support yet for 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
2004-07-18 08:48:43 +00:00