User:Fahrenheit: Difference between revisions

Jump to navigation Jump to search
m
no edit summary
mNo edit summary
 
Line 1: Line 1:
{{TOCright}}
{{TOCright}}
== New Anime Page Patterns and Usage ==
== New Anime Page Patterns and Usage ==


Line 17: Line 18:
=== Syntax and some rules ===
=== Syntax and some rules ===


Filter Syntax:<br />
Filter Syntax:<br>
Except for element "0", that states how many rules there are, elements follow this format:<br />
Except for element "0", that states how many rules there are, elements follow this format:<br>
"'''RULE NUMBER'''":{"'''RULE SUBJECT''' #1":"'''OPERATION''','''TEST'''";"'''RULE SUBJECT''' #2":"'''OPERATION''','''TEST'''"; etc};<br />
"'''RULE NUMBER'''":{"'''RULE SUBJECT''' #1":"'''OPERATION''','''TEST'''";"'''RULE SUBJECT''' #2":"'''OPERATION''','''TEST'''"; etc};<br>
<br />
<br>
Where '''RULE SUBJECT''' can be one of the following:
Where '''RULE SUBJECT''' can be one of the following:
<br />
<br>
;fdate : File add date
;fdate : File add date
;eusers : Total number of users for this episode
;eusers : Total number of users for this episode
Line 30: Line 31:
;fgroup : File Group Id
;fgroup : File Group Id
;fversion : File version
;fversion : File version
;finmylist : File is in mylist
;finmylist : File is in MyList
;efvisible : Total number of files
;efvisible : Total number of files
;falang : Any of the file audio languages is one of the preferred langs (if using obj.filterAudLang) or given lang
;falang : Any of the file audio languages is one of the preferred langs (if using obj.filterAudLang) or given lang
Line 40: Line 41:
;fraw : Is file RAW
;fraw : Is file RAW
;fgroupfiltered : Is group filtered
;fgroupfiltered : Is group filtered
<br />
<br>
'''Notes:'''
'''Notes:'''
* When '''RULE SUBJECT''' is prefixed with "c_sf_", there will be test of comparison for all files of the episode and the results of this comparison will be stored in processing Files
* When '''RULE SUBJECT''' is prefixed with "c_sf_", there will be test of comparison for all files of the episode and the results of this comparison will be stored in processing Files
* When '''RULE SUBJECT''' is prefixed with "c_rf_", there will be test of comparison for all files stored in processing Files, and the list will be updated with the results
* When '''RULE SUBJECT''' is prefixed with "c_rf_", there will be test of comparison for all files stored in processing Files, and the list will be updated with the results
* No '''RULE SUBJECT''' prefixed with "c_" imply that you are testing an attribute, think of it as a SQL select where  
* No '''RULE SUBJECT''' prefixed with "c_" imply that you are testing an attribute, think of it as a SQL select where  
<br />
<br>
'''OPERATION''' can be one of the following:
'''OPERATION''' can be one of the following:
<br />
<br>
;> : greater than
;> : greater than
;< : lesser than
;< : lesser than
Line 54: Line 55:
;== : Equal to
;== : Equal to
;!= : Not equal to
;!= : Not equal to
<br />
<br>
Where '''TEST''' is the value to test, there are special cases:
Where '''TEST''' is the value to test, there are special cases:
<br />
<br>
;this : will test against the same '''RULE SUBJECT''' (only used in "c" prefixed '''RULE SUBJECTS''')
;this : will test against the same '''RULE SUBJECT''' (only used in "c" prefixed '''RULE SUBJECTS''')
<br />
<br>
'''Notes:'''
'''Notes:'''
* For each '''RULE NUMBER''' the '''RULE SUBJECTS''' are tested using '''AND'''
* For each '''RULE NUMBER''' the '''RULE SUBJECTS''' are tested using '''AND'''
Line 116: Line 117:
Currently i gave users the option to expand files which have file<->file relations, so the file table for the Episode that holds File A and File B would look like this with all files expanded:
Currently i gave users the option to expand files which have file<->file relations, so the file table for the Episode that holds File A and File B would look like this with all files expanded:


File A .......<br />
File A .......<br>
\- File B ....<br />
\- File B ....<br>
File B .......<br />
File B .......<br>
\- File A
\- File A


With pseudo-files i create a new super-file that would have the following attributes ja audio, en and de subtitles, and it's representation is something like this, where File P is the Pseudo-File:
With pseudo-files i create a new super-file that would have the following attributes ja audio, en and de subtitles, and it's representation is something like this, where File P is the Pseudo-File:


File P .......<br />
File P .......<br>
|- File A ....<br />
|- File A ....<br>
\- File B ....
\- File B ....


1,633

edits

Navigation menu

MediaWiki spam blocked by CleanTalk.
MediaWiki spam blocked by CleanTalk.