User:RoyZuo
Appearance
Babel user information |
---|
Users by language |
tools
[edit]thoughts
[edit]- Files should be identified and reused with a unique number like
[[File:M56856129|thumb|example]]
. This would eliminate 1 of 3 things doing roughly the same thing: filename, caption, description; and all the rules and maintenance tasks about filename like Category:Media requiring renaming. - Categories should become something like tags or wikidata properties. Each category should deal with 1 specific concept. When categories behave like wikidata items, then they can take on multilingual labels and aliases. Users can therefore no longer be troubled with which name to use, which name needs to be disambiguated, etc. Intersection categories also become useless. Instead of searching for Category:Yellow houses users can search "depicts=houses; colour=yellow"; "location=london; type=photograph; date=2010-03-01" instead of Category:London photographs taken on 2010-03-01...
Previously written: Commons:Requests_for_comment/Categories_of_photographs_by_country_by_date#c-RoyZuo-20240510175700-Limitation_of_mediawiki_search_engine.
- Further, even "(article)" (main) namespace pages on wikipedia etc. should also become something like wikidata items. Then its title can take on lowercase initial, or any illegal characters, just like how file caption has no such limitation.
- It has been quite some time (writing as of 20:39, 7 December 2024 (UTC)) since I started avoiding nominating categories for discussion or moving categories, even if they have obviously unsuitable titles, as long as they dont interfere with the categories I use, because it's a waste of all users' effort and time. As I now recognise, all these problems about mw:Manual:Page_title (be it filename, or category title) can be solved by a different technical design.--RoyZuo (talk) 12:23, 5 January 2025 (UTC)
- Dont design templates, modules or gadgets that are so complicated that only the author can easily understand.
Keep code simple and readable.
Because you should think, one day when you cannot continue maintenance, how to let other users easily take over your codes? We are all volunteers here, so dont expect users to invest a lot of time just to understand your codes.
- My personal style of designing templates:
- avoid recursive transclusion of other templates. (hard to follow through layers of templates called in other templates.)
- keep neat indentation.
- write explicit documentation.
- avoid setting unnecessary style (font colour, background colour, etc.), so that the look can change according to users' preferences instead of designers' choices.
- My personal style of designing templates:
- Cfd has been dysfunctional for a long time (as of 18:32, 9 February 2025 (UTC)).
- Commons:Categories for discussion/2010/11/Category:Videos by display resolution was raised 1 month after these cats first emerged. Yet nothing could be done, despite another Commons:Categories for discussion/2017/06/Category:Videos by display resolution. Now they've grown to 10k junk cat pages.
to-do list
[edit]- to-do list: commons maintenance that I cant do due to lack of time.
- universal archive calendar template in new to old order
- Commons:File requests map https://de.wikipedia.org/wiki/Benutzer_Diskussion:DB111#Geogroup_fuer_Seite_auf_Commons ; header
- v graphic guide
- photo challenge vertical table
- 1 click to https://xtools.wmcloud.org/topedits/commons.wikimedia.org/username/4/Sandbox
- 1 click to ocr
coding exercises
[edit]- MediaWiki:Gadget-Cat-a-lot.js make a fork with input container at bottom not top
- cat move bot capable of suppressing redirect (User:SteinsplitterBot moves cats without option to suppress, i think?)
- target doesnt exist? easy
- redirect yes: SteinsplitterBot
- redirect no: new bot
- target exists? compare create dates -> new bot/script
- target older? easy. redirect (then optionally delete)
- target newer? delete target for a super short period, then bot moves cat.
- target doesnt exist? easy
- bot to monitor new cat pages that contain both a-z and cjk chars.
- script reinvent wheel