Project:Support desk

Jump to navigation Jump to search

About this board

Welcome to MediaWiki.org's Support desk, where you can ask MediaWiki questions!

There are also other places where to ask :

Before you post

Post a new question

  1. To help us answer your questions, please always indicate which versions you are using (reported by your wiki's Special:Version page):
    • MediaWiki
    • PHP
    • Database
  2. Please include the URL of your wiki unless you absolutely can't. It's often a lot easier for us to identify the source of the problem if we can look for ourselves.
  3. To start a new thread, click "Start a new topic".
Previous page history was archived for backup purposes at Project:Support_desk/old on 2015-07-30.
 
Antonkarpp (talkcontribs)

Hello! I tried to install the Wikibase plugin today. I didn’t succeed even though I installed Composer and did everything I had to. When I went to the wiki, I got a message that the page is not working. What did I do wrong? And I added wfLoadExtension ('Wikibase'); to LocalSettings.php but i took it away because my page didn't work.

Malyacko (talkcontribs)

Nobody can tell without an exact error message and basic information (see the sidebar on this page). Please provide sufficient information.

Antonkarpp (talkcontribs)

So, I didn't get any error message. When I installed Composer, I did everything I read in their instructions. Eventually, I added the extension to the wiki and the LocalSettings.php file, saved and navigated to the wiki: the page cannot process the request at this time. It's Google's own message, there was no error message.

Antonkarpp (talkcontribs)

Hey! I added this to the LocalSettings.php file:

$wgEnableWikibaseRepo = true; $wgEnableWikibaseClient = false; require_once "$IP/extensions/Wikibase/repo/Wikibase.php"; require_once "$IP/extensions/Wikibase/repo/ExampleSettings.php"; $wgWBRepoSettings['siteLinkGroups'] = [ 'mywikigroup' ]; $wgLocalDatabases = [ 'enwiki', 'fawiki' ]; $wgWBRepoSettings['localClientDatabases'] = array(

   'en' => 'enwiki',
   'fa' => 'fawiki'

);

And I got a wiki notification like this:

[e13e8d549475939e333e81d7] /index.php Error from line 35 of /home/antsamed/fi.antsawiki.antsamedia.eu/extensions/Wikibase/lib/WikibaseLib.entitytypes.php: Class 'Wikibase\DataModel\Entity\ItemId' not found Backtrace:

  1. 0 /home/antsamed/fi.antsawiki.antsamedia.eu/extensions/Wikibase/repo/includes/WikibaseRepo.php(789): require()
  2. 1 /home/antsamed/fi.antsawiki.antsamedia.eu/extensions/Wikibase/repo/includes/WikibaseRepo.php(404): Wikibase\Repo\WikibaseRepo::getDefaultEntityTypes()
  3. 2 /home/antsamed/fi.antsawiki.antsamedia.eu/extensions/Wikibase/repo/includes/WikibaseRepo.php(561): Wikibase\Repo\WikibaseRepo::newInstance()
  4. 3 /home/antsamed/fi.antsawiki.antsamedia.eu/extensions/Wikibase/repo/RepoHooks.php(104): Wikibase\Repo\WikibaseRepo::getDefaultInstance()
  5. 4 /home/antsamed/fi.antsawiki.antsamedia.eu/includes/Hooks.php(174): Wikibase\RepoHooks::onSetupAfterCache()
  6. 5 /home/antsamed/fi.antsawiki.antsamedia.eu/includes/Hooks.php(202): Hooks::callHook(string, array, array, NULL)
  7. 6 /home/antsamed/fi.antsawiki.antsamedia.eu/includes/Setup.php(794): Hooks::run(string)
  8. 7 /home/antsamed/fi.antsawiki.antsamedia.eu/includes/WebStart.php(81): require_once(string)
  9. 8 /home/antsamed/fi.antsawiki.antsamedia.eu/index.php(41): require(string)
  10. 9 {main}


Can you help? Thank you. :)

Malyacko (talkcontribs)

Again: Please see the sidebar. It explicitly says "please always indicate which versions you are using". Which exact version/branch of Wikibase? Which exact version/branch of MediaWiki?

Antonkarpp (talkcontribs)

