Policy Technical Proposals Idea lab WMF Miscellaneous 
The technical section of the village pump is used to discuss technical issues about Wikipedia. Bug reports and feature requests should be made in Phabricator (see how to report a bug). Bugs with security implications should be reported differently (see how to report security bugs).

If you want to report a JavaScript error, please follow this guideline. Questions about MediaWiki in general should be posted at the MediaWiki support desk. Discussions are automatically archived after remaining inactive for five days.

edit

Hey all. This was raised at Wikipedia:Edit_filter_noticeboard#graph_links_broken, but it appears the edit filter graphs, seen at [1], are not currently working and display an internal error. Would anyone happen to have an idea what happened to it? One idea that was raised over at EFN was that the log table may have been messed up by protected variables being introduced, but I'm not sure if that's the case or it's something else. — Preceding unsigned comment added by EggRoll97 (talkcontribs) 03:26, 23 October 2024 (UTC)Reply

@EggRoll97: I'm about to get on a flight, but a quick look at the tool's error logs shows:
Filters: 'raise errorclass(errno, errval): ProgrammingError: (1146, u"Table \'enwiki_p.abuse_filter_log\' doesn\'t exist")'
And a check of the replicas does indeed confirm enwiki_p.abuse_filter_log does not exist. Courtesy ping to the tool's maintainer Danilo.macTheresNoTime (talk • they/them) 04:15, 23 October 2024 (UTC)Reply
The abuse_filter_log table was deliberately removed from the wiki replicas in gerrit:1077360, pointing to two Phabricator tasks I don't have access to. It's likely to remain broken unless Danilo.mac puts in an amount of effort that's basically rewriting the tool from scratch. * Pppery * it has begun... 04:30, 23 October 2024 (UTC)Reply
Hmm oddly enough, the graphs for dewiki still work: https://ptwikis.toolforge.org/Filters:dewiki XXBlackburnXx (talk) 17:44, 26 October 2024 (UTC)Reply
An update, dewiki no longer works either. EggRoll97 (talk) 04:24, 1 November 2024 (UTC)Reply
I can not do anything while the abuse_filter_log tables are inaccessible. They were removed from replicas databases because some data in those tables are restricted, se T375751. Danilo.mac (talk) 19:49, 29 October 2024 (UTC)Reply

Recent changes on mobile

edit

On mobile - Starting a few days ago, When I go to “recent changes” on my watchlist tab and click on an article, I no longer get sent to a page with the changes highlighted Instead, I just see the current version (without changes highlighted) and must take the additional step of clicking the history button to see the changes highlighted. Is this intentional, or has something glitched? Blueboar (talk) 16:42, 25 October 2024 (UTC)Reply

Oh I thought that was just me (Sony mobile using most recent chrome on Android) Red Fiona (talk) 17:17, 25 October 2024 (UTC)Reply
I’m on an iPhone… so it’s something that has changed at the WP side of things… not our devices. Blueboar (talk) 18:03, 25 October 2024 (UTC)Reply
I think I see what happened here. If you can report this on Phab I can point the relevant people to it. 🐸 Jdlrobson (talk) 20:55, 25 October 2024 (UTC)Reply
I can not report it on Phab, because I have no clue what Phab is. Sorry. Blueboar (talk) 11:53, 26 October 2024 (UTC)Reply
@Blueboar: Phab, or phab:, is Phabricator, which is where all MediaWiki bug reports and feature requests are filed. A ticket has already been raised (by Danbloch at 21:02, 24 October 2024 (UTC)) - it's phab:T378142, as shown at the top right of this section. It's public, so is available to read without logging in there, but Phab doesn't accept anon editing so you need to log in to Phab if you want to comment. Fortunately, this is easy: there's a "Log in" button at the top of the page, and also a "log in to comment" button after the last post; your login and password are the same as for Wikipedia. If you do comment, you're added as a subscriber, and you get an email every time somebody else comments or updates the status. --Redrose64 🌹 (talk) 15:07, 26 October 2024 (UTC)Reply
Not only on "Recent changes", but also on the mobile version of "Watchlist". And this also happens at the mobile "Watchlist" of Wikivoyage. --FredTC (talk) 10:28, 26 October 2024 (UTC)Reply
So… is this going to be fixed? Or is it an intentional change in the way our watchlist works? Blueboar (talk) 12:51, 27 October 2024 (UTC)Reply
It has been fixed already, it will be deployed here this week. – Ammarpad (talk) 05:05, 28 October 2024 (UTC)Reply
I can't speak for anyone else but it's working for me now. Thank you. Red Fiona (talk) 01:18, 30 October 2024 (UTC)Reply
For me it is also back to normal. FredTC (talk) 01:22, 30 October 2024 (UTC)Reply

