User talk:Þjarkur/NeverUseMobileVersion.js: Difference between revisions

From Wikipedia, the free encyclopedia

Content deleted Content added


Line 37: Line 37:

:::::::Perhaps {{U|Ahecht}}. [[User:Izno|Izno]] ([[User talk:Izno|talk]]) 01:09, 12 September 2025 (UTC)

:::::::Perhaps {{U|Ahecht}}. [[User:Izno|Izno]] ([[User talk:Izno|talk]]) 01:09, 12 September 2025 (UTC)

::::::::@[[User:Izno|Izno]] I’ve forked this script at [[User:Ahecht/Scripts/NeverUseMobileVersion.js]]. I’m agnostic as to whether we want to edit Þjarkur’s script or just mark it as deprecated and notify the ~150 or so editors that are using it. <span class=”nowrap”>–[[User:Ahecht|Ahecht]] ([[User talk:Ahecht|<b style=”color:#FFF;background:#04A;display:inline-block;padding:1px;vertical-align:middle;font:bold 50%/1 sans-serif;text-align:center”>TALK<br />PAGE</b>]])</span> 14:17, 12 September 2025 (UTC)

::::::::@[[User:Izno|Izno]] I’ve forked this script at [[User:Ahecht/Scripts/NeverUseMobileVersion.js]]. I’m agnostic as to whether we want to edit Þjarkur’s script or just mark it as deprecated and notify the ~150 or so editors that are using it. <span class=”nowrap”>–[[User:Ahecht|Ahecht]] ([[User talk:Ahecht|<b style=”color:#FFF;background:#04A;display:inline-block;padding:1px;vertical-align:middle;font:bold 50%/1 sans-serif;text-align:center”>TALK<br />PAGE</b>]])</span> 14:17, 12 September 2025 (UTC)

:::::::::Usually just easier to fix the source script. Causing noise for a trivial adjustment isn’t worth anyone’s time. [[User:Izno|Izno]] ([[User talk:Izno|talk]]) 16:30, 12 September 2025 (UTC)

:I see this scriptlet a bit in a relevant search for mobile questions. See also [[WP:VPT#Tech News: 2025-37]]. [[User:Izno|Izno]] ([[User talk:Izno|talk]]) 21:37, 11 September 2025 (UTC)

:I see this scriptlet a bit in a relevant search for mobile questions. See also [[WP:VPT#Tech News: 2025-37]]. [[User:Izno|Izno]] ([[User talk:Izno|talk]]) 21:37, 11 September 2025 (UTC)


Revision as of 16:30, 12 September 2025

Line 5: Line 5:
CC0 CC0
*/ */
if(window.location.href.match(/^https?:\/\/[^.]+\.m\./)) { if(window.location.href.match(/^https?:\/\/[^.]+\.m\./)) {
var desktopUrl = $(‘#mw-mf-display-toggle’).attr(‘href’) var desktopUrl = $(‘#mw-mf-display-toggle’).attr(‘href’)
if(desktopUrl) { if(desktopUrl) {

So that m.wikidata.org will also redirect to the desktop page. NguoiDungKhongDinhDanh 18:43, 11 September 2025 (UTC)[reply]

 Not done this user is quite inactive, you’d be better to fork this than to depend on it going forward. — xaosflux Talk 20:27, 11 September 2025 (UTC)[reply]

@Xaosflux: This particular script is rather popular though. Can the request be reconsidered? NguoiDungKhongDinhDanh 22:05, 11 September 2025 (UTC)[reply]

Perhaps you should take over being the maintainer? — xaosflux Talk 22:51, 11 September 2025 (UTC)[reply]

@Xaosflux: Sure, I can do that, but obviously I can’t edit references to this script across wikis. What do you suggest? NguoiDungKhongDinhDanh 23:00, 11 September 2025 (UTC)[reply]

Well for one, the entire .m. domain is about to be deprecated. Isn’t that going to make this script useless? — xaosflux Talk 23:05, 11 September 2025 (UTC)[reply]

@Xaosflux: Not until that actually happens, so probably another year or a half. NguoiDungKhongDinhDanh 23:09, 11 September 2025 (UTC)[reply]

Wait, did I misread, mw:Requests for comment/Mobile domain sunsetting/2025 Announcement – that it is coming in weeks? — xaosflux Talk 00:50, 12 September 2025 (UTC)[reply]
It will be gone by the end of the year and likely inside a month or two. It will not be another year and a half.
And anyway, fixing it to work correctly can be done today I believe, based on the discussion at VPT. Someone just needs to come up with the actual change to make. Izno (talk) 01:09, 12 September 2025 (UTC)[reply]
Perhaps Ahecht. Izno (talk) 01:09, 12 September 2025 (UTC)[reply]

@Izno I’ve forked this script at User:Ahecht/Scripts/NeverUseMobileVersion.js. I’m agnostic as to whether we want to edit Þjarkur’s script or just mark it as deprecated and notify the ~150 or so editors that are using it. Ahecht (TALK
PAGE
)
14:17, 12 September 2025 (UTC)[reply]

Usually just easier to fix the source script. Causing noise for a trivial adjustment isn’t worth anyone’s time. Izno (talk) 16:30, 12 September 2025 (UTC)[reply]
I see this scriptlet a bit in a relevant search for mobile questions. See also WP:VPT#Tech News: 2025-37. Izno (talk) 21:37, 11 September 2025 (UTC)[reply]

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top