Community noticeboard/Archive 14

__NOINDEX__

How do I change the theme of my wiki?
So, I want to turn Dream Fiction Wiki green, but how do I do it? — Preceding unsigned comment added by FlegSlaviraheze (talk • contribs) 08:30, 9 October 2020 (UTC)
 * First, welcome to Miraheze, and to Meta. Second, (Please sign your posts on talk pages by using four tildes like this: .) . Third, to answer your question, your wiki's style and apperance is done through Cascading Style Sheets, principally in your wiki's MediaWiki:Common.css interface file. You want to start with this very basic answer to this question at: FAQ. Beyond that, you could use your Discord account to join our Discord server, where a number of CSS experts exist to provide one-on-one support. You can also ask on IRC, at ; however, I do recommend using IRCCloud as your IRC client, as they provide a complimentary IRCCloud IRC cloak upon registering for an account, as your IP address would otherwise be available in an unmasked format. Hope this helps. Dmehus (talk) 13:36, 9 October 2020 (UTC)

Exporting my wiki
Depending on my association request, I may have to move the wiki to a private server. Is it possible to export a whole Miraheze hosted wiki including its pictures (jpg, pdf, svg...)

AMITRAM (talk) 10:00, 3 October 2020 (UTC)
 * Sorry to see you go :( You can export your wiki via Special:DataDump. Good luck with your wiki! Reception123 (talk) ( C ) 10:06, 3 October 2020 (UTC)
 * I don't intend to, and I hope I won't have to. But my association may request it.
 * I'm sorry to bother you with this, but all my pictures will be exported along with all the wiki content (pictures and theirs old versions of one file ?) ? And then I can import them into my private server ?
 * AMITRAM (talk) 10:09, 3 October 2020 (UTC)
 * Yes, actually, Reception123 had not too long ago told me what the purpose of each of the three types of dumps was. XML includes all the public, non-suppressed revisions of your wiki, an image backup includes your uploaded files and images, and a ManageWiki backup includes your configuration settings from ManageWiki. I should also add that by "public," I mean the public revisions accessible to your wiki's audience (i.e., for your private wiki). Hope this helps. Dmehus (talk) 10:32, 3 October 2020 (UTC)
 * Thanks to you all for your answers,
 * I have a specific issue, I've added a new member with a read-only permission yet he can still modify existing pages, how can I prevent him from doing so ?
 * AMITRAM (talk) 11:27, 3 October 2020 (UTC)
 * You can modify any permissions by going to Special:ManageWiki/permissions. For example, if you want 'members' not to be allowed to edit, you would uncheck the edit right from their group. Reception123 (talk) ( C ) 13:41, 3 October 2020 (UTC)
 * I went to Special:DataDump for this wiki and I didn't find any options for generating the dump. Is this restricted to administrators?  Is the dump compatible with Special:Import? Тишина (talk) 18:12, 10 October 2020 (UTC)
 * Yes, Special:DataDump requires the,  , and   to use. By default, as seen here, it is assigned to the   user group when wikis are created (though local wiki bureaucrats can change this). There are three types of dumps, one contains the wiki's ManageWiki configuration settings, one contains the wiki's locally uploaded files and images, and the final one is a public XML export of all publicly available information (i.e., non-oversighted revisions, no private user settings, no user IP addresses, etc.). This latter dump is compatible with Special:Import, as it generates a similar XML file that Special:Export does. Note, though, that there is a 250 MB file size limit on wiki imports. Larger imports require a Phabricator ticket. As well, if you are importing a large number of templates and modules with a number of revisions, but which are below that threshold, you may time out and receive a 503 backend fetch error, so you should avoid that and request on Phabricator. Also, you can login to Phabricator using the "click here to login with MediaWiki" button, and it'll use your wiki login credentials to create an account for you. Hope this helps. Dmehus (talk) 21:44, 10 October 2020 (UTC)
 * If you want to test the administrator tools, such as Special:DataDump, you can head over to Public Test Wiki, and request permissions, taking care to read its policies and stating a reason for wanting to test the tools. Though less common, you can test the generation of an XML dump of that wiki. Dmehus (talk) 21:46, 10 October 2020 (UTC)

Like Special:GlobalRenameRequest
I want to make my local wiki like Special:GlobalRenameRequest, Special namespace's request page. How to make? Thanks. Gomdoli4696 (talk) 01:49, 8 October 2020 (UTC)
 * I believe that special page can only be accessed on Meta. Can you clarify how you mean? You want to make a new separate special page? You could possibly try the PageForms extension, but not sure if that's what you're after. Dmehus (talk) 02:33, 8 October 2020 (UTC)
 * Yeah, I want to make a new separate special page. Gomdoli4696 (talk) 02:56, 8 October 2020 (UTC)
 * That involves some php coding expertise, and would then likely involve you submitting that special page to either Wikimedia's Phabricator or Miraheze's Phabricator, depending on which extension it's related to. This MediaWiki help page provides some instruction on the mechanics involved in creating a special page. Hope this helps. Dmehus (talk) 14:31, 8 October 2020 (UTC)
 * To add to (and perhaps clarify) what said, you would have to create a MediaWiki extension in order to have your own kind of special page. This does indeed require PHP developing skills. In addition, the extension would have to be secure in order to pass our security review process which is mandatory for every new extension excluding ones used by the Wikimedia Foundation. Reception123 (talk) ( C ) 08:26, 10 October 2020 (UTC)

My miraheze
Can I get help I'm new here? Hrvcfr (talk) 01:35, 11 October 2020 (UTC)
 * Firstly, welcome to Miraheze, and to Meta wiki. You're off to a great start by signing your posts with four tildes . Second, what do you need help with? Dmehus (talk) 01:44, 11 October 2020 (UTC)
 * You can start at FAQ. If you have more questions that aren't covered there then you can ask.  Тишина (talk) 01:45, 11 October 2020 (UTC)
 * I need ppl to help my miraheze Hrvcfr (talk) 01:46, 11 October 2020 (UTC)

My miraheze
Come join criminal world if you are interested in crime topics.

Hrvcfr (talk) 01:58, 11 October 2020 (UTC)
 * You should wait until your wiki has been approved and created. Also, I note you've created two threads with the same section header. Your section header should concisely describe your topic on the noticeboard. Thanks. Dmehus (talk) 02:06, 11 October 2020 (UTC)
 * Sorry Hrvcfr (talk) 02:06, 11 October 2020 (UTC)
 * No problem. Dmehus (talk) 02:07, 11 October 2020 (UTC)

TwinkleGlobal
You can test beta Twinkle! Thanks! Gomdoli4696 (talk) 09:17, 11 October 2020 (UTC)
 * User:ChipWolf/TwinkleGlobal
 * User:Gomdoli4696/TwinkleGlobal
 * Thank you both for your work in importing that user script version of Twinkle on Miraheze. That will be helpful, and more streamlined, for users than setting up and installing the MediaWiki gadget version. I personally try and avoid the Twinkle templates, as I find them too formulaic and imperfect. However, Twinkle does have some very useful features, notably the pseudo-rollback feature "restore this revision." Dmehus (talk) 22:59, 11 October 2020 (UTC)

Cross-wiki contributions
We can view Wikimedia project's cross-wiki contributions, Then how to view miraheze's cross-wiki contributions? Thanks. --Gomdoli4696 (talk) 22:53, 11 October 2020 (UTC)
 * We would love to be able to offer the global user contributions tool on Miraheze; however, it's very resource intensive in that every query of a user's global contributions is a query of every database for every wiki to which the user has attached their account. Hopefully, we'll be able to offer it in the future, but there's no timeline for such an offering. Hope that helps. Dmehus (talk) 22:56, 11 October 2020 (UTC)
 * Ah, ok. --Gomdoli4696 (talk) 23:11, 11 October 2020 (UTC)

Scary transclusion is not working as expected
Hi altogether, in this topic I asked for an interwiki prefix. The prefix is working fine, but it seems to me that scary transclusion is ignoring all includeonly/onlyinclude/noinclude tags. Here is a template on my wiki: Transclusion, what it looks like in the same wiki and here an example of scary transclusion in an other wiki. Is this a bug or a feature? Am I missing something? Is there anybody out there who is using scary transclusion? Thank you for your support, Lily (Lilypond Wiki · talk and I will listen · my little garden ) 07:39, 11 October 2020 (UTC)
 * I'll have to look into whether scary transclusion ignores the  and   tags. It's definitely possible this is either a known issue or a bug. In the mean time, you might try searching Wikimedia Phabricator as if it's a known issue or bug, that's where it would be tracked as it is a so-called upstream issue (outside of Miraheze's own maintained source code). In the mean time, what I might suggest instead is to essentially use it for very basic pages and templates. For example, you might create a "clean code" version as a subpage of the existing page, without such tags or a several levels deep of transcluded templates. As well, it is after all called scary transclusion for a reason. As just one example, see this example revision in my TestWiki sandbox in which I attempted to transclude the Special:GlobalUsers special page (note that this special page does not have local transclusion built into it, although I was able to transclude the page using scary transclusion, with, as you'll see, unexpected results). Hope this helps. Dmehus (talk) 23:10, 11 October 2020 (UTC)
 * Indeed, it seems this is actually a long-standing, and still open, bug, as seen in this Wikimedia Phabricator ticket. Dmehus (talk) 23:17, 11 October 2020 (UTC)
 * thank you so much for your support. I had already the idea of adding a subpage with clean code but this does make life not really easier. With this bug scary transclusion is more or less useless for my purposes, Lily (Lilypond Wiki · talk and I will listen · my little garden ) 06:27, 12 October 2020 (UTC)
 * I have tried the method with clean code in a subpage of the template and performed some experiments. I could not find a way to pass parameters; compare "normal" transclusion with parameters with scary transclusion with parameters. This fact restricts the usability of scary transclusion to templates without parameters. Maybe there is a way and I just could not figure it out, Lily (Lilypond Wiki · talk and I will listen · my little garden ) 08:49, 12 October 2020 (UTC)
 * Considering mw:Manual:$wgEnableScaryTranscluding, maybe might work with parameters. K599 (talk) 16:59, 12 October 2020 (UTC)
 * Also, having done some tests, it seems like using "raw:" works with "noinclude" and "includeonly" tags correctly. K599 (talk) 19:05, 12 October 2020 (UTC)
 * thank you so much, raw: does the trick! Lily (Lilypond Wiki · talk and I will listen · my little garden ) 07:13, 13 October 2020 (UTC)

Wiki community project script
I made a script that will display banners for wikis and provide a list of links at the bottom of the page for other wikis that have interesting topics or already have content on them.


 * https://tishina.miraheze.org/wiki/Wiki_community_script

Тишина (talk) 19:23, 12 October 2020 (UTC)

Gazetteer
Could crimeworld be added to the list??? Ty Hrvcfr (talk) 06:58, 12 October 2020 (UTC)
 * Hi, I have just reverted last time because your wiki was not created, but you can add it now ! HeartsDo (Talk || Global || Wiki Creator) 07:05, 12 October 2020 (UTC)
 * How?? And thank you. Hrvcfr (talk) 07:08, 12 October 2020 (UTC)
 * You can add it when you did last time (depends of the category who are your wiki), and for create a link to your wiki, you can use the magic interwiki word  (for example for your wiki, this would be  ) HeartsDo (Talk || Global || Wiki Creator) 07:21, 12 October 2020 (UTC)
 * Ty Hrvcfr (talk) 07:26, 12 October 2020 (UTC)
 * Np, you can maybe a little expand your description, but for the rest is OK :). HeartsDo (Talk || Global || Wiki Creator) 07:33, 12 October 2020 (UTC)

