Wikipedia:Interface administrators' noticeboard: Difference between revisions

Source: Wikipedia, the free encyclopedia.
Content deleted Content added
Line 74: Line 74:
::As I noted at [[Wikipedia_talk:Requests_for_page_protection#Change_dependencies_for_Mobile]] - this would also need wider discussion, not just a duplicate of the same already declined edit request. — [[User:Xaosflux|<span style="color:#FF9933; font-weight:bold; font-family:monotype;">xaosflux</span>]] <sup>[[User talk:Xaosflux|<span style="color:#009933;">Talk</span>]]</sup> 23:55, 9 July 2022 (UTC)
::As I noted at [[Wikipedia_talk:Requests_for_page_protection#Change_dependencies_for_Mobile]] - this would also need wider discussion, not just a duplicate of the same already declined edit request. — [[User:Xaosflux|<span style="color:#FF9933; font-weight:bold; font-family:monotype;">xaosflux</span>]] <sup>[[User talk:Xaosflux|<span style="color:#009933;">Talk</span>]]</sup> 23:55, 9 July 2022 (UTC)
::@[[User:Izno|Izno]] Yes, I tested it on tr:wiki, and as I said the forms all work on the [https://tr.m.wikipedia.org/wiki/Vikipedi:Sayfa_koruma_talepleri?withJS=MediaWiki:SKTForm.js mobile version]. [[User:Vikipolimer|<b style="color:black;font-size:14px">𝗩𝗶𝗸𝗶𝗽𝗼𝗹𝗶𝗺𝗲𝗿 </b>]][[User talk:Vikipolimer|<b style="font-size:18px;padding-top:5px;color:#ffc107;">℣</b>]] 12:21, 10 July 2022 (UTC)
::@[[User:Izno|Izno]] Yes, I tested it on tr:wiki, and as I said the forms all work on the [https://tr.m.wikipedia.org/wiki/Vikipedi:Sayfa_koruma_talepleri?withJS=MediaWiki:SKTForm.js mobile version]. [[User:Vikipolimer|<b style="color:black;font-size:14px">𝗩𝗶𝗸𝗶𝗽𝗼𝗹𝗶𝗺𝗲𝗿 </b>]][[User talk:Vikipolimer|<b style="font-size:18px;padding-top:5px;color:#ffc107;">℣</b>]] 12:21, 10 July 2022 (UTC)

== Changing content model of a user page ==

{{moved from|[[WP:AN]] ([[Special:PermaLink/1098354639#Changing_content_model_of_a_user_page|permalink]])}}
Please upgrade [[User:PerfektesChaos/js/refNames.css]] from ''CSS '' to ''Sanitized CSS''. Reason: The gadget code shall be used simultaneously via <code>&lt;templatestyles></code> in [[User:PerfektesChaos/js/refNames|doc page]] for consistent decoration. TIA [[User:PerfektesChaos|PerfektesChaos]] ([[User talk:PerfektesChaos|talk]]) 12:19, 15 July 2022 (UTC)

Revision as of 12:21, 15 July 2022

    Welcome to the interface administrators' noticeboard

    This is the interface administrator noticeboard, for discussion of interface administrators and coordination of edits to the interface.

    Currently only interface administrators can undelete JS/CSS pages, if you have an uncontroversial undelete or deleted version retrieval request, please list it below.

    Any administrator can delete JS/CSS/JSON pages, for speedy deletions just use a

    CSD
    template on the page or its talk page.

    Individual requests for edits to interface or user JavaScript/CSS pages should continue to be made on their respective talk pages.

    2 interface-protected edit requests
    v·h
    Page Tagged since Protection level Last protection log entry
    MediaWiki:Gadget-WatchlistBase.css (request) 2024-03-02 23:26 Site CSS page (log)
    MediaWiki:Gadget-watchlist-notice-core.js (request) 2024-03-02 23:26 Site JS page (log)
    Updated as needed. Last updated: 09:46, 26 April 2024 (UTC)



    Clarify process on granting INTADMIN

    I've started a discussion at Wikipedia_talk:Interface_administrators#Clarify_the_right_can_be_refused to clarify the process for granting INTADMIN rights. All are invited to participate. TonyBallioni (talk) 00:52, 16 June 2022 (UTC)[reply]

    Website Dark Mode Problem

    The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


    I'm not sure if this is the right place:

    For the past few days, in dark mode, the left sidebar (and bottom of pages) is white background and the links are hard to see, on ALL pages.

    Dark Mode Sidebar on all pages example.

    I use 64-bit Firefox 102 on Ubuntu/Mint Linux. Nostep (talk) 07:46, 5 July 2022 (UTC)[reply]

    @Nostep: see Wikipedia_talk:Dark_mode_(gadget) - is it better for you now? — xaosflux Talk 01:13, 6 July 2022 (UTC)[reply]
    Yes. Looks like you guys got it fixed for FF. Thanks! Nostep (talk) 01:49, 6 July 2022 (UTC)[reply]
    The discussion above is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.

    Change dependencies for Mobile

    Change dependencies in MediaWiki:Request-page-protection-form.js with the below code.

    $.when(), $.ready, mw.loader.using(['mediawiki.api', 'mediawiki.widgets', 'mediawiki.util', 'oojs-ui-core', 'oojs-ui-windows']).then(function()
    

    In this way, it will work on the mobile UI as well. And also add the below code to MediaWiki:Mobile.js

    :mw.loader.using( ['mediawiki.util'], function () {
    :	var extraCSS = mw.util.getParamValue( 'withCSS' ),
    :		extraJS = mw.util.getParamValue( 'withJS' ),
    :		extraModule = mw.util.getParamValue( 'withModule' );
    :	if ( extraCSS ) {
    :		// WARNING: DO NOT REMOVE THIS "IF" - REQUIRED FOR SECURITY (against XSS/CSRF attacks)
    :		if ( /^MediaWiki:[^&<>=%#]*\.css$/.test( extraCSS ) ) {
    :			mw.loader.load( '/w/index.php?title=' + encodeURIComponent( extraCSS ) + '&action=raw&ctype=text/css', 'text/css' );
    :		} else {
    :			mw.notify( 'Only pages from the MediaWiki namespace are allowed.', { title: 'Invalid withCSS value' } );
    :		}
    :	}
    :	if ( extraJS ) {
    :		// WARNING: DO NOT REMOVE THIS "IF" - REQUIRED FOR SECURITY (against XSS/CSRF attacks)
    :		if ( /^MediaWiki:[^&<>=%#]*\.js$/.test( extraJS ) ) {
    :			mw.loader.load( '/w/index.php?title=' + encodeURIComponent( extraJS ) + '&action=raw&ctype=text/javascript' );
    :		} else {
    :			mw.notify( 'Only pages from the MediaWiki namespace are allowed.', { title: 'Invalid withJS value' } );
    :		}
    :	}
    :	if ( extraModule ) {
    :		if ( /^ext\.gadget\.[^,\|]+$/.test( extraModule ) ) {
    :			mw.loader.load( extraModule );
    :		} else {
    :			mw.notify( 'Only gadget modules are allowed.', { title: 'Invalid withModule value' } );
    :		}
    :	}
    :});
    :
    

    23:28, 9 July 2022 (UTC)[reply
    ]

    We will not be adding withX any further than already is so, and certainly not to mobile.js. There is an officially-supported mechanism for ad-hoc loading of JavaScript now. We should be converting extent uses to use that system instead. See MediaWiki talk:Common.js#supportsUrlLoad.
    As for the first part of the request changing the dependencies, have you actually verified the additions to the dependencies list will always work? --Izno (talk) 23:34, 9 July 2022 (UTC)[reply]
    As I noted at Wikipedia_talk:Requests_for_page_protection#Change_dependencies_for_Mobile - this would also need wider discussion, not just a duplicate of the same already declined edit request. — xaosflux Talk 23:55, 9 July 2022 (UTC)[reply]
    @
    12:21, 10 July 2022 (UTC)[reply
    ]

    Changing content model of a user page

    Please upgrade User:PerfektesChaos/js/refNames.css from CSS to Sanitized CSS. Reason: The gadget code shall be used simultaneously via <templatestyles> in doc page for consistent decoration. TIA PerfektesChaos (talk) 12:19, 15 July 2022 (UTC)[reply]