https://www.mediawiki.org/wiki/Writing_an_extension_for_deployment
Note to self never dig in archives.
User:Gnomingstuff/AI_experiment#Results_(four-word_phrases)
Wikipedia:WikiProject Wikipedia essays/Assessment/Links
RfC template should have a parameter where you fill in a link to the previous disussion(s). No previous discussions, no RfC
There was a linter error in User:Polygnotus/sr
maybe merge User:Polygnotus/Scripts/SectionLinks and User:Polygnotus/Scripts/CollapseSections.js
https://en.wikipedia.org/wiki/Talk:Cilly_Sch%C3%A4fer
Make list of people who need a Wikipedia:Arbitration/Index/Palestine-Israel_articles#Balanced_editing_restriction
Write something better than massRollback. Should use Undo. Should check if subsequent edits are within the edited area.
Combine User:Polygnotus/Scripts/NamespaceFilter.js and User:Polygnotus/Scripts/FilterTags.js and User:Polygnotus/Scripts/Filter.js
Should work on both history and contribs pages. AND/OR support. Autocomplete for tags/namespaces?
Compare User:Polygnotus/Data/NYTimes.com.js with https://github.com/zotero/translators/blob/master/NYTimes.com.js
get rid of minor mistakes, then submit to github. Not sure if Citoid uses the translators directly from Zotero’s github, or hosts their own on Gerrit or whatever. Wikipedia:Village_pump_(technical)#NYT_Zotero_translator
Check contribs and Java code to see if there are more strings that need to be filtered out (whitespace/case sensitivity)
User:Polygnotus/PAWS/DreamRimmer
insource:”import pywikibot”
insource:”import mwparserfromhell”
https://en.wikipedia.org/wiki/User:DreamRimmer/sandbox
https://wikitech.wikimedia.org/wiki/PAWS
https://en.wikipedia.org/wiki/Template:Discussion_tracker
Add “Contribs” as listgenerator option User:Polygnotus/Scripts/ListGenerator2.js
Read: the WMF’s policy about which international law it is subject to and when, the privacy policy about sharing personal information, the FAQ about the WMF responding to subpoenas, and the transparency reports where they disclose how many times personal information or changes to content was requested and by whom, and how many times those requests were honored (in the 2nd half of 2024, 2 out of 23 requests for user information were granted, and 3 out of 314 requests for content changes were granted).
https://en.wikipedia.org/wiki/User_talk:Polygnotus/Scripts/WikiTextExpander
insource:”worldreligionnews” is a Scientology site, https://www.worldreligionnews.com/featured-contributors/scientologist-news-featured-contributors/five-things-you-may-not-know-about-david-miscavige/
https://github.com/MER-C/wiki-java
Luis Elizondo should be rewritten
https://en.wikipedia.org/wiki/File:Wikicat.svg
It may be a good idea to whitelist all refs contained in templates in User:Polygnotus/DuplicateReferences. See this
Add this to every script that doesn’t need to run on mobile
https://meta.wikimedia.org/wiki/Community_Wishlist/Focus_areas/Template_recall_and_discovery
https://nostalgia.wikipedia.org/wiki/HomePage
Wikipedia:WikiProject AI Cleanup/AI catchphrases
Compare User:Andrybak/Scripts/copy-section-link.js with User:Polygnotus/Scripts/SectionLinks.js
Wikipedia_talk:Scripts++#AI_Proofreader
https://en.wikipedia.org/wiki/User:Polygnotus/Scripts/ListGenerator.js
can replace
User:Polygnotus/Scripts/CategoryToClipboard
but I should probably use the trick in User:Polygnotus/Scripts/UseBlank.js to give ListGenerator its own page.
User:Polygnotus/Data/DJL
improve User:Polygnotus/Scripts/DetectPromo with
https://en.wikipedia.org/wiki/User:Moonythedwarf/extra-unreliable
https://en.wikipedia.org/wiki/User_talk:WereSpielChequers#Link
Look at https://en.wikipedia.org/wiki/Special:PrefixIndex/User:Cramulator/
in User:Polygnotus/Scripts/WikiEditorToolbar.js I had found a way to add OOUI buttons and a way to add buttons that when clicked prompt you.
using User:Polygnotus/Scripts/UseBlank.js give User:Polygnotus/Scripts/DiscussionToolsDrafts.js and User:Polygnotus/Scripts/WebArchives.js their own page.
Does LG2 completely replace CtC and LG1?
User:Polygnotus/Scripts/ListGenerator2.js
User:Polygnotus/Scripts/ListGenerator.js
User:Polygnotus/Scripts/CategoryToClipboard.js
https://en.wikipedia.org/wiki/MediaWiki_talk:Gadget-morebits.js#Morebits_and_MOS:ORDER
use database scanner to detect repeated words (max 2 in a row)
There is a wide gap between what “normal” people can do on Wikipedia and what nerds can do.
If you have User:Polygnotus/Scripts/CategoryToClipboard and a hypothetical script that turns search results into a similar list then you can use that as a listgenerator for JWB
in JS, add listgenerator functionality to the relevant pages.
you can request a file rename with https://en.wikipedia.org/wiki/Template:Rename_media
https://en.wikipedia.org/wiki/User:Rjjiii/How_do_folks_read_Wikipedia%3F
Play around with User:Very Polite Person/Template:CiteQuoteGroup
How does the InternetArchiveBot deal with the fact I improved the links here: https://en.wikipedia.org/w/index.php?title=Knowledge_Engine_%28search_engine%29&diff=1289502443&oldid=1243790609
It probably shouldn’t update the archive link, but then there is a discrepancy between the links and their archived versions.
Talk:Facilitated_communication#Telepathy_claims
https://en.wikipedia.org/wiki/Wikipedia:Village_pump_(technical)#TopicSubscriptions
Convert User:Polygnotus/Scripts/DiscussionToolsDrafts and User:Polygnotus/Scripts/WikiTextExpander to OOUI?
https://doc.wikimedia.org/codex/latest/components/demos/button.html#css-only-version
https://commons.wikimedia.org/wiki/User:Jack_who_built_the_house/Convenient_Discussions
User:Polygnotus/Scripts/SourceTable
Wikipedia:User_scripts/Requests#Source_assessing — Template:Source assess table used in Wikipedia:Articles for deletion/Nambiar Builders is a lot like User:Polygnotus/Scripts/SourceTable. I should also check out User:Awesome Aasim/xfdvote. See also Wikipedia:Notability_(organizations_and_companies)#How_to_apply_the_criteria — Wikipedia_talk:WikiProject_Articles_for_creation#Source_Assessment_Tables
Note to self: after posting the table, make an extra (null)edit. Then get the diffid of that revision and use ?oldid=x&diff=x
Is there a Java example somewhere for running a Quarry query and doing something with the output? If not in Java then perhaps in JS? Ideally without hosting code on Toolforge. I have Java code that can log in and do the oAuth stuff; but I am not sure how to proceed from there. Polygnotus (talk) 22:31, 1 April 2025 (UTC)
- @Polygnotus, You can query the database using PAWS with a Python script and manipulate the results in any format. Please let me know if you need any help with the Python script. – DreamRimmer (talk) 15:21, 2 April 2025 (UTC)
https://en.wikipedia.org/wiki/Wikipedia:Citation_Watchlist
[dubious – discuss][citation needed][further explanation needed][according to whom?][clarification needed][failed verification][how?][verify][vague][needs update][when?][where?][which?][who?][why?][who said this?][compared to?][specify][misquoted][example needed]
{{In source}}
- Tool should have buttons for [<<previous fuw] [<previous typo] [next typo>] [next fuw>>]
- it should have stats how many skipped how many fixed
- it should have [add to blacklist] button which blacklists the typo? the article? the FUW?
- it should be possible to add templates like {{as written}} and {{quote}} and the like <——I should make a list of these
- it could have a form and a button where you can report that something should be excluded but no regex has been written for it yet
- In the AWB source code in /WikiFunctions/WikiRegexes.cs there are the regexes to exclude matches based on
chkIgnoreLinksandchkIgnoreMore(top left of the “Find & Replace” window).- chkIgnoreLinks: Ignore external/interwiki links, images, nowiki, math and <!– –>
- chkIgnoreMore: Ignore templates, refs, link targets and headings
- Read Wikipedia:Typo_Team/moss sourcecode and documentation
Blacklisting/Whitelisting
[edit]
Moss is pretty interesting.
Perhaps ask here what the best approach is. Parse a dump, run a query, whatever.
Wikipedia:Typo_Team/moss#How_the_lists_are_made says:
- Words that appear in titles in the English Wiktionary (which has definitions of all words in all languages, excluding proper nouns and systematic words like chemical names and large numbers)
- Words that appear in titles in the English Wikipedia (which explains some things that don’t appear in the dictionary)
- Words that appear in titles in the Wikispecies (which has many technical words that don’t appear in the dictionary or encyclopedia)
but I think I should also check out:
wikidata:
wiktionary:
Lets see how many of these are in the list. Probably not many.
Allow people to easily judge the reliability of sources
[edit]
- Make a API with 5 endpoints
- voteup
- votedown
- trustedvoteup (which would count for, lets say, +5 votes)
- trustedvotedown (ditto, but -5)
- list
- Make a javascript that:
- adds up and down arrows to each source. Click the up arrow to vote that a source is reliable, down arrow for unreliable.
- colors the source a shade of green or red depending on the amount of amount of up or downvotes if there are more than x up or downvotes
- Shows how many ratings this source has.
- Give the trusted people the ability to authenticate to the API and then rate sources.
I already made a list of the top 10.000 most often referenced domains, I could use that to make a table sorted by number of occurences where people can easily rate them.
Duplicate References
[edit]
- User:Polygnotus/Scripts/ReferenceHighlighter.js does highlight the [1]‘s when you click one of them but not the a b c in the reflist. Fix that and then add it to duplicate references. If I click one duplicate reference I want all others to be highlighted so I can easily see where a source is re-used.
Identical references
[edit]
Also detecting CS1 and CS2 errors by bot. I think the REST API was the most viable solution. Maybe transforms?
- I had a trick to ensure Diff CSS got loaded iirc but then I forgot. It wasn’t in chunk0, nor in the links to the chunks… Adding ?diff=0 does work but I had a more elegant solution iirc. User:Polygnotus/hmm?diff=0
- Or was it just that I added the CSS in the HTML version. If so, I should inline it in the wikicode version.
Popular low quality articles
[edit]
https://en.wikipedia.org/wiki/User:DataflowBot/output/Popular_low_quality_articles_(id-2)
accessible
activism
activists
advocacy
advocate
advocates
affirming care
all-inclusive
allyship
anti-racism
antiracist
assigned at birth
assigned female at birth
assigned male at birth
at risk
barrier
barriers
belong
bias
biased
biased toward
biases
biases towards
biologically female
biologically male
BIPOC
Black
breastfeed + people
breastfeed + person
chestfeed + people
chestfeed + person
clean energy
climate crisis
climate science
commercial sex worker
community diversity
community equity
confirmation bias
cultural competence
cultural differences
cultural heritage
cultural sensitivity
culturally appropriate
culturally responsive
DEI
DEIA
DEIAB
DEIJ
disabilities
disability
discriminated
discrimination
discriminatory
disparity
diverse
diverse backgrounds
diverse communities
diverse community
diverse group
diverse groups
diversified
diversify
diversifying
diversity
enhance the diversity
enhancing diversity
environmental quality
equal opportunity
equality
equitable
equitableness
equity
ethnicity
excluded
exclusion
expression
female
females
feminism
fostering inclusivity
GBV
gender
gender based
gender based violence
gender diversity
gender identity
gender ideology
gender-affirming care
genders
Gulf of Mexico
hate speech
health disparity
health equity
hispanic minority
historically
identity
immigrants
implicit bias
implicit biases
inclusion
inclusive
inclusive leadership
inclusiveness
inclusivity
increase diversity
increase the diversity
indigenous community
inequalities
inequality
inequitable
inequities
inequity
injustice
institutional
intersectional
intersectionality
key groups
key people
key populations
Latinx
LGBT
LGBTQ
marginalize
marginalized
men who have sex with men
mental health
minorities
minority
most risk
MSM
multicultural
Mx
Native American
non-binary
nonbinary
oppression
oppressive
orientation
people + uterus
people-centered care
person-centered
person-centered care
polarization
political
pollution
pregnant people
pregnant person
pregnant persons
prejudice
privilege
privileges
promote diversity
promoting diversity
pronoun
pronouns
prostitute
race
race and ethnicity
racial
racial diversity
racial identity
racial inequality
racial justice
racially
racism
segregation
sense of belonging
sex
sexual preferences
sexuality
social justice
sociocultural
socioeconomic
status
stereotype
stereotypes
systemic
systemically
they/them
trans
transgender
transsexual
trauma
traumatic
tribal
unconscious bias
underappreciated
underprivileged
underrepresentation
underrepresented
underserved
undervalued
victim
victims
vulnerable populations
women
women and underrepresented
https://www.nytimes.com/interactive/2025/03/07/us/trump-federal-agencies-websites-words-dei.html
For the record banning “equitableness” may be a good idea because it is annoying to pronounce and there are plenty of synonyms like “fairness”.
This will return “valid” or “invalid”.
Script error: The function “isValid” does not exist.
This will return just “10.1000/xyz123” if valid, or an error message if invalid.
Script error: The function “normalize” does not exist.
This will return “valid” or “invalid”.
valid
This will return the ISBN with standard dashes
978-0-30-640615-7
This will convert an ISBN-10 to ISBN-13
9780306406157
doi: Module:Sandbox/Polygnotus
isbn: Module:Sandbox/Polygnotus2