I have the latest Wikibase plugin. I have a MediaWiki 1.34. I have downloaded WikibaseLexeme and also the only Wikibase. I don't know what version they are when I can't access the Special:Version page of my wiki, and I don't see that sidebar. But I only downloaded those Wikibase extensions and there on the download page read "latest version." I checked Wikipedia, both on August 3, 2020 and (0ed7703).

Antonkarpp (talkcontribs)
Antonkarpp (talkcontribs)

I checked the Wikibase version of the extension-repo.json of the Wikibase extension. The version of Wikibase is 1.35 and MediaWiki is 1.34. And the extension-client.json file also says 1.35. But package.json says: "version": "0.1.0".

Malyacko (talkcontribs)

If you mix 1.34 and 1.35 then there can easily be problems. You should use the same branches.

Malyacko (talkcontribs)
Antonkarpp (talkcontribs)

Now I downloaded this: https://github.com/wikimedia/mediawiki-extensions-Wikibase and I extracted it to my own extensions folder, I added this to the LocalSettings.php file:

wfLoadExtension( 'mediawiki-extensions-Wikibase-master');

I received this message from Google: the page is down.

My wiki page cannot process the request at this time.

Malyacko (talkcontribs)

I am afraid I don't understand why you keep downloading random things, why Google sends you messages (or what "page" they or you refer to), or why you prefer not to answer previous questions.

Antonkarpp (talkcontribs)

I can't answer previous questions. My sidebar doesn't show anything when I load the plugin. I refer to my wiki on my page.

Antonkarpp (talkcontribs)

I now downloaded Wikibase REL_1.34 and 1.34 also reads extension-repo-wip.json files. When you add wfLoadExtension ('Wikibase') to the LocalSettings.php file;

my wiki is not working i.e. i get the same notification from google. When you add require_once "$ IP / extensions / Wikibase / repo / Wikibase.php";

I get this error:

[326a724e46b8b20b1eb29e78] /index.php/Toiminnot:Toimintosivut Error from line 35 of /home/antsamed/fi.antsawiki.antsamedia.eu/extensions/Wikibase/lib/WikibaseLib.entitytypes.php: Class 'Wikibase\DataModel\Entity\ItemId' not found Backtrace:

  1. 0 /home/antsamed/fi.antsawiki.antsamedia.eu/extensions/Wikibase/repo/includes/WikibaseRepo.php(789): require()
  2. 1 /home/antsamed/fi.antsawiki.antsamedia.eu/extensions/Wikibase/repo/includes/WikibaseRepo.php(404): Wikibase\Repo\WikibaseRepo::getDefaultEntityTypes()
  3. 2 /home/antsamed/fi.antsawiki.antsamedia.eu/extensions/Wikibase/repo/includes/WikibaseRepo.php(561): Wikibase\Repo\WikibaseRepo::newInstance()
  4. 3 /home/antsamed/fi.antsawiki.antsamedia.eu/extensions/Wikibase/repo/RepoHooks.php(104): Wikibase\Repo\WikibaseRepo::getDefaultInstance()
  5. 4 /home/antsamed/fi.antsawiki.antsamedia.eu/includes/Hooks.php(191): Wikibase\RepoHooks::onSetupAfterCache()
  6. 5 /home/antsamed/fi.antsawiki.antsamedia.eu/includes/Hooks.php(219): Hooks::callHook(string, array, array, NULL)
  7. 6 /home/antsamed/fi.antsawiki.antsamedia.eu/includes/Setup.php(794): Hooks::run(string)
  8. 7 /home/antsamed/fi.antsawiki.antsamedia.eu/includes/WebStart.php(81): require_once(string)
  9. 8 /home/antsamed/fi.antsawiki.antsamedia.eu/index.php(41): require(string)
  10. 9 {main}
Majavah (talkcontribs)

If I remember correctly that error comes up when you haven't installed Wikibase dependencies, see Wikibase/Installation for instructions.

Antonkarpp (talkcontribs)

Yes I already have that in there composer.local.json file. So this: {

 "extra": {
   "merge-plugin": {
     "include": [
       "Extensions / Wikibase / composer.json"
     ]
   }
 },
 "require": {
   "monologue / monologue": "~ 1.25.5"
 }

}

Bawolff (talkcontribs)

it should be extensions/Wikibase/composer.json not Extensions / Wikibase / composer.json

Did you run composer update ? You dont just need to edit the file.

Antonkarpp (talkcontribs)

