4/8/2023 0 Comments Mediawiki common.cssPerhaps you should ask your company to install a new wiki. I would like to be able to reproduce Wikipedia site. I understand that this will allow user to change it to harful ways but it is a closed wiki so that is not a problem. I want my WikiMedia sites to match Wikipedia, so I created MediaWiki:Common.css and MediaWiki:Common.js pages, copied and pasted code from Wikipedias files of same names, emptied browser cache and refreshed, but my wiki still has smaller text of MediaWiki install, not larger text of Wikipedia. If the displayed code is too big, you can adjust it by putting the following into the MediaWiki:Common. I would like to allow the logged user to edit MediaWiki/Common.css without adding them to the sysop group. < syntaxhighlight > should be used instead.This is still supported, but is deprecated. Your company wouldn't be able to stay in this state forever. In older versions (before MediaWiki 1.16), the extension used the tag < source >.Note: without an admin (in both meanings), pages cannot be deleted, and a lot of system changes cannot be done. It is also possible that in fact $wgAllowUserCss = true, but the change doesn't take effect. Please also note that if you can access the database, you can give a role administrator to a user in the website via the database too. The content of the MediaWiki:Common.css and MediaWiki:Vector.css pages always overrides the default CSS styles specified in the skin files. For example, here's all administrators in English Wikipedia: You could see the list of administrators by going to the page Special:ListUsers. Usually there could be more than one user who are given the role administrator. This guarantees to work even when $wgAllowUserCss = false. Otherwise, if you managed to find someone who is given a role administrator, and it is okay to make your change to Print.css systemwide, you can ask the administrator to edit MediaWiki:Print.css. The element that you want to change may be labeled with different IDs and classes in the code of the skins. This depends on the CSS code of the skins. This means that the changes that you make with it can potentially be applied to each of the installed skins. Note that it is absolutely impossible to make your User:Chuck/Print.css work while $wgAllowUserCss = false. The page MediaWiki:Common.css affects the whole site. That is, copy the contents of base.css and special.css into base-special.css and reference only base-special.css). Aggregate CSS into one file to avoid multiple HTTP requests. Then, if you managed to find someone who can access the server, you could ask that person to edit LocalSettings.php so that $wgAllowUserCss = true, and now your User:Chuck/Print.css will work. import url('base.css') Note: The import rule must design login form all other rules (except the charset rule) and Additional import statements require additional server requests. I don't know which one were you referring to (it is also possible that both are the same person). There are two meanings of "admin": the one who is given a role administrator in the MediaWiki website, and the one who controls database and the server.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |