Image upload to Category: Achievement icons

How can i assign the image to the category while uploading it? Equindar (talk) 13:32, 30 October 2018 (UTC)

For multiple images destined for a single category, just open the target category in edit mode, then either drag/drop the images on the blue line, or use that tiny icon that looks like a circle with an up arrow inside and select all the images you want to upload. For a single image, just put the category, in double square brackets (just like on a regular page) in the summary section of the upload screen — Game widow ( talk ) 13:54, 30 October 2018 (UTC)

Destination of Uncategorized Image Uploads

I would love to clean up the uncategorized achievement icon, i uploaded 2 days ago and push them to the Category: Achievement Icons. Can you provide me a link? -- Equindar (talk) 10:27, 31 October 2018 (UTC)

Special:UncategorizedFiles shows all uncategorized images, or this shows all files you personally uploaded, but it does not distinguish between those that are categorized and those that are not — Game widow ( talk ) 11:12, 31 October 2018 (UTC)
Thanks, done with single editing every media file, gonna use MsUpload from now on to the Category. Saves a lot of work and time. --Equindar (talk) 11:39, 31 October 2018 (UTC)

How to fix 'INVALID-TITLE' in the Navigation?

Is there any page to edit the navigation content? Or does it get autogenerated via PHP from the Database? --Equindar (talk) 13:03, 31 October 2018 (UTC)

You mean the sidebar on the left of the articles area? It's in Mediawiki:Sidebar. Where do you see 'INVALID-TITLE' ? — Game widow ( talk ) 13:33, 31 October 2018 (UTC)
Oh, its protected... ofc. the navigation is crucial to leave it editable. the problem is caused under "Buildings"
  • Hunter%27s_Lodge|Hunter's Lodge
  • Healer%27s_Hut|Healer's Hut
  • Mender%27s_Hut|Mender's Hut
interesting is, that "Fisherman's Hut|Fisherman's Hut" is working even with no underscore.
There need to be added 2 items too:
  • Carved_Statue|Carved Statue
  • Skirmisher_Camp|Skirmisher Camp
thanks for the link, thanks for your help! --Equindar (talk) 14:16, 31 October 2018 (UTC)
Also a problem for: Thor%27s_Wrath|Thor's Wrath --Equindar (talk) 14:56, 31 October 2018 (UTC)
Lovely admin rights, i just fix that problem. [closed] --Equindar (talk) 13:03, 23 November 2018 (UTC)

reroll to yesterday

Ehm... i was just editing the "Media Category Tree", moving categories and moving files to other categories, not renaming files tho. Suddenly for some reason the CSS and the entire Northgard Theme switched... Can you reroll that, im sorry, but i am still not sure, why the CSS and the entire Layout changed. -- Equindar (talk) 07:01, 1 November 2018 (UTC)

hm... I just tested the site and its CSS with Microsoft Edge... its working... my Firefox is just messing the theme up...
its using the mobile stylesheet for some reason. the theme is like a single page layout, any suggestions to fix that? -- Equindar (talk) 07:17, 1 November 2018 (UTC)
Fixed it, just deleted the browser cache... --Equindar (talk) 07:17, 1 November 2018 (UTC)
Also, if you find yourself in the mobile view, just scroll to the bottom of the page and you will see a link for "Desktop" in the footer section (same as there is a link for "Mobile view" in the footer on the desktop section) — Game widow ( talk ) 12:18, 1 November 2018 (UTC)

Including the Content of a Page to its Category

Is there a possibility by adding a placeholder to hook the content of a Page to a Category Page?

I'm not quite sure what you mean. Could you give me an example? — Game widow ( talk ) 11:46, 5 November 2018 (UTC)
The content of the page: https://northgard.gamepedia.com/Huginn_and_Muninn shall also be included in https://northgard.gamepedia.com/index.php?title=Category:Raven_Clan&redirect=no instead of a Redirect. So, the Content can be combined with the Listing of Pages in that Category. --Equindar (talk) 11:50, 5 November 2018 (UTC)

pre HTML tag in Template/Docs

Why is there always a < pre > displayed in my template doc? [[1]] --Equindar (talk) 12:48, 12 November 2018 (UTC)

I'm not sure i know what you are asking, but if you see "<pre>" when you use the template, it is because a closing "</pre>" is missing — Game widow ( talk ) 12:58, 12 November 2018 (UTC)
Ah, i see the problem, you can't have leading spaces. So i added empty comments to preserve your indenting — Game widow ( talk ) 13:01, 12 November 2018 (UTC)
Got it... thanks, removed the html comments, dont need it; i am just used to python and like a general structure of source code for better reading. --Equindar (talk) 14:34, 12 November 2018 (UTC)

Working with relative paths in CSS files?

How can i work with relative image paths in the "background: url()"-CSS property? [2] --Equindar (talk) 10:20, 14 November 2018 (UTC)

