Project:Support desk

About this board

Welcome to the MediaWiki Support desk, where you can ask MediaWiki questions!

(Read this message in a different language)

See also

Before you post

Post a new question

  1. To help us answer your questions, please indicate which versions you are using, as found on your wiki's Special:Version page:
    • MediaWiki version
    • PHP version
    • Database type and version
  2. Please include the web address (URL) to your wiki if possible. It's often easier for us to identify the source of the problem if we can see the error directly.
  3. To start a new thread, click "Start a new topic".

Include text in drawio.svg files in Mediawiki search?

1
Bedtry (talkcontribs)

Is it possible?

Reply to "Include text in drawio.svg files in Mediawiki search?"

Error: Call to a member function getNamespaces() on null

3
Faulknmd (talkcontribs)

Hello!

I run a Wiki for an amateur songwriting competition at:

http://www.homecomposed.net/wiki/

MediaWiki     1.39.3

PHP     8.1.17 (cgi-fcgi)

MySQL     8.0.28-0ubuntu0.20.04.3

ICU     60.2

It stopped working properly a few weeks ago, so I upgraded from MediaWiki 1.26.3 to 1.35.10 without problems and everything was fine.

I then came back to it on Friday in order to upgrade further to 1.39.3.

Unfortunately, having done that (incl. running the update script in a browser), some pages now load as they should, whereas many others return "Error: Call to a member function getNamespaces() on null".

For example, the full error report for http://www.homecomposed.net/wiki/index.php?title=Home_Composed_Song_Contest_1994 is as follows:


[ZHNoFVjgJfmtun3AUscyrAAATq4] /wiki/index.php?title=Home_Composed_Song_Contest_1994 Error: Call to a member function getNamespaces() on null

Backtrace:

from /home/faulknmd/homecomposed.net/wiki/extensions/Html5mediator/Html5mediator.php(40)

#0 /home/faulknmd/homecomposed.net/wiki/includes/parser/Parser.php(4023): wfHtml5MediatorParse(string, array, Parser, PPFrame_Hash)

#1 /home/faulknmd/homecomposed.net/wiki/includes/parser/PPFrame_Hash.php(354): Parser->extensionSubstitution(array, PPFrame_Hash, boolean)

#2 /home/faulknmd/homecomposed.net/wiki/includes/parser/Parser.php(2955): PPFrame_Hash->expand(PPNode_Hash_Tree, integer)

#3 /home/faulknmd/homecomposed.net/wiki/includes/parser/Parser.php(1610): Parser->replaceVariables(string)

#4 /home/faulknmd/homecomposed.net/wiki/includes/parser/Parser.php(724): Parser->internalParse(string)

#5 /home/faulknmd/homecomposed.net/wiki/includes/content/WikitextContentHandler.php(301): Parser->parse(string, Title, ParserOptions, boolean, boolean, integer)

#6 /home/faulknmd/homecomposed.net/wiki/includes/content/ContentHandler.php(1721): WikitextContentHandler->fillParserOutput(WikitextContent, MediaWiki\Content\Renderer\ContentParseParams, ParserOutput)

#7 /home/faulknmd/homecomposed.net/wiki/includes/content/Renderer/ContentRenderer.php(47): ContentHandler->getParserOutput(WikitextContent, MediaWiki\Content\Renderer\ContentParseParams)

#8 /home/faulknmd/homecomposed.net/wiki/includes/Revision/RenderedRevision.php(266): MediaWiki\Content\Renderer\ContentRenderer->getParserOutput(WikitextContent, Title, integer, ParserOptions, boolean)

#9 /home/faulknmd/homecomposed.net/wiki/includes/Revision/RenderedRevision.php(237): MediaWiki\Revision\RenderedRevision->getSlotParserOutputUncached(WikitextContent, boolean)

#10 /home/faulknmd/homecomposed.net/wiki/includes/Revision/RevisionRenderer.php(221): MediaWiki\Revision\RenderedRevision->getSlotParserOutput(string, array)

