MediaWiki talk:Gadget-teahouse.js
Appearance
Protected edit request on 11 July 2014
[edit]This edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Could someone please update the code to this?
if ( $.inArray(mw.config.get('wgPageName'), ['Wikipedia:Teahouse/Questions' , 'Wikipedia:Teahouse/Question-form2' ]) !== -1) {
importScript( 'MediaWiki:Gadget-teahouse/content.js' );
}
Helder.wiki 21:26, 11 July 2014 (UTC)
- @Helder.wiki: The editor tells me a warning about an unmatched curly brace. Is that something to ignore? Steven Walling (WMF) • talk 23:28, 11 July 2014 (UTC)
- @Steven (WMF): are you sure you copied all the three lines? When I do so, I get no warning, and inspecting the code above the number of "{"s is equals to the number of "}"s. Helder.wiki 23:46, 11 July 2014 (UTC)
- You were right, I just missed the last line. :) Steven Walling (WMF) • talk 00:04, 12 July 2014 (UTC)
- @Steven (WMF): are you sure you copied all the three lines? When I do so, I get no warning, and inspecting the code above the number of "{"s is equals to the number of "}"s. Helder.wiki 23:46, 11 July 2014 (UTC)
Protected edit request on 9 January 2017
[edit]This edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
On line 1, Wikipedia:Teahouse/Questions
needs to be changed to Wikipedia:Teahouse
reflect the recent page move. Until it is, the Teahouse gadget is completely broken. – Joe (talk) 10:45, 9 January 2017 (UTC)
- Done -- Samtar talk · contribs 10:57, 9 January 2017 (UTC)