I will complete the tasks with Composer tomorrow. But then what do I need to add to Localsettings.php? I got pretty far today, but then I got an error message on my wiki saying there was no Entity-id. Could someone friendly do this for me? For a small fee, because I'm still with it so bad I can not answer any questions.

Bawolff (talkcontribs)

if composer is the issue, then there is nothing you need to add to LocalSettings.php other than what you already have. All you need to do is run the composer update command. From there hopefully it works or we get an exciting new ereor message (and if nothing changes we look for other things that might have gone wrong)

for information on paid support, please see Professional development and consulting

Reply to "Wikibase-error"

Unable to upload .pdf file to wiki since update (Synology)

7
Vanctardi (talkcontribs)

Hello. After upgrading from 1.31 to 1.33.1, I was unable to upload pdf files to my mediawiki. I get the following error when trying to run update.php from MaintenanceShell:


https://pastebin.com/nLActyLy


Currently running :

*PHP 7.2.29-2007

*Mediawiki 1.33.1-0136

*MariaDB 10.3.21-0063


Feel free to ask any questions, I will try to answer to the best of my ability. Thank you!

Antonkarpp (talkcontribs)
Vanctardi (talkcontribs)

The problem isn't opening the files, it's uploading them. I updated PdfHandler, but to no avail. I get the same error.

[3c2738c1e0b1400b3c40373d] /mediawiki/index.php?title=Special:Upload Wikimedia\Rdbms\DBQueryError from line 1587 of /volume1/web/mediawiki/includes/libs/rdbms/database/Database.php: A database query error has occurred. Did you forget to run your application's database schema updater after upgrading?

