MediaWiki talk:Common.js

From Esolang
Jump to navigation Jump to search

The caching problem is not triggered by http, but by not being logged in. After logging out, Category:2018 is currently missing e.g. Andromeda and BackTurn for me. I see no difference between those lists for http and https when logged out. (And yes, I still see http. For once using a non-modern browser helped.)

Might still be worth nudging people toward https in general, though. --Ørjan (talk) 02:34, 7 July 2018 (UTC)

Add a sandbox link

As of now, the wiki software does not show a link to the user's sandbox in their personal links bar. Consider enabling/adding this.

A quick fix for this would be the following JS snippit:

 $( document ).ready( function() {
   mw.util.addPortletLink(
     'p-personal',
     mw.util.getUrl( 'Special:MyPage/sandbox' ),
     'Sandbox',
     'pt-sandbox',
     'Sandbox',
     null,
     '#pt-mytalk'
   );
 });

--Moon (talk) 05:39, 28 October 2019 (UTC)

being able to ask for custom js to be approved for our pages would be cool. Heavpoot (talk) 20:30, 28 August 2020 (UTC)