The syntax for image paths in css is as follows:
where the number signs are replaced by the hash value path created during upload. For example, for File:Backgroundpluslogo.jpg, if you click on the "Original file" link below the image, you will be sent to "https://d1u5p3l4wpay3k.cloudfront.net/northgard_gamepedia_en/3/3d/Backgroundpluslogo.jpg?version=ac4cf442e03abb45e9a9be60fa6e3b37" you can see the hash values immediately before the filename, in this case "/3/3d/. The stuff after the question mark (?version=ac4cf442e03abb45e9a9be60fa6e3b37) is unnecessary and the url part prior to the hash path is subject to change depending on which host we use. — Game widow ( talk ) 13:01, 14 November 2018 (UTC)
Thanks a lot, changed it. --Equindar (talk) 15:40, 14 November 2018 (UTC)

MediaWiki version 1.31 broke the search function

the search function isnt working anymore, no categorys are listed, the content search doesnt display any results. --Equindar (talk) 08:18, 16 November 2018 (UTC)

there's a ticket in for that already and the platform team is looking into it — Game widow ( talk ) 14:41, 16 November 2018 (UTC)

Whats the Hierachy of a css file?

As far as i know right now, you can have User: common.css, these are only displayed to you, noone else can see it, its like your own custom stylesheet. Is there still a difference between logged in users and everyone? There the css needs to be located then? --Equindar (talk) 15:38, 16 November 2018 (UTC)

Yes, you can create user-specific css/js manually, or go to the Appearance tab in preferences, and that only affects you, when logged in, naturally. There is a slight caching-induced delay for changes for non-logged in users, but otherwise, no difference — Game widow ( talk ) 15:43, 16 November 2018 (UTC)
to be more exact: we moved the stylesheet to MediaWiki:
16 November 2018 Brioche Shiro (talk | contribs) moved page User:Equindar28612/common.css to MediaWiki:Equindar28612/common.css
... but its still not included for people, that arent logged in. --Equindar (talk) 15:46, 16 November 2018 (UTC)
And it never will be. If you want it to show for other users, you must add it to either Mediawiki:Common.css or Mediawiki:Hydradark.css, no other css files are loaded (except on mobile view where only Mediawiki:Mobile.css is loaded) — Game widow ( talk ) 15:48, 16 November 2018 (UTC)
Thats the information i was looking for, thanks :) --Equindar (talk) 15:51, 16 November 2018 (UTC)
Is importing a css within a css allowed? @import url("base.css"); --Equindar (talk) 14:03, 19 November 2018 (UTC)
It depends where you are importing from ... if the other css page is here on the wiki, then that's fine. If it's offsite, then no. The syntax would be @import url(/index.php?title=MediaWiki:Base.css&action=raw&ctype=text/css); Game widow ( talk ) 14:05, 19 November 2018 (UTC)
Doesnt it produce additional server requests and lowers the performance? And yeah, it would import a my user css file, not a offsite one. --Equindar (talk) 14:07, 19 November 2018 (UTC)
I have not heard of it being an unduly negative performance issue. But if you want it to be default behaviour, why not just copy it over? — Game widow ( talk ) 14:08, 19 November 2018 (UTC)
permission stuff, i am not an admin on that site, i am in contact with brioche tho. we gonna find a solution, right now, i am just searching options. --Equindar (talk) 14:15, 19 November 2018 (UTC)
If you can add in the code to import the css, then you can copy your code over, the same set of rights are required — Game widow ( talk ) 14:52, 19 November 2018 (UTC)

Does MediaWiki have a discord to talk and ask questions?

I would like to learn more about creating templates and optimizing them. Where can i talk/chat with you about that? --Equindar (talk) 08:18, 18 November 2018 (UTC)

Have you joined our Slack ? If not, use this link and then subscribe to the #templates channel — Game widow ( talk ) 14:46, 18 November 2018 (UTC)

Template Work: How do i check a parameter of its value below 0?

ifexpr: is used for mathematically comparision, still {{{ 1 }}} is a string, how do i deal with it?

Which template? — Game widow ( talk ) 14:59, 28 November 2018 (UTC)
https://northgard.gamepedia.com/Template:Res --- When Happiness is below 0, the image Unhappy.png shall be used.
Have you looked at this? — Game widow ( talk ) 16:05, 28 November 2018 (UTC)

Hello!

We updated the game, so the "Ragnarok" mention isn't valid anymmore, I don't think I can replace the main logo by myself, could you do it for me? :)

We would like to use the logo attached!

Many thanks in advance!

LogoWiki.png
Hi, you could have done this yourself but your new logo has to be the same size as the old one (which is 200x200px). I resized your image and uploaded it for you. Should you need to change it again, just make sure it is that size and then you can simply "Upload a new copy" of File:Wiki.pngGame widow ( talk ) 12:50, 30 April 2019 (UTC)