Query: INSERT IGNORE INTO `image` (img_name,img_size,img_width,img_height,img_bits,img_media_type,img_major_mime,img_minor_mime,img_timestamp,img_metadata,img_sha1,img_description_id,img_actor) VALUES ('Calc1.pdf','8248398','0','0','0','OFFICE','application','pdf','20200809210218'

Vanctardi (talkcontribs)

For some reason it seems to be this file only. I was able to upload another just fine.

The current file is not corrupted.

Bawolff (talkcontribs)

first of all, dont use update.php from maintenanceshell. Use the web installer upgrade feature via mywiki.com/pathtowiki/mw-config url if you cant use command line installer.

You should be given a stack trace which includes the actual sql error message when uploading the file. Please imclude full error message.

Vanctardi (talkcontribs)

Most of it is the content of the pdf file. Here it is:

https://pastebin.com/EPbJDAR2


I had to delete a good chunk of it (contents of the pdf file) because the log file was over a megabyte of text.

Bawolff (talkcontribs)

ok the important part of the error is:

Error: 1153 Got a packet bigger than 'max_allowed_packet' bytes (localhost:/run/mysqld/mysqld10.sock)

Basically the issue is that mediawiki tries to extract the text content of the pdf, but mysql says that its too much stuff. You can try increasing mysqls max_allowed_packet size in mysql's config, or try deleting the text layer of that pdf, or you can try disabling mediawikis text extraction feature by setting $wgPdftoText = null;

Reply to "Unable to upload .pdf file to wiki since update (Synology)"

Lua error: Cannot create process: proc_open(/dev/null): failed to open stream: Operation not permitted

7
37.128.215.197 (talkcontribs)

MediaWiki 1.22.2 PHP 5.4.24 (litespeed) MySQL 5.5.32-cll-lve Lua 5.1.5

I'm trying to get Infoboxes to work on my website, but keep getting the above mentioned error message in all my templates. I have given public_html/wiki/extensions/Scribunto/engines/LuaStandalone/binaries/lua5_1_5_linux_64_generic/lua a 755 permission, added:

require_once __DIR__ . "/extensions/Scribunto/Scribunto.php"; $wgScribuntoDefaultEngine = 'luastandalone';

to my local_settings.php file but nothing works. Any ideas what might be the problem?

Bawolff (talkcontribs)

Does the user apache is running as have rights to open /dev/null ?

Ausrpdesigns (talkcontribs)

Hi Bawolff.

Do we set the access in http.conf or 'chown' the 'null' file?

Your help would be appreciated!

Bawolff (talkcontribs)

Usually /dev/null is read-writable by everyone. That is how it should be. Check what the permissions on that file are

Could perhaps be other things, if for example php/lua is restricted from accessing files outside its working directory or something like that.

Ausrpdesigns (talkcontribs)

Permissions look fine for /dev/null - crw-rw-rw.

This is strange as I was previously receiving the script error - 'attempt to index field 'text' (a nil value)', now I'm receiving this '/dev/null' error. You can see my previous thread here

When I try to enable my lua error file - 'Lua error: Cannot create process: proc_open(/mysite/tmp/lua-error.log): failed to open stream: Permission denied'. I tested with 777 permissions on the /tmp/ dir but no luck.

I'm not sure what changed permission wise but I read somewhere it could be my /image/ folder? not sure how its related tho.

Thanks

213.57.141.105 (talkcontribs)

Hi did U find an issue to LUA Error : Impossible de créer le processus : proc_open(/dev/null): failed to open stream: Operation not permitted

Bawolff (talkcontribs)

check also php open_basedir, SELinux settings, and any other sandboxing your host might have set up

Reply to "Lua error: Cannot create process: proc_open(/dev/null): failed to open stream: Operation not permitted"

Fatal exception of type MWException

6
This post was hidden by Edmunddz (history)
Antonkarpp (talkcontribs)
Edmunddz (talkcontribs)

My english is not good

My Scribunto can also run normally,But when I created the Module, it prompted this error

Bawolff (talkcontribs)

make sure /home/wwwroot/default/extensions/Scribunto/includes/engines/LuaStandalone/binaries/lua5_1_5_linux_64_generic/lua has the execute bit set

E.g. chmod a+x /home/wwwroot/default/extensions/Scribunto/includes/engines/LuaStandalone/binaries/lua5_1_5_linux_64_generic/lua

Edmunddz (talkcontribs)

Thank you, after I completed this operation, it became Lua error: Cannot create process: proc_open(/dev/null): failed to open stream: Operation not permitted

Then it can't be solved Topic:Roc8u8kdlhgo3x6i

Bawolff (talkcontribs)

check php open_basedir (in php.ini), selinux settings, and permissions on /dev/null (ls -l /dev/null)

Reply to "Fatal exception of type MWException"

translation: MW shows me the page but paragraphs missing

2
Arzoper (talkcontribs)

Translating to ml (Malayalam).

At front-page, and i have signed in. Is page: MediaWiki = https://www.mediawiki.org/wiki/mediawiki. And system is:

MediaWiki 1.36.0-wmf.3 (08bcb82)

18:13, 6 August 2020

PHP 7.2.31-1+0~20200514.41+debian9~1.gbpe2a56b+wmf1 (fpm-fcgi)
MariaDB 10.1.43-MariaDB

Two clicks down, from first panel saying “ Set up and… MW “ click at ‘ Download ‘.

There, the “ Download “ page, has a first block saying, “ Download MediaWiki 1.34… “

I wish to translate this page, and see it is done in CH, RU, etc. I click on the ‘ translate ‘ tab.

What come up are various phrases, but the first paras on ‘ tar.gz files; license reqmts; systems reqmts; Warning ‘ are all missing. It goes straight to: “ developers should download from git “

When I click on a) Download MW with the download icon, of course I get actual downloading, NOT the translate phrase I need, and b) on any of the links, a click there takes me to target, NOT the link to be translated.

I was suffering this issue many days ago ( not at 2 clicks down, but just 1 ) on the page of Help:Contents with the 6 panels. There when I click the links, I get to target, and am able to translate the link as well, if memory serves me right.

Pppery (talkcontribs)

If I understand what you are talking about correctly, you need to translate Template:DownloadMediaWiki. I agree that this is confusing, and that template should probably be merged with Download (but doing so without breaking the translations would be a highly non-trivial effort)

Reply to "translation: MW shows me the page but paragraphs missing"
Seth2740 (talkcontribs)

I built a new system (Fedora 32, MediaWiki 1.34.2, PHP 7.4.9, Apache 2.4.43, MySQL 8.0.21) and was able to export/import the database fine. Ran setup, detected and updated existing tables successfully and got the wiki up and running fine. However, when trying to login as the wikiadmin account I created, it throws up and not sure where to begin troubleshooting...


A database query error has occurred. This may indicate a bug in the software.

[XzB3VDLGJynTV@x3fS54RQAAAEI] 2020-08-09 22:23:16: Fatal exception of type "Wikimedia\Rdbms\DBQueryError"

