MediaWiki:Common.js

Revision as of 13:56, 23 March 2020 by Amwelladmin (talk | contribs)

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.

var customizeToolbar = function() {

$('#wpTextbox1').wikiEditor('addToToolbar', { section: 'advanced', group: 'format', tools: { "template": { label: 'long dash', type: 'button', icon: 'http://amwellclear.co.uk/w/images/5/55/Dash.png', action: { type: 'encapsulate', options: { pre: "—", post: "" } } } } }); $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'advanced', group: 'format', tools: { "template": { label: 'scarequotes', type: 'button', icon: 'http://amwellclear.co.uk/w/images/6/65/Quotes.png', action: { type: 'encapsulate', options: { pre: "“", post: "”" } } } } }); $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'advanced', group: 'format', tools: { "template": { label: 'apostrophe', type: 'button', icon: 'http://amwellclear.co.uk/w/images/5/57/Apostrophe.png', action: { type: 'encapsulate', options: { pre: "’", post: "" } } } } }); $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'advanced', group: 'format', tools: { "redirect": { label: '==>', type: 'button', icon: 'http://amwellclear.co.uk/w/images/9/91/Redirect.png', action: { type: 'encapsulate', options: { pre: "#redirect[[", post: "]]" } } } } });

$('#wpTextbox1').wikiEditor('addToToolbar', { section: 'advanced', group: 'format', tools: { "ISDAprov": { label: 'isdaprov', type: 'button', icon: 'http://amwellclear.co.uk/w/images/e/ed/Button_I.PNG', action: { type: 'encapsulate', options: { pre: "[[", post: " - ISDA Provision|", post: "]]" } } } } }); $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'advanced', group: 'format', tools: { "gmslaprov": { label: 'gmslaprov', type: 'button', icon: 'http://amwellclear.co.uk/w/images/f/f7/G.png', action: { type: 'encapsulate', options: { pre: "[[", post: " - GMSLA Provision|", post: "]]" } } } } });

$('#wpTextbox1').wikiEditor('addToToolbar', { section: 'advanced', group: 'format', tools: { "gmraprov": { label: 'grmaprov', type: 'button', icon: 'http://amwellclear.co.uk/w/images/4/49/Gmr.png', action: { type: 'encapsulate', options: { pre: "[[", post: " - GMRA Provision|", post: "]]" } } } } });

$('#wpTextbox1').wikiEditor('addToToolbar', { section: 'advanced', group: 'format', tools: { "Substitute": { label: 'subst:', type: 'button', icon: 'http://amwellclear.co.uk/w/images/0/03/Sbs.png', action: { type: 'encapsulate', options: { pre: "{{subst:", post: "}}" } } } } });

$('#wpTextbox1').wikiEditor('addToToolbar', { section: 'advanced', group: 'format', tools: { "Equity Derivs": { label: 'eqderivprov', type: 'button', icon: 'http://amwellclear.co.uk/w/images/1/1a/Eq.png', action: { type: 'encapsulate', options: { pre: "[[", post: " - Equity Derivatives Provision|", post: "]]" } } } } });

$('#wpTextbox1').wikiEditor('addToToolbar', { section: 'advanced', group: 'format', tools: { "template": { label: 'Template:-', type: 'button', icon: 'http://amwellclear.co.uk/w/images/3/30/Template.png', action: { type: 'encapsulate', options: { pre: "{{", post: "}}" } } } } });

$('#wpTextbox1').wikiEditor('addToToolbar', { section: 'advanced', group: 'format', tools: { "template": { label: 'tag', type: 'button', icon: 'http://amwellclear.co.uk/w/images/7/7d/Tag2.png', action: { type: 'encapsulate', options: { pre: "[[", post: "]]" } } } } });

