MediaWiki:Common.js: Difference between revisions

Xenwolf (talk | contribs)
add U+2605 (Black Star) and U+2606 (White Star) to Symbols in the editing toolbar
 
+ dot operator to the symbol set
Line 8: Line 8:
     $( '#wpTextbox1' ).on( 'wikiEditor-toolbar-buildSection-characters', function (event, section) {
     $( '#wpTextbox1' ).on( 'wikiEditor-toolbar-buildSection-characters', function (event, section) {
     /* Description of symbols:
     /* Description of symbols:
      U+22C5, Dot Operator (⋅)
       U+2605, Black Star (★)
       U+2605, Black Star (★)
       U+2606, White Star (☆)
       U+2606, White Star (☆)
     */
     */
         section.pages.symbols.characters.push('\u2605', '\u2606');
         section.pages.symbols.characters.push('\u22c5', '\u2605', '\u2606');
     });
     });
});
});