Module talk:Protected edit request: Difference between revisions

Content deleted Content added
Jackmcbarn (talk | contribs)
Technical 13 (talk | contribs)
Line 39:
::: {{U|Jackmcbarn|Jack}}, can you expand your magic words to have a JavaScript wgVar attached for cascading and titleblacklist (and antispoof I suppose wouldn't hurt for those trying to create user pages of users that can't exist)? This would be useful in assisting any script that would check for protection levels and display some text or do something differently (I had an example case use last night I wanted it for, but have forgotten it now)... Thanks if this is possible. [[User:Technical 13|Technical 13]] ([[User talk:Technical 13|talk]]) 17:51, 9 January 2014 (UTC)
::::I think that would be too expensive to check for every page. [[User:Jackmcbarn|Jackmcbarn]] ([[User talk:Jackmcbarn|talk]]) 17:54, 9 January 2014 (UTC)
::::: {{U|Jackmcbarn|Jack}}, I'm just asking for an addition to the <code>,"wgIsProbablyEditable":true,"wgRestrictionEdit":[],"wgRestrictionMove":[],</code> section of mw.config.set section that is on every page. I would say if it is cascade protected, titleblacklisted, or antispoof, then wgIsProbablyEditable should be changed to false if it isn't already. Also, would be good to add "cascade", "titleblacklist", "antispoof" to ,"wgRestrictionEdit":[], if those restrictions apply (I wouldn't expect them to prevent a move, so no need to put them there I wouldn't think). Is that doable? [[User:Technical 13|Technical 13]] ([[User talk:Technical 13|talk]]) 19:03, 9 January 2014 (UTC)