$('#wpTextbox1').wikiEditor('addToToolbar', { section: 'advanced', group: 'format', tools: { "template": { label: 'csaprov', type: 'button', icon: 'http://amwellclear.co.uk/w/images/6/69/CSA.png', action: { type: 'encapsulate', options: { pre: "[[", post: " - CSA Provision|", post: "]]" } } } } }); $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'advanced', group: 'format', tools: { "template": { label: 'MI2002', type: 'button', icon: 'https://jollycontrarian.com/images/c/c2/MI2002.png', action: { type: 'encapsulate', options: { pre: "

2002 ISDA Master Agreement
A Jolly Contrarian owner’s manual™

Resources and navigation

[[{{{1}}} - 1992 ISDA Provision|This provision in the 1992]]

Resources Wikitext | Nutshell wikitext | 1992 ISDA wikitext | 2002 vs 1992 Showdown | 2006 ISDA Definitions | 2008 ISDA | JC’s ISDA code project
Navigation Preamble | 1(a) (b) (c) | 2(a) (b) (c) (d) | 3(a) (b) (c) (d) (e) (f) (g) | 4(a) (b) (c) (d) (e) | 55(a) Events of Default: 5(a)(i) Failure to Pay or Deliver 5(a)(ii) Breach of Agreement 5(a)(iii) Credit Support Default 5(a)(iv) Misrepresentation 5(a)(v) Default Under Specified Transaction 5(a)(vi) Cross Default 5(a)(vii) Bankruptcy 5(a)(viii) Merger Without Assumption 5(b) Termination Events: 5(b)(i) Illegality 5(b)(ii) Force Majeure Event 5(b)(iii) Tax Event 5(b)(iv) Tax Event Upon Merger 5(b)(v) Credit Event Upon Merger 5(b)(vi) Additional Termination Event (c) (d) (e) | 6(a) (b) (c) (d) (e) (f) | 7 | 8(a) (b) (c) (d) | 9(a) (b) (c) (d) (e) (f) (g) (h) | 10 | 11 | 12(a) (b) | 13(a) (b) (c) (d) | 14 |

Index: Click to expand:

Section ", post: " in a Nutshell

Use at your own risk, campers!
{{Nutshell 2002 ISDA ", post: "}}
[[Template:Nutshell 2002 ISDA ", post: "|view template]]

Full text of Section ", post: "

{{ISDA Master Agreement 2002 ", post: "}}
[[Template:ISDA Master Agreement 2002 ", post: "|view template]]

Related agreements and comparisons

Click '[[", post: " - 1992 ISDA Provision|here]] for the text of Section [[", post: " - 1992 ISDA Provision|", post: " ]] in the 1992 ISDA
{{isdadiff ", post: "}}

Tell me more
Sign up for our newsletter — or just get in touch: for ½ a weekly 🍺 you get to consult JC. Ask about it here.

Content and comparisons

{{m comp disc 2002 ISDA ", post: " |{{ {{{2}}}prov}} }}

[[Template:m comp disc 2002 ISDA ", post: " |Template]]

Summary

{{m summ 2002 ISDA ", post: " }}

[[template:m summ 2002 ISDA ", post: " |Template]]

General discussion

{{m gen 2002 ISDA ", post: "|{{{7}}} }}

[[template:m gen 2002 ISDA ", post: "|Template]]

See also

{{m sa 2002 ISDA ", post: "}}

[[Template:m sa 2002 ISDA ", post: "|Template]]

References

"

} } } } }); $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'advanced', group: 'format', tools: { "template": { label: 'MI1992', type: 'button', icon: 'https://jollycontrarian.com/images/8/83/MI1992.png', action: { type: 'encapsulate', options: { pre: "

1992 ISDA Master Agreement
A Jolly Contrarian owner’s manual™

Resources and navigation

Resources Wikitext | Nutshell wikitext | 2002 ISDA wikitext | 2002 vs 1992 Showdown | 2006 ISDA Definitions | 2008 ISDA
Navigation Preamble |

1(a) (b) (c) | 2(a) (b) (c) (d) (e) | 3(a) (b) (c) (d) (e) (f) | 4(a) (b) (c) (d) (e) | 55(a) Events of Default: 5(a)(i) Failure to Pay or Deliver 5(a)(ii) Breach of Agreement 5(a)(iii) Credit Support Default 5(a)(iv) Misrepresentation 5(a)(v) Default Under Specified Transaction 5(a)(vi) Cross Default 5(a)(vii) Bankruptcy 5(a)(viii) Merger Without Assumption 5(b) Termination Events: 5(b)(i) Illegality 5(b)(ii) Tax Event 5(b)(iii) Tax Event Upon Merger 5(b)(iv) Credit Event Upon Merger 5(b)(v) Additional Termination Event (c) | 6(a) (b) (c) (d) (e) | 7 | 8(a) (b) (c) (d) | 9(a) (b) (c) (d) (e) (f) (g) | 10 | 11 | 12(a) (b) | 13(a) (b) (c) (d) | 14 |

Index: Click to expand:

Section ", post: " in a Nutshell

Use at your own risk, campers!
{{Nutshell 1992 ISDA ", post: "}}
[[Template:Nutshell 1992 ISDA ", post: "|view template]]

Full text of Section ", post: "

{{ISDA Master Agreement 1992 ", post: "}}
[[Template:ISDA Master Agreement 1992 ", post: "|view template]]

Related agreements and comparisons

Related Agreements
Click '[[", post: " - ISDA Provision|here]] for the text of Section [[", post: " - ISDA Provision|", post: "]] in the 2002 ISDA
Comparisons
{{isdadiff ", post: "}}

Tell me more
Sign up for our newsletter — or just get in touch: for ½ a weekly 🍺 you get to consult JC. Ask about it here.

Content and comparisons

{{m comp disc 1992 ISDA ", post: " |{{ {{{2}}}prov}} }}

[[Template:m comp disc 1992 ISDA ", post: " |Template]]

Summary

{{m summ 1992 ISDA ", post: " }}

[[template:m summ 1992 ISDA ", post: " |Template]]

General discussion

{{m gen 1992 ISDA ", post: "|{{{7}}} }}

[[template:m gen 1992 ISDA ", post: "|Template]]

See also

{{m sa 1992 ISDA ", post: "}}

[[Template:m sa 1992 ISDA ", post: "|Template]]

References

"

} } } } }); $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'advanced', group: 'format', tools: { "template": { label: 'MCAE1995', type: 'button', icon: 'https://jollycontrarian.com/images/b/b3/MCAE1995.png', action: { type: 'encapsulate', options: { pre: "

1995 ISDA Credit Support Annex (English Law)
A Jolly Contrarian owner’s manual™

Resources and navigation

Paragraph ", post: " in a Nutshell

Use at your own risk, campers!
{{Nutshell 1995 CSA ", post: "}}
[[Template:Nutshell 1995 CSA ", post: "|view template]]

Full text of Paragraph ", post: "

{{ISDA English Law Credit Support Annex 1995 ", post: "}}
[[Template:ISDA English Law Credit Support Annex 1995 ", post: "|view template]]
The varieties of ISDA CSA
Subject 1994 NY 1995 Eng 2016 VM NY 2016 VM Eng 2018 IM Eng
Preamble Pre Pre Pre Pre Pre
Interpretation 1 1 1 1 1
Security Interest 2 - 2 - 2
Credit Support Obligations 3 2 3 2 3
Transfers, Calculations and Exchanges - 3 - 3 -
Conditions Precedent, Transfer Timing, Calculations and Substitutions 4 - 4 - 4
Dispute Resolution 5 4 5 4 5
Holding and Using Posted Collateral 6 - 6 - 6
Transfer of Title, No Security Interest - 5 - 5 -
Events of Default 7 6 7 6 7
Rights and Remedies 8 - 8 - 8
Representations 9 7 9 7 9
Expenses 10 8 10 8 10
Miscellaneous 11 9 11 9 11
Definitions 12 10 12 10 12
Elections and Variables 13 11 13 11 13
Tell me more
Sign up for our newsletter — or just get in touch: for ½ a weekly 🍺 you get to consult JC. Ask about it here.

Content and comparisons

{{m comp disc 1995 CSA ", post: " |{{ {{{2}}}prov}} }}

[[Template:m comp disc 1995 CSA ", post: " |Template]]

Summary

{{m summ 1995 CSA ", post: " }}

[[template:m summ 1995 CSA ", post: " |Template]]

General discussion

{{m gen 1995 CSA ", post: "|{{{7}}} }}

[[template:m gen 1995 CSA ", post: "|Template]]

See also

{{m sa 1995 CSA ", post: "}}

[[Template:m sa 1995 CSA ", post: "|Template]]

References

"

} } } } }); $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'advanced', group: 'format', tools: { "template": { label: 'MCAE2016', type: 'button', icon: 'https://jollycontrarian.com/images/7/7d/MCAE2016.png', action: { type: 'encapsulate', options: { pre: "

2016 ISDA Credit Support Annex (VM) (English law)
A Jolly Contrarian owner’s manual™

Resources and navigation

Paragraph ", post: " in a Nutshell

Use at your own risk, campers!
{{Nutshell 2016 CSA ", post: "}}
[[Template:Nutshell 2016 CSA ", post: "|view template]]

Full text of Paragraph ", post: "

{{ISDA English Law Credit Support Annex 2016 ", post: "}}
[[Template:ISDA English Law Credit Support Annex 2016 ", post: "|view template]]


Tell me more
Sign up for our newsletter — or just get in touch: for ½ a weekly 🍺 you get to consult JC. Ask about it here.

Content and comparisons

{{m comp disc 2016 CSA ", post: " |{{ {{{2}}}prov}} }}

[[Template:m comp disc 2016 CSA ", post: " |Template]]

Summary

{{m summ 2016 CSA ", post: " }}

[[template:m summ 2016 CSA ", post: " |Template]]

General discussion

{{m gen 2016 CSA ", post: "|{{{7}}} }}

[[template:m gen 2016 CSA ", post: "|Template]]

See also

{{m sa 2016 CSA ", post: "}}

[[Template:m sa 2016 CSA ", post: "|Template]]

References

"

} } } } }); $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'advanced', group: 'format', tools: { "template": { label: 'MCAN1994', type: 'button', icon: 'https://jollycontrarian.com/images/4/44/MCAN1994.png', action: { type: 'encapsulate', options: { pre: "

1994 ISDA Credit Support Annex (New York law)
A Jolly Contrarian owner’s manual™

Resources and navigation

Paragraph ", post: " in a Nutshell

Use at your own risk, campers!
{{Nutshell 1994 NY CSA ", post: "}}
[[Template:Nutshell 1994 NY CSA ", post: "|view template]]

Full text of Paragraph ", post: "

{{ISDA New York Law Credit Support Annex 1994 ", post: "}}
[[Template:ISDA New York Law Credit Support Annex 1994 ", post: "|view template]]

Related agreements and comparisons

Related Agreements
Click '[[", post: " - NY VM CSA Provision|here]] for the text of Section [[", post: " - NY VM CSA Provision|", post: "]] in the 2016 New York law CSA
Click here for the text of Section [[- CSA Provision|]] in the 1995 English Law CSA
Click here for the text of Section [[- VM CSA Provision|]] in the 2016 English Law VM CSA
Comparisons
1994 NY CSA and 1995 CSA: click for [[special:diff/{{{1}}}/{{{2}}}|comparison]]
{{2nycsadiff ", post: "}}
{{nycsadiff ", post: "}}
1995 CSA and 2016 VM CSA: click for [[special:diff/{{{1}}}/{{{2}}}|comparison]]

Tell me more
Sign up for our newsletter — or just get in touch: for ½ a weekly 🍺 you get to consult JC. Ask about it here.

Content and comparisons

{{m comp disc 1994 NY CSA ", post: " |{{ {{{2}}}prov}} }}

[[Template:m comp disc 1994 NY CSA ", post: " |Template]]

Summary

{{m summ 1994 NY CSA ", post: " }}

[[template:m summ 1994 NY CSA ", post: " |Template]]

General discussion

{{m gen 1994 NY CSA ", post: "|{{{7}}} }}

[[template:m gen 1994 NY CSA ", post: "|Template]]

See also

{{m sa 1994 NY CSA ", post: "}}

[[Template:m sa 1994 NY CSA ", post: "|Template]]

References

"

} } } } }); $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'advanced', group: 'format', tools: { "template": { label: 'MCAN2016', type: 'button', icon: 'https://jollycontrarian.com/images/2/26/MCAN2016.png', action: { type: 'encapsulate', options: { pre: "

2016 ISDA Credit Support Annex (VM) (New York law)
A Jolly Contrarian owner’s manual™

Resources and navigation

Paragraph ", post: " in a Nutshell

Use at your own risk, campers!
{{Nutshell 2016 NY CSA ", post: "}}
[[Template:Nutshell 2016 NY CSA ", post: "|view template]]

Full text of Paragraph ", post: "

{{ISDA New York Law Credit Support Annex 2016 ", post: "}}
[[Template:ISDA New York Law Credit Support Annex 2016 ", post: "|view template]]

Related agreements and comparisons

Related Agreements
Click '[[", post: " - NY CSA Provision|here]] for the text of Section [[", post: " - NY CSA Provision|", post: "]] in the 1994 New York law CSA
Click here for the text of Section [[- CSA Provision|]] in the 1995 English Law CSA
Click here for the text of Section [[- VM CSA Provision|]] in the 2016 English Law VM CSA
Comparisons
{{2nycsadiff ", post: "}}
{{nycsadiff ", post: "}}
1995 CSA and 2016 VM CSA: click for [[special:diff/{{{1}}}/{{{2}}}|comparison]]

Tell me more
Sign up for our newsletter — or just get in touch: for ½ a weekly 🍺 you get to consult JC. Ask about it here.

Content and comparisons

{{m comp disc 2016 NY CSA ", post: " |{{ {{{2}}}prov}} }}

[[Template:m comp disc 2016 NY CSA ", post: " |Template]]

Summary

{{m summ 2016 NY CSA ", post: " }}

[[template:m summ 2016 NY CSA ", post: " |Template]]

General discussion

{{m gen 2016 NY CSA ", post: "|{{{7}}} }}

[[template:m gen 2016 NY CSA ", post: "|Template]]

See also

{{m sa 2016 NY CSA ", post: "}}

[[Template:m sa 2016 NY CSA ", post: "|Template]]

References

"

} } } } }); $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'advanced', group: 'format', tools: { "template": { label: 'top trumps', type: 'button', icon: 'http://amwellclear.co.uk/w/images/7/7d/Tag2.png', action: { type: 'encapsulate', options: { pre: "

Top Trumps[[Template:", post: " - FWMD|®]]
Financial Weapons of Mass Destruction[[Template:", post: " - FWMD|®]]


[[File:{{{image}}}|frameless|2000px|center]]


[[", post: "]]


“'


Docs {{{docscore}}}
Amendability {{{amendscore}}}
Collateral {{{collateralscore}}}
Transferability {{{transferscore}}}
Leverage {{{leveragescore}}}
Fright-o-meter {{{frightscore}}}

" } } } } }); $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'advanced', group: 'format', tools: { "template": { label: 'wasteprov', type: 'button', icon: 'https://jollycontrarian.com/images/2/27/Wp.png', action: { type: 'encapsulate', options: { pre: "[[", post: "]]" } } } } }); $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'advanced', group: 'format', tools: { "template": { label: 'confiprov', type: 'button', icon: 'https://jollycontrarian.com/images/e/ec/Cp.png', action: { type: 'encapsulate', options: { pre: "[[", post: " - NDA Provision|", post: "]]" } } } } }); $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'advanced', group: 'format', tools: { "template": {

label: '

The Jolly Contrarian’s Glossary
The snippy guide to financial services lingo.™
Index — Click the ᐅ to expand:
Tell me more
Sign up for our newsletter — or just get in touch: for ½ a weekly 🍺 you get to consult JC. Ask about it here.

', type: 'button', icon: 'https://jollycontrarian.com/images/a/a7/Gl.PNG', action: { type: 'encapsulate', options: {

pre: "

The Jolly Contrarian’s Glossary
The snippy guide to financial services lingo.™
Index — Click the ᐅ to expand:
Tell me more
Sign up for our newsletter — or just get in touch: for ½ a weekly 🍺 you get to consult JC. Ask about it here.

", post: "" } } } } }); $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'advanced', group: 'format', tools: { "template": { label: '==See also== ', type: 'button', icon: 'https://jollycontrarian.com/images/7/7c/Sa.PNG', action: { type: 'encapsulate', options: { pre: "==See also== ", post: "" } } } } }); $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'advanced', group: 'format', tools: { "template": { label: '[[- UCITS V Provision|]]', type: 'button', icon: 'https://jollycontrarian.com/images/d/d7/U.PNG', action: { type: 'encapsulate', options: { pre: "[[", post: " - UCITS V Provision|", post: "]]" } } } } }); $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'advanced', group: 'format', tools: { "template": { label: '[[- AIFMD Provision|]]', type: 'button', icon: 'https://jollycontrarian.com/images/8/83/Aif.PNG', action: { type: 'encapsulate', options: { pre: "[[", post: " - AIFMD Provision|", post: "]]" } } } } }); };

if ( [ 'edit', 'submit' ].indexOf( mw.config.get( 'wgAction' ) ) !== -1 ) { mw.loader.using( 'user.options' ).then( function () { if ( mw.user.options.get( 'usebetatoolbar' ) == 1 ) { $.when( mw.loader.using( 'ext.wikiEditor' ), $.ready ).then( customizeToolbar ); } } ); }


// Add the customizations to LiquidThreads' edit toolbar, if available mw.hook( 'ext.lqt.textareaCreated' ).add( customizeToolbar );

/* Any JavaScript here will be loaded for all users on every page load. */

/* Any JavaScript here will be loaded for all users on every page load. */
/* Good site for buttons: http://commons.wikimedia.org/wiki/Mediawiki_edit_toolbar */