Wikipedia talk:WikiProject User scripts/Scripts/qSig: Difference between revisions

Content deleted Content added
changing the code to reflect what needs to be copied into monobook.js...i.e., importing from Wikipedia namespace, not WP_talk, and import .js!!
m qSig documentation: Replaced deprecated <source> tags with <syntaxhighlight>
 
(One intermediate revision by one other user not shown)
Line 37:
* sigText — text of signature (also changes it for sig button on toolbar)
Example:
<sourcesyntaxhighlight lang=javascript>
sigAccessKey = ',';
sigText = '— ~~' + '~~'; //dash instead of --
importScript('Wikipedia:WikiProject User scripts/Scripts/qSig.js');
</syntaxhighlight>
</source>
 
'''To do''': The structure of Wikipedia forums is quite complicated. You're welcome to add additional forum names to RegExp condition in the script.