[Bug 22135] template testing option
https://bugzilla.wikimedia.org/show_bug.cgi?id=22135 David Göthberg dav...@iname.com changed: What|Removed |Added CC||dav...@iname.com --- Comment #10 from David Göthberg dav...@iname.com 2010-01-19 08:37:28 UTC --- Bawolff: This can't be solved with javascript, since javascript don't see the meta-templates and sub-templates called from the templates on the page. Meta-templates can be many steps away from the templates we see in the page code. And testing meta-templates is when we most would need this test mode. However, I have figured out how to do this with only template code (albeit slightly less convenient). See http://en.wikipedia.org/wiki/User_talk:Davidgothberg#Proposed_enhancement_for_testing_templates . I will implement this as the {{test-template}} at the English Wikipedia. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 22135] template testing option
https://bugzilla.wikimedia.org/show_bug.cgi?id=22135 --- Comment #11 from Bawolff bawolff...@gmail.com 2010-01-19 12:07:26 UTC --- Your correct, the js solution i proposed would only work with the templates that are directly transcluded. (I forgot how dependant wikipedia was on meta templates). As for {{test-template}}. Thats quite an ingenious use (abuse?) of template syntax. :) -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 22135] template testing option
https://bugzilla.wikimedia.org/show_bug.cgi?id=22135 Platonides platoni...@gmail.com changed: What|Removed |Added CC||platoni...@gmail.com --- Comment #2 from Platonides platoni...@gmail.com 2010-01-17 19:13:10 UTC --- Not necessarily. It could be available as a fourth button Preview with my templates. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 22135] template testing option
https://bugzilla.wikimedia.org/show_bug.cgi?id=22135 --- Comment #1 from Max Semenik maxsem.w...@gmail.com 2010-01-17 19:11:33 UTC --- I don't think that this feature will be implemented. When you browse pages, you see cached HTML, rendered on save an re-rendered on hits once in a while. Parsing a page and rendering it is a slow process and can take up to 10 seconds. You're proposing to re-parse everything on each pageview of some users. Not only that will make browsing speed intolerable for them, but it will also increase server load. Your proposal will also significantly increase read load on database because every template has to be checked for copies in userspace. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 22135] template testing option
https://bugzilla.wikimedia.org/show_bug.cgi?id=22135 --- Comment #3 from Stmrlbs wiki0...@gmail.com 2010-01-17 19:41:08 UTC --- at this time, there is an option to disable caching in the preferences for any user that wants to: Appearance/Advanced Options/Disable page caching. There is also an option for purging cache as a function tab in the User Interface Gadgets (Add a * tab to the top of the page, which purges the page's cache when followed.) Since these are options available to any user now, I don't think the cache issue should be a deciding factor to enable an option that would ease the testing of templates. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 22135] template testing option
https://bugzilla.wikimedia.org/show_bug.cgi?id=22135 --- Comment #4 from Max Semenik maxsem.w...@gmail.com 2010-01-17 19:53:21 UTC --- (In reply to comment #3) at this time, there is an option to disable caching in the preferences for any user that wants to: Appearance/Advanced Options/Disable page caching. You misunderstand what that option means. It just disables client-side caching, but doesn't re-parse wikitext on every page view. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 22135] template testing option
https://bugzilla.wikimedia.org/show_bug.cgi?id=22135 --- Comment #5 from Stmrlbs wiki0...@gmail.com 2010-01-17 20:05:48 UTC --- I had in mind an option in Preferences that would look like this: (*) Template Test Mode - from (specify template test area): [[User:Stmrlbs/xxx]] When the software came across a template a, if a user had this option turned on, for this user, the software would first check if [[User:Stmrlbs/xxx/a]] existed, and use this for the template. If [[User:Stmrlbs/xxx/a]] did not exist, then the wikipedia software would then use [[Template:a]] This would facilitate the testing of heavily used templates, because a group project could create a group of pages calling the heavily used template in many various ways, and call up those pages with this option turned on to test a new template, without needing to dummy up examples. It would also facilitate testing changes to inner templates, because a user would no longer need to dummy up an outer template to call the modified inner template. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 22135] template testing option
https://bugzilla.wikimedia.org/show_bug.cgi?id=22135 --- Comment #7 from Stmrlbs wiki0...@gmail.com 2010-01-17 20:17:01 UTC --- Platonides said Not necessarily. It could be available as a fourth button Preview with my templates. Actually.. this would be better than what I'm proposing. That way, a user could display the page with templates in one window/tab, then display the same page with the public template in another window/tab. Thanks. Good suggestion. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 22135] template testing option
https://bugzilla.wikimedia.org/show_bug.cgi?id=22135 Bawolff bawolff...@gmail.com changed: What|Removed |Added CC||bawolff...@gmail.com --- Comment #8 from Bawolff bawolff...@gmail.com 2010-01-18 03:00:07 UTC --- Perhaps this would be something better implemented as a js gadget. ( get page source, prefix all template calls with User:foo/ , render using api's action=parse). -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 22135] template testing option
https://bugzilla.wikimedia.org/show_bug.cgi?id=22135 --- Comment #9 from Stmrlbs wiki0...@gmail.com 2010-01-18 04:01:14 UTC --- I see what Max is saying. my bad. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l