مدیاویکی:Gadget-Extra-Editbuttons-persianwikitools.js: تفاوت میان نسخهها
محتوای حذفشده محتوای افزودهشده
/ / |
استفاده از persianSort به جای persianSortTools |
||
خط ۴۷۱:
function sortCategories(content, pageName) {
return content.replace(/((?:\n\[\[رده:.+\]\])+)/, function (categories) {
var sortedCategories = persianTools.
return '\n' + sortedCategories
// Put a "| " on category with the same name as the page
if (line.indexOf('[[رده:' + pageName + ']]') === 0)
|