User talk:Borderman

From Meta
Jump to: navigation, search

Wiki created[edit source]

Hello, I would like to tell you that I have created your wiki. You can now access it at https://thelonsdalebattalion.miraheze.org. You should automatically have been granted founder rights (administrator and bureaucrat), if that's not the case then please leave a notice on Stewards' noticeboard so we can fix it immediately. Do not hesitate to ask questions if your question was not answered in our FAQ. Also, if you want a extension, gadget, or anything else, please ask us here. Thank you for choosing Miraheze, and we wish you good luck with your wiki! Reception123 (talk)(contribs) 18:57, 6 July 2016 (UTC)

Wiki creator[edit source]

Hi. As you've been helping out here on Meta with various things and you've been active in global discussion I was wondering if being a wiki creator would interest you. If yes, please read the Meta:Wiki creators guide and tell me so I can grant you the rights. Reception123 (talk) (contribs) 15:26, 26 December 2016 (UTC)

@Reception123: At the moment I am happy to continue editing on Meta. Creating wikis is currently out of my comfort zone and I prefer to see instructions done visually (in a video etc.), that way I won't fear of making a hash of things. Thanks, however, for considering me as a possible candidate to create wikis. I will certainly consider it for the future when I become a bit more confident on Meta. Borderman  talk | contribs | email 19:24, 30 December 2016 (UTC)

Coding help[edit source]

After your inquiry on Meta, I visited Lonsdale to offer coding help, did see the "annoying cookie message" which I am sure I could remove, but was listed as "Guest" rather than logged-in automatically, so I assume this is not a Miraheze wiki. You need to point me to the Miraheze one before I can contribute further. Spıke (talk)16:07 14-Sep-2017

@Spike the Dog: The cookie message was something I asked for a while back and was implemented via a phabricator ticket so removing it isn't an issue. I can ask for it to be removed via phabricator any time. In it's place, however, I would like a link to be placed in the footer (as mentioned on the community noticeboard). The wiki you visited is a Miraheze wiki, the custom domain version of this: http://thelonsdalebattalion.miraheze.org/wiki/Main_Page Not sure why you weren't logged in automatically though as others have
The cookie notice is very basic but it still serves a purpose so having a link to that page from the footer is all I need. Cheers. Borderman (Talk) 16:33, 14 September 2017 (UTC)
I'm logged in at your site on .miraheze.org but not logged in at .uk--However, even at Miraheze, your wiki gives me a Permission Error when I try to create my own Common.js.
For starters, create your own Common.js on your own Miraheze wiki and type this:
$("DIV#footer LI#footer-info-copyright").html("<a href=https://thelonsdalebattalion.co.uk/wiki/The_Lonsdale_Battalion:Cookies>Read about Cookies</a>")
That replaces the copyright notice with the link and the descriptive text. Works for me in the Firefox Web Console, no guarantees. Spıke (talk)17:00 14-Sep-2017
PS--Have you read about cookies yourself? They are files on the user's computer that a web page and its script can call on to get context about that user (rather than have to transact back to the host to find out who the user is). The relevant point here is that, for security reasons, each cookie is in the name of a single URL. If anything at miraheze.org dumps a user onto a website at .uk, that cookie is inaccessible; that is, the user is logged out! It doesn't matter whether "it is the same website" (that is, the same set of pages); to the browser, it is a different URL and there is no way that one can read the Miraheze cookie. Spıke (talk)17:27 14-Sep-2017
@Spike the Dog: I already have a common.js page using code copied for other things. I don't want to alter the copyright notice "Content is available under Creative Commons Attribution Share Alike unless otherwise noted." I need that, especially as I have media/text on my site that is copyright. My copyright notice has additional information that covers this and is required. Yes, I do have a basic understanding of how cookies work I just didn't know it made a difference between the Miraheze-specific and the custom site addresses. I only ever edit on the custom domain site and pages from that site are the only ones that show up in web searches. Borderman (Talk) 19:45, 14 September 2017 (UTC)
Then you would be interested in using something along the lines of: $('#footer-places').append('<li id="footer-places-cookies"><a href="'+mw.util.getUrl('The Lonsdale Battalion:Cookies')+'" title="The Lonsdale Battalion:Cookies">Cookies</a></li>')
Of course, this will simply put it at the end of the current set of footer items, but that can be changed if you want. -- Void Whispers 20:08, 14 September 2017 (UTC)
@Void: That did the trick, thanks. It's not massively important but I would prefer it in-between "Terms of use" and "Mobile view". How is that achieved? Borderman (Talk) 20:24, 14 September 2017 (UTC)
That can be achieved by replacing the piece I gave you with $('#footer-places-termsofservice').after('<li id="footer-places-cookies"><a href="/wiki/The_Lonsdale_Battalion:Cookies" title="The Lonsdale Battalion:Cookies">Cookies</a></li>'); (I replaced mw.util.getUrl due to an odd error that is easier handle like this). -- Void Whispers 20:35, 14 September 2017 (UTC)
@Void: That sorted it. Appreciate your help, many thanks. Borderman (Talk) 20:53, 14 September 2017 (UTC)

(reset indent) Much seems to have happened while I was out on a wild-goose chase! Void's coding seems to finesse the issue of URL and direct you to the Cookies instruction file at whatever website in whatever country you were at previously. One thing that might remain unclear: If that code is in User:Boardman/Common.js, it affects the presentation to only you. To affect the presentation to all visitors, type it into MediaWiki/Common.js on your wiki. Spıke (talk)01:58 15-Sep-2017

@Spike the Dog: Wild goose-chase? Hope you didn't waste too much time looking into this for me. Sorry, if you did. You had me thinking for a second that I may have put the code in the wrong place but after checking I did put it in MediaWiki:Common.js. The cookie link shows up whether you are logged in or not. Borderman (Talk) 07:48, 15 September 2017 (UTC)
No, it was a futile shopping trip. Glad the code is working for you! Spıke (talk)11:02 15-Sep-2017

Site Updates: September 2017[edit source]

Feel free to give me suggestions for what else to add to Site Updates!

Statistics[edit source]

Wikis hosted: 2500

Total number of wiki requests: 3771

10 largest wikis:

See User:Reception123/Top 10 wikis

New extensions/skins[edit source]

Score

AddThis

MagicNoCache

Other[edit source]

Also, if you are interested in contributing to Miraheze in any way please see Contributing and Miraheze Vacancies.

To unsubscribe from this newsletter just remove your name from Site updates/List

--Reception123 MediaWiki message delivery (talk) 07:27, 30 September 2017 (UTC)