#11 /home/faulknmd/homecomposed.net/wiki/includes/Revision/RevisionRenderer.php(158): MediaWiki\Revision\RevisionRenderer->combineSlotOutput(MediaWiki\Revision\RenderedRevision, array)

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

#13 /home/faulknmd/homecomposed.net/wiki/includes/Revision/RenderedRevision.php(199): call_user_func(Closure, MediaWiki\Revision\RenderedRevision, array)

#14 /home/faulknmd/homecomposed.net/wiki/includes/poolcounter/PoolWorkArticleView.php(91): MediaWiki\Revision\RenderedRevision->getRevisionParserOutput()

#15 /home/faulknmd/homecomposed.net/wiki/includes/poolcounter/PoolWorkArticleViewCurrent.php(97): PoolWorkArticleView->renderRevision()

#16 /home/faulknmd/homecomposed.net/wiki/includes/poolcounter/PoolCounterWork.php(162): PoolWorkArticleViewCurrent->doWork()

#17 /home/faulknmd/homecomposed.net/wiki/includes/page/ParserOutputAccess.php(299): PoolCounterWork->execute()

#18 /home/faulknmd/homecomposed.net/wiki/includes/page/Article.php(714): MediaWiki\Page\ParserOutputAccess->getParserOutput(WikiPage, ParserOptions, MediaWiki\Revision\RevisionStoreRecord, integer)

#19 /home/faulknmd/homecomposed.net/wiki/includes/page/Article.php(528): Article->generateContentOutput(User, ParserOptions, integer, OutputPage, array)

#20 /home/faulknmd/homecomposed.net/wiki/includes/actions/ViewAction.php(78): Article->view()

#21 /home/faulknmd/homecomposed.net/wiki/includes/MediaWiki.php(542): ViewAction->show()

#22 /home/faulknmd/homecomposed.net/wiki/includes/MediaWiki.php(322): MediaWiki->performAction(Article, Title)

#23 /home/faulknmd/homecomposed.net/wiki/includes/MediaWiki.php(904): MediaWiki->performRequest()

#24 /home/faulknmd/homecomposed.net/wiki/includes/MediaWiki.php(562): MediaWiki->main()

#25 /home/faulknmd/homecomposed.net/wiki/index.php(50): MediaWiki->run()

#26 /home/faulknmd/homecomposed.net/wiki/index.php(46): wfIndexMain()

#27 {main}

Whereas pages like this are working fine, for example: http://www.homecomposed.net/wiki/index.php?title=Netherlands_in_the_Home_Composed_Song_Contest

Can anyone give me any ideas as to why this might have happened and how it could be fixed? Thanks!

Martin

Bawolff (talkcontribs)

Sounds like a bug in Html5mediator extension. Maybe the extension isn't compatible with 1.39, or maybe it needs to be updated to a new version.

Faulknmd (talkcontribs)

Thank you! Html5mediator is indeed no longer supported, which is a bummer, but there we go.

I've removed it and the problematic pages do at least work again now, albeit with the Html5mediator code showing, so that's certainly a big step forward.

Unfortunately the supported alternatives (e.g. MP3MediaHandler, TimedMediaHandler) don't seem to allow the embedding of externally hosted audio files, which is what I was using Html5mediator for, so I guess I can look forward to a lot of time spent uploading mp3s in my near future...

Nevertheless, the biggest part of the problem is solved, so thanks again for that!

Martin

Reply to "Error: Call to a member function getNamespaces() on null"
14.192.1.54 (talkcontribs)

I was looking for a workflow on the MediaWiki instance.

There should be editors and Approvers, Approvers should be able to receive with in wiki notifications when there are new page creations or page edits from editors, and there should be warnings displayed on pages saying page is under review and once the Approvers approve the page or edit it be normal.

Catch here is there will be multiple editor and Approver groups, like Editor1, Editor2 and Approver1 and Approver2.


Will be happy to provide any additional inputs if needed.

Bawolff (talkcontribs)
Reply to "Approval Mechanism"