mw-reverted tag is slowly showing

edit

Hello everyone,

I'm noticing that the reverted tag is showing up slowly. When an edit is reverted, the edit has the "reverted" tag. However, I'm noticing that today it takes some time for it to show up. For example, I reverted two of an IP's edits, but the reverted tag is still not showing up. It will after a couple of minutes. Does anyone know why this is happening? Myrealnamm (💬pros · 📜cons) 22:23, 25 October 2024 (UTC)Reply

(I think this is a MediaWiki issue. I have to go.) Myrealnamm (💬pros · 📜cons) 22:26, 25 October 2024 (UTC)Reply
@Myrealnamm: A delay is normal. See mw:Manual:Reverts#Reverted tag. I don't know whether the delay is currently longer than usual but a couple of minutes doesn't sound bad. PrimeHunter (talk) 22:51, 25 October 2024 (UTC)Reply
@PrimeHunter It's been 30 minutes since Special:Diff/1254153601 and the "reverted" tag is still not showing. Where should I take this? Myrealnamm's Alternate Account (talk) 17:58, 29 October 2024 (UTC)Reply
Just want to report I am having the same exact issue; I cannot see the reverted tag anywhere, and it's pretty annoying... win8x (talking | spying) 20:51, 29 October 2024 (UTC)Reply
@Win8x It will come up in ~45 minutes from the time of the revert. Perhaps the “job queue” for this tag is getting “backlogged”, if that’s how it works? Myrealnamm (💬pros · 📜cons) 20:55, 29 October 2024 (UTC)Reply
Wow. Yeah. For someone who likes to revert vandalism in Recent Changes this isn't quite useful 😅 win8x (talking | spying) 20:58, 29 October 2024 (UTC)Reply
Well as soon as I complain about it, it looks fine again. Nice! win8x (talking | spying) 21:20, 29 October 2024 (UTC)Reply
The issue was https://phabricator.wikimedia.org/T378385, fwiw. KHarlan (WMF) (talk) 16:00, 30 October 2024 (UTC)Reply
I use this CSS rule to make the "Reverted" tag stand out a bit:
/* mark edits tagged as reverted */
span.mw-tag-marker-mw-reverted {
  text-decoration: wavy red underline;
}
If you want to try it out, it goes in your CSS. --Redrose64 🌹 (talk) 23:19, 29 October 2024 (UTC)Reply
How's that going to help when the tag itself isn't showing up quickly enough? Nardog (talk) 00:01, 30 October 2024 (UTC)Reply
I find that it helps me to notice them when they *do* show up. --Redrose64 🌹 (talk) 00:03, 30 October 2024 (UTC)Reply
It has nothing to do with the OP then. Nardog (talk) 00:21, 30 October 2024 (UTC)Reply
I'm not forcing you to use it, nor am I saying anything along the lines of "your problem is that you have not done this". I offered the CSS rule not as a solution but as a potential visual aid for those who might find it useful - clearly the OP (see below) was interested enough to try it. Others may have done too, I don't know. But you're the only one who complained. --Redrose64 🌹 (talk) 17:59, 30 October 2024 (UTC)Reply
@Redrose64 I'm trying it, it's not working, am I doing something wrong? User:Myrealnamm/common.css Myrealnamm (💬pros · 📜cons) 00:06, 30 October 2024 (UTC)Reply
@Myrealnamm You have a typo in your css file. It should be span not spam. 86.23.109.101 (talk) 00:16, 30 October 2024 (UTC)Reply
Thanks! Myrealnamm (💬pros · 📜cons) 00:17, 30 October 2024 (UTC)Reply
Well spam is usually reverted 😅. – 2804:F1...88:7F3B (talk) 01:04, 30 October 2024 (UTC)Reply

