mirror of
https://github.com/JimmXinu/FanFicFare.git
synced 2026-05-05 19:11:50 +02:00
Fix for base_xenforo's tagsfromtitle needing to be split.
This commit is contained in:
parent
88c38d5d85
commit
b8e3f33646
2 changed files with 14 additions and 16 deletions
|
|
@ -544,14 +544,6 @@ include_in_tagsfromtitle:title.NOREPL
|
|||
tagsfromtitle_label:Tags from Title
|
||||
forumtags_label:Tags from Forum
|
||||
|
||||
## might want to do this, maybe not. Will often include category, but
|
||||
## also often include non-category stuff.
|
||||
# include_in_category:tagsfromtitle
|
||||
|
||||
add_to_include_metadata_pre:
|
||||
# only keep tagsfromtitle with ( or [ in.
|
||||
tagsfromtitle=~[\[\(]
|
||||
|
||||
## disable chapter range in title because of tagsfromtitle processing.
|
||||
title_chapter_range_pattern:
|
||||
|
||||
|
|
@ -565,6 +557,13 @@ add_to_replace_metadata:
|
|||
# change (spaces)slash(or semicolon)(spaces) to comma
|
||||
tagsfromtitle=> *[/;|] *=>,
|
||||
tagsfromtitle=> [xX] =>,
|
||||
# split commas into individual list items.
|
||||
# these will work on up to 14 splits, should be plenty.
|
||||
tagsfromtitle=>([^,]+),([^,]+),([^,]+),([^,]+),([^,]+),(.+)=>\1\,\2\,\3,\4\,\5\,\6
|
||||
tagsfromtitle=>([^,]+),([^,]+),([^,]+),([^,]+),(.+)=>\1\,\2\,\3,\4\,\5
|
||||
tagsfromtitle=>([^,]+),([^,]+),([^,]+),(.+)=>\1\,\2\,\3,\4
|
||||
tagsfromtitle=>([^,]+),([^,]+),(.+)=>\1\,\2\,\3
|
||||
tagsfromtitle=>([^,]+),(.+)=>\1\,\2
|
||||
|
||||
# remove [] or () blocks and leading/trailing spaces/dashes/colons
|
||||
title=>[-: ]*[\(\[]([^\]\)]+)[\)\]][-: ]*=>
|
||||
|
|
|
|||
|
|
@ -571,14 +571,6 @@ include_in_tagsfromtitle:title.NOREPL
|
|||
tagsfromtitle_label:Tags from Title
|
||||
forumtags_label:Tags from Forum
|
||||
|
||||
## might want to do this, maybe not. Will often include category, but
|
||||
## also often include non-category stuff.
|
||||
# include_in_category:tagsfromtitle
|
||||
|
||||
add_to_include_metadata_pre:
|
||||
# only keep tagsfromtitle with ( or [ in.
|
||||
tagsfromtitle=~[\[\(]
|
||||
|
||||
## disable chapter range in title because of tagsfromtitle processing.
|
||||
title_chapter_range_pattern:
|
||||
|
||||
|
|
@ -592,6 +584,13 @@ add_to_replace_metadata:
|
|||
# change (spaces)slash(or semicolon)(spaces) to comma
|
||||
tagsfromtitle=> *[/;|] *=>,
|
||||
tagsfromtitle=> [xX] =>,
|
||||
# split commas into individual list items.
|
||||
# these will work on up to 14 splits, should be plenty.
|
||||
tagsfromtitle=>([^,]+),([^,]+),([^,]+),([^,]+),([^,]+),(.+)=>\1\,\2\,\3,\4\,\5\,\6
|
||||
tagsfromtitle=>([^,]+),([^,]+),([^,]+),([^,]+),(.+)=>\1\,\2\,\3,\4\,\5
|
||||
tagsfromtitle=>([^,]+),([^,]+),([^,]+),(.+)=>\1\,\2\,\3,\4
|
||||
tagsfromtitle=>([^,]+),([^,]+),(.+)=>\1\,\2\,\3
|
||||
tagsfromtitle=>([^,]+),(.+)=>\1\,\2
|
||||
|
||||
# remove [] or () blocks and leading/trailing spaces/dashes/colons
|
||||
title=>[-: ]*[\(\[]([^\]\)]+)[\)\]][-: ]*=>
|
||||
|
|
|
|||
Loading…
Reference in a new issue