how to retrieve the image descriptions texts from Commons ?

3
Wladek92 (talkcontribs)

Hi all, In -> https://www.mediawiki.org/wiki/Content_translation/Section_translation#Entry_points rather than redefining an ALT for the images of the gallery, I would like to retrieve the descriptions already translated on Commons. This way the translation work in centralized and done once only. For example for first image -> https://www.mediawiki.org/wiki/File:Sx-language-selector-invite-th.png , I would like to get the FR text from the description/fr:

 
{{Information
|'''description'''={{en|1=Section Translation is surfaced on mobile when switching into languages where the content is not available yet so that users can translate it.}}
{{'''fr'''|1=La traduction de section est disponible sur les mobiles lorsque l'on passe à des langues pour lesquelles le contenu n'est pas encore disponible ce qui permet au utilisateurs de le traduire.}}
|date=2021-10-07
|source={{own}}
|author=[[User:Pginer-WMF|Pau Giner]]
|permission=
|other versions=
}}

Is that possible ? Thanks. Christian 🇫🇷 FR (talk) 13:23, 29 May 2023 (UTC)

Bawolff (talkcontribs)
TheDJ (talkcontribs)
Reply to "how to retrieve the image descriptions texts from Commons ?"
2003:EE:713:7BF7:E1E4:B6C3:7A09:831 (talkcontribs)
Reply to "Template"

Error 1091: Can't DROP INDEX `tl_namespace` trying to upgrade to 1.35.10

2
Sremick (talkcontribs)

I'm trying to do a minor upgrade to 1.35.10 (from 1.35.1). I get as far as upgrading the tables but then get the following error:

...have ipb_id field in ipblocks table.
...have ipb_expiry field in ipblocks table.
...already have interwiki table
...indexes seem up to 20031107 standards.
...have rc_type field in recentchanges table.
...index new_name_timestamp already set on recentchanges table.
...have user_real_name field in user table.
...querycache table already exists.
...objectcache table already exists.
...categorylinks table already exists.
...have pagelinks; skipping old links table updates
...il_from OK
...have rc_ip field in recentchanges table.
...index PRIMARY already set on image table.
...have rc_id field in recentchanges table.
...have rc_patrolled field in recentchanges table.
...logging table already exists.
...have user_token field in user table.
...have wl_notificationtimestamp field in watchlist table.
...watchlist talk page rows already present.
...user table does not contain user_emailauthenticationtimestamp field.
...page table already exists.
...have log_params field in logging table.
...logging table has correct log_title encoding.
...have ar_rev_id field in archive table.
...have page_len field in page table.
...revision table does not contain inverse_timestamp field.
...have rev_deleted field in revision table.
...have img_width field in image table.
...have img_metadata field in image table.
...have user_email_token field in user table.
...page_namespace is already a full int (int(11)).
...ar_namespace is already a full int (int(11)).
...rc_namespace is already a full int (int(11)).
...wl_namespace is already a full int (int(11)).
...qc_namespace is already a full int (int(11)).
...log_namespace is already a full int (int(11)).
...have img_media_type field in image table.
...already have pagelinks table.
...image table does not contain img_type field.
...already have unique user_name index.
...user_groups table exists and is in current format.
...have ss_total_pages field in site_stats table.
...user_newtalk table already exists.
...have iw_trans field in interwiki table.
...wl_notificationtimestamp is already nullable.
...index times already set on logging table.
...have ipb_range_start field in ipblocks table.
...no page_random rows needed to be set
...have user_registration field in user table.
...templatelinks table already exists
...externallinks table already exists.
...job table already exists.
...have ss_images field in site_stats table.
...langlinks table already exists.
...querycache_info table already exists.
...filearchive table already exists.
...have ipb_anon_only field in ipblocks table.
...have user_newpass_time field in user table.
...redirect table already exists.
...querycachetwo table already exists.
...have ipb_enable_autoblock field in ipblocks table.
...index pl_namespace on table pagelinks includes field pl_from.
...index tl_namespace on table templatelinks has no field tl_from; added.
Updating backlinking indices ...
An error occurred:
Error 1091: Can't DROP INDEX `tl_namespace`; check that it exists (localhost)
Function: Wikimedia\Rdbms\Database::sourceFile( /home/xxxxxx/public_html/wiki/maintenance/archives/patch-backlinkindexes.sql )
Query: ALTER TABLE `templatelinks`
 DROP INDEX tl_namespace,
 ADD INDEX tl_namespace(tl_namespace, tl_title, tl_from)
