Skip to content

Commit

Permalink
fixed what's actually disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
HazardSJ committed Aug 28, 2013
1 parent a82e2bd commit c39f000
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions citationstyle.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,9 +115,6 @@ def replaceWikilinks(URL, title):
self.template.remove("language")
self.template.add("language", self.getLanguage(temp.name.lower().strip()[5:]))
self.template.get(title).value.replace(temp, temp.get(1).value)
else:
self.code.insert_after(self.template, temp)
self.template.get(title).value.remove(temp)
replaceWikilinks("url", "title")
replaceWikilinks("chapterurl", "article")
replaceWikilinks("chapterurl", "chapter")
Expand Down Expand Up @@ -189,7 +186,7 @@ def run(self):
if not self.template.name.lower().strip() in self.citationTemplates:
continue
try:
# self.removeWikilinks() # too many issues, unless coded for specific cases
self.removeWikilinks()
self.fixEmptyCitations()
self.getURLFromArchive()
self.getArchiveDate()
Expand Down

0 comments on commit c39f000

Please sign in to comment.