מדיה ויקי:Gadget-Checkty.js: הבדלים בין גרסאות בדף

קפיצה לניווט קפיצה לחיפוש
עדכון: https://he.wikipedia.org/wiki/%D7%9E%D7%93%D7%99%D7%94_%D7%95%D7%99%D7%A7%D7%99:Gadget-Checkty.js
(עדכון מויקיפדיה: https://he.wikipedia.org/wiki/%D7%9E%D7%93%D7%99%D7%94_%D7%95%D7%99%D7%A7%D7%99:Gadget-Checkty.js)
(עדכון: https://he.wikipedia.org/wiki/%D7%9E%D7%93%D7%99%D7%94_%D7%95%D7%99%D7%A7%D7%99:Gadget-Checkty.js)
שורה 1,086: שורה 1,086:
mergeRefsWithoutName: function() { // merge refs with same content
mergeRefsWithoutName: function() { // merge refs with same content
var references = {},// a dictionary where key is the ref content and the value is list of uses
var references = {},// a dictionary where key is the ref content and the value is list of uses
refRE = /\{\{הערה\|(?! *שם *=)(?:1=)?((?:[^\{\}]|\{\{.*?\}\})+)(?!\|=שם=)\}\}/g,
refTemplateRE = /\{\{הערה\|(?! *שם *=)(?:1=)?((?:[^\{\}]|\{\{.*?\}\})+)(?!\|=שם=)\}\}/g,
refTagRE = /<ref>(.+?)<\/ref>/g,
wikitext = this.textbox.value, m;
wikitext = this.textbox.value, m;
while ( m = refRE.exec( wikitext ) ){
while ( m = refTemplateRE.exec( wikitext ) ){
references[m[1]] = references[m[1]] || [];
references[m[1]].push(m[0]);
}
while ( m = refTagRE.exec( wikitext ) ){
references[m[1]] = references[m[1]] || [];
references[m[1]] = references[m[1]] || [];
references[m[1]].push(m[0]);
references[m[1]].push(m[0]);

תפריט ניווט