Jump to content

All Activity

This stream auto-updates     

  1. Past hour
  2. Editing the Index page

    Hi! I am trying to edit code on the home page. The code on the page says (with "enable edit") that the code is on the index.php page, as you would expect. But when I open the page in an editor (I tried Sublime and Komodo), I get a page that does not have much code but instead has this written at the top. This is the main web entry point for MediaWiki. * * If you are reading this in your web browser, your server is probably * not configured correctly to run PHP applications! * * See the README, INSTALL, and UPGRADE files for basic setup instructions * and pointers to the online documentation. I have read the readme, install, and upgrades files, and searched around in databases, but I can't figure out how to get to the code that apparently is on this page. What am I doing wrong? Thanks, -Carey
  3. Yesterday
  4. Thanks a lot for your answer. I will try your suggestion and revert with the result. Kind regards, Christophe
  5. Last week
  6. Earlier
  7. Allow user to Input a variable in an inputbox

    This is unfortunately not possible with just the Inputbox extension. You may be able to make use of the Page Forms extension for this purpose (it's part of Semantic MediaWiki but can be installed standalone if you don't want all of SMW installed). However, I've never actually tried it out myself so I cannot say for certain whether or not it will work. You can grab the extension at https://www.mediawiki.org/wiki/Extension:Page_Forms
  8. I had a wiki working six months ago but before I had it backupped I had a hardware malfunction and had to start over again. Ever since I have tried to get infobox working. I would like it to look like this: https://sv.wikipedia.org/wiki/Jimmy_Wales but it looks like this: http://www.skutan.com/wiki/index.php/Testedvin What am I missing? Is it a missing .css? I have googled a lot so any help would be much appreciated.
  9. Hello, I installed MediaWiki 1.29.1 with the Variables and ExternalData extensions. I created pages in which a predefined variable in the body of the page calls external data from a csv file filtered on this variable and returning a table with all the results. I would now like to leave the choice of this variable to the user. It seems that the Inputbox does not allow to assign user's input to a variable. I would not want this entry to create a new page nor a section but serve as a filter to my external data called in the table in the same page / section. I would like to avoid having to install Semantic Mediawiki which seems to provide this possibility. Can someone help me to this point on which I have been blocking for several days. Thank you in advance. Christophe, from Paris.
  10. Sorting navigational templates

    The only use of sortkey I know of is to impact how pages are displayed when viewing a Category page directly. If you have some navigational templates with a "sortkey" parameter, you'll need to link to those templates so we can look at the source and give tips/suggestions. Otherwise, can you please clarify what you are intending to do?
  11. Out of curiosity, is there a way to use the sortkey option specifically for changing the order of navigational templates?
  12. I have enabled uploading templates to share with other wiki users. To get there, click on "Downloads" in the top navigation bar and then "Submit a file" If you have any feedback or suggestions for the template repository, please let me know.
  13. DeleteUserPages

    Version 1.0.0


    This extension lets users delete their own user pages and user talk pages. Two permissions are added (by default not granted to anyone) which control whether or not one can delete their own user page or their own subpages. This extension does not allow users to delete pages that are not their user page or subpages of their user page. The user does not need to be the author of the page to delete it, and can only delete if they would otherwise be allowed to edit that page. For installation instructions, please see the documentation page on MediaWiki.org. For support, please post a new topic on the forums. Free support is provided on a best-effort basis. Commercial support for this extension is available by purchasing a MediaWiki Support Subscription.


  14. enable only some users to translate

    You need to change the user rights assignment for the translate right. At the moment, it seems that either '*' or 'user' (all users or logged in users) are given the translate right, and you should change that to a specific user group, such as making a new Translators group. See here for a sample configuration which adds a new translate group (which you can then assign to users you want to be able to translate via Special:UserRights)
  15. I am creating media wiki page and content of that is training. So I put the text of training in there. And I want that to be translated in 14 languages. But I want to enable translation only to the people I will accept (people inside my organization) Now I protected the pages and nobody can edit (only me or other administrators) but everybody can translate even if not logged in. Please help me how I can change that. thanks
  16. Mediawiki Upload Error

    Fix the this error myself. Permission has also been changed for subfolders.
  17. Mediawiki Upload Error

    When I upload the files in my mediawiki, but it said "Exception encountered, of type "LocalFileLockError"". I change the images's permission to 777, but it continues to occur. What can I do?
  18. Top & Left Menus move to content area on certain pages.

    Hey Skizzerz, Tidy seems to have fixed the issue! Thanks for your help!
  19. A broken layout like that is usually caused by you either having extra open tags or extra closed tag (like you have a <div> but no corresponding </div>, or you have an extra </div> without the associated <div> earlier on). Doesn't have to be div, could be any block-level tag such as <table> too. If you're copying templates from Wikipedia, you're going to need a handful of settings and extensions installed in order to make them work correctly. Click the links in each point for more info. Ensure that Tidy is enabled: $wgTidyConfig. My recommendation is to use the first example on that page under the Examples heading; it will require that the tidy PHP extension (not MediaWiki extension) is installed on your server. If Tidy is not enabled, broken layouts like the above can happen due to how the wikitext parser operates differently when not using Tidy, even if there is no actual issue with your wikitext. Ensure that you have installed the following MediaWiki extensions: ParserFunctions and Scribunto
  20. Hey guys, I'm trying to implement something along the lines of Wikipedia's category by month system. It seems to have moved everything from outside the main box inside. I've attached a screenshot to demonstrate what's going on. I'm using the standard Common.css and code from Wikipedia.
  21. Switch Case

    My fault was passing {{Gateway}} instead of {{Mask}}. Sorry ! Charles
  22. Switch Case

    Hi, Having trouble with a simple switch case where it never work : {{#switch: {{{Gateway}}} | = /30 | = /29 | = /28 | = /27 | = /26 | = /25 | = /24 | = /23 | = /22 | = /21 | = /20 | = /19 | = /18 | = /17 | = /16 | /? }} I give the exact same gateway as one of these and it is still returning the default value : /? There is something missing to my understanding, if someone can make light on this... Thanks ! Charles
  23. Null edit

    Went with MagicNoCache and it is working. Thank you very much it is appreciated ! Charles
  24. Null edit

    You can disable the parser cache sitewide with the following in your LocalSettings.php. I do not recommend this except on small wikis: $wgParserCacheType = CACHE_NONE; There is an extension which supposedly let you disable the cache on a per-page basis. I have not used or tested it, and make no guarantees that they are compatible with modern versions of mediawiki: https://www.mediawiki.org/wiki/Extension:MagicNoCache In addition, other extensions may disable the cache on pages they are used, such as DynamicPageList.
  25. Null edit

    What extension would you recommend ? Thanks ! Charles
  26. Null edit

    Pages in MediaWiki are cached, meaning that the page is not processed on each page view, but rather only once and then the process page served to users. If you want a truly dynamic page, you can install an extension that disables the parser cache (preferably on a per-page basis), but keep in mind that doing so will slow down page views for such pages and increase server resources.
  27. Null edit

    Hi, Currently listing subpages with Subpagelist3 extension, the problem is it is not updating the page if a new subpage is created unless I do a Null edit but I don't want the user to actually do something. I want it to refresh on viewing if it is possible. Thanks ! Charles
  28. How can I use Visual Editor Extention?

    Once Parsoid is installed, edit /etc/mediawiki/parsoid/config.yaml and modify the uri string to point to your wiki's api.php endpoint. For example, https://example.com/w/api.php Then, install and configure VisualEditor as a mediawiki extension by following the 2nd link in my above post.
  29. How can I use Visual Editor Extention?

    I installed Parsoid in my ubuntu. But I don't know next step. Can you Can you explain it easily?
  1. Load more activity

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.