Could someone please get the word out for the wiki I created??? Ty Hrvcfr (talk) 00:19, 14 October 2020 (UTC)

Mywikipedia
Looking for more people to contribute to my wiki. Any ideas? It's https://mywikipedia.miraheze.org -- Iron Sword 22 (talk) 01:18, 14 October 2020 (UTC)

GlobalPreference
How to set? --Gomdoli4696 (talk) 23:21, 12 October 2020 (UTC)
 * Please use Special:GlobalPreferences. The first column represents whether to set that specific setting globally; the second column, to the first's immediate right, represents whether to enable that specific function or setting. In Special:Preferences, for settings you've set globally, those settings will now be greyed out unless you set a local exception on that wiki. Hope that helps. Dmehus (talk) 01:49, 13 October 2020 (UTC)
 * I was mistaken. Sorry. --Gomdoli4696 (talk) 04:59, 16 October 2020 (UTC)

Multilingual glossary ?
Hi, I started translating some pages of this Meta wiki into French.

Q: is there any multilingual glossary here that we could use to ensure homogoneous and consistent translations? Example: (en) e-mail address -> (fr) adresse e-mail or adresse courriel ? Gerdami (talk) 07:09, 14 October 2020 (UTC)
 * That is an interesting idea, do you know how the Wikimedia Foundation (for example their Meta wiki) deals with this? Maybe we could also use their method. Reception123 (talk) ( C ) 08:22, 14 October 2020 (UTC)
 * I have no idea, sorry Gerdami (talk) 09:51, 14 October 2020 (UTC)
 * Actually there is one at mediawikiwiki:Manual:Glossary that is currently translated into 3 other languages. Gerdami (talk) 11:51, 14 October 2020 (UTC)
 * Thank you for suggesting this, Gerdami, with your question. That latest interwiki link is to the MediaWiki software manual, so wouldn't be a specific Wikimedia standard or practice. I would think the common sense way to handle this would be a Meta Wiki style guide (a Miraheze Meta Manual of Style, if you will), with a specific section focused on translations. Definitely not opposed to such an idea, but would be a rather large undertaking. As well, if it becomes too comprehensive in other areas of writing, it may encourage users to view that as a policy with little flexibility. I do like to follow stylistic conventions in some ways, but moreso for technical reasons than grammatical or vocabulary-type reasons. Even in English, we have some pages that no doubt use certain British or Canadian English spellings intermixed with U.S. English. Ideally, we should use a consistent English variation on a given page, but any WikiGnome can correct these as they see them. So, I would just say, go with whatever you prefer. Someone may prefer something else in the future, so it could get changed. If two French translators disagree on something, they can just discuss it on the talk page (though preferably not the  language subpage of the given talk page). Hope that helps a bit? Dmehus (talk) 14:48, 14 October 2020 (UTC)
 * , the interwiki link I provided was just an example. If you agree I could start making a Help:Glossary page (I think it would be a good location) in English with the terms I find relevant while translating some existing pages into French, for example from the FAQ page. These terms could link to existing pages. Gerdami (talk) 18:15, 16 October 2020 (UTC)
 * I think that's not a bad location for the final page, but I'm not sure what this would look like, so I'd rather suggest using a subpage(s) of your Meta userspace for now, and we can always move the page into Help: namespace and/or history merge in the earlier revisions from your page(s) as required. Dmehus (talk) 18:19, 16 October 2020 (UTC)
 * Good suggestion. I will start that way. Gerdami (talk) 07:45, 17 October 2020 (UTC)

