On Tue, Feb 19, 2008 at 6:59 PM, Simetrical Simetrical+wikilist@gmail.com wrote:
On Feb 19, 2008 1:26 PM, Apple Grew applegrew@gmail.com wrote:
Hey thanks for the tip. I tried grepping using the following command grep -Rl "SELECT" .|grep -v "/.svn/"|grep -v "/docs/"|grep -v "/maintenance/"
and got the list below. Its really long. I have excluded the maintenance and docs folders completely. The files in includes directory is the first place I would be looking into.
. . .
I think he meant alter the Database class, so that it intercepted queries that were being made by the parser and substituted some fake answer. Searching for every single SELECT made anywhere in MediaWiki code will give you a rather long list, yes.
Unless you want to have all interface functionality of MediaWiki (which you don't, apparently), ./includes/Database.php should be all you need.
IIRC it was about 5 or so methods to tweak to get a page to render.
Magnus