מדיה ויקי:סקריפטים/52.js
קפיצה לניווט
קפיצה לחיפוש
הערה: לאחר השמירה, ייתכן שיהיה צורך לנקות את זיכרון המטמון (cache) של הדפדפן כדי להבחין בשינויים.
- פיירפוקס / ספארי: להחזיק את המקש Shift בעת לחיצה על טעינה מחדש (Reload), או ללחוץ על צירוף המקשים Ctrl-F5 או Ctrl-R (במחשב מק: ⌘-R).
- גוגל כרום: ללחוץ על צירוף המקשים Ctrl-Shift-R (במחשב מק: ⌘-Shift-R).
- אינטרנט אקספלורר: להחזיק את המקש Ctrl בעת לחיצה על רענן (Refresh), או ללחוץ על צירוף המקשים Ctrl-F5.
- אופרה: לפתוח תפריט ← הגדרות (במחשב מק: Opera ← העדפות) ואז ללחוץ על פרטיות ואבטחה ← מחק היסטוריית גלישה ← Cached images and files.
// Adds "=>", "<=", "bidiOver" and "bidiNormal" buttons to editor toolbar, // setting edit-box and summery line to ltr, rtl, bidi-Override and bidi-normal modes. if (~$.inArray(mw.config.get('wgAction'), ['edit', 'submit'])) $(function() { $.each([ {l: '=>', d: {direction: 'rtl'}}, {l: '<=', d: {direction: 'ltr'}}, {l: 'bidiOver', d: {unicodeBidi: 'bidi-override'}}, {l: 'bidiNormal', d: {unicodeBidi: 'normal'}} ], function(index, item) { $('#editform').before( $('<input>', {type: 'button', value: item.l}) .click(function() { $("#wpTextbox1, .ace_editor, #wpSummary").css(item.d); }) ); }); });