Loading editor
  •   Loading editor
  • Hi! You helped me out with some regex I was able to use in AWB a while back, and I was hoping you could help me out again.

    I'm trying to find only the first occurrence of [[Category: on a page and ignore any following occurrences of it on the same page. I then intend to add some text to the line above where the first [[Category: appears.

    Is that possible to do?

      Loading editor
  • so um i noticed that i have been spending all my time on python recently so today i decided to embark on html so i was writing some code that makes the word brown the color brown and changes its font size to 100 pixels, this is what i wrote: but instead it returns simply the word brown

      Loading editor
  • Hi Fngplg, it's me again :P, I thought I would message you here rather than on the LinkPreview talk page. Just to let you know, link previews do not appear when hovering over a link in the tabview body. They do appear when hovering over the tabview title though. I've provided an example here.

    After doing a lot of testing of old revisions, I've concluded that revision 72298 was the last time link previews would show in the tabview body. Revision 72299 onwards do not show link previews through tabview properly.

    Just out of interest, is it possible to set an option where the Link previews dont appear when hovering over the tabview title, but will appear when hovering over a link in the tabview body?

    I hope you get a chance to read this at some point. Have a nice day :)

      Loading editor
    • View all 12 replies
    • yeah. it is not a ff problem. it seems like wikia caching issue: some pages just got old version of the script. ?debug=1 helps, but u can't view all pages in the debug mode...

        Loading editor
    • Oh right, I see, thanks for the debug tip! It's not really a big problem though, I can live with it :P.

      It's interesting how the script performs better on Chrome than Firefox though.

        Loading editor
    • A FANDOM user
        Loading editor
  • um i wrote the code but it is not working

      Loading editor
  • Hello, Fngplg,

    It's me, who was seeking help on building the tooltip.css, in case you don't browse the board these days, I left this message to infom you that I post a reply on the original thread, please take a look at it if you have time, thank you!

      Loading editor
    • A FANDOM user
        Loading editor
  • Hi, it's me again :P, hope I'm not bothering you, but I was wondering if you could help me with 2 things to do with LinkPreview - the max text length and disable hover previews on Tab view.

    I have no experience with JavaScript whatsoever, so I took a look at the ru borderlands common.js and copied this code into my personal common.js page and tried to add tlen: 500, and iparents : ['.tabs [data-tab^=flytabs]'],

    window.pPreview = $.extend(true, window.pPreview, {
        defimage: '',
        noimage: '',
        tlen: 500,
        RegExp: {
            iimages: [new RegExp('^([Ff]ile:|[Фф]айл:)?Indef\\.png$')],
            ipages: [new RegExp('.*?Дерево[_ ]навыков.*')],
            ilinks: [new RegExp('.*?Дерево[_ ]навыков.*')],
            iparents : ['.tabs [data-tab^=flytabs]'],

    I assume I must have got the code completely wrong because I haven't noticed any changes at all. I would be grateful for any help. Thank you.

      Loading editor
    • View all 8 replies
    • some examples added.

        Loading editor
    • Hey, thanks for all the examples you've provided for all the settings! The onlyinclude works great! :)

        Loading editor
    • A FANDOM user
        Loading editor
  • Hi Fngplg,

    Not sure if this is the best place to ask this, but you've helped me out a couple of times recently with some questions I've had. Several weeks ago I asked if it was possible to do this on wikia. You provided an example of it being possible with the Triggerimage template on ru borderlands wikia.

    With your permission, would I be allowed to use that template and code on my wikia? I have been messing around with it and while I haven't got it working exactly like how I wanted it, I think it is what I need. If I am allowed to use it, could you provide details on if it's possible to change the positioning of the hover image? Currently the hover image appears beneath the first image, but I need to be able to freely change position.

    Thank you and have a good day.

      Loading editor
    • u may use the template as u want. positions on images has some limitations due of nature of css: images always follows their triggers (trigger1 - image1, trigger2 - image2...), so u can't just move it where u want. u still can use float:right on triggers (.trigger-image-trigger) to get this or clear:both to get this.

      there are some more options in css u can use to set positions. i'd suggest to read css guides.

        Loading editor
    • Hey, thanks for letting me use it! It's a shame that limitations prevent the hover image from being freely moved around, but that's a good idea, to have a look at some CSS guides. I'll try and work with what I have :)


        Loading editor
    • A FANDOM user
        Loading editor
  • Hi, welcome to Community Central! Thanks for your edit to the User:Fngplg/global.js page.

    If you need help, feel free to leave me a message; you may also want to visit the forums or join us on Chat. You can also check the staff blog to keep up-to-date with the latest news and events around Wikia.

    Happy editing!

      Loading editor
    Fngplg closed this thread because:
    абвгдеёжзиабвгдеёжзиабвгдеёжзиабвгдеёжзиабвгде 49
    09:19, April 6, 2018
    • This reply has been removed
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.