175.110.58.127 (talkcontribs)

I m trying to do a minor upgrade to 1.35.10 (from 1.35.1). I get as far as upgrading the tables but then get the following error:

...have ipb_id field in ipblocks table. ...have ipb_expiry field in ipblocks table. ...already have interwiki table ...indexes seem up to 20031107 standards. ...have rc_type field in recentchanges table. ...index new_name_timestamp already set on recentchanges table. ...have user_real_name field in user table. ...querycache table already exists. ...objectcache table already exists. ...categorylinks table already exists. ...have pagelinks; skipping old links table updates ...il_from OK ...have rc_ip field in recentchanges table. ...index PRIMARY already set on image table. ...have rc_id field in recentchanges table. ...have rc_patrolled field in recentchanges table. ...logging table already exists. ...have user_token field in user table. ...have wl_notificationtimestamp field in watchlist table. ...watchlist talk page rows already present. ...user table does not contain user_emailauthenticationtimestamp field. ...page table already exists. ...have log_params field in logging table. ...logging table has correct log_title encoding. ...have ar_rev_id field in archive table. ...have page_len field in page table. ...revision table does not contain inverse_timestamp field. ...have rev_deleted field in revision table. ...have img_width field in image table. ...have img_metadata field in image table. ...have user_email_token field in user table. ...page_namespace is already a full int (int(11)). ...ar_namespace is already a full int (int(11)). ...rc_namespace is already a full int (int(11)). ...wl_namespace is already a full int (int(11)). ...qc_namespace is already a full int (int(11)). ...log_namespace is already a full int (int(11)). ...have img_media_type field in image table. ...already have pagelinks table. ...image table does not contain img_type field. ...already have unique user_name index. ...user_groups table exists and is in current format. ...have ss_total_pages field in site_stats table. ...user_newtalk table already exists. ...have iw_trans field in interwiki table. ...wl_notificationtimestamp is already nullable. ...index times already set on logging table. ...have ipb_range_start field in ipblocks table. ...no page_random rows needed to be set ...have user_registration field in user table. ...templatelinks table already exists ...externallinks table already exists. ...job table already exists. ...have ss_images field in site_stats table. ...langlinks table already exists. ...querycache_info table already exists. ...filearchive table already exists. ...have ipb_anon_only field in ipblocks table. ...have user_newpass_time field in user table. ...redirect table already exists. ...querycachetwo table already exists. ...have ipb_enable_autoblock field in ipblocks table. ...index pl_namespace on table pagelinks includes field pl_from. ...index tl_namespace on table templatelinks has no field tl_from; added. Updating backlinking indices ... An error occurred: Error 1091: Can t DROP INDEX `tl_namespace`; check that it exists (localhost) Function: Wikimedia\Rdbms\Database::sourceFile( /home/xxxxxx/public_html/wiki/maintenance/archives/patch-backlinkindexes.sql ) Query: ALTER TABLE `templatelinks`

DROP INDEX tl_namespace,
ADD INDEX tl_namespace(tl_namespace, tl_title, tl_from)

Reply4 hours ago

Reply to "Error 1091: Can't DROP INDEX `tl_namespace` trying to upgrade to 1.35.10"
MethePinkPeony (talkcontribs)

Hi! This error keeps popping up when I want to log in / edit...could someone please let me know what it means??