Some problems about using out image
Oh, I wanted to show forum users' avatars in the main page automatically. It seems to be easy&mdash;all of forum users' avatars are in mc-uc.netease.com, so I only need to show the image of https://mc-uc.netease.com//data/avatar/userid_avatar_middle.jpg as a out image. Then I looked up mediawiki.org and enabled. I have known the setting will be invalid in Mediawiki 1.35+ so I also enabled.

After that, I used two forms –  and  .But to my surprise, there was only an icon of a damaged image and the avatar was not showed.

I also used widgets, but it was the same end as that two forums. I have tried other image urls, a few of them was success.

I seem to have found a problem - almost every out things such as out images, out js especially hosted in China things (for example China-cdn js) can not work on Miraheze. But in other wiki they can. The same code in zhmoegirlpediain my wiki(NMFWiki)

Why? If some settings are controlling it?

Thanks, --开炸弹车 (talk) 13:25, 17 October 2020 (UTC)
 * Inspecting the console shows CSP blocking "mc-uc.netease.com", so you would need to open a Phabricator task to add that to the CSP whitelist. K599 (talk) 19:41, 17 October 2020 (UTC)

Local interwiki request
I'm one of the admins at nssports and I'd like to request this as a local interwiki:

I'd do it myself but I don't think any of our admins has made 500 edits yet. Thanks for the help and I'm happy to address any questions. Kelssek (talk) 22:53, 17 October 2020 (UTC)
 * The 500 edit requirement for local interwiki administrator, as far as I am aware, doesn't seem to be enforced. All that's required is that you be a local  on your local wiki. Nevertheless, I'll add this for you. Not a problem. Do you need either the   or   flags enabled? Dmehus (talk) 23:04, 17 October 2020 (UTC)
 * ✅ without the   and   flags, but can always be changed should the need change. Dmehus (talk) 23:08, 17 October 2020 (UTC)
 * This works, thanks! --Kelssek (talk) 23:49, 17 October 2020 (UTC)
 * No problem. Dmehus (talk) 00:08, 18 October 2020 (UTC)

Gadget Cat a lot
Is it possible to have this feature "Cat a lot" in my Wiki ?

AMITRAM (talk) 17:08, 18 October 2020 (UTC)
 * Yep. Gadgets, unlike extensions, don't require security reviews or approvals by system administrators to install. I'm not that familiar with that gadget's installation procedures, but speaking just generally, it involves importing the JS and CS files into your wiki's MediaWiki: namespace, then updating MediaWiki:Gadgets-definition to reference the gadget and its file, configuration variables, and the like. recently installed it on his wiki, so may be able to offer some assistance. Dmehus (talk) 17:16, 18 October 2020 (UTC)
 * Thanks, I'm gonna ask him.
 * Do you know where I can't get help for PDF files support ? I can't get thumbnails for this file format.
 * AMITRAM (talk) 17:50, 18 October 2020 (UTC)