Set a 'deadlink' class to linkified quotes. Change descriptions.

This commit is contained in:
Nicolas Stepien 2012-03-12 19:20:17 +01:00
parent 110d4a0e45
commit 07afcd600c
3 changed files with 5 additions and 5 deletions

View File

@ -132,7 +132,7 @@
'Quote Highlighting': [true, 'Highlight the previewed post'], 'Quote Highlighting': [true, 'Highlight the previewed post'],
'Quote Inline': [true, 'Show quoted post inline on quote click'], 'Quote Inline': [true, 'Show quoted post inline on quote click'],
'Quote Preview': [true, 'Show quote content on hover'], 'Quote Preview': [true, 'Show quote content on hover'],
'Resurrect Quotes': [true, 'Bring dead links back to life'], 'Resurrect Quotes': [true, 'Linkify dead quotes to archives'],
'Indicate OP quote': [true, 'Add \'(OP)\' to OP quotes'], 'Indicate OP quote': [true, 'Add \'(OP)\' to OP quotes'],
'Indicate Cross-thread Quotes': [true, 'Add \'(Cross-thread)\' to cross-threads quotes'], 'Indicate Cross-thread Quotes': [true, 'Add \'(Cross-thread)\' to cross-threads quotes'],
'Forward Hiding': [true, 'Hide original posts of inlined backlinks'] 'Forward Hiding': [true, 'Hide original posts of inlined backlinks']
@ -3364,7 +3364,7 @@
className = 'quotelink'; className = 'quotelink';
} else { } else {
href = Redirect.thread(board, id, 'post'); href = Redirect.thread(board, id, 'post');
className = null; className = 'deadlink';
} }
nodes.push($.el('a', { nodes.push($.el('a', {
textContent: "" + quote + "\u00A0(Dead)", textContent: "" + quote + "\u00A0(Dead)",

View File

@ -1,6 +1,6 @@
master master
- Mayhem - Mayhem
New feature: Quote Resurrection, automatically linking to archives. New feature: Quote Resurrection, automatically linkifying dead quotes to archives.
2.28.1 2.28.1
- Mayhem - Mayhem

View File

@ -50,7 +50,7 @@ config =
'Quote Highlighting': [true, 'Highlight the previewed post'] 'Quote Highlighting': [true, 'Highlight the previewed post']
'Quote Inline': [true, 'Show quoted post inline on quote click'] 'Quote Inline': [true, 'Show quoted post inline on quote click']
'Quote Preview': [true, 'Show quote content on hover'] 'Quote Preview': [true, 'Show quote content on hover']
'Resurrect Quotes': [true, 'Bring dead links back to life'] 'Resurrect Quotes': [true, 'Linkify dead quotes to archives']
'Indicate OP quote': [true, 'Add \'(OP)\' to OP quotes'] 'Indicate OP quote': [true, 'Add \'(OP)\' to OP quotes']
'Indicate Cross-thread Quotes': [true, 'Add \'(Cross-thread)\' to cross-threads quotes'] 'Indicate Cross-thread Quotes': [true, 'Add \'(Cross-thread)\' to cross-threads quotes']
'Forward Hiding': [true, 'Hide original posts of inlined backlinks'] 'Forward Hiding': [true, 'Hide original posts of inlined backlinks']
@ -2812,7 +2812,7 @@ Quotify =
className = 'quotelink' className = 'quotelink'
else else
href = Redirect.thread board, id, 'post' href = Redirect.thread board, id, 'post'
className = null className = 'deadlink'
nodes.push $.el 'a', nodes.push $.el 'a',
# \u00A0 is nbsp # \u00A0 is nbsp