User:Magioladitis/KingbotK
Latest comment: 13 years ago by Magioladitis in topic Generic templates
How to clean WikiProjectBannerShells
editFixed! |
---|
This section tries to fix/improve BannerShells.vb
Main aim is to make a new function inside TalkPageHEaders for that
|
How to clean WPBiography
editLiving fixes
edit- Always add an empty living when is missing
- Done If WPBiography with
|living=yes
and no BannerShell present then move WPBiography on top of all WikiProject banner (genfix)
Class fixes (by xeno)
edit- AWB checks article for stub template (found?) - class=stub|auto=yes [option to skip if auto-stub/inherit conflict exists]
- (not found?) check for other ratings (found?) - class=X|auto=inherit [subject to logic rules]
- (not found?) check length of article (below Y bytes?) - class=stub|auto=length [usually set 2500 bytes or lower, will only allow stub per WP:1.0]
- (not found?) class=
Priority fixes
editSingle work-group
edit- Yobot doing it.
Multiple work-groups
editYobot doing it.
- START FUNCTION
- In {{WikiProject Biography}} find
|priority=
and if it's not empty: - For every FOO-work-group DO
- FOO-priority=value of priority
- END DO
- Delete
|priority=
- END FUNCTION
Listas fixes
edit- Add listas automatically when title is only one word (easy)
- Add listas automatically when title is two words and not a music band (difficult)
- The rest is already done. We now always add listas in manual mode and not in bot mode.
Generic templates
editMiscellaneous
edit- Stop treating tags with hidden comments or spaces in parameter names as bad tags.
- You get that for free. Rjwilmsi 14:14, 26 June 2010 (UTC)
- Done Allow class=Image
xeno's wishlist
edit- (no particular order)
- Native handling of categories lists in an automated fashion
- Allow user to auto-tag as any class, and supply reason "yes" (for stub template), "inherit" or "length" as the reason
- Allow user to set importance=Z|auto=yes for projects that use category keys
- Allow users to create task forces within the generic template option.
- Check banner template for auto= parameter handler, warn user if not set properly.
- Set location of banner: lowest (default), highest, below user choices [e.g. child project below parent, below WPBio, etc.]
- Done Try to get any non-banners out of the banner block. (DYKtalk,articlehistory,oldxfd,pressmulti,etc.)
Auto-assessment
edit- Disambig, List, FL, GA, and FA class ratings will now always be inherited, regardless of whether the project has opted in to inheriting, since there really isn't a reason why these shouldn't be inherited.
- Inherited ratings for those classes will not be marked with
|auto=inherit
since these don't need checking by a human.
More stuff we ll need
edit- Before adding check if the template or one of its redirects exist (plugin)
- Done If BannerShell present then add inside it (plugin)