Commit graph

14 commits

Author SHA1 Message Date
Alexandre Emsenhuber
dd58309f1a * Added WikiPage::getParserOutput() and changed Article::getParserOutput() to use it
* WikiPage::getParserOutput() requires a ParserOptions object (and optionally the revision ID) instead of an User object, removes an hidden dependency on $wgLang. For this reason, WikiPage::isParserCacheUsed() now also uses a ParserOptions object instead of an User object (doesn't change anything in the code except the variable name and it's not called in extensions)
* Moved PoolWorkArticleView to WikiPage.php and added an entry in the AutoLoader and moved output-related stuff directly in Article::view() so that in can be shared with WikiPage::getParserOutput() (removes code duplication, etc.)
* Added the revision ID to the PoolCounter key so that it knows which revision is being parsed and doesn't wait for another parse operation with same options but different revisions
* Removed Article::doViewParse(), Article::tryDirtyCache() and Article::getOutputFromWikitext() since they are now integrated in PoolWorkArticleView and Article::view() and there are no callers in extensions. This also fixes a bug since Article::doViewParse() will get another ParserOptions instance with special options set in Article::view() not be repercuted.
* Updated DifferenceEngine to use the new system
* Updated docs/memcached.txt to correct method names
2011-11-17 20:21:54 +00:00
Alexandre Emsenhuber
c1f4b460e2 Fix doc: wfLoadAllMessages() doesn't exists 2011-08-09 20:09:30 +00:00
Platonides
34d35fb6f9 Use only the page relevant pieces in the parser cache key. Eg. two users with different math options will now
use the same parsercache entry for articles without <math> tags.
The cache key format is kept as a fallback so the old cached entries can be reused.

Should boost parsercache hits, but it also makes easier to pollute the parsercache by tag hooks that behave 
badly, directly using $wgUser or $wgLang.

Extensions hooking PageRenderingHash now see !edit=0 and the !printable=1 bits.

Fixes bug 24714 - Usage of {{#dateformat: }} in wikis without $wgUseDynamicDates can lead to unexpected results

Builds upon r70498, r70498, r70501, r70517, r70651, r70653, r70765, r70780.
2010-08-09 21:53:21 +00:00
Alexandre Emsenhuber
6649743e0b * (bug 19055) maintenance/rebuildrecentchanges.php now purges Special:Recentchanges's RSS and Atom feed cache
Purging cache timestamps should be sufficient since it won't allow cached versions to be used.
Also fix some errors in docs/memcached.txt.
Based on a patch by Jidanni - http://bug-attachment.wikimedia.org/attachment.cgi?id=6187
2009-08-28 18:04:40 +00:00
Charles Melbye
5ac13d1a5b Fixing port error in Memcached docs (Reported by Sean_Colombo in IRC.) 2009-04-23 02:49:44 +00:00
Brion Vibber
e2f1a14d9e * $wgAjaxSearch has been removed; use $wgEnableMWSuggest instead.
I never liked the take-over-the-screen UI of the old ajax search; the new suggestion search does the same thing in a more natural, integrated way.
2008-08-20 18:11:59 +00:00
Tim Starling
c8aaab18c5 Updated various things in the docs directory. Completely rewrote skin.txt, updated database.txt, memcached.txt and title.txt. 2008-07-09 05:50:05 +00:00
Alexandre Emsenhuber
9c1c71d558 Per r36375: update docs/memcached.txt 2008-06-18 09:49:15 +00:00
Alexandre Emsenhuber
08c2aa74b9 Per r33051: remove it from doc 2008-04-09 20:27:45 +00:00
Alexandre Emsenhuber
744363ef1f doc tweaks 2008-03-01 20:39:45 +00:00
Alexandre Emsenhuber
7248aeaaff * Update docs/memcached.txt
* Kill call to $wgUseMemCached in includes/ProxyTools.php
2008-03-01 15:08:49 +00:00
Nick Jenkins
b4d37577b9 Removing or commenting out unused variables or globals, and adding declarations for two arrays. 2007-05-08 09:09:46 +00:00
Rob Church
a1f45be25b * (bug 9662) Update configuration example [$wgUseMemcached no longer in use]
* Minor spacing
2007-05-04 20:47:49 +00:00
Brion Vibber
27b500c4aa Change .doc extension to .txt so people stop asking why we have Word documents. WE DONT THEY ARE TEXT!!!!111eleven 2005-04-12 00:41:38 +00:00
Renamed from docs/memcached.doc (Browse further)