User:DStoykov/defaultsort.js: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 5:
var sortkey = '';
// create an array of all category links
var catlinks = txt.value.match(/\[\[\s*((C|K})at(e|é)gor(y|i|ie|ia|ía|ija|io)|Кат(е|э)гор(ия|ија|ія|ыя)|Luokka|Flokkur|Κατηγορία)\s*:.*\]\]/ig);
if (txt.value.match(/\{\{\s*defaultsort/i)) {
alert('There\'s already a defaultsort statement!');