On Samstag, 16. August 2008, Daniel Friesen wrote: > I didn't notice it till now, but SMW is doing the same message > short-circuiting that SF was doing (I fixed that in SF), and it's on the > ToDo. > I've committed a number of wfLoadExtensionMessages into SMW. These > should cover just about every area where messages are needed. > > Unfortunately there are still a few special pages using functions rather > than classes. Because of these we cannot remove the short-circuit just yet. > If anyone feels like refactoring most of the special pages to use proper > SpecialPage classes rather than functions please go ahead. Once we get > that done we can remove that 10% loading overhead.
Even for the special pages with global functions, we already have a wrapper SMWSpecialPage. I have now moved the message loading to this page's __construct and removed it from the initial setup. I hope that this speeds up SMW loading even on uncached sites. --- Markus -- Markus Krötzsch Semantic MediaWiki http://semantic-mediawiki.org http://korrekt.org [EMAIL PROTECTED]
signature.asc
Description: This is a digitally signed message part.
------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________ Semediawiki-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
