Editing
Template talk:Pp
(section)
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!
== Template-protected edit request on 25 March 2024 == {{edit template-protected|Template:Pp|answered=yes}} [[WP:UPROT|Base user pages are semi-protected by default through an edit filter]], but the template does not recognized this and hides itself. Could you please fix this? <span style="display:inline-block;position:relative;transform:rotate(-3deg);bottom:-.1em;">[[user:Paradoctor|Paradoctor]]</span> ([[user talk:Paradoctor|talk]]) 22:44, 25 March 2024 (UTC) :Technically they're unprotected, the restriction is built into the MediaWiki software and is independent of the protections that an admin may set. Consider: :*<code><nowiki>{{PROTECTIONLEVEL:edit|User:23skidoo}}</nowiki></code> β {{PROTECTIONLEVEL:edit|User:23skidoo}} :because it's [//en.wikipedia.org/wiki/Special:Log?type=protect&page=User%3A23skidoo explicitly semi-protected], but :*<code><nowiki>{{PROTECTIONLEVEL:edit|User:Paradoctor}}</nowiki></code> β {{PROTECTIONLEVEL:edit|User:Paradoctor}} :because it [//en.wikipedia.org/wiki/Special:Log?type=protect&page=User%3AParadoctor isn't]. For the same reason, CSS and JavaScript pages in MediaWiki space also test as unprotected. --[[User:Redrose64|<span style="color:#a80000; background:#ffeeee; text-decoration:inherit">Red</span>rose64]] 🌹 ([[User talk:Redrose64|talk]]) 00:41, 26 March 2024 (UTC) ::Ok, stop me if I say something false, but [[WP:SEMI]] is defined by who can edit, not by the technical means used to exclude this group from editing, right? The basic problem here is that two different means exist to achieve the same effect, and the template does currently not acknowledge one of them. Neither does {{tl|PROTECTIONLEVEL}}, at that. <span style="display:inline-block;position:relative;transform:rotate(-3deg);bottom:-.1em;">[[user:Paradoctor|Paradoctor]]</span> ([[user talk:Paradoctor|talk]]) 01:53, 26 March 2024 (UTC) :::I agree that it's not about the means of protection. And consistent with that understanding, this template/module (via [[Module:Effective protection level]]) also checks for restriction via the [[WP:titleblacklist|titleblacklist]], not just individual page protection. But unless you have some way of checking edit filters in a template/module (and I am not aware of any way to do that β see [[mw:Extension:Scribunto/Lua reference manual]] for available functions, including ones for <code>protectionLevels</code> and <code>TitleBlacklist</code> but seemingly not edit filters), this is not ready for an edit request. Edit requests should be used when you have specific changes that you would make if not for the edit restrictions. [[User:SilverLocust|<small style="color:#667;background:#fff;border:2px solid;border-radius:.4em;padding:0 .3em">SilverLocust</small>]] [[User talk:SilverLocust|π¬]] 07:11, 26 March 2024 (UTC) ::::Ok, so you can't check edit filters. But that would be overkill anyway. I'm not aware of any other protection-relevant edit filter, so all that is required is to add an exception to the hiding functionality when a) we're on a user base page, and b) {{tl|unlocked userpage}} is not present. Surely that is doable? ::::{{tq|not ready for an edit request}} Ok, then where do I go with this bug report? I could be wrong, but I don't think Phabricator handles en.Wikipedia templates. <span style="display:inline-block;position:relative;transform:rotate(-3deg);bottom:-.1em;">[[user:Paradoctor|Paradoctor]]</span> ([[user talk:Paradoctor|talk]]) 07:37, 26 March 2024 (UTC) :::::The prot level checking that I mentioned above, i.e. <code><nowiki>{{PROTECTIONLEVEL:edit|User:Paradoctor}}</nowiki></code>, isn't a template but a [[WP:PF|parser function]]. [[Template:Pp]] doesn't do any prot level checking itself, in fact it does hardly anything except fire up [[Module:Protection banner]]. This also doesn't do any prot level checking itself, it uses the functions of [[Module:Effective protection level]] to do that. Whilst that module will certainly need to be amended, the question is whether it is able to retrieve the required information from the MediaWiki software? If not, ''that'' is when a Phabricator ticket is required. Once ot's been closed as resolved, it's then up to us to amend [[Module:Effective protection level]]. --[[User:Redrose64|<span style="color:#a80000; background:#ffeeee; text-decoration:inherit">Red</span>rose64]] 🌹 ([[User talk:Redrose64|talk]]) 09:38, 26 March 2024 (UTC) ::::::Namespace checks can be done in [[Module:Effective protection level]], but checking for <code><nowiki>{{unlocked userpage}}</nowiki></code> would add complexity by requiring a transclusion of the user page via <code>getContent()</code>. ::::::The current behavior is only a "bug" worth the effort to change if there is some reason to add {{tl|pp}} to a user page that only has the default restriction for a user page. I don't see why those pages should have a protection icon/banner anyway. [[User:SilverLocust|<small style="color:#667;background:#fff;border:2px solid;border-radius:.4em;padding:0 .3em">SilverLocust</small>]] [[User talk:SilverLocust|π¬]] 10:06, 26 March 2024 (UTC) ::::::I would suggest instead an edit notice in the user namespace via [[Template:Editnotices/Namespace/User]] to the effect of: :::::::<syntaxhighlight lang="wikitext">{{#ifeq:{{ROOTPAGENAME}}|{{PAGENAME}}|<!-- Show only if not a subpage. -->{{#ifeq:{{PAGENAME}}|{{REVISIONUSER}}|<!-- Nothing if editing one's own user page. -->|{{#if:{{PROTECTIONLEVEL:edit|{{FULLPAGENAME}}}}|<!-- Nothing if the page has its own protection. -->|{{if in page|page={{FULLPAGENAME}}|1=%{%{unlocked userpage%}%}|2=<!-- Nothing if "{{unlocked userpage}}" is in page. -->|3={{If autoconfirmed|<!-- Nothing if autoconfirmed. -->|{{Edit notice|header=This user page is currently protected from editing|image=Semi-protection-shackle.svg|text=This is a [[Wikipedia:User pages|user page]] other than the one associated with your account. Please note that [[Wikipedia:User pages#Protection of user pages|unregistered and newly registered editors cannot modify other editors' user pages]]. If you would like to contact this editor, please do so at [[User talk:{{ROOTPAGENAME}}|the editor's talk page]]. If this is your user page, you can [[Special:Login|log in]] to edit it.}}}}}}}}}}}}</syntaxhighlight> ::::::(This is not a final draft, but I'll be unavailable to check/edit it further for the next ~24 hours.) [[User:SilverLocust|<small style="color:#667;background:#fff;border:2px solid;border-radius:.4em;padding:0 .3em">SilverLocust</small>]] [[User talk:SilverLocust|π¬]] 12:52, 26 March 2024 (UTC)
Summary:
Please note that all contributions to Mirrorplay: Fae are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see
MPFae:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, 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.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Template
Discussion
English
Views
Read
Edit
Add topic
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
What links here
Related changes
Special pages
Page information