wiki.techinc.nl/includes/parser
Happy-melon 2c9cfd7cce Refactor the factory/i18n/list/etc static methods from SpecialPage into their own class; there's no reason we need to be parsing them in every single SpecialPage subclass. Leave all the methods as stubs in SpecialPage.php; if we required PHP 5.3 they could be replaced by a a __callStatic() magic method, but that doesn't work on PHP 5.2.
Also make a few changes to the functions available.  SpecialPageFactory::resolveAlias() now takes an optional subpage and returns array(<name>,<subpage>).  Similarly merge getPage() and getPageByAlias().  There were many examples of (extensions particularly) making dubious assumptions about the presence or absence of subpages or canonical-ness.

I didn't deprecate SpecialPage::getTitleFor() as it's got over six hundred calls.  I'm rather undecided on the best position of getPage()/executePath().  Although the latter needs cleanup anyway.
2011-04-17 11:31:11 +00:00
..
CoreLinkFunctions.php Changed LinkHolderArray::makeHolder() to use Linker::link() instead of Linker::makeBrokenLinkObj() and Linker::makeColouredLinkObj() 2011-03-15 16:47:55 +00:00
CoreParserFunctions.php Refactor the factory/i18n/list/etc static methods from SpecialPage into their own class; there's no reason we need to be parsing them in every single SpecialPage subclass. Leave all the methods as stubs in SpecialPage.php; if we required PHP 5.3 they could be replaced by a a __callStatic() magic method, but that doesn't work on PHP 5.2. 2011-04-17 11:31:11 +00:00
CoreTagHooks.php Initial stab at breaking math/texvc out to Math extension. 2011-04-09 00:39:40 +00:00
DateFormatter.php * (bug 28511) Use [] syntax instead of {} for string offset access 2011-04-17 07:59:58 +00:00
LinkHolderArray.php Clean up some direct $db->query($sql) calls. Remove limit/offset parameters from Article::getContributors() as they weren't being used anywhere and probably didn't work properly anyway. 2011-04-12 12:09:11 +00:00
Parser.php Refactor the factory/i18n/list/etc static methods from SpecialPage into their own class; there's no reason we need to be parsing them in every single SpecialPage subclass. Leave all the methods as stubs in SpecialPage.php; if we required PHP 5.3 they could be replaced by a a __callStatic() magic method, but that doesn't work on PHP 5.2. 2011-04-17 11:31:11 +00:00
Parser_DiffTest.php More return type documentation 2011-02-08 23:18:13 +00:00
Parser_LinkHooks.php follow-up to r85193: missed one file 2011-04-02 14:53:02 +00:00
ParserCache.php * Made __construct() protected 2011-04-15 22:58:00 +00:00
ParserOptions.php Add a getSkin that returns a dummy linker for BC with extensions still abusing it to access the linker. 2011-04-03 23:32:52 +00:00
ParserOutput.php Follow-up changes to r84610: 2011-04-04 01:22:08 +00:00
Preprocessor.php
Preprocessor_DOM.php Followup to r86064 (List with double line-breaks inside tables). Also contains patch for Bug 16700 by Mormegil (Additional linebreak though nested templates). Parsertests for both 2011-04-14 19:28:45 +00:00
Preprocessor_Hash.php Followup to r86064 (List with double line-breaks inside tables). Also contains patch for Bug 16700 by Mormegil (Additional linebreak though nested templates). Parsertests for both 2011-04-14 19:28:45 +00:00
StripState.php * Rewrote StripState to not use ReplacementArray. The memory usage of FSS was excessive when there were many (>10k) strip items. I used preg_replace_callback(), which is slower than strtr() in the simplest case, but much faster than it when the markers have different lengths, which they usually do. 2011-02-23 06:58:15 +00:00
Tidy.php Adding more wfProfileOut() 2011-02-10 16:11:34 +00:00