FANDOM


  • Hey, I made a list that contains every track that is used in each episode. Since I don't really have any experience with the wiki I thought I would float my ideas before starting to edit. I was inspired by this page on the evageeks wiki (I'm open to better suggestions for a page name) and this is my current plan:

    Create one page that contains the whole list with one table per episode. I think it would be good to make the tables collapsed by default for easier navigation but it would also be useful to have one big page (you could search for every occurence of one specific track for example). For that you would need a collapse all/expand all button. Here is an example of what I'm talking about and the relevant common.js.

    Additionally I would use labeled section transclusion to include the specific table for each episode on the episode page itself (maybe between characters and trivia?). Since the table would be collapsed by default it would only add two lines (a section heading and the table header) without cluttering the page too much.

    The table itself would consist of the following fields: start timestamp, end timestamp, track title in romaji, source OST and a short description of the relevant scene.

    Also feel free to refuse any part of this if you think it would be too detailed for the wiki or for any other reason. I am going to post the list elsewhere anyways but I think the wiki would be a good place as well.

      Loading editor
    • Jarevo,

      Sure! The series has a lot of great music, and I am sure that there are plenty of people who would find such a list very useful in looking up individual tracks.

      Thumbs up to all of it. Thank you for taking the time to prepare such a well-thought out proposal, and then even give notice before implementing it. Right decent of you.

      Regards,

      Whistle9

        Loading editor
    • I created the page List of Music Used in Each Episode but realized that I had looked at the wrong version page and that this wiki doesn't have the Labeled Section Transclusion extension enabled. The extension isn't listed on this page but I don't think that the list is comprehensive. The community wikia has it enabled for example. Here is a link to the extension page. That page says that the extension is for MediaWiki version 1.25+ and this wiki uses 1.19.24 but the community wikia also uses 1.19.24 and has the extension enabled. I'm not quite sure what's up with that but I guess asking doesn't hurt.

      As with the extension management I also don't have permission to submit a change for the javascript unless I missed something. It would be great if you could look into these things.

        Loading editor
    • Jarevo,

      Sorry I could not get back to you over the weekend. I have contacted staff, and hopefully we can get the extension enabled on our Wiki in the near future. As for the JavaScript, I will make the necessary additions as soon as I have a free evening this week. Once again, thank you for taking the time to help get all this together.

      Best,

      Whistle9

        Loading editor
    • It's enabled.

        Loading editor
    • Thanks for enabling the extension! Is the javascript creating problems? I tested the new version that isn't submitted yet and it seemed to be working for the most part.

      The two lines below raise an error:

      this.text('Collapse');
      this.text('Expand');
      

      I believe they were originally meant to change the text of the button from "Expand/Collapse All" to "Collapse" or "Expand" but I think it's better to keep the "Expand/Collapse All" label anyways because that makes it clear that the button can do both. So those two lines can probably just be deleted.

      I think it might also be a good idea to change

      var state =0;
      

      into

      var state =1;
      

      so that the first click on the button expands everything instead of collapsing everything. Expanding everything is the main use of the button in my mind and right now you have to click it twice to get the result you probably want.

        Loading editor
    • Jarevo,

      Thank you for your suggestions. I have implemented both. We're just waiting for the new code to go live. I have already tried it out in test mode, and the JavaScript is working fine.

      Best,

      Whistle9

        Loading editor
    • That's great! Thanks again for your help.

        Loading editor
    • I noticed that the "Expand All" button doesn't seem to work if I'm not logged into my account. I suspect that the reason for that is that the script gets executed before the content of the page has finished loading. I tried it with a shorter page (Monogatari Series Second Season Original Soundtracks) and there everything works as you would expect. I have no idea why it works if I'm logged in.

      This should make sure the script only gets executed when the page is ready:

      // Expand
      var state =1;
      $(function() {
         $('#collapse-global').html($('<a>', {
             'class': 'wikia-button',
             text: 'Expand/Collapse All'
         })).click(function() {
             if(state ===0){
             $('.mw-collapsible-toggle-expanded').click();
             state = 1;
             }
             else {
                 $('.mw-collapsible-toggle-collapsed').click();
                 state = 0;
             }
            }
      )});
      

      See also here.

        Loading editor
    • Looks like everything is working.

        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.