Notices not working

edit

So when I click on Notices a little popup show up and tells my notifications. According to it I have 7 new notifications.

But if I press on it says I have no notifications. If I click on all notices it shows an error message: 7ab4ef4a-e38b-462a-ab56-edfdc2d62732] 2024-10-27 04:43:21: Fatal exception of type "InvalidArgumentException"

I am not sure what is going on, does anyone have any idea's? User Page Talk Contributions Sheriff U3 04:55, 27 October 2024 (UTC)Reply

I've also noticed that the hexadecimal changes every time I reload the page, although I don't know if that means anything. Procyon117 (talk) 14:32, 27 October 2024 (UTC)Reply
This has been fixed, but the fix may take some days to arrive here. – Ammarpad (talk) 16:20, 27 October 2024 (UTC)Reply
it is working for me now. Thank you to whoever fixed it!!! User Page Talk Contributions Sheriff U3 06:49, 28 October 2024 (UTC)Reply
It worked once, now it is not showing them on the popup window.
They do show up when I click All notifications. User Page Talk Contributions Sheriff U3 06:55, 28 October 2024 (UTC)Reply
Weird. I have this problem, but they don't work when I click "all notifications". (If you reply to this, ping me - I still get those, for some reason.) -- asilvering (talk) 16:44, 28 October 2024 (UTC)Reply
Same now for me too. Procyon117 (talk) 16:46, 28 October 2024 (UTC)Reply
Same problem for me the notifications icon shows I have alerts, but when I click on it I get the error message: [2b363018-cbbb-45da-8f73-056cf4cbd0de] 2024-10-31 12:53:02: Fatal exception of type "InvalidArgumentException". and the icon greys out. A temporary work around is to go to Commons and click on your notifications from other wikis. Then they can be read, but only on Commons once, then they disappear from Commons. Mysterious! Netherzone (talk) 12:56, 31 October 2024 (UTC)Reply
I've found that I can read them if they get over 30 notifs or so. So now I'm banking a truly stupid number of notifications so that I can at least tell what discussions the most recent ones are for. -- asilvering (talk) 14:43, 31 October 2024 (UTC)Reply
Don't let it get too high. If the counter reaches 99 and more notifs come in, the icon doesn't show 100, 101 etc. but 99+ and the only way to find out how many you really have is to delete some until it drops to 99 or lower. Unread notifs get automatically deleted after a while, I think that it's about 16 months. --Redrose64 🌹 (talk) 20:24, 31 October 2024 (UTC)Reply
Mine are working for now. Hope that they will start working for you guys too! User Page Talk Contributions Sheriff U3 20:17, 31 October 2024 (UTC)Reply
Wokrking now BombCraft8 (talk) (contributions) 23:26, 31 October 2024 (UTC)Reply
Working now for me too. Procyon117 (talk) 02:47, 1 November 2024 (UTC)Reply
same happens with me but 4 notices BombCraft8 (talk) (contributions) 15:01, 31 October 2024 (UTC)Reply

Problem with my alerts bell

edit

Hello, when I click on my alerts bell at the top, it says "There are no notifications", even thought I can see there are. When I then click on "all notifications", I get the following: "[5aff3dcb-50f3-4b16-9566-60ba693bfa63] 2024-10-27 21:50:42: Fatal exception of type "InvalidArgumentException". Any help would be appreciated. Thank you. Magnolia677 (talk) 21:54, 27 October 2024 (UTC)Reply

