Merge branch 'fs#154-categorie-colons-missing' into develop
This commit is contained in:
@@ -187,7 +187,9 @@ class MarkPagesBot( CurrentPageBot ): # sets 'current_page' on each treat()
|
||||
save_ret = self.put_current( self.new_text, summary=summary )
|
||||
|
||||
# Normalize title with anchor (replace spaces in anchor)
|
||||
article = self.current_page.title(withNamespace=False)
|
||||
article = self.current_page.toggleTalkPage().title(
|
||||
asLink=True, textlink=True)
|
||||
article = article.strip("[]")
|
||||
article_parts = article.split("#", 1)
|
||||
if len(article_parts) == 2:
|
||||
article_parts[1] = article_parts[1].replace(" ", "_")
|
||||
|
||||
Reference in New Issue
Block a user