Editing
Template talk:Portal
(section)
From Thetacola Wiki
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Module:Portal/images/c/sandbox == *[[Module:Portal/images/c/sandbox]] A request at [[Wikipedia:Requests for page protection/Decrease#Module:Portal/images/c/sandbox]] points out that a sandbox should not be protected, and it only has 2 transclusions. Strangely, the sandbox was [[WP:ECP]] protected on 3 January 2022 by MusikBot II which claimed there were 3203 transclusions. Does anyone know a reason for that? Is there a reason the sandbox should not have the protection removed? [[User:Johnuniq|Johnuniq]] ([[User talk:Johnuniq|talk]]) 08:02, 7 January 2022 (UTC) :I suspect that something which uses Portal/images/* was tested using Portal/images/*/sandbox and inadvertently released without removing the suffix, then corrected. I can't spot any candidates; Related Changes is too busy to be useful. I don't think [[User:MusikBot II/TemplateProtector]] reverts itself in such circumstances. [[User:Certes|Certes]] ([[User talk:Certes|talk]]) 12:03, 7 January 2022 (UTC) ::{{ping|Johnuniq}} That was probably my fault. Turning on/off the sandbox used to be more onerous, and I messed it up doing an edit. I've made it much less onerous now (making it a single boolean variable). Please remove the protection. β [[User:Hike395|hike395]] ([[User talk:Hike395|talk]]) 15:51, 7 January 2022 (UTC) :::I hate having any difference between the main and sandbox modules. Have you seen a technique like this: :::<code>local sandbox = frame:getTitle():find('sandbox', 1, true) and '/sandbox' or ''</code> :::That makes <code>sandbox</code> a variable which can be appended where needed. It needs tweaking when used at another project where a different name is used for ''sandbox''. [[User:Johnuniq|Johnuniq]] ([[User talk:Johnuniq|talk]]) 23:07, 7 January 2022 (UTC) ::::{{Done}} Excellent idea, now implemented. β [[User:Hike395|hike395]] ([[User talk:Hike395|talk]]) 16:54, 12 February 2022 (UTC) :::::The number of transclusion is now claimed to be 593 and it's now protected again (I use WhatLinksHere and found out there are only 30 tranclusions) [[User:Thingofme|Thingofme]] ([[User talk:Thingofme|talk]]) 04:29, 22 June 2022 (UTC) ::::::We should add */sandbox, */testcases to the bot's ignorelist (sandboxes should not be protected) [[User:Thingofme|Thingofme]] ([[User talk:Thingofme|talk]]) 04:31, 22 June 2022 (UTC) :::::::I've {{diff|Wikipedia:Requests_for_page_protection/Decrease|prev|1094395724|requested}} unprotection of most protected portal-related module sandboxes. I've excluded [[Module:Portal/sandbox]] and [[Module:Portal bar/sandbox]], as WhatLinksHere claims that they are used by live modules. [[User:Certes|Certes]] ([[User talk:Certes|talk]]) 10:43, 22 June 2022 (UTC) ::::::::But should we add */sandbox, */testcases to the bot's config pages (sandboxes should not be protected)? [[User:Thingofme|Thingofme]] ([[User talk:Thingofme|talk]]) 13:50, 22 June 2022 (UTC) :::::::::A good question. Almost all pages called */sandbox and */testcases should be unprotected. However, that's because they're linked only from small numbers of obscure pages, not because their names end in /sandbox. We try not to release anything that affects many reader-facing pages and uses a sandbox but, if it does happen, we probably want that sandbox to be protected temporarily until the underlying problem is fixed. [[User:Certes|Certes]] ([[User talk:Certes|talk]]) 18:13, 22 June 2022 (UTC) ::::::::::Sometimes when deploying the new module to the template people mistakenly called the sandbox version, so the sandbox is temporarily high-use for a while. Sandboxes may also be protected when a lot of people use it wrongly, template sandboxes are not normal sandboxes as we may only test features/bugfix of the template. [[User:Thingofme|Thingofme]] ([[User talk:Thingofme|talk]]) 08:31, 23 June 2022 (UTC) :::::::::::<s>Perhaps the bot should unprotect templates and modules which drop below its threshold. Not just below, or it would be protecting and unprotecting daily as use fluctuated, but maybe below 50% of whatever the current usage limit is. The only problem I see is a cunning vandal removing the links, waiting for unprotection and reinstating them, but that should be spotted and would be much more work than doing similar damage in other ways.</s> [[User:Certes|Certes]] ([[User talk:Certes|talk]]) 09:45, 23 June 2022 (UTC) ::::::::::::Maybe should not be unprotected (some are high-risk in many other ways like substituted frequently or used in system messages) Unprotection should be managed manually. [[User:Thingofme|Thingofme]] ([[User talk:Thingofme|talk]]) 13:13, 27 June 2022 (UTC) :::::::::::::Good point. I meant only templates protected by the bot, but even they might now require protection for other reasons too. We don't have a reliable list of templates protected ''only'' because of high usage. [[User:Certes|Certes]] ([[User talk:Certes|talk]]) 14:00, 27 June 2022 (UTC) ::::::::::::::Like template protection is only used for templates solely protected for high-use, but for templates used in sensitive page or highly-viewed pages, or system message these templates should be fully protected. [[User:Thingofme|Thingofme]] ([[User talk:Thingofme|talk]]) 02:13, 28 June 2022 (UTC) ::::::::::::::Also, I moved this discussion to [[Wikipedia talk:High-risk templates#Should */sandbox, */testcases be unprotected]] for further discussion. [[User:Thingofme|Thingofme]] ([[User talk:Thingofme|talk]]) 02:16, 28 June 2022 (UTC)
Summary:
Please note that all contributions to Thetacola Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Project:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Page actions
Template
Discussion
Read
Edit source
+
History
Page actions
Template
Discussion
More
Tools
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Search
Tools
What links here
Related changes
Special pages
Page information