Sounds just like my problem, just the other notification system.
I have been unable to test that one since I have no new Alerts. It does show my previous Alerts.
Hope that the fix gets released soon @Ammarpad.
User Page Talk Contributions Sheriff U3 03:53, 28 October 2024 (UTC)Reply

Is there a technical page to report this?

edit

I'm experiencing it as well. -- Very Polite Person (talk) 17:33, 28 October 2024 (UTC)Reply

Request to Move Draft for AfC Review

edit

Hello, I'd like assistance moving my draft from my user sandbox (User:Abuibrahim100/sandbox) to Draft:Admas Pee for AfC review. My account isn’t autoconfirmed yet, so I’m unable to move it myself. Thank you for your help!

Abuibrahim100 (talk) 19:25, 29 October 2024 (UTC)Reply

@Abuibrahim100 Your sandbox is already is the queue for review. There's no need to move it to Draft:Admas Pee yourself -- the reviewer will do that for you if necessary. That being said, your draft cannot be approved in its current state because it needs citations to significant coverage in reliable sources that are independent of the subject of the article. All the sources cited are either to companies writing about themselves (which is not independent) or to Wikipedia articles (which are not considered reliable sources since anyone can edit them). --Ahecht (TALK
PAGE
)
20:08, 29 October 2024 (UTC)Reply

Searching for pages by category and talk page content

edit

Does anyone know how you would search for all of the pages in a certain category whose associated talk page contains a certain string in its source? So, for instance, what search would return all of the pages in Category:Princesses in Greek mythology which contain "WikiProject Classical Greece and Rome" in their talk page's source? – Michael Aurel (talk) 07:18, 30 October 2024 (UTC)Reply

Can be done in PetScan. Put that category name in "Categories", then go to "Templates&links" tab, put that template name there with " Use talk pages instead" checked. – SD0001 (talk) 08:25, 30 October 2024 (UTC)Reply
Thanks. – Michael Aurel (talk) 08:35, 30 October 2024 (UTC)Reply
It would be great to have this feature in MediaWiki itself. I created phab:T378868 to track it. – SD0001 (talk) 04:42, 2 November 2024 (UTC)Reply

Persistent snackbar

edit

I'm on Firefox 131.0.3 on Android 14. I have User:SD0001/find-archived-section enabled in my gadgets (and also mw:Extension:DiscussionTools in my Beta features, which has no effect on mobile).

As of recently (probably last Thursday), the snackbar popup I get from an archived / missing section link has stopped unpopping-up until I navigate away from the page.

Can anyone replicate / report to phab? Folly Mox (talk) 11:59, 30 October 2024 (UTC)Reply

For clarity, my other snackbars (e.g. "Redirected from Wikipedia:vpt") pop away normally. It's just the archived section one that persists. Folly Mox (talk) 13:03, 30 October 2024 (UTC)Reply
@Folly Mox: User:SD0001/find-archived-section makes a message starting with "Looks like the discussion". Your screenshot is from a newer MediaWiki feature which starts with "This topic". The box goes away when I tap it outside the link in iOS on an iPhone, e.g. at User talk:Citation bot#Bot does nothing. Are you saying the tap doesn't work for you, or did you expect the box to disappear by itself? I don't have an Android device for testing. PrimeHunter (talk) 13:53, 30 October 2024 (UTC)Reply
That popup is generated by DiscussionTools, not the gadget. You can dismiss a popup on Minerva by tapping it (around a link if it includes one). Nardog (talk) 00:26, 31 October 2024 (UTC)Reply
You can also accidentally dismiss it by clicking the space between the lines of a multi-line link, which I've managed to do multiple times :c. – 2804:F1...9E:DCD8 (talk) 00:35, 31 October 2024 (UTC)Reply
That's the DiscussionTools notification. It's supposed to stick around until you interact with it. Could you confirm whether it's dismissed if you directly tap on it? (If it is, it's working as-intended. If not, that's a bug we should fix.) DLynch (WMF) (talk) 02:45, 31 October 2024 (UTC)Reply
Apologies for the delay everyone; yesterday was exhausting. After constructing a test case, I can confirm that the snackbar disappears properly when tapped. I feel like the persistence is new behaviour(?) but understand why such a message would be intentionally left around until interacted with.
Perhaps removing the snackbar once e.g. the editing interface is opened might make more sense: it does look like a bug in the screenshots I posted (to me, anyway).
And apologies for throwing the find-archived-section gadget under the bus: I wasn't previously aware that Mediawiki had incorporated the same functionality until reviewing the documentation for my OP above.
I guess I was also wrong about DiscussionTools having no effect in Minerva: I don't see the "people in conversation" or "subscribe to thread", but upon reflection I suppose the linkable timestamps that point straight to a comment supplanting the prior requirement of diff hunting must be part of the extension as well. Folly Mox (talk) 12:58, 31 October 2024 (UTC)Reply
Mobile editing and the reply tool don't reload the page when editing and then the popup remains. I don't know whether something could be done to make it disappear automatically on those actions. PrimeHunter (talk) 13:27, 31 October 2024 (UTC)Reply
mw:Help:SourceEditor is pretty uninformative on this point, but maybe one of the devs who frequent this venue knows which hook triggers the opening of the edit interface and can add a snackbar disappear function there? Folly Mox (talk) 17:49, 31 October 2024 (UTC)Reply

