User:Galbus
General Rules of Life
- Blame Elda for everything... it's worked for me for all these YEARS!
- Do things because you should, not because you can
- If something nags you enough to rephrase it later, then make sure that you're not doing the same thing you thought you were in the beginning
- No matter how much something looks off to you, the normal practice is to duplicate information in game on the wiki. (This is a daily struggle for myself as well)
- When all else fails refer to Rule 1
About Me
Real Life Stuff:
Programmer focusing in: Java, PHP, Python, SQL
Databases: Oracle, Postgres
Operating Systems: Linux, Windows/Windows Server
LotRO Stuff:
LotRO player since 2011 with a few hiatus times in between. Originally on World:Dwarrowdelf, and migrated to World:Gladden when it closed. When the 64-bit worlds opened I spread out the characters to as many servers as possible. There is a chance you'll find me on just about any server, except the Legendary ones. I was introduced to LotRO by my partner who actively raided at the time. I used to listen to their voice chats and could run various raids, etc., before I had ever set foot in them. Sadly, he no longer plays LotRO. As a homage, many of my characters run barefoot. My old LM, also still runs around in the cosmetic outfit I had at the time that he played.
Characters
Click here to view in-game characters.
Notes
Labeled Section Transclusion
A lot of trial and error with these, but here are the important bits to remember.
- Transclusion by header (excludes the header):
- {{#lsth:page_name|header_name}}
- Transclusion by section tag (NOTE: You must remove onlyinclude tags from the page you're transcluding.):
- Mark sections that you wish to transclude into other pages
- Add a begin and end section tag around the section in a page you would like to transclude by using:
- <section begin="section_name" />...<section end="section_name" />
- Add a begin and end section tag around the section in a page you would like to transclude by using:
- Include the section in other pages by using:
- Call the parser function #lst to transclude the section called section_name.
- {{#lst:page_name|section_name}}
- Call the parser function #lst to transclude the section called section_name.
- Include the page, but not the section by using:
- Call the parser function #lstx to transclude the page without the section called section_name.
- {{#lstx:page_name|section_name}}
- Call the parser function #lstx to transclude the page without the section called section_name.
- Mark sections that you wish to transclude into other pages
Projects
Current Projects
- None
Old Projects
- Camp Site Fire -- Primarily just cleaning up this page so that it is easier to find a location. I really hate having to scroll a lot.
- Template Tinkering - Tooltip -- Primarily just tinkering around with a template, don't look for too much here.
- LocationList Template Changes (Proof of Concept) -- Goal was to make Anniversary Year Tasks easier to follow (really allow any display of a location list inside an indented list, etc.). It allows editors to add style and class options to the LocationList to apply css styling to the table. For example, padding-left to indent the table to look better with an indented list, and clickable sorting.
- Infobox Instances template changes -- Goal was to fix an error that was thrown if an editor forgot or neglected to enter a group size in the size field for the infobox.
- Ordered List idea -- Goal is to get quest chains that need an ordered list to indicate that quests need to be done in a specific order due to phasing, etc. Existing documentation on the wiki is pretty much non-existent at this time.
- Repeatable Missions Table Format Changes -- Goal is to make the BtS repeatable missions tables easier to read and follow.
- LootBox Table Format Changes -- Goal is to make the LootBox Template viewed as a table instead of it's present problematic presentation using spans.
- Barter Updates -- Updates to the Barter template to include new icon name style. Also to make it usable for those who don't want to include parameter names.
Quirks of the Skins (work arounds for wiki standards)
Note: This is a continuous work in progress, in an attempt to resolve issues that I keep finding that are specific to the Citizen Skin that conflict or don't align with the standards as set out on this wiki.
Defined TOC in pages
This issue showed up with the December, 2024, upgrade to the wiki software. The resolution is a two pronged process that involves a CSS entry and some JavaScript.
- Find the meta tag with the property set to 'mw:PageProp/toc'.
- Find the closest table to the child, and add the css class 'citizen_hidden' to it.
Note: This method is disabled by default while editing a page.
CSS:
/* toc fix for skins that now pull out the TOC from inside the main content, uses JavaScript to find meta object and parent */ .citizen_hidden { display: none; }
JavaScript:
/* hide the toc table on the page only for citizen skin. Because why do they declare the toc inside a questbox */ var meta_obj = document.querySelector("meta[property='mw:PageProp/toc']"); if(meta_obj){ const childElement = meta_obj; var tableElement = childElement.closest('table'); tableElement.classList.add('citizen_hidden'); }