Jump to content

MediaWiki talk:Gadget-teahouse.js

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

Protected edit request on 11 July 2014

[edit]

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)[reply]

@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)[reply]
@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)[reply]
You were right, I just missed the last line. :) Steven Walling (WMF) • talk 00:04, 12 July 2014 (UTC)[reply]

Protected edit request on 9 January 2017

[edit]

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)[reply]

Done -- Samtar talk · contribs 10:57, 9 January 2017 (UTC)[reply]