← Older revision
Revision as of 23:22, March 13, 2016
(One intermediate revision by one user not shown)
Line 1:
Line 1:
{{Infobox JavaScript
{{Infobox JavaScript
−
| Description =SpellingBee is a game for [[Special:Chat]].
+
| Description = SpellingBee is a game for [[Special:Chat]]
| Scope = Wiki-wide (Special:Chat)
| Scope = Wiki-wide (Special:Chat)
| Author = [[w:User:Dessamator|Dessamator]]
| Author = [[w:User:Dessamator|Dessamator]]
| Updated = 2014/12/11
| Updated = 2014/12/11
−
| Code = [[MediaWiki:SpellingBee/code.js|code.js]]
+
| Code = [[MediaWiki:SpellingBee/code.js|code.js]]<br>[[MediaWiki:SpellingBee/startup.js|startup.js]]<br>[[MediaWiki:SpellingBee/gameinterface.js|gameinterface.js]]
−
[[/startup.js]]
−
[[/gameinterface.js]]
| Skins = All
| Skins = All
−
| Languages = English|Title = SpellingBee
+
| Languages = English
}}
}}
+
'''SpellingBee''' is a game for [[Special:Chat]]. It requires a browser that has Web Speech API, e.g. (Chrome 37) to play a spelling game.
'''SpellingBee''' is a game for [[Special:Chat]]. It requires a browser that has Web Speech API, e.g. (Chrome 37) to play a spelling game.
Line 21:
Line 22:
</syntaxhighlight>
</syntaxhighlight>
−
<u>'''NOTE: Make sure to clear cache, including images. Also try appending ?debug=true to the URL, to load the most recent cache, e.g. http://dev.wikia.com/wiki/Special:Chat?debug=true .'''</u>
+
'''NOTE: Make sure to clear cache, including images. Also try appending ?debug=true to the URL, to load the most recent cache, e.g. http://dev.wikia.com/wiki/Special:Chat?debug=true .'''
{{ImportArticles}}
{{ImportArticles}}
Line 41:
Line 42:
*Game will only work on compatible browsers, and will default to english if there aren't any words or tts engines in the selected language.
*Game will only work on compatible browsers, and will default to english if there aren't any words or tts engines in the selected language.
*To add new words or change existing ones, alter the array <span style="line-height:14px;color:rgb(0,0,0);font-family:monospace,monospace;">arrOrigWords, e.g.: </span>
*To add new words or change existing ones, alter the array <span style="line-height:14px;color:rgb(0,0,0);font-family:monospace,monospace;">arrOrigWords, e.g.: </span>
−
<pre>var tWordStorage= {en: ['scripts', 'lua', 'developers', 'wikia', 'lifestyle', 'entertainment', 'games', 'java', 'jedi']};</pre>
+
<syntaxhighlight lang="javascript">var tWordStorage= {en: ['scripts', 'lua', 'developers', 'wikia', 'lifestyle', 'entertainment', 'games', 'java', 'jedi']};</syntaxhighlight>
[[Category:Spellingbee]]
[[Category:Spellingbee]]
[[Category:Games]]
[[Category:Games]]