Avicennasis has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/227189

Change subject: Updated listify option from * to # to number lists.
......................................................................

Updated listify option from * to # to number lists.

Change-Id: I41de718de4e6380fcdc653fc6d275365f94f3af1
---
M scripts/category.py
1 file changed, 4 insertions(+), 4 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/pywikibot/core 
refs/changes/89/227189/1

diff --git a/scripts/category.py b/scripts/category.py
index 3f9a220..c5f167d 100755
--- a/scripts/category.py
+++ b/scripts/category.py
@@ -801,18 +801,18 @@
             if (not article.isImage() or
                     self.showImages) and not article.isCategory():
                 if self.talkPages and not article.isTalkPage():
-                    listString += "*[[%s]] -- [[%s|talk]]\n" \
+                    listString += "#[[%s]] -- [[%s|talk]]\n" \
                                   % (article.title(),
                                      article.toggleTalkPage().title())
                 else:
-                    listString += "*[[%s]]\n" % article.title()
+                    listString += "#[[%s]]\n" % article.title()
             else:
                 if self.talkPages and not article.isTalkPage():
-                    listString += "*[[:%s]] -- [[%s|talk]]\n" \
+                    listString += "#[[:%s]] -- [[%s|talk]]\n" \
                                   % (article.title(),
                                      article.toggleTalkPage().title())
                 else:
-                    listString += "*[[:%s]]\n" % article.title()
+                    listString += "#[[:%s]]\n" % article.title()
         if self.list.exists() and not self.overwrite:
             pywikibot.output(u'Page %s already exists, aborting.'
                              % self.list.title())

-- 
To view, visit https://gerrit.wikimedia.org/r/227189
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I41de718de4e6380fcdc653fc6d275365f94f3af1
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: Avicennasis <avicenna...@gmail.com>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to