User talk:Naï: Difference between revisions

no edit summary
No edit summary
 
(2 intermediate revisions by 2 users not shown)
Line 11: Line 11:


And, the Language box and the <tabber> extension are the most source of expensive parser functions. Languages uses too many '''<nowiki>#</nowiki>ifexist''' to select from languages. Moreover, the tabber extension calls the id for tab switching, and an '''ID''' is considered "expensive". As a result, the page has lots of expensive functions.
And, the Language box and the <tabber> extension are the most source of expensive parser functions. Languages uses too many '''<nowiki>#</nowiki>ifexist''' to select from languages. Moreover, the tabber extension calls the id for tab switching, and an '''ID''' is considered "expensive". As a result, the page has lots of expensive functions.
:I see. I understand most of it, thank you for the clarification.<br>
:Still, I'm not sure I understand one part: there is a desire to remove the <tabber> extension, and the Tab template substitutes it, but was <tabber> already removed or is the removal still in progress? And wouldn't creating a whole new template call for more expensive functions than just an ID call? - [[User:Naï|Naï]] ([[User talk:Naï|talk]]) 00:37, 3 January 2015 (EST)
:: When you asking, there is a desire, and now, it is moved. New template does not call for more expensive function. The problem is that: in Tabber extension, there is not only a simple ID call. It has its own rendering mechanics, and every time you use it, the extension will load Tabber.js once (If you use two tabbers in one page, this will be loaded two times). In this js file, there are lots of if/for statements, which are "expensive". Even if you do not use that function, the script also runs, or at least loaded into your cache.
:::I see, I understand. Thank you for clearing it up, I am glad it was moved then owo. -- [[User:Naï|Naï]] ([[User talk:Naï|talk]]) 10:54, 7 January 2015 (EST)
195

edits