Anonymous

Elwiki:Editor Community: Difference between revisions

From Elwiki
m
no edit summary
mNo edit summary
mNo edit summary
Line 28: Line 28:
</code>
</code>


Why is this so important? Because switch statements has to be handled on one line and cannot be separated into many. See here for more info (http://www.mediawiki.org/wiki/Manual:Interface/Sidebar#Parser_functions_in_sidebar)
Why is this so important? Because switch statements has to be handled on one line and cannot be separated into many. See here for more info ([[MediaWikiWiki:Manual:Interface/Sidebar#Parser_functions_in_sidebar]])


'''As a result, everytime a page is loaded or saved, all these lines need to be ran each time and therefore can cause slowdowns. The reason why its fast for people not logged in is because it is cached.'''
'''As a result, everytime a page is loaded or saved, all these lines need to be ran each time and therefore can cause slowdowns. The reason why its fast for people not logged in is because it is cached.'''