Tech

From Meta, a Wikimedia project coordination wiki
Jump to navigation Jump to search

"Watch This Page", "Permanent"[edit]

Hi as usual.

Which is the CSS syntax to hide "Permanent" part? Thanks in advance! — regards, Revi 13:10, 30 September 2020 (UTC)

@-revi: I managed to hide by adding #mw-editpage-watchlist-expiry {display:none} to my monobook.css page. HTH. —MarcoAurelio (talk) 20:55, 30 September 2020 (UTC)
@-revi and MarcoAurelio: Hello! I am the product manager for the Community Tech team, which is the team that built Watchlist Expiry. I have provided more information on this topic (i.e., pop-up behavior and a workaround for people who want the old success message) here. Thanks! --IFried (WMF) (talk) 16:21, 21 October 2020 (UTC)

Graph of client side errors[edit]

Hi! Does anyone know if there is some tool to produce graphs of the number of JavaScript errors on Wikimedia projects in the last N hours/days/etc? I vaguely remember seeing a tool like that at some point, but I can't find it. Probably Jon (WMF) has access to such a tool, given this statistic he provided in a recent fix at ptwiki's common.js. Helder 20:42, 5 October 2020 (UTC)

Right now the best way to get this data is via logstash or to find someone with access e.g. me and ask them to monitor the logs after potentially risky changes have shipped. Right now the data is not anonymized, but I'm hoping to fix that. I'm listing errors I need help with on User:Jdlrobson/User_scripts_with_client_errors which might be useful for identifying patterns. I'm happy to generate 24hr/7 day one off reports for given projects e.g. Portuguese if that's helpful. Jon (WMF) (talk) 00:27, 6 October 2020 (UTC)

Expand templates[edit]

Hi! Could someone please take a look at this issue.

I'm trying to use Special:ExpandTemplates to expand Wikipedia:Art+Feminism_User_Group/Reporting/Metrics2020/Map into here on Meta. I get this error "Lua error in Module:Location_map/multi at line 143: Unable to find the specified location map definition. Neither "Module:Location map/data/World" nor "Template:Location map World" exists."

As you can see, this used to be possible sometime ago. Wikipedia:Art+Feminism User Group/Reporting/Metrics2019/Map --> Meta:Art+Feminism User Group/Reporting/Metrics2019/Map. —M@sssly 13:26, 25 October 2020 (UTC)

You should expand it at English Wikipedia Special:ExpandTemplates and then copy the expanded text to here. There are dependencies of the module Module:Location map/multi that are only available on English Wikipedia, so it won't work properly here. – Ammarpad (talk) 16:58, 25 October 2020 (UTC)
Silly me. I forgot what I did the last time. Thank you, Ammarpad. -—M@sssly 21:11, 25 October 2020 (UTC)

AbuseFilter notice: rmspecials() will no longer remove whitespace when used in filters[edit]

Hello,

Apologies if you are not reading this message in your native language. Please help translate to your language.

We are making a change to the AbuseFilter extension, which may impact the behavior of some existing filters. The rmspecials() function currently removes spaces in addition to special characters. We will change it such that it will only remove special characters. The existing rmwhitespace() can be used to remove spaces whenever applicable.

As reported on https://phabricator.wikimedia.org/P12854 we believe at least one filter on your wiki has been identified to use the rmspecials() function. Please consider updating these filters by wrapping rmspecials() inside rmwhitespace() like this: rmwhitespace(rmspecials(....))

We need you to update the relevant filters within 2 weeks of this notice. If one of the community members with proper access is volunteering to take this on, we ask them to please respond below and notify User:Huji in their response or in the edit summary. If we don't hear back from you within 2 weeks, Huji will edit the relevant filters on your wiki per the global abuse filter maintainer policy, to ensure the filters won't break once the change is implemented. Thank you for your consideration!

Best regards,

--User:Huji (talk) 23:48, 26 October 2020 (UTC), sent via MediaWiki message delivery

Huji, as far as I can tell no filters on Meta use rmspecials, so you can cross this one off your list. GeneralNotability (talk) 00:00, 27 October 2020 (UTC)