Script to highlight new users

edit

Is there a script to specifically highlight new user (non-EC)? I know there are ones for highlighting by usergroup, but I'm looking just to highlight new users. -- LCU ActivelyDisinterested «@» °∆t° 17:25, 30 October 2024 (UTC)Reply

"⚠️(insecure)" when installing AutoEd

edit

I was trying to install AutoEd, specifically this preset using Enterprisey's script installer, however, it says "⚠️(insecure)" right beside the install button. Should I still install it? — ‎‎‎hhypeboyh 💬✏️ 22:43, 30 October 2024 (UTC)Reply

That script imports many additional scripts, including at least one personal user script of a retired user who would no longer maintains said personal script. I wouldn't use it for that reason, but I don't immediately see any thing malicious in it. The primary maintainer is listed as @Plastikspork:. (Perhaps Plastikspork can work on deprecating that load-in from retired user User:Jerome_Frank_Disciple). — xaosflux Talk 22:52, 30 October 2024 (UTC)Reply
The specific technical reason script-installer is declaring the script insecure is that it can be edited by admins rather than interface admins as a result of being in the project namespace rather than the MediaWiki namespace. And I, back when I was still an admin, was the one responsible for adding someone's personal script to the mix - the script in question is so trivial it hardly needs "maintenance" so that's not really an issue. * Pppery * it has begun... 23:21, 30 October 2024 (UTC)Reply
The general risk is that that account could be compromised, and with the account being unused this could be unnoticed, and then used to insert malicious code which would be executed by others who imported the prior codes. Just like with any imported script, you need to trust everyone who may modify the script. — xaosflux Talk 00:01, 31 October 2024 (UTC)Reply
Might be trivial, but some maintenance might be in order if it can do this:
[[:File:IL CONSOLE USA IN VISITA ALL’UNIVERSITÀ DI PAVIA (28250236188).jpg]][[:File:IL CONSOLE USA IN VISITA ALL'UNIVERSITÀ DI PAVIA (28250236188).jpg]]
File:IL CONSOLE USA IN VISITA ALL’UNIVERSITÀ DI PAVIA (28250236188).jpgFile:IL CONSOLE USA IN VISITA ALL'UNIVERSITÀ DI PAVIA (28250236188).jpg
Trappist the monk (talk) 00:15, 31 October 2024 (UTC)Reply
I started a new version in Wikipedia:AutoEd/curlyfixer.js and will work on making it not change curlies inside of file links. Thanks for the suggestion! Plastikspork ―Œ(talk)

Adding article input to Template:Welcome cookie

edit

Hello all,

When using Twinkle to welcome new users, I am unable to add an article input to the Welcome Cookie Template like I can for some of the other welcome templates (e.g., "I noticed your contributions to Article")- it would be great if I could do this so I don't have to leave a separate message. Let me know if I am making any sense.

Thank you!

JuxtaposedJacob (talk) | :) | he/him | 06:50, 31 October 2024 (UTC)Reply

That template is protected, however you may discuss improvements to it and propose edit request on its talk page here: Template talk:Welcome cookie. — xaosflux Talk 17:14, 31 October 2024 (UTC)Reply

Are articles moved from userspace to mainspace not indexed?

edit

So, recently I created FoodPharmer in my userspace and later moved to the mainspace. I keep noticing that search engines (Google, Bing) do not show this if you search "FoodPharmer Wikipedia" or "Revant Himatsingka Wikipedia". But the DYK page on him created 4 days after moving the page and his picture uploaded 8 days after (yesterday) shows up in the search results. This makes me wonder, is the article not showing up because it was initially in userspace (not-indexed)? CX Zoom[he/him] (let's talk • {CX}) 16:35, 31 October 2024 (UTC)Reply

@CX Zoom Newly created articles are not indexed in search engines for 90 days, or until they have been patrolled. See Wikipedia:Controlling search engine indexing#Indexing of articles ("mainspace") 86.23.109.101 (talk) 16:43, 31 October 2024 (UTC)Reply
Ah, makes sense now. Thank you very much! CX Zoom[he/him] (let's talk • {CX}) 16:57, 31 October 2024 (UTC)Reply

Overlapping IP range blocks?

edit

How do overlapping range blocks work? For example, with these two:

51.191.128.0/17 blocked (block-evasion) on 2024-10-31T14:55:40Z by JBW until 2025-02-21T19:11:00Z. anononly: False, account creation blocked: False
51.191.0.0/16 blocked (block-evasion) on 2023-11-27T22:25:01Z by JBW until 2025-01-21T19:11:00Z. anononly: False, account creation blocked: False

An edit from 51.191.128.1 would (if I've done the math right) be in both ranges. In this particular case, both blocks have the same effect, but what if one was a hard block and the other a soft block? Which would apply? RoySmith (talk) 03:14, 1 November 2024 (UTC)Reply

The union of the blocks applies - you have to be able to edit through both blocks in order for the edit to be allowed. * Pppery * it has begun... 03:22, 1 November 2024 (UTC)Reply

I have notifications but it shows that there are no notifications

edit

Occasionally when I check my notifications, the popup that appears will display "There are no notifications." even when at least one notification is present. Here is a picture:

 

I'm using the latest version of Safari. I encounter this problem randomly whenever I check notifications. hamster717🐉(discuss anything!🐹✈️my contribs🌌🌠) 03:33, 1 November 2024 (UTC)Reply

This issue has been fixed. See #Notices not working. Please check again. – Ammarpad (talk) — Preceding undated comment added 11:56, 1 November 2024 (UTC)Reply
It happened again hamster717🐉(discuss anything!🐹✈️my contribs🌌🌠) 03:32, 2 November 2024 (UTC)Reply
It's a new issue (but same error message). A fix would be deployed next week. – Ammarpad (talk) 19:56, 2 November 2024 (UTC)Reply

Script for parameter change

edit

is there a script to change parameter mane on every wiki article in a wiki project (si.wikipedia.org). The change i want to do is; replace "deadurl" or "dead-url" with "url-status" on all wiki articles using the cite web template. Or can someone fix the module so it happen automatically? si:Module:Citation/CS1 VihirLak007hmu!/duh. 05:51, 1 November 2024 (UTC)Reply

@VihirLak007 I would recommend running WP:AWB or WP:JWB.
For JWB, once you have it up and running, go to https://en.wikipedia.org/w/index.php?title=User:Ahecht/Scripts/Replace_dead-url.json&action=raw&ctype=application/json and save it as a .json file on your computer. In JWB, on the Setup tab, click "Import" and choose the file you saved. In the "Load" drop-down, choose "Replace dead-url". Then click on the Generate button, make sure Wiki Search is checked with insource:/dead\-?url *= */ in the search box, and hit the Generate button. When it's done, click outside the Generate box to close it. Then go to the "Edit" tab and click "Start" to start going through all the pages.
Once you're done, you can go to this page to see the remaining pages that need to be manually fixed. You may need to wait a few minutes first as there can be some lag between when you edit pages and when the search results catch up. --Ahecht (TALK
PAGE
)
17:11, 1 November 2024 (UTC)Reply
@Ahecht Thanks! All went well. VihirLak007hmu!/duh. 19:00, 1 November 2024 (UTC)Reply
edit

  You are invited to join the discussion at WP:HD § Red Links are All blue now. -- Marchjuly (talk) 06:10, 1 November 2024 (UTC)Reply

Perhaps someone who hangs out at VPT could take a look at this HD discussion. The OP seems to be experiencing the same issue described here, but it's not clear whether the problem is on the OP's side or Wikipedia's side. -- Marchjuly (talk) 06:12, 1 November 2024 (UTC)Reply

Is it possible to find out a list of articles and redirects for Climate change in .... ?

edit

Hi all

I'd like to spend a significant amount of time writing and working with experts on creating Climate change in NAME OF COUNTRY / STATE etc articles. First I would like to understand which do and don't exist. I tried making a simple list of all the countries to see redlinks however it seems that one or more users created a significant number of redirects so this doesn't work. I've been using List of sovereign states to create a list, but I'm sure there are other options like islands, states within countries etc. Is it possible to do a query or is there another way to find:

  1. A list of existing articles for Climate Change in ...
  2. A list of redirects for Climate change in ...
  3. A way to have a live list of missing Climate change in NAME OF COUNTRY articles since simple redlinks don't work because of the redirects that have been created (I guess I could make a table of redlinks with comments on which are redirects as a basic version)

Many thanks

John Cummings (talk) 11:48, 1 November 2024 (UTC)Reply

You may be interested in User:BrandonXLF/GreenRedirects. PrimeHunter (talk) 12:37, 1 November 2024 (UTC)Reply
PrimeHunter thanks so much :) you always know the right answer! I can create a manual to update page from this now I think, if you or anyone else has any ideas about creating an automated page please let em know. Thanks again. John Cummings (talk) 12:57, 1 November 2024 (UTC)Reply
@PrimeHunter, @John Cummings You can also use the CSS code at the bottom of User:Ahecht/Scripts/RedirectID to add a   icon next to redirects (similar to the icon next to external links). --Ahecht (TALK
PAGE
)
22:10, 2 November 2024 (UTC)Reply
Hi Ahecht can I check something, does this redirect icon only appear for users who have installed this or does it appear for all users? John Cummings (talk) 23:33, 2 November 2024 (UTC)Reply
@John Cummings For both my CSS and BrandonXLF's CSS users would have to have it installed. You could use WP:TemplateStyles to apply User:Ahecht/Scripts/Redirect_icon.css or User:BrandonXLF/GreenRedirects.css to a page for everyone, even logged out editors, but using it to style an entire mainspace page seems contrary to the usage guidelines. --Ahecht (TALK
PAGE
)
15:17, 3 November 2024 (UTC)Reply
Redirects are in italics at https://en.wikipedia.org/wiki/Special:AllPages?from=Climate+change+in&to=&namespace=0. PrimeHunter (talk) 12:53, 1 November 2024 (UTC)Reply
{{Is redirect}} can test for redirects in wikitext. 500 calls are allowed in a page with no other expensive parser functions. PrimeHunter (talk) 13:22, 1 November 2024 (UTC)Reply
PrimeHunter thanks again, super helpful. One final question, do you know if there is a template I could use to tell if a page includes a specific word or phrase? I would love a way to tell if articles for countries mention climate change. I know this is probably a very niche use case but I'm wondering if there is template that might do this for another reason. John Cummings (talk) 19:31, 1 November 2024 (UTC)Reply