* Output title before class in Linker::link() to match behavior of makeLink() and...
authorAryeh Gregor <simetrical@users.mediawiki.org>
Sun, 3 Aug 2008 16:52:55 +0000 (16:52 +0000)
committerAryeh Gregor <simetrical@users.mediawiki.org>
Sun, 3 Aug 2008 16:52:55 +0000 (16:52 +0000)
commitb83553af8b0e87d88e7c53e6d00feb02c3b56b2f
tree2189c0497aadc6d04303ae79cd5ea11508aab2ff
parent8a13e08f7e8b8d94246380942570d8a68896ccd5
* Output title before class in Linker::link() to match behavior of makeLink() and friends, so as not to have to change old parser tests.
* Do not add action=edit to nonexistent special pages.
* Add profiling point for the bit where we add classes in linkAttribs().
* Turn makeLinkObj(), makeKnownLinkObj(), makeBrokenLinkObj() into wrappers for link().  This requires the creation of two new functions to turn query strings/attribute strings into arrays, but still results in fewer LOC (-11 lines) due to less code duplication.  This should be well-tested by the parser tests, because pretty much all link creation now goes through link(), but the only changes are encoding single quotes in attributes, which is a good change.  I find no additional database queries, so since this isn't a CPU bottleneck, there should be no performance issues.
includes/GlobalFunctions.php
includes/Linker.php
includes/Xml.php
maintenance/parserTests.txt