Bawolff (talkcontribs)

set $wgShowExceptionDetsils=true; to get full error message.

Did you run update.php?

Seth2740 (talkcontribs)

ok...update script fixed it. missed that on the update page

Failed to load blob data - Host Migration

2
2A02:C7F:50C5:5400:642C:69A4:F2C0:607A (talkcontribs)

Hey there, thanks in advance for your attention.

I am in the process of moving my installation over to a new web host.

I have brought along all files and the database, everything works fine except the pages themselves are not displaying any data and are just throwing this error -

---

4b9073d4c2ded63302907d00] /Oesophagectomy-3-stage-Operationscript MediaWiki\Revision\RevisionAccessException from line 1442 of /var/www/html/includes/Revision/RevisionStore.php: Failed to load data blob from tt:12780: Unable to fetch blob at tt:12780

Backtrace:

#0 /var/www/html/includes/Revision/RevisionStore.php(1356): MediaWiki\Revision\RevisionStore->loadSlotContent(MediaWiki\Revision\SlotRecord, NULL, NULL, NULL, integer)

#1 [internal function]: MediaWiki\Revision\RevisionStore->MediaWiki\Revision\{closure}(MediaWiki\Revision\SlotRecord)

#2 /var/www/html/includes/Revision/SlotRecord.php(307): call_user_func(Closure, MediaWiki\Revision\SlotRecord)

#3 /var/www/html/includes/Revision/RevisionRecord.php(175): MediaWiki\Revision\SlotRecord->getContent()

#4 /var/www/html/includes/Revision/RenderedRevision.php(228): MediaWiki\Revision\RevisionRecord->getContent(string, integer, NULL)

#5 /var/www/html/includes/Revision/RevisionRenderer.php(215): MediaWiki\Revision\RenderedRevision->getSlotParserOutput(string)

#6 /var/www/html/includes/Revision/RevisionRenderer.php(152): MediaWiki\Revision\RevisionRenderer->combineSlotOutput(MediaWiki\Revision\RenderedRevision, array)

#7 [internal function]: MediaWiki\Revision\RevisionRenderer->MediaWiki\Revision\{closure}(MediaWiki\Revision\RenderedRevision, array)

#8 /var/www/html/includes/Revision/RenderedRevision.php(198): call_user_func(Closure, MediaWiki\Revision\RenderedRevision, array)

#9 /var/www/html/includes/poolcounter/PoolWorkArticleView.php(196): MediaWiki\Revision\RenderedRevision->getRevisionParserOutput()

#10 /var/www/html/includes/poolcounter/PoolCounterWork.php(125): PoolWorkArticleView->doWork()

#11 /var/www/html/includes/page/Article.php(791): PoolCounterWork->execute()

#12 /var/www/html/includes/actions/ViewAction.php(63): Article->view()

#13 /var/www/html/includes/MediaWiki.php(511): ViewAction->show()

#14 /var/www/html/includes/MediaWiki.php(302): MediaWiki->performAction(Article, Title)

#15 /var/www/html/includes/MediaWiki.php(900): MediaWiki->performRequest()

#16 /var/www/html/includes/MediaWiki.php(527): MediaWiki->main()

#17 /var/www/html/index.php(46): MediaWiki->run()

#18 {main}

---

I brought the database over with an SQL export, only a few pages load up and they seem to be very light pages with just a little amount of text. The rest all throw the error above.


I have been stressing over this for 4-5 hours now and any guidance would be beyond appreciated.

Thanks again!

Bawolff (talkcontribs)

in the text table, what is the value of the row with old_id=12780 ?

Reply to "Failed to load blob data - Host Migration"

Short URL documentation outdated?

1
Rehman (talkcontribs)
Reply to "Short URL documentation outdated?"
90.45.227.38 (talkcontribs)

Excusez-moi, je ne parle pas l'anglais, quand j'essaie au début , j'obtiens le message d'erreur suivant : ubuntu@ubuntu-Lenovo-ideapad-330-17IKB:~$    gksudo gedit filename

La commande « gksudo » n'a pas été trouvée, voulez-vous dire :

  commande « gfsudo » du deb gfarm-client

Essayez : sudo apt install <nom du deb>

90.45.227.38 (talkcontribs)

J'obtiens le résultat suivant : ubuntu@ubuntu-Lenovo-ideapad-330-17IKB:~$  gksudo gedit filename

