My JavaScript & Cascading Style Sheets
edit- Developed for the Vector (legacy/2010 not 2022) skin; may not work well or at all for others
- May conflict with other user scripts, stylesheets or Gadgets
- Some do conflict with MediaWiki "Web Fonts" (will look into it)
My common JS & CSS
edit- My common JavaScript – only importing the resource manager below
- My common CSS – a few tweaks
Currently in use and reliable
editProbably still being fine tuned now and then, but good to go (mostly) |
- navigationUI.js – compressed navigation user interface with expanded content; "sticky header" since 2016 😜
- quickLinks.js – discrete UI widget for easily maintaining a user defined list of bookmarks; interwiki use (nearly)
- allowTabs.js – tab key inserts a tab character instead of jumping to next input whilst editing
- showSpecialDiffLink.js – shows a configured
[[Special:Diff/oldid/diff]]
link syntax on diff pages - correctFirstHeadingOfSpecialPages.js – does what it says on the tin; e.g. special page first heading "User contributions for Fred Gandt" becomes "Special:Contributions/Fred_Gandt"
unwatchList.js – unwatch (and rewatch if you make a mistake) pages directly while viewing changes to your watchlist- Functionality built into preferences now; apply some CSS and it's not bad; probably more efficient
Listed at Wikipedia:User scripts/List
edit- addCloneClearButtonAboveScributoConsole.js – does what it says on the tin
- aceEditorOptions.js – provides a GUI to change and save desired settings for the Ace editor used on JavaScript, JSON, CSS and Module pages
- userResourceManager – powerful meta-tool for user JavaScript and Stylesheet management; multi-tab problem to be fixed
- confirmLogout.js – almost never (user scripts aren't loaded on preferences pages) accidentally log out again
- responsiveHistoryCompare.js – dynamically move Compare selected revisions buttons next to the selected revisions on
action=history
pages - subdueLinks.js – add options to switch hyperlink color on and off
- sectionFooters.js – add ghosted clones of editable-section headings to the end of the respective sections
- getUnpatrolledOfAlexNewArtBotResultsPages.js – search AlexNewArtBot***SearchResults for unpatrolled pages; see User:AlexNewArtBot
- watchUserContribs.js – add/remove pages listed in Special:Contributions to/from your watchlist
- addUserContribsEditSummaryCountLink.js – add a link to xTools "Analysis of edit summary usage" to the footer on user contributions pages
On the todo list
editBest to steer clear of this stuff |
Not fully fleshed out
editSome parts might be very good |
- greenTechDocs.js – applies styling for Module and Template doc pages inline with how they look when transcluded
- moveFailedModuleTestsToTop.js – for use on Module:UnitTests results pages
- controlSiteWidth.js – control the width and horizontal alignment of the site; useful for ultrawide monitors
- dupeLinks.js – detect duplicate links in articles; in very early development; MOS:DUPLINK
- sectionLinks.js – add permalinks to all section headings; scroll wheel access on cursor hover
- wikilinkPlus.js – add related shortcuts to most wikilinks; Alt+left mouse click for extras; clashes with default browser functionality
- previewCategoryDupeArgs.js – semi automated duplicate arguments hunting tool, specifically for use working on Category:Pages using duplicate arguments in template calls
- teleDirect.js – remotely create redirects
- stopChromeJumpingTheDamnTextboxOnEveryReturnPress.js – does what it says on the tin
- fixDodgyShortDescriptions.js – offers GUI for addressing bad short descriptions directly from Special:Search results
- ambiguousLinks.js – highlights links to disambiguation pages in articles
Possibly working; definitely nasty
edit- globalWatchlist.js – watchlists from all projects linked to Watchlist; needs streamlining
Avoid like the plague!
edit- My JavaScript test script – I Dunno LOL ¯\(°_o)/¯
My templates
edit{{subst:Editing advice}}
- Using Module:Editing advice
{{GotCollegeColorsFor}}
{{IP-talk}}
{{NUMBEROFSECTIONS}}
- Using Module:NUMBEROFSECTIONS
– redirected to{{subst:PleaseCite}}
{{subst:Uw-unsourced1}}
{{subst:Rfd2 multi}}
{{See it}}
{{Usig}}
{{subst:Warn}}
{{subst:Welcome to Wikipedia}}
– I played a large part in its development
My modules
editI consider myself a novice Lua learner.
In progress
editIt seems like I'm currently doing something else...
Semi complete
editSafe space for testing
editBecause messing about for days or weeks at a time in other Module's sandboxes is likely to be bothersome to other editors
Venn
editT483 --> Wikipedia:TemplateStyles
White | ||
---|---|---|
1 | ||
2 | ||
3 | ||
4 | ||
5 | ||
6 | ||
7 | ||
8 | ||
9 | ||
10 | ||
Red | Green | Blue |
1 | 3 | 2 |
2 | 4 | 3 |
3 | 5 | 5 |
4 | 6 | 7 |
Red and Green | Green and Blue | Blue and Red |
3 | 3 | 2 |
4 | 5 | 3 |
Red, Green and Blue | ||
3 |
Possible templates for development
editPlease discuss
editRecently, on two occasions (then and then), the spelling of Slash's current girlfriend's name has been actively disputed without discussion; for the record, let us have the discussion and put the dispute to rest.
In the body of the article, Hodges's first name is stated only once, making reference to a Daily Mail (which has been discussed at length and is considered potentially unreliable) publication, and is spelled "Meegan". The value of the |partner=
parameter in the article's {{Infobox person}} template currently states "Megan" as the spelling for her first name.
Disruptively edit-arguing over article content without even descriptive/informative edit summaries is an unacceptable method of attempting to establish article content; let us discuss the difference of opinion, reach consensus and let the matter lie. Until consensus has been reach with regard to the content directly related to this discussion, the status quo should be maintained.
International English
editYou recently edited Rubin Carter with the edit summary (thanks for actually leaving them) Fixed a word: changed a non existant word to what it seems to be was the intended word, ie burgle
; "burglarize" is an "existant" word[1] (unlike "existant" which should probably have been "existent"). These differences in international English usage can be trivial, but can also be quite important. For example; some articles are explicitly written in British English or American English with deference to their content, and editors should maintain the correct spellings etc. We even have special templates designed to maintain the continuity, such as {{Use American English}}
(see its documentation's "See also" section for loads of other similar specification templates). Just something to be aware of.
References
- ^ "Do Burglars 'Burgle' or 'Burglarize'?". www.merriam-webster.com.
Short genre description
editUser:Fred Gandt/sandbox/Sgd using Module:Sandbox/Fred Gandt/sgd (in development) using User:Fred Gandt/sandbox/Sgd/list
{{User:Fred Gandt/sandbox/Sgd|C-pop}}
= C-pop (Chinese pop){{User:Fred Gandt/sandbox/Sgd|J-pop}}
= J-pop (Japanese pop){{User:Fred Gandt/sandbox/Sgd|K-pop}}
= K-pop (Korean pop){{User:Fred Gandt/sandbox/Sgd|V-pop}}
= V-pop (Vietnamese pop)
No available description
edit{{User:Fred Gandt/sandbox/Sgd|Dubstep}}
= Dubstep{{User:Fred Gandt/sandbox/Sgd|Mbube (genre)}}
= Mbube{{User:Fred Gandt/sandbox/Sgd|Electronic music}}
= Electronic{{User:Fred Gandt/sandbox/Sgd|Witch house (music genre)}}
= Witch house{{User:Fred Gandt/sandbox/Sgd|Power electronics (music)}}
= Power electronics
Override or add description on-the-fly
edit{{User:Fred Gandt/sandbox/Sgd|C-pop|Popular Chinese music}}
= C-pop (Popular Chinese music){{User:Fred Gandt/sandbox/Sgd|J-pop|Japanese popular music}}
= J-pop (Japanese popular music){{User:Fred Gandt/sandbox/Sgd|Grindcore|Painful if done without adult supervision}}
= Grindcore (Painful if done without adult supervision){{User:Fred Gandt/sandbox/Sgd|Electronic music|Great if your upstairs neighbour doesn't like it}}
= Electronic (Great if your upstairs neighbour doesn't like it)
Override removal of disambiguation
edit{{User:Fred Gandt/sandbox/Sgd|Mbube (genre)||no}}
= Mbube (genre){{User:Fred Gandt/sandbox/Sgd|Electronic music|[[Doof doof]]|keep}}
= Electronic music (Doof doof){{User:Fred Gandt/sandbox/Sgd|genre=Witch house (music genre)|desc=Spoopy|disambig=keep}}
= Witch house (music genre) (Spoopy){{User:Fred Gandt/sandbox/Sgd|Power electronics (music)|disambiguation=is awesome sometimes}}
= Power electronics (music)
Use named params
edit{{User:Fred Gandt/sandbox/Sgd|genre=C-pop}}
= C-pop (Chinese pop){{User:Fred Gandt/sandbox/Sgd|article=J-pop}}
= J-pop (Japanese pop){{User:Fred Gandt/sandbox/Sgd|page=K-pop}}
= K-pop (Korean pop){{User:Fred Gandt/sandbox/Sgd|genre=C-pop|description=Popular Chinese music}}
= C-pop (Popular Chinese music){{User:Fred Gandt/sandbox/Sgd|article=J-pop|desc=Japanese popular music}}
= J-pop (Japanese popular music)
Substituted
editAlthough the output may currently include HTML, I will prefer to output {{small}}
in the substituted markup (to do)
{{subst:User:Fred Gandt/sandbox/Sgd|C-pop}}
=[[C-pop|C-pop]] <span style="font-size:85%">(Chinese pop)</span>
{{subst:User:Fred Gandt/sandbox/Sgd|C-pop|Popular Chinese music}}
=[[C-pop|C-pop]] <span style="font-size:85%">(Popular Chinese music)</span>
{{subst:User:Fred Gandt/sandbox/Sgd|Witch house (music genre)}}
=[[Witch house (music genre)|Witch house]]
{{subst:User:Fred Gandt/sandbox/Sgd|Electronic music|[[Doof doof]]|keep}}
=[[Electronic music]] <span style="font-size:85%">([[Doof doof]])</span>
{{subst:User:Fred Gandt/sandbox/Sgd|Witch house (music genre)|disambig=ftw}}
=[[Witch house (music genre)]]