{{Blocked text|1=‪Daniel Case‬|2=Disruptive editing: same as before. [[Cool Hand Luke|3=2600:1017:b40a:bf5a:f939:cf21:eb8a:74a8|4=‪Daniel Case‬|5=15115336|6=02:46, 6 July 2025|7=‪2600:1017:B400:0:0:0:0:0/40‬|8=02:46, 6 July 2022 |usefullink1=Wikipedia:Blocking policy|Blocking policy |usefullink2=Help:I have been blocked }}

Tropicalkitty (talkcontribs)
Reply to "Error ??"

"LogicException: This ParserOutput contains no text!" while moving a page

4
WrOffi (talkcontribs)

While operating "Special:Movepage" on my wiki, MediaWiki reports this error output.

[b3d9824b43681dbc22c65592] /index.php?title=Special:%E7%A7%BB%E5%8A%A8%E9%A1%B5%E9%9D%A2&action=submit   LogicException: This ParserOutput contains no text!
Backtrace:
from /www/wwwroot/sonicwiki/includes/parser/ParserOutput.php(363)
 #0 /www/wwwroot/sonicwiki/includes/parser/ParserOutput.php(412): ParserOutput->getRawText()
 #1 /www/wwwroot/sonicwiki/extensions/Lingo/src/LingoParser.php(182): ParserOutput->getText()
 #2 /www/wwwroot/sonicwiki/extensions/Lingo/src/LingoParser.php(78): Lingo\LingoParser->realParse()
 #3 /www/wwwroot/sonicwiki/extensions/Lingo/src/Lingo.php(61): Lingo\LingoParser->parse()
 #4 /www/wwwroot/sonicwiki/includes/HookContainer/HookContainer.php(338): Lingo\Lingo::Lingo\{closure}()
 #5 /www/wwwroot/sonicwiki/includes/HookContainer/HookContainer.php(137): MediaWiki\HookContainer\HookContainer->callLegacyHook()
 #6 /www/wwwroot/sonicwiki/includes/HookContainer/HookRunner.php(1201): MediaWiki\HookContainer\HookContainer->run()
 #7 /www/wwwroot/sonicwiki/includes/content/ContentHandler.php(1736): MediaWiki\HookContainer\HookRunner->onContentAlterParserOutput()
 #8 /www/wwwroot/sonicwiki/includes/content/Renderer/ContentRenderer.php(47): ContentHandler->getParserOutput()
 #9 /www/wwwroot/sonicwiki/includes/Revision/RenderedRevision.php(266): MediaWiki\Content\Renderer\ContentRenderer->getParserOutput()
 #10 /www/wwwroot/sonicwiki/includes/Revision/RenderedRevision.php(237): MediaWiki\Revision\RenderedRevision->getSlotParserOutputUncached()
 #11 /www/wwwroot/sonicwiki/includes/Revision/RevisionRenderer.php(221): MediaWiki\Revision\RenderedRevision->getSlotParserOutput()
 #12 /www/wwwroot/sonicwiki/includes/Revision/RevisionRenderer.php(158): MediaWiki\Revision\RevisionRenderer->combineSlotOutput()
 #13 [internal function]: MediaWiki\Revision\RevisionRenderer->MediaWiki\Revision\{closure}()
 #14 /www/wwwroot/sonicwiki/includes/Revision/RenderedRevision.php(199): call_user_func()
 #15 /www/wwwroot/sonicwiki/extensions/TemplateData/includes/Hooks.php(99): MediaWiki\Revision\RenderedRevision->getRevisionParserOutput()
 #16 /www/wwwroot/sonicwiki/includes/HookContainer/HookContainer.php(338): MediaWiki\Extension\TemplateData\Hooks::onMultiContentSave()
 #17 /www/wwwroot/sonicwiki/includes/HookContainer/HookContainer.php(137): MediaWiki\HookContainer\HookContainer->callLegacyHook()
 #18 /www/wwwroot/sonicwiki/includes/HookContainer/HookRunner.php(2613): MediaWiki\HookContainer\HookContainer->run()
 #19 /www/wwwroot/sonicwiki/includes/Storage/PageUpdater.php(901): MediaWiki\HookContainer\HookRunner->onMultiContentSave()
 #20 /www/wwwroot/sonicwiki/includes/MovePage.php(997): MediaWiki\Storage\PageUpdater->saveRevision()
 #21 /www/wwwroot/sonicwiki/includes/MovePage.php(673): MovePage->moveToInternal()
 #22 /www/wwwroot/sonicwiki/includes/MovePage.php(520): MovePage->moveUnsafe()
 #23 /www/wwwroot/sonicwiki/includes/specials/SpecialMovepage.php(737): MovePage->moveIfAllowed()
 #24 /www/wwwroot/sonicwiki/includes/specials/SpecialMovepage.php(216): MovePageForm->doSubmit()
 #25 /www/wwwroot/sonicwiki/extensions/Translate/src/PageTranslation/MoveTranslatableBundleSpecialPage.php(155): MovePageForm->execute()
 #26 /www/wwwroot/sonicwiki/includes/specialpage/SpecialPage.php(701): MediaWiki\Extension\Translate\PageTranslation\MoveTranslatableBundleSpecialPage->execute()
 #27 /www/wwwroot/sonicwiki/includes/specialpage/SpecialPageFactory.php(1428): SpecialPage->run()
 #28 /www/wwwroot/sonicwiki/includes/MediaWiki.php(316): MediaWiki\SpecialPage\SpecialPageFactory->executePath()
 #29 /www/wwwroot/sonicwiki/includes/MediaWiki.php(904): MediaWiki->performRequest()
 #30 /www/wwwroot/sonicwiki/includes/MediaWiki.php(562): MediaWiki->main()
 #31 /www/wwwroot/sonicwiki/index.php(50): MediaWiki->run()
 #32 /www/wwwroot/sonicwiki/index.php(46): wfIndexMain()
 #33 {main}

System Versions:

MediaWiki 1.39.3
PHP 8.1.13 (fpm-fcgi)
MySQL 8.0.24
ICU 70.1
Lua 5.1.5
Pygments 2.11.2

I'm not sure how to resolve this problem, and I need help. Thanks a lot!

Bawolff (talkcontribs)
WrOffi (talkcontribs)

I resolved it by removing the following line from LocalSettings.php

wfLoadExtension( 'Lingo' );

I'll report this error to Extension_talk:Lingo anyway

Bawolff (talkcontribs)

I feel like i've heard this error message before, but i could be mistaken. I would also suggest trying the latest version of lingo to see if it got fixed recently.

Reply to ""LogicException: This ParserOutput contains no text!" while moving a page"
138.106.53.101 (talkcontribs)

info about installation

uname -a

Linux myserver 4.18.0-425.10.1.el8_7.x86_64 #1 SMP Wed Dec 14 16:00:01 EST 2022 x86_64 x86_64 x86_64 GNU/Linux


mediawiki-1.39.3.tar.gz


mysql --version

mysql  Ver 8.0.30 for Linux on x86_64 (Source distribution)


mysql> show engines;

+--------------------+---------+----------------------------------------------------------------+--------------+------+------------+

| Engine             | Support | Comment                                                        | Transactions | XA   | Savepoints |

+--------------------+---------+----------------------------------------------------------------+--------------+------+------------+

| FEDERATED          | NO      | Federated MySQL storage engine                                 | NULL         | NULL | NULL       |

| MEMORY             | YES     | Hash based, stored in memory, useful for temporary tables      | NO           | NO   | NO         |

| InnoDB             | DEFAULT | Supports transactions, row-level locking, and foreign keys     | YES          | YES  | YES        |

| PERFORMANCE_SCHEMA | YES     | Performance Schema                                             | NO           | NO   | NO         |

| MyISAM             | YES     | MyISAM storage engine                                          | NO           | NO   | NO         |

| MRG_MYISAM         | YES     | Collection of identical MyISAM tables                          | NO           | NO   | NO         |

| BLACKHOLE          | YES     | /dev/null storage engine (anything you write to it disappears) | NO           | NO   | NO         |

| CSV                | YES     | CSV storage engine                                             | NO           | NO   | NO         |

| ARCHIVE            | YES     | Archive storage engine                                         | NO           | NO   | NO         |

+--------------------+---------+----------------------------------------------------------------+--------------+------+------------+


This is the error message that i got.

The environment has been checked. You can install MediaWiki.

Setting up database

done

Creating tables, step one

Wikimedia\Rdbms\DBQueryError from line 1618 of /var/www/html/iwswiki/includes/libs/rdbms/database/Database.php: Error 3161: Storage engine MyISAM is disabled (Table creation is disallowed).

Function: Wikimedia\Rdbms\Database::sourceFile( /var/www/html/iwswiki/maintenance/tables-generated.sql )

Query: CREATE TABLE `searchindex` (

si_page INT UNSIGNED NOT NULL,

si_title VARCHAR(255) DEFAULT '' NOT NULL,

si_text MEDIUMTEXT NOT NULL,

UNIQUE INDEX si_page (si_page),

FULLTEXT INDEX si_title (si_title),

FULLTEXT INDEX si_text (si_text)

) ENGINE = MyISAM DEFAULT CHARSET = utf8

139.122.191.225 (talkcontribs)

isnt this database version supported?

139.122.191.225 (talkcontribs)

I changed to innodb in tables-generated.sql and it looks ok but idont know if this breaks anything

CREATE TABLE /*_*/searchindex (

  si_page INT UNSIGNED NOT NULL,

  si_title VARCHAR(255) DEFAULT '' NOT NULL,

  si_text MEDIUMTEXT NOT NULL,

  UNIQUE INDEX si_page (si_page),

  FULLTEXT INDEX si_title (si_title),

  FULLTEXT INDEX si_text (si_text)

) ENGINE = innodb DEFAULT CHARSET = utf8;

Bawolff (talkcontribs)

It should be fine. It is myisam by default for that table because old versions of mysql did not support fulltext indexes on innodb tables, and nobody ever changed mediawiki after support was added to mysql.

Reply to "Cant install db"

Mainpage & Preferences not usable

9
2003:EE:715:46AC:6CFE:D747:BE2C:9EA6 (talkcontribs)

Hi!


I've got my hands on an external wiki. after updating it to 1.39 i can't edit the mainpage, also the preferences (user settings) of the admin account are all grey and not usable.


Greetings

Malyacko (talkcontribs)

Why can't you edit the main page? What does happen?

2003:EE:715:46AC:991B:C01:A1A5:D5D0 (talkcontribs)

There is no "edit" button. I only can see the source code. Other pages i can edit.

The mainpage must be locked, but i have no permission to unlock it.

As Admin, i'm within the sysop & bureaucrat group.

Bawolff (talkcontribs)

If you go to view source, is there a message on it explaining why you can only view source?

2003:EE:713:7BF7:BD15:A833:5ECB:594B (talkcontribs)

"You do not have permission to edit this page for the following reason:

This page has been protected to prevent editing and other actions."

2003:EE:713:7BF7:DC2E:5257:BDC9:68B7 (talkcontribs)

If i try to unprotect the page, i've got the error:

"You do not have the permission."

But why? I'm User #1 with SysOP & Buraeaucrat permissions.

In the LocalSettings the permissions for both is okay.


Same goes for the settings.

LocalSettings permissions are all ok, but nothing can be edited.

All is outlined and non clickable.

Bawolff (talkcontribs)

If you look at the page Special:listgrpuprights on your wiki, are the rights what you think they are? Do admins have editprotected rights?

2003:EE:713:7BF7:40B8:C1F1:6265:B53E (talkcontribs)

Ah, that was the mistake. The admins don't have the editprotect rights. Thanks.

So, i only must get the the settings usable. Any ideas? Lacking rights?

Bawolff (talkcontribs)

They have editprotected rights by default, so I would suggest removing the config taking away those rights.

Reply to "Mainpage & Preferences not usable"