20,741
edits
m (→The Script: update script: most sourceforge/mailman URLs are now https:// - also, add more aggressive debugging defaults to track down such issues more easily in the future) |
m (better debugging messages) |
||
| Line 204: | Line 204: | ||
<syntaxhighlight lang="javascript" enclose="div"> | <syntaxhighlight lang="javascript" enclose="div"> | ||
// ==UserScript== | // ==UserScript== | ||
// @name Instant-Cquotes | // @name Instant-Cquotes | ||
| Line 476: | Line 477: | ||
} | } | ||
catch (error) { | catch (error) { | ||
dbLog("Failed extracting post id | dbLog("Failed extracting post id\nProfile:"+profile) | ||
return; | return; | ||
} | } | ||
| Line 509: | Line 510: | ||
return CONFIG[profile]; | return CONFIG[profile]; | ||
} | } | ||
dbLog("Could not find matching URL in getProfile() call!") | |||
} | } | ||
} | } | ||
| Line 823: | Line 825: | ||
else // always log to console | else // always log to console | ||
console.log(message); | console.log(message); | ||
}</syntaxhighlight> | } | ||
</syntaxhighlight> | |||
[[Category:Wiki maintenance]] | [[Category:Wiki maintenance]] | ||