FANDOM


  • Would like to have a bot use AutoWikiBrowser to help with spelling corrections, but need the process for a JavaScript bot to carry out this procedure.

      Loading editor
    • JWB?

        Loading editor
    • If that helps scan a wiki to correct spelling and grammer then that is perfect!

      Would you please mind explaining a step by step process in order to have the bot carry out this process?

        Loading editor
    • did you read the documentation?

        Loading editor
    • Yes, it's all the points and an explanation of why something is done with everything covered, nice and all but for me a walkthrough works better, like

      • Add this here
      • List yourself on the AutoWikiBrowser CheckPage like this
      • Copy this example
      • Do this

      Something much more direct and efficient is best, more so with the time frame since there are other areas I need to cover so hope I may receive a step by step guide to help with this, if it is not to much trouble.

        Loading editor
    • Continuing on from the conversation here, tried the practice spelling mistake on this page. Then used the bot and added the page where prerequiste is added, ticked the Save automatically in the image just like below and the Enable RegEx Type Fixing (just to note like in the image the overlap with "Done" made it kind of hard to tick, but got there - could it be spaced out a bit or is it just my screen?) Then chose the green start but again no spellings were detected and nothing had changed.

      Jwb
        Loading editor
    • Just to be clear, it listed the page as skipped?

        Loading editor
    • When I pressed start, the page in source mode briefly appears along with the message at the top, like so: (Is Null Edits 1 significant?)

      Jwb 1
        Loading editor
    • Can you open console, try to edit the page again, and see if there are any errors or notices?

        Loading editor
    • Yes:

      Console 1

      Google Chrome, episode page

      Console 2

      Console on the JWB area

        Loading editor
    • Did you try to edit the page with console open?

        Loading editor
    • Edit 1

      Console when on the page

      Edit 2

      Editing in source mode

      Edit 3

      After an edit has been saved

        Loading editor
    • No, I mean keep console open while using JWB to try to edit the page.

        Loading editor
    • This one appears the same before and after, page name there, ticked Save automatically every 2 seconds with Enable RegEx Typo Fixing ticked then pressed start.

      Console 2

      Console on the JWB area

        Loading editor
    • Seems to be a problem with the script since it didn't work for me either. Maybe try asking for help here.

        Loading editor
    • May you please ask since it's a different site and I don't have an account or know where to ask or that.

      You would likely understand the troubleshooting guidance as well, with the console screenshots I can show the information but not sure what it is showing.

        Loading editor
    • I guess I can look into it when I have time - hopefully next week if that's ok.

      Regarding the screenshots though, they don't show anything important in case you thought they did. So I really have no idea what the problem is.

        Loading editor
    • No time like the present so made an account to ask if this perplexing issue could be helped here, but have my messages been sent? With Wikipedia thankfully already having a lot of editors there has not been a need to be on there so not familiar with how the site works behind the scenes.

      Hoped the screenshots could narrow down an potential problem, were they more helpful then describing an issue with words? The red text looked pretty suspect as well XD

      Hope we may all help see this through, the JWB can be so useful!

        Loading editor
    • Alright, cool. Hopefully someone will attend to your query.

      Not really. All the screenshots showed was that there's no major, easily-fixable error. It's going to be something harder to detect/fix.

        Loading editor
    • Hopefully, certainly an intriguing issue! Are you able to view my message on Wikipedia, I'm not sure if it has been sent?

      Also is there anything I can do to test where the issue is? I'm good to run tests if you are currently busy.

        Loading editor
    • You know what, I found the issue. There has to be a Project:AutoWikiBrowser/Typos page on the wiki. So try creating that page with its content being this except only with the part inside the source tag. Once you do that, link me to it so I can make sure the content is correct.

        Loading editor
    • Oh wow, real nicely spotted! Created the page aware it's copied and pasted, but there are 153 source tags, and these ones: <source lang="xml"> but sure it can be trimmed down to what is necessary.

        Loading editor
    • What you copied looks good. Now go to JWB, add ?debug=1 to the URL, and try editing the page with the typo again. If it skips it or just null edits it then open console and take a screenshot.

        Loading editor
    • Excellent, just scored the lot XD but yes added that at the end of the web address:

      https://banana-fish.fandom.com/wiki/BANANA_FISH_Wiki:AutoWikiBrowser/Script?debug=1

      When on the JWB, and the most amazing thing happened it worked! Here is a really helpful screenshot, one that actually does show what is going on, something amazing!

      Close up










      Thank you so much for this just as magical thing as the other areas you have helped with. At this point is it good to say enter every page for a wiki (how would I see every page on a wiki?) Then this will see to all the grammar and spelling?

      Is it something separate for changing words like "He's" to "He is" and that?

      (Edit, duplicate message bug posted this twice)

        Loading editor
    • Glad it worked. Use MassNullEdit to get a list of all pages in the main namespace and paste it into JWB. Then start editing!

      As for your second question, that is possible but I wouldn't recommend it since He's might be preferable in some instances.

        Loading editor
    • But I can explain how to do it if you want.

        Loading editor
    • Same, it's amazing! Tried MassNullEdit to list all the pages, "with the prefix" for Chapter, include the "file" file being an image?

      What would "Add pages that transclude:" do?

      Seen a summary can be added, tried skip so it's looking more familiar. When it's ticked as a "Minor edit" what does that do? Does it not count as an edit, like why the m next to it?

      The other area is what "Regular Expression" do?

        Loading editor
    • TheGoldenPatrik1 wrote: But I can explain how to do it if you want.

      Thanks, I guess it's something to do with the "Replace:" and "With:" part of the page? There are some example pages I had in mind where it is is appropriate to replace the contractions, like "he is" going is fine, there are no "he has" or anything and best to know just because!

        Loading editor
    • Pages that use another page as a template.

      It basically just shows that the edit isn't very important.

      Basically a more advanced way of doing find and replace.

      And yes.

        Loading editor
    • Thanks, hope you don't mind a few minor questions; which pages would use others as a template, is there an example one?

      With listing an edit as minor is that a subjective thing? I mean spelling is important, and changing a letter just easier to choose save rather than tick minor? 

      Are there cases where a more advanced find and replace would be used?

      And that's good, should I ask here if uploading a .gif image to use as the bot display image can be done or does it entail adding something for the .gif movements to show?

      You can press on a page to edit it, is there a keyboard shortcut to publish a page? Just saves moving to choose publish, same with a keyboard for switching to source mode.

        Loading editor
    • Well pages in the Template: namespace are obviously the definitive example.

      It's subjective. Since you seem unfamiliar with this, try reading this guide.

      Yeah, but regex is a bit complicated.

      Try Nitro.

      Use S.

        Loading editor
    • Is there a JS adaption of Nitro? Figured it's better to keep things on Fandom rather than download things onto a computer. Is there a reason gifs cannot work as display images? They appear fine on the rest of Fandom.

      Thank you for S! 

      Ans also thank you for helping me add, and use the JWB, it is truly the case that I couldn't have done it without you so it is really appreciated.

        Loading editor
    • Nope. It isn't possible due to the way Fandom works.

      No problem, always glad to help!

        Loading editor
    • I see with the minor edit thing, then again anyone could add anything and class it as m so best to check and proof read for them anyway.

      With Nitro if I choose the green box "Latest release" on my phone, will that download it as an app there? That's fine on my phone and then can have a .gif display image for the bot.

      S isn't working, it types the letter S on an article when in edit rather than save the page. Is there a list of keyboard shortcuts? Changing between source and visual editor, saving the page and a keyboard shortcut again like enter to publish the change would be good.

      Could Fandom add a way to allow gifs to be display images?

      I presume find and replace could add diacritic marks, specifically the two macrons above the vowels so Yuichiro could be changed to "Yūichirō" when mentioned on the wiki? 

      The second part to this might not be necessary, but if saving on redirects is good could it also replace "Yuichiro" with the full one when that is used to link to his page. Rather than spend time finding examples, if we pretend the first Yūichirō on this chapter page has been linked with Yuichiro, to use the redirect to reach the page. Using find and replace so Yūichirō is used in links as well, that could be good?

      Whilst I think about what else bots could be used for (should I open new threads for these?) Is there a way to mass rename images? If there are like ten images with random numbers as titles, I figure "Episode 1 - 1 and 2, and so on at least let's people know where the image is from and is a legible name. Since only admins are allowed to rename images, for some reason, should I give the admin title to the bot?

        Loading editor
    • I don't know. I'd ask the author.

      Make sure you aren't in the textarea (i.e. stuff you type doesn't show up) and then try it.

      Not right now but maybe in the future.

      Yep.

      I guess.

      Certainly, giving bots admin rights is standard practice. For renaming he images you could try MassRename.

        Loading editor
    • Nitro doesn't work as a mobile app (and as I explained here likely won't be made into one anytime soon). It cannot be made into a script either, because the endpoint it requires is not allowed to be posted to due to CORS.

        Loading editor
    • Hi, typed off the area but choosing s still didn't save, is there a keyboard shortcut to skip between visual and source mode as well?

      I'll try find and replace for source mode text, can we practice using MassRename?

      I need a gif for a display image just because, KockaAdmiralac there must be a way using JS, need it.

        Loading editor
    • Hm. What editor are you using?

      I don't think there's a shortcut for that.

      Sure. Try importing the script and opening the modal.

      As Kocka explained, there currently isn't a way using JS.

        Loading editor
    • Tried visual, source and classic, clicked off the text area but s still didn't want to save : (

      With rename do I have to manually type like Episode 1 - 1, Episode 1 - 2 on right of each image?

      Rename
        Loading editor
    • I guess you could ask staff if the shortcut I'd discontinued or something.

      So on the same line as each image add a space and then the new page name but with underscores instead of spaces.

        Loading editor
    • Okay, yes keyboard shortcuts would save a lot of having to move a mousepad, it's extra seconds to make use of!

      Is there a way to generate a list of names? Like when naming images could a sequential thing be made where the Prefix for sequential: can be Episode 1 - then it will know to create say ten images selected titled Episode 1 - 1 and Episode 1 - 2 and so forth.

      If the mass rename changes their names in source mode as well that would be ideal. When renaming an image using the drop down arrow next to edit, you also need to change it in source mode since the rename acts as a redirect to the random letters.

        Loading editor
    • Once you have MassRename opened and all the images you want to be renamed in their, try running this snippet in console. It might do what you want.

      var txt = document.getElementById('text-rename');
      var val = txt.value.split('\n');
      var num = 1;
      $.each(val, function (k, v) {
          val[k] = v + ' Episode_1_-_' + num + '.png';
          num += 1;
      });
      txt.value = val.join('\n');

      I don't think MassRename does that.

        Loading editor
    • Amazingly it does make the list, but when initiating it in MassRename it doesn't want to rename them:

      Rn1
        Loading editor
    • That's because you haven't added the File: prefix to the images. Since they're stored in the File namespace, that prefix is essential! To fix, put in the exact same page list you used last time and then run this modified version of the script in console.

      var txt = document.getElementById('text-rename');
      var val = txt.value.split('\n');
      var num = 1;
      $.each(val, function (k, v) {
          val[k] = 'File:' + v + ' File:Episode_1_-_' + num + '.png';
          num += 1;
      });
      txt.value = val.join('\n');
        Loading editor
    • This file type mismatch message came up

      Rn2

      (edit: because the first image name doesn't have File: on the page? If I use find and replace to add File: then the step above to rename then find and replace again to remove file that would do it?)

        Loading editor
    • It's because the images are .jpg and we were trying to change them to .png - my bad. Use this instead.

      var txt = document.getElementById('text-rename');
      var val = txt.value.split('\n');
      var num = 1;
      $.each(val, function (k, v) {
          val[k] = 'File:' + v + ' File:Episode_1_-_' + num + '.jpg';
          num += 1;
      });
      txt.value = val.join('\n');
        Loading editor
    • Little by little one walks far!

      Rna
        Loading editor
    • Only admins can rename files so give your bot admin rights and try again.

        Loading editor
    • Okay done, without adding a redirect they are not appearing but for both ways is there a way to generate a list of the new filenames? Replacing them in source mode would be best.

        Loading editor
    • Wdym a list of the new file names?

      As for replacing them, you might just have to do it manually or you could try JWB.

        Loading editor
    • With their new names https://banana-fish.fandom.com/wiki/Special:Contributions/Ph1i5-B0t could a list be made with

      File:Episode 1 - 147.jpg

      File:Episode 1 - 146.jpg

      and so on to copy and paste over the random number names in source mode https://banana-fish.fandom.com/wiki/Episode_01_A_Perfect_Day_for_Bananafish/Image_Gallery?action=edit

        Loading editor
    • Sure. What is the highest image number?

        Loading editor
    • File:Episode 1 - 1.jpg ‎

      all the way to

      File:Episode 1 - 147.jpg

        Loading editor
    • File:Episode 1 - 1.jpg 
      File:Episode 1 - 2.jpg 
      File:Episode 1 - 3.jpg 
      File:Episode 1 - 4.jpg 
      File:Episode 1 - 5.jpg 
      File:Episode 1 - 6.jpg 
      File:Episode 1 - 7.jpg 
      File:Episode 1 - 8.jpg 
      File:Episode 1 - 9.jpg 
      File:Episode 1 - 10.jpg 
      File:Episode 1 - 11.jpg 
      File:Episode 1 - 12.jpg 
      File:Episode 1 - 13.jpg 
      File:Episode 1 - 14.jpg 
      File:Episode 1 - 15.jpg 
      File:Episode 1 - 16.jpg 
      File:Episode 1 - 17.jpg 
      File:Episode 1 - 18.jpg 
      File:Episode 1 - 19.jpg 
      File:Episode 1 - 20.jpg 
      File:Episode 1 - 21.jpg 
      File:Episode 1 - 22.jpg 
      File:Episode 1 - 23.jpg 
      File:Episode 1 - 24.jpg 
      File:Episode 1 - 25.jpg 
      File:Episode 1 - 26.jpg 
      File:Episode 1 - 27.jpg 
      File:Episode 1 - 28.jpg 
      File:Episode 1 - 29.jpg 
      File:Episode 1 - 30.jpg 
      File:Episode 1 - 31.jpg 
      File:Episode 1 - 32.jpg 
      File:Episode 1 - 33.jpg 
      File:Episode 1 - 34.jpg 
      File:Episode 1 - 35.jpg 
      File:Episode 1 - 36.jpg 
      File:Episode 1 - 37.jpg 
      File:Episode 1 - 38.jpg 
      File:Episode 1 - 39.jpg 
      File:Episode 1 - 40.jpg 
      File:Episode 1 - 41.jpg 
      File:Episode 1 - 42.jpg 
      File:Episode 1 - 43.jpg 
      File:Episode 1 - 44.jpg 
      File:Episode 1 - 45.jpg 
      File:Episode 1 - 46.jpg 
      File:Episode 1 - 47.jpg 
      File:Episode 1 - 48.jpg 
      File:Episode 1 - 49.jpg 
      File:Episode 1 - 50.jpg 
      File:Episode 1 - 51.jpg 
      File:Episode 1 - 52.jpg 
      File:Episode 1 - 53.jpg 
      File:Episode 1 - 54.jpg 
      File:Episode 1 - 55.jpg 
      File:Episode 1 - 56.jpg 
      File:Episode 1 - 57.jpg 
      File:Episode 1 - 58.jpg 
      File:Episode 1 - 59.jpg 
      File:Episode 1 - 60.jpg 
      File:Episode 1 - 61.jpg 
      File:Episode 1 - 62.jpg 
      File:Episode 1 - 63.jpg 
      File:Episode 1 - 64.jpg 
      File:Episode 1 - 65.jpg 
      File:Episode 1 - 66.jpg 
      File:Episode 1 - 67.jpg 
      File:Episode 1 - 68.jpg 
      File:Episode 1 - 69.jpg 
      File:Episode 1 - 70.jpg 
      File:Episode 1 - 71.jpg 
      File:Episode 1 - 72.jpg 
      File:Episode 1 - 73.jpg 
      File:Episode 1 - 74.jpg 
      File:Episode 1 - 75.jpg 
      File:Episode 1 - 76.jpg 
      File:Episode 1 - 77.jpg 
      File:Episode 1 - 78.jpg 
      File:Episode 1 - 79.jpg 
      File:Episode 1 - 80.jpg 
      File:Episode 1 - 81.jpg 
      File:Episode 1 - 82.jpg 
      File:Episode 1 - 83.jpg 
      File:Episode 1 - 84.jpg 
      File:Episode 1 - 85.jpg 
      File:Episode 1 - 86.jpg 
      File:Episode 1 - 87.jpg 
      File:Episode 1 - 88.jpg 
      File:Episode 1 - 89.jpg 
      File:Episode 1 - 90.jpg 
      File:Episode 1 - 91.jpg 
      File:Episode 1 - 92.jpg 
      File:Episode 1 - 93.jpg 
      File:Episode 1 - 94.jpg 
      File:Episode 1 - 95.jpg 
      File:Episode 1 - 96.jpg 
      File:Episode 1 - 97.jpg 
      File:Episode 1 - 98.jpg 
      File:Episode 1 - 99.jpg 
      File:Episode 1 - 100.jpg 
      File:Episode 1 - 101.jpg 
      File:Episode 1 - 102.jpg 
      File:Episode 1 - 103.jpg 
      File:Episode 1 - 104.jpg 
      File:Episode 1 - 105.jpg 
      File:Episode 1 - 106.jpg 
      File:Episode 1 - 107.jpg 
      File:Episode 1 - 108.jpg 
      File:Episode 1 - 109.jpg 
      File:Episode 1 - 110.jpg 
      File:Episode 1 - 111.jpg 
      File:Episode 1 - 112.jpg 
      File:Episode 1 - 113.jpg 
      File:Episode 1 - 114.jpg 
      File:Episode 1 - 115.jpg 
      File:Episode 1 - 116.jpg 
      File:Episode 1 - 117.jpg 
      File:Episode 1 - 118.jpg 
      File:Episode 1 - 119.jpg 
      File:Episode 1 - 120.jpg 
      File:Episode 1 - 121.jpg 
      File:Episode 1 - 122.jpg 
      File:Episode 1 - 123.jpg 
      File:Episode 1 - 124.jpg 
      File:Episode 1 - 125.jpg 
      File:Episode 1 - 126.jpg 
      File:Episode 1 - 127.jpg 
      File:Episode 1 - 128.jpg 
      File:Episode 1 - 129.jpg 
      File:Episode 1 - 130.jpg 
      File:Episode 1 - 131.jpg 
      File:Episode 1 - 132.jpg 
      File:Episode 1 - 133.jpg 
      File:Episode 1 - 134.jpg 
      File:Episode 1 - 135.jpg 
      File:Episode 1 - 136.jpg 
      File:Episode 1 - 137.jpg 
      File:Episode 1 - 138.jpg 
      File:Episode 1 - 139.jpg 
      File:Episode 1 - 140.jpg 
      File:Episode 1 - 141.jpg 
      File:Episode 1 - 142.jpg 
      File:Episode 1 - 143.jpg 
      File:Episode 1 - 144.jpg 
      File:Episode 1 - 145.jpg 
      File:Episode 1 - 146.jpg 
      File:Episode 1 - 147.jpg 
      
        Loading editor
    • Wow thank you so much, may I know how you gained the list so I am able to do it next time?

      It all worked, the images have been renamed, and now thanks to the list all sorted in source mode as well. When renaming the images, there was one, two and three images that didn't go through and remained deleted until I added their original names in source made. Maybe they were originally called the Episode 1 - before having a name change?

      And used find and replace to remove the File: :O)

        Loading editor
    • I just ran this code snippet in console and copied the output from the textbox it created at the top of the page.

      var num = 1;
      var abc = [];
      while (num < 148) {
          abc.push('File:Episode 1 - ' + num + '.jpg ');
          num += 1;
      }
      $('#mw-content-text').prepend(
          $('<textarea>').val(abc.join('\n'))
      );

      Glad everything worked. :)

        Loading editor
    • That's even handier as if it could be! All the delicious results of success all thanks to you: https://banana-fish.fandom.com/wiki/Episode_02_In_Another_Country/Image_Gallery?diff=30397&oldid=18975

      Remembered to change it to a 2, and used find and replace at the same time... and yet there seems to be some extra images that have come from somewhere?

        Loading editor
    • Looks like the images didn't go all the way to 147. I guess you can just remove the four extra images.

        Loading editor
    • Copied this one for Episode 2

      var num = 1;
      var abc = [];
      while (num < 148) {
          abc.push('File:Episode 1 - ' + num + '.jpg ');
          num += 1;
      }
      $('#mw-content-text').prepend(
          $('<textarea>').val(abc.join('\n'))
      );

      and just changed the Episode to 2, so did this (num < 148) just create 147 because that was how many images there were when doing Episode 1?

        Loading editor
    • Yep. Just change the 148 in the snippet to a number one more than the number of images you want listed. So if you're wanting 50 images, for example, change the number to 51. Make sense?

        Loading editor
    • If you'd like an easy way of getting the number of images you'll be replacing, you could run this.

      $('#mw-content-text').prepend(
          $('<textarea>', { id: 'test' })
      );

      Then input the list of images you'll be replacing. Then run this.

      var txt = document.getElementById('test');
      var val = txt.value.split('\n');
      txt.value = val.length;

      The textarea's value will then be the number of images you have!

        Loading editor
    • Yes, the var number is the difference between each one (like if it were 2, it would go Episode 1 - 1, Episode 1 - 3 and increase like that.

      Does the var abc look for the space in between the original and new names so it knows which one to change to? Then again these ones seem to do that as well 

      abc.push('File:Episode 1 - ' + num + '.jpg ');
          num += 1;
      

      What are these ones?

      $('#mw-content-text').prepend(
          $('<textarea>').val(abc.join('\n'))
      );
      

      Is there a way to reattach redirects the original images? Didn't add redirects because there tends to be an excess of them on wikis and when changing them in source mode they were not needed anyway. With renaming the images on episode pages, the same images were on character pages so could the bot tell which images are the new names to re-add them on character pages? Without redirects those random code names are empty files with no image appearing since it's been renamed to an "Episode -" one.

      $('#mw-content-text').prepend(
          $('<textarea>', { id: 'test' })
      );
      

      Is this added to the console and at which point?

        Loading editor
    • Yes, the var number is the difference between each one (like if it were 2, it would go Episode 1 - 1, Episode 1 - 3 and increase like that.

      No. var num = 1; is the starting point of the image numbers. Setting it at two means that the first image will be File:Episode 1 - 2.png. On the other hand, changing num += 1 changes the number in between. So changing it to 2 will output File:Episode 1 - 1.png then File:Episode 1 - 3.png and so on.

      Does the var abc look for the space in between the original and new names so it knows which one to change to?

      What do you mean?

      What are these ones?

      That creates a textbox at the top of the page and fills it with the list of page names, each on a new time.

      Is there a way to reattach redirects the original images? Didn't add redirects because there tends to be an excess of them on wikis and when changing them in source mode they were not needed anyway. With renaming the images on episode pages, the same images were on character pages so could the bot tell which images are the new names to re-add them on character pages? Without redirects those random code names are empty files with no image appearing since it's been renamed to an "Episode -" one.

      Probably the only easy way to do that would be to do it manually.

      Is this added to the console and at which point?

      Re-read this.

        Loading editor
    • Got it

      Does the var abc look for the space in between the original and new names so it knows which one to change to?

      What do you mean?

      D-sHc8yUYAA3RBP.jpg Episode 1_-_1

      Was wondering what var abc = []; does, and thought it was looking for the space inbetween the random code name to the new image name.

      Can MassRename change the source code on a page so I don't have to go back and change them there? Found these code names on the Episode page, changed them to what they were renamed to so good news the images are there on the character pages. If as well as renaming an image name, it could change the very source code on an article to match the new name that could be handy.

      Also I didn't leave redirects for episode 1 but the images still appeared. What was different for Episode 2? Since when I renamed images in Episode 2, the original random code names resulted in no images appearing on the character pages hence why I had to manually check and rename them.

      TheGoldenPatrik1 wrote: If you'd like an easy way of getting the number of images you'll be replacing, you could run this.

      $('#mw-content-text').prepend(
          $('<textarea>', { id: 'test' })
      );

      Then input the list of images you'll be replacing. Then run this.

      var txt = document.getElementById('test');
      var val = txt.value.split('\n');
      txt.value = val.length;

      The textarea's value will then be the number of images you have!

      Sorry that's what I meant where abouts do I add these, in the console? And when? The textarea would go from $('<textarea>', { id: 'test' }) to $('<150>', { id: 'test' }) using 150 as an example?

        Loading editor
    • abc just stores the image values. Remember that this snippet isn't for MassRename.

      It cannot do that.

      Are you sure you didn't leave redirects? That's about the only explanation.

      You'd add the first snippet in console, then paste the list of images names you'll be replacing into the resulting textbox. Once you've done that, add the second snippet in console. Then you'll have the number of images you'll be replacing so that you can calculate the number you need for the other snippet that creates the list of new image names. If it doesn't make sense though, you don't need to use it.

        Loading editor
    • Could a script be developed to change names as well in source mode? Find and replace applied to specific names or something, worth a thought!

      Yes since leaving a redirect requires ticking and was certain I could save a bunch of needless redirects that wouldn't be used anyway (since adding them in source mode as well) by leaving it, and yet worked differently on Episode 2 images.

      TheGoldenPatrik1 wrote:

      You'd add the first snippet in console, then paste the list of images names you'll be replacing into the resulting textbox. Once you've done that, add the second snippet in console. Then you'll have the number of images you'll be replacing so that you can calculate the number you need for the other snippet that creates the list of new image names. If it doesn't make sense though, you don't need to use it.

      Thanks, tried that on the regular Episode 3 image gallery article page (not in edit or massrename or anything) and got a number of 160!

      Is that everything for using MassRename? It's ridiculously handy on the Banana Fish Wiki especially what with quite a few random code titles, so thank you so much for explaining how to work it!

      As stated at the start of this message if anyone could extend something to renaming image titles in source mode as well that would be even extra good. Right now would be using massrename to change the code titles on an episode page, and then having to check individual character pages (since images are shared across episode and character galleries - Ash in episode 1, 2 and so on) and manually checking the image titles like here and matching them to the updated titles here.

        Loading editor
    • It's called JWB. :)

      Yeah, seems like you know how to use it now. You're welcome!

        Loading editor
    • Just a minor thing, went up to 148 images here, which didn't cover some of the images at the bottom where have these images gone?

      Also some are not appearing on the image gallery proper.

      These images to be renamed are all in one are on the gallery page as well, is there a way to locate all images with random code names spread across a wiki?

        Loading editor
    • Looks like some images you just removed instead of renaming.

      Looks like some images just didn't get renamed right or something. Not sure what happened.

      Not really unfortunately.

        Loading editor
    • They are not appearing in Special delete are they gone forever?

      The images that didn't get renamed right are present on the wiki so I can manually check the original code and new names and re-add them. 

      It's just the first batch that are gone.

        Loading editor
    • Maybe you entered the name wrong and that's why they aren't showing up.

        Loading editor
    • Entered what would have been the renames in a later edit but they still didn't show up, if they have been deleted is there a way to see or reclaim them?

        Loading editor
    • I checked the move log and those images simply aren't there. Try renaming them again.

        Loading editor
    • Added the images as began from 148-160 but failed with it having a missing title.

        Loading editor
    • Can you screenshot it?

        Loading editor
    • Missing title
        Loading editor
    • Looks like you can't rename those images because they don't exist and probably never have.

        Loading editor
    • What were these ones at the bottom though?

        Loading editor
    • Which images are you referring to?

        Loading editor
    • Code names
      The ones on the left were supposedly renamed, and yet typing in the names of what they should be after, like 148 onwards does not make them show so they kind of disappeared.
        Loading editor
    • I really have no idea.

        Loading editor
    • I'll check it with another gallery later, seems it's just the titles affected but will hopefully be able to confirm! Thanks for your message as well : )

        Loading editor
    • Alright!

        Loading editor
    • A FANDOM user
        Loading editor
Give Kudos to this message
You've given this message Kudos!
See who gave Kudos to this message
Community content is available under CC-BY-SA unless otherwise noted.

Fandom may earn an affiliate commission on sales made from links on this page.

Stream the best stories.

Fandom may earn an affiliate commission on sales made from links on this page.

Get Disney+