Editing Talk:CategoryRenameAuto-update 0 You do not have permission to edit this page, for the following reasons: The action you have requested is limited to users in one of the groups: Users, FANDOM Staff, FANDOM Helpers, Wiki Managers, Content Team Members. Please log in to edit this wiki.Joining Fandom Developers Wiki is free, and it only takes a minute.We hope that you sign in, and become a member of the community!Click here to log in or create an account more + You can view and copy the source of this page: {{talkpage}}__TOC__ == Bug == I noticed that this script adds the "Rename" button to every drop-down menu with the 'wikia-menu-button' class, including the Contribute menu. My suggestion would be to change <pre>$('.wikia-menu-button .WikiaMenuElement').append(...</pre> to <pre>$('#WikiaPageHeader > .wikia-menu-button .WikiaMenuElement').append(...</pre> so that it only targets the Edit menu. {{User:RyaNayR/sig|08:09, February 21, 2014 (UTC)}} :REALLY late, but thank you! — [[User:Foodbandlt|Foodbandlt]] ([[User talk:Foodbandlt|talk]]) 06:39, December 22, 2014 (UTC) ==Removal/Delete functionality?== What would be nice is if there was a way to *not* give a new name. Perhaps by leaving the New Category field blank, or however it can be coded, it would then *remove* the Old Category entry from pages, replacing it with nothing, and in effect simply removing Outdated/Unnecessary Cats. Combined with the "Delete old Cat" function, and it we'd have it all. --[[User:Love Robin|Love Robin]] ([[User talk:Love Robin|talk]]) 13:41, April 4, 2014 (UTC) ==Occasional error message== Every so often I get the error message: The page "''PAGENAME''" could not be created due to error code: "emptypage" Any idea what this is? The last one I got this was for [[w:c:braceface:Category:Villians]] which I want to rename to "Antagonists", and is misspelled anyway. --[[User:Love Robin|Love Robin]] ([[User talk:Love Robin|talk]]) 06:30, August 13, 2014 (UTC) :Again, really late, but I've fixed it. If a category page is empty it now adds a period as I don't know how to actually make an empty page (and it's not obvious). — [[User:Foodbandlt|Foodbandlt]] ([[User talk:Foodbandlt|talk]]) 06:40, December 22, 2014 (UTC) ==Page Rename== will there be equivalent for page renames? ie change all links on "what links here" [[User:Reasno|Reasno]] 杰诺斯·史林特 04:03, August 26, 2014 (UTC) == User group restrictons == Would it be possible to restrict this script to sysops-only? Perhaps as a variable preceding the import statement in Common.js. Thanks! :) — <span style="font: bold 125% Garamond;">[[User:SpikeToronto|<span style="color:#DC143C">Spike</span>]][[User talk:SpikeToronto#top|<span style="color:#000000">Toronto</span>]]</span> 05:56, November 18, 2014 (UTC) :I would disagree with that notion on the Dev Wiki script because I know some wikis who use the script and are not sysop. I would suggest adding that yourself to your own version of the script somewhere. – [[User_talk:Ozuzanna|Ozuzanna]] 19:06, November 18, 2014 (UTC) ::One would have to know JS to do that… :( Would it be possible to alter the dev script so that, just above the import over at another wiki, there could be some parameter setting/value that limits the user groups for which the script operates? It could default to autoconfirmed if no parameter is supplied at the importing wiki. Thanks! — <span style="font: bold 125% Garamond;">[[User:SpikeToronto|<span style="color:#DC143C">Spike</span>]][[User talk:SpikeToronto#top|<span style="color:#000000">Toronto</span>]]</span> 02:58, November 26, 2014 (UTC) :::Instead of altering the script, you could add a conditional in your import, like so: <syntaxhighlight lang="javascript" style="margin-left:72px;"> if (mw.config.get('wgUserGroups').indexOf('sysop') > -1) { importScriptPage('CategoryRenameAuto-update/code.js', 'dev'); } </syntaxhighlight> :::-- '''[[User:Fubuki風吹|<span style="color:darkblue">sqm</span>]] <sup>[[User talk:Fubuki風吹|<span style="color:#000">talk</span>]]</sup>''' 14:03, 11.26.2014 :::[edit]→ Or, add the import to [[mediaWiki:group-sysop.js]]. -- '''[[User:Fubuki風吹|<span style="color:darkblue">sqm</span>]] <sup>[[User talk:Fubuki風吹|<span style="color:#000">talk</span>]]</sup>''' 14:07, 11.26.2014 ::::That’s perfect! I’ll give that a try. Thanks! :) — <span style="font: bold 125% Garamond;">[[User:SpikeToronto|<span style="color:#DC143C">Spike</span>]][[User talk:SpikeToronto#top|<span style="color:#000000">Toronto</span>]]</span> 08:08, December 2, 2014 (UTC) ::::It just occurred to me, though, that that will not prevent someone from adding CategoryRenameAuto-update to their personal JS and running it. Will it? — <span style="font: bold 125% Garamond;">[[User:SpikeToronto|<span style="color:#DC143C">Spike</span>]][[User talk:SpikeToronto#top|<span style="color:#000000">Toronto</span>]]</span> 08:18, December 2, 2014 (UTC) :::::No, it won't. There are ways to prevent it on a per wiki basis, but there are way to get around it just with minimal js knowledge. :::::For example, the author of this could add a check for a global config that disables the import for non-sysops. But the user could just unset that config before importing it. Another option would be to add the restriction to the code, but then I could just copy the code to another location and remove that restriction. :::::Perhaps a lot of users lack the knowledge to do wither of those examples, but if I can think of ways around it I'm sure someone else can. {{User:Cqm/Signature|11:17, 3 Dec 2014 (UTC)}} ::::::Anyone whose javascript knowledge is at that level is '''not''' someone one has to worry about messing things up inadvertently. ;) — <span style="font: bold 125% Garamond;">[[User:SpikeToronto|<span style="color:#DC143C">Spike</span>]][[User talk:SpikeToronto#top|<span style="color:#000000">Toronto</span>]]</span> 06:35, December 15, 2014 (UTC) == Error code == I tested the [[CategoryRenameAuto-update]] script on [[W:c:test-12|Test 12 Wiki]] and received the following error message for some, but not all, of the pages that were re-categorised: : The page at test-12.wikia.com says: <br/><br/>The page "<page name>" could not be submitted because of error code:"internal_api_error_DBQueryError". Please update the link(s) on that page manually. Could someone please explain why these errors occurred and if they're significant? --<span style="background-color:#; border:2px ridge #;">[[User:LegendFPS|<span style="color:Grey;">'''LegendFPS'''</span>]] <sup> [[User_talk:LegendFPS|<span style="color:Grey;">'''(Talk)'''</span>]] <span style="color:Grey;">'''•'''</span> [[Special:Contributions/LegendFPS|<span style="color:Grey;">'''(Contribs)'''</span>]]</sup></span> 06:28, December 2, 2014 (UTC) :That's likely a error in wikia's config or code, it's not a standard api error code afaik. I'd suggest trying again in a couple of days to see if it's fixed. {{User:Cqm/Signature|10:28, 2 Dec 2014 (UTC)}} :: Ok, I'll do that. Thanks. --<span style="background-color:#; border:2px ridge #;">[[User:LegendFPS|<span style="color:Grey;">'''LegendFPS'''</span>]] <sup> [[User_talk:LegendFPS|<span style="color:Grey;">'''(Talk)'''</span>]] <span style="color:Grey;">'''•'''</span> [[Special:Contributions/LegendFPS|<span style="color:Grey;">'''(Contribs)'''</span>]]</sup></span> 06:46, December 3, 2014 (UTC) :: It worked fine on the second attempt. --<span style="background-color:#; border:2px ridge #;">[[User:LegendFPS|<span style="color:Grey;"><font face="Magneto">'''LêgêndFPŠ'''</font></span>]] <sup> [[User_talk:LegendFPS|<span style="color:Grey;"><font size="1" face="Candara">'''(Talk)'''</font></span>]] </sup> [[Special:Contributions/LegendFPS|<span style="color:Grey;"><font size="1" face="Candara">'''(Edits)'''</font></span>]]</span> 03:06, December 9, 2014 (UTC) == Non-English languages == The script doesn't seem to work on non-English wikias. Could someone please try and fix this ? Thank you in advance. —[[User:Hulothe|Hulothe]] <helper /> 16:26, December 21, 2014 (UTC) :I'll try to get this done today. I might need help with translation for some things though if you're willing to help. — [[User:Foodbandlt|Foodbandlt]] ([[User talk:Foodbandlt|talk]]) 19:01, December 21, 2014 (UTC) ::Thank you. I'm willing to help with translations. —[[User:Hulothe|Hulothe]] <helper /> 21:51, December 21, 2014 (UTC) Templates used on the current version of this page: User:Cqm/Signature (view source) User:RyaNayR/Signature (view source) User:RyaNayR/sig (view source) Template:Od (view source) Template:Outdent (view source) Template:Reset indent (view source) Template:Ri (view source) Return to Talk:CategoryRenameAuto-update. Edit summary Preview Mobile Desktop Show changes