Replacing orphan_account regex

This commit is contained in:
chocolatechipcats 2023-04-04 23:32:02 -03:00 committed by Jim Miller
parent cde8a739fb
commit 3f52734da2

View file

@ -1578,9 +1578,10 @@ include_in_chapterstotal:chapterslashtotal.NOREPL
add_to_replace_metadata:
chapterstotal=>^([0-9])+/(.+)$=>\2
## The link to orphan_account just leads to a 404 page.
## Due to a bug with Archive of Our Own, the
## link to orphan_account just leads to a 404 page.
## This replaces it with a link to the AO3 homepage.
authorUrl=>(https://archiveofourown\.org)/users/orphan_account/pseuds/orphan_account=>\1
## authorUrl=>(/users/orphan_account)/pseuds/.*$=>\1
## adds to titlepage_entries instead of replacing it.
#extra_titlepage_entries: fandoms,freeformtags,ao3categories,comments,chapterslashtotal,chapterstotal,kudos,hits,bookmarks,bookmarked,bookmarktags,bookmarksummary,series01HTML,series02HTML,series03HTML,byline