La commande « gksudo » n'a pas été trouvée, voulez-vous dire :

  commande « gfsudo » du deb gfarm-client

Essayez : sudo apt install <nom du deb>

ubuntu@ubuntu-Lenovo-ideapad-330-17IKB:~$  gfsudo gedit filename

La commande « gfsudo » n'a pas été trouvée, mais peut être installée avec :

sudo apt install gfarm-client

90.45.227.38 (talkcontribs)

ubuntu@ubuntu-Lenovo-ideapad-330-17IKB:~$ sudo apt-get install apache2 mysql-server php5 php5-mysql libapache2-mod-php5

Lecture des listes de paquets... Fait

Construction de l'arbre des dépendances       

Lecture des informations d'état... Fait

Aucune version du paquet php5 n'est disponible, mais il existe dans la base

de données. Cela signifie en général que le paquet est manquant, qu'il est devenu obsolète

ou qu'il n'est disponible que sur une autre source

Aucune version du paquet libapache2-mod-php5 n'est disponible, mais il existe dans la base

de données. Cela signifie en général que le paquet est manquant, qu'il est devenu obsolète

ou qu'il n'est disponible que sur une autre source

Aucune version du paquet php5-mysql n'est disponible, mais il existe dans la base

de données. Cela signifie en général que le paquet est manquant, qu'il est devenu obsolète

ou qu'il n'est disponible que sur une autre source

E: Le paquet « php5 » n'a pas de version susceptible d'être installée

E: Le paquet « php5-mysql » n'a pas de version susceptible d'être installée

E: Le paquet « libapache2-mod-php5 » n'a pas de version susceptible d'être installée

90.45.227.38 (talkcontribs)

ubuntu@ubuntu-Lenovo-ideapad-330-17IKB:~$ sudo apt-get install apache2 mariadb-server-10.0 php php-mysql libapache2-mod-php php-xml php-mbstring

Lecture des listes de paquets... Fait

Construction de l'arbre des dépendances       

Lecture des informations d'état... Fait

Aucune version du paquet mariadb-server-10.0 n'est disponible, mais il existe dans la base

de données. Cela signifie en général que le paquet est manquant, qu'il est devenu obsolète

ou qu'il n'est disponible que sur une autre source

Cependant les paquets suivants le remplacent :

  percona-xtradb-cluster-server-5.7:i386 mariadb-server-10.1:i386

  mariadb-plugin-spider:i386 mariadb-plugin-oqgraph:i386

  mariadb-plugin-mroonga:i386 mariadb-plugin-connect:i386

  mariadb-client-10.1:i386 percona-xtradb-cluster-server-5.7

  mariadb-server-10.1 mariadb-plugin-tokudb mariadb-plugin-spider

  mariadb-plugin-oqgraph mariadb-plugin-mroonga mariadb-plugin-connect

  mariadb-client-10.1

E: Le paquet « mariadb-server-10.0 » n'a pas de version susceptible d'être installée

90.45.227.38 (talkcontribs)

tar -xvzf /tmp/mediawiki-*.tar.gz sudo mkdir /var/lib/mediawiki sudo mv mediawiki-*/* /var/lib/mediawiki

90.45.227.38 (talkcontribs)

tar -xvzf /tmp/mediawiki-*.tar.gz sudo mkdir /var/lib/mediawiki sudo mv mediawiki-*/* /var/lib/mediawiki

90.45.227.38 (talkcontribs)

ubuntu@ubuntu-Lenovo-ideapad-330-17IKB:/tmp$ sudo mv mediawiki-*/* /var/lib/mediawiki

mv: impossible de déplacer 'mediawiki-1.34.2/cache' vers '/var/lib/mediawiki/cache': Le dossier n'est pas vide

mv: impossible de déplacer 'mediawiki-1.34.2/docs' vers '/var/lib/mediawiki/docs': Le dossier n'est pas vide

mv: impossible de déplacer 'mediawiki-1.34.2/extensions' vers '/var/lib/mediawiki/extensions': Le dossier n'est pas vide

mv: impossible de déplacer 'mediawiki-1.34.2/images' vers '/var/lib/mediawiki/images': Le dossier n'est pas vide

mv: impossible d'écraser le non répertoire '/var/lib/mediawiki/includes' par le répertoire 'mediawiki-1.34.2/includes'

mv: impossible d'écraser le non répertoire '/var/lib/mediawiki/languages' par le répertoire 'mediawiki-1.34.2/languages'

mv: impossible d'écraser le non répertoire '/var/lib/mediawiki/maintenance' par le répertoire 'mediawiki-1.34.2/maintenance'

mv: impossible d'écraser le non répertoire '/var/lib/mediawiki/mw-config' par le répertoire 'mediawiki-1.34.2/mw-config'

mv: impossible d'écraser le non répertoire '/var/lib/mediawiki/resources' par le répertoire 'mediawiki-1.34.2/resources'

mv: impossible d'écraser le non répertoire '/var/lib/mediawiki/skins' par le répertoire 'mediawiki-1.34.2/skins'

mv: impossible de déplacer 'mediawiki-1.34.2/tests' vers '/var/lib/mediawiki/tests': Le dossier n'est pas vide

mv: impossible d'écraser le non répertoire '/var/lib/mediawiki/vendor' par le répertoire 'mediawiki-1.34.2/vendor'

90.45.227.38 (talkcontribs)

ubuntu@ubuntu-Lenovo-ideapad-330-17IKB:~$ sudo mkdir /var/lib/mediawiki

[sudo] Mot de passe de ubuntu :

Désolé, essayez de nouveau.

[sudo] Mot de passe de ubuntu :

mkdir: impossible de créer le répertoire «/var/lib/mediawiki»: Le fichier existe

90.45.227.38 (talkcontribs)

ubuntu@ubuntu-Lenovo-ideapad-330-17IKB:~$ sudo mv mediawiki-*/* /var/lib/mediawiki

mv: impossible de déplacer 'mediawiki-1.34.2/cache' vers '/var/lib/mediawiki/cache': Le dossier n'est pas vide

mv: impossible de déplacer 'mediawiki-1.34.2/docs' vers '/var/lib/mediawiki/docs': Le dossier n'est pas vide

mv: impossible de déplacer 'mediawiki-1.34.2/extensions' vers '/var/lib/mediawiki/extensions': Le dossier n'est pas vide

mv: impossible de déplacer 'mediawiki-1.34.2/images' vers '/var/lib/mediawiki/images': Le dossier n'est pas vide

mv: impossible d'écraser le non répertoire '/var/lib/mediawiki/includes' par le répertoire 'mediawiki-1.34.2/includes'

mv: impossible d'écraser le non répertoire '/var/lib/mediawiki/languages' par le répertoire 'mediawiki-1.34.2/languages'

mv: impossible d'écraser le non répertoire '/var/lib/mediawiki/maintenance' par le répertoire 'mediawiki-1.34.2/maintenance'

mv: impossible d'écraser le non répertoire '/var/lib/mediawiki/mw-config' par le répertoire 'mediawiki-1.34.2/mw-config'

mv: impossible d'écraser le non répertoire '/var/lib/mediawiki/resources' par le répertoire 'mediawiki-1.34.2/resources'

mv: impossible d'écraser le non répertoire '/var/lib/mediawiki/skins' par le répertoire 'mediawiki-1.34.2/skins'

mv: impossible de déplacer 'mediawiki-1.34.2/tests' vers '/var/lib/mediawiki/tests': Le dossier n'est pas vide

mv: impossible d'écraser le non répertoire '/var/lib/mediawiki/vendor' par le répertoire 'mediawiki-1.34.2/vendor

Malyacko (talkcontribs)

Hi. Do you have a question? If a folder already exists then you could delete that folder?

Reply to "false"

Restrict pages for a group of users

5
Thiagosantiagomelo (talkcontribs)

How can I restrict a page for a group of users?

I'm using the Mediawiki to build and to document all of information from my business. Now I need a way to restrict data from determined departament of the company. There a extension or configuration that allow me to do this?

Ammarpad (talkcontribs)
Thiagosantiagomelo (talkcontribs)

Thanks for you help. From what I read, there's no way to do that without any risk, right?

Jackmcbarn (talkcontribs)

It's not a use case that MediaWiki is designed for. It's meant to be that either everything is public, or the whole wiki is restricted to the same group of people. The risk-free way to do it is to have a separate wiki for each department that wants private data.

Thiagosantiagomelo (talkcontribs)

Thank you so much

Reply to "Restrict pages for a group of users"