Manual talk:MediaWiki architecture

From MediaWiki.org

Jump to: navigation, search
The following discussion has been transferred from meta.wikimedia.org.
Any user names refer to users of that site, who are not necessarily users of MediaWiki.org (even if they share the same username).

"scarier" is the word. Hmm. Does anyone outside WikiPedia actually use this set up? Certainly for read only stuff it is easier to knock up something in Perl from scratch --(talk)AndrewCates 07:43, 22 May 2004 (UTC) test

Hundreds of people use this setup, it's not hard. You don't have to understand it. If you already have PHP, Apache and MySQL installed (which many hosting services do), it's just a matter of untarring the package, running the web-based installer, moving the config file, and you're done. -- Tim Starling 03:49, 31 May 2004 (UTC)

Contents

[edit] The hard part comes after the setup

Changing aspects of the software can be a daunting task, because often there's multiple ways of achieving it. For instance, to disable a link in the navigation-block you could use css and set the display to none (but that would only work in that skin), or you could go into the xhtml_slim.pt template and use comments to disable the link, or even delete the complete
  • there. Or you could not add the url to the nav_urls in SkinPHPTal.php, because display of some links is based on the condition that it exists in the nav_urls. So there's three ways (maybe even more, because the older skins don't use the PHPTal template) of doing it. And to make matters worse, this particular thing changed with the 1.4 version, so now there's even more ways to do it, and the 'documentation' is very difficult to understand, since it's maintained at about a dozen different places by a lot of different people.

    [edit] What function translates wikitext to XHTML

    I am tasked with making an interface allowing a person to select which article to print, and how many levels of internal links to print (i.e print x levels of links deep). What function translates the wikitext to the format that the browser then uses to apply the stylesheet to?

    I must say that the wiki has potention, but the documentation is lacking. I also see examples of improperly named includes. There is one include called bagostuff. This is less than helpful.

    [edit] Out of date

    This page is rather out of date, isn't it? How long has it been since they got rid of the "cur" table? It would be great if somebody fixed things up or at least marked the stuff as out of date. Otherwise people may actually try to use this information.

    Well, according to PlotDatabaseSize1.png (also referenced on the page), the size of the cur DB for en was about 1.2 GB in February 2005 and is now about 2.25 GB in size. So where do the 3 GB come from? --83.171.145.88 18:49, 17 November 2005 (UTC)

    [edit] Stats Out of Date

    It would be interesting to see the 'As of February 2005, the current revision of all pages of the English Wikipedia holds 3 GB data and 500 MB index (download as 500 MB compressed dump) while the full database holds 80 GB data and 3 GB index (download as 29 GB compressed dump).' updated to show how the usage of the wiki has grown.