Project:Support desk

Jump to navigation Jump to search

About this board

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

(Read this message in a different language)

See also

Other places to ask for help:

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".
79.210.43.125 (talkcontribs)

i just downloaded the file and now... what? it may seem stupid but: how can i use the wiki for my company?

Fokebox (talkcontribs)
Bawolff (talkcontribs)

You need a web host. (E.g. dreamhost, aws, rackspace,etc)

Fokebox (talkcontribs)

And by domain name for your wiki

Reply to "installing"
Suzzie2 (talkcontribs)

In our Wiki, there are several instances in the Wanted Pages section where it claims a group of articles link back to a deleted article, despite all links being purged from said pages.


Example would be that there was once a page named "The Fairy's Wing". Mediawiki claims that there is a hyperlink on 21 pages, but none of them even have those three words.

Currently on MediaWiki version 1.35.1

Suzzie2 (talkcontribs)
Bawolff (talkcontribs)

Hmm. Looks like a job didnt get executed at one point.

some options:

  • You could try making a null edit (where you add a newline to end of page) to all pages alleged to link there
  • you can use Api:Purge to purge cache via api (i just tested that with Greenface article and it worked). Make sure linkupdates option is on
  • you can run refreshLinks.php (generally slow if you have lots of articles)
Suzzie2 (talkcontribs)

Hey, thank you for your response! Can you show me what you ran for Greenface? I'm trying to understand what to enter where, and the example for Api:Purge that MediaWiki provides is flying straight over my head.

Bawolff (talkcontribs)
Reply to "Wanted Pages ghost entries"

Settings, there are NO boxes to check for several areas, and I do NOT want Surname in Uppercase

2
2601:647:C803:1E20:244E:9EF2:5CE6:480D (talkcontribs)

Under General Settings, these help pages show a box to be checked for Surname Uppercase, Enable FamilySearch and Problem Alerts. But on my computer, there are NO boxes showing at all in these areas. The program is not allowing me to uncheck the unseen box for Surname Uppercase / Display surnames uppercase. I do not like surnames in uppercase and have never used that feature. In RootsMagic ver 7, it was turned off. I do not know what is wrong, I can not get it to change to NORMAL, showing of surnames; ie: Kester vs the uppercase of KESTER. It did not transfer from my ver 7 settings, and as I already pointed out there are NO boxes showing as are shown in your examples, so there is no box to UN-check to turn this feature off. Can this please be either corrected in a program update, or can someone please advise how to disable this feature, Please! little ps: This MediaWiki is not currently letting me log in with my old user name and password, nor is it letting me open a new account, so it is showing me that it will add this topic anonymously.

Bawolff (talkcontribs)

I think you're in the wrong place. I don't know which website you are talking about but it doesn't sound like mediawiki.

Reply to "Settings, there are NO boxes to check for several areas, and I do NOT want Surname in Uppercase"

Add page with JSON content model to category

1
Tol (talkcontribs)

Hello! How would a page with content model JSON be added to a category? Thanks!

Reply to "Add page with JSON content model to category"
Thepainking (talkcontribs)

Hi everyone.

Whenever I go on my wiki or make any changes to my wiki pages i get redirected and receive a message that suddenly started today:

Bad title

The requested page title is too long. It must be no longer than 255 bytes in UTF-8 encoding.


Can anyone explain to me what this means and how i can resolve it?

TIA

Bawolff (talkcontribs)

Error is saying pagd title is too long.

What is the name of the page you are editing.

Could be some issue with rewrite rules or proxy servers if you have that set up.

Thepainking (talkcontribs)

encyclopediaoftouchbodysenseandpain.com


I have noticed that when you type this in the URL address bar it gets repeated several times and becomes unnecessarily lengthy. I am not sure why...????

Ciencia Al Poder (talkcontribs)

Looks like you have a rewrite rule in place that adds /Main_Page at the start of the URL everytime

Thepainking (talkcontribs)

what does that actually mean, "rewrite rule"?


Also i added that to the URL to try and solve the problem but it didnt work. im going to change it back to its original

Thepainking (talkcontribs)

i figured it out and it has been fixed. thanks everyone for their assistance!

What is the use of the category "Dual template Parameters" ?

2
83.81.245.170 (talkcontribs)

I noticed many pages with the category "Dual template Parameters" (actually 'dubbele sjabloonparameters') This seems to be related to the use of a so called infobox is there any use or is it a bug in some template?

Ciencia Al Poder (talkcontribs)

This happens when one of the templates uses the same parameter name twice. This is an error, because only the last parameter with the same name will be used, meaning your editors may get confused as to why the parameter they're editing doesn't change in the template.

Reply to "What is the use of the category "Dual template Parameters" ?"

Importing a page with templates doesn't work properly

2
Hyperreview (talkcontribs)

In a staging environment I've imported this page from Wikipedia.it, but I get many errors. I've been playing with template errors since a few days, but I can't clearly understand how MediaWiki is thought to work. Can you help me to understand where to to start to look for fixing disambiguation error?

My blog is wordpress-251650-782015.cloudwaysapps.com/wiki/Cheeta

Ciencia Al Poder (talkcontribs)
Reply to "Importing a page with templates doesn't work properly"

translate : regression in the display of items to translate

4
Summary by Wladek92

done.

Wladek92 (talkcontribs)

Hi all, I always use skin Vector and in my preferences, the "police style in modification area" I chosed -> Fixed case (i.e. style Courrier)

When I go to the list of items to translate via => Special:Translate

the text appears in the font of the page (police without serif) as always => ok. When I click on an item to translate it, BOTH the english text AND the text of the modification area appear now in fixed case (in previous versions ONLY the translated text was concerned and the english text remain in police without serif).

Regression:

  • font of english text MUST not be changed since it is NOT concerned by the preference option
  • font of english text must remain the reference of what is displayed on the web page
  • lost of immediate visual performance about the text i translate (the EN origin, the FR target)
  • lose of space ont the page - in this case

Nb: skin Vector new or old dont solve the problem.

Any idea ?

Christian 🇫🇷 FR (talk) 10:53, 6 October 2021 (UTC)

Malyacko (talkcontribs)
Wladek92 (talkcontribs)

If it was intentional :-( ...

Welcome to the proposed workaround  :-) "If you absolutely do want a monospace editor and a sans-serif source message, add the following to your common.css."  :

.mw-special-Translate .sourcemessage.mw-editfont-monospace {
   font-family: inherit;
}

Christian 🇫🇷 FR (talk) 16:48, 8 October 2021 (UTC)

Wladek92 (talkcontribs)

well done, it works when creating user common.css subpage with the proposed contents - previous aspect has been restored !

Thanks.

Christian 🇫🇷 FR (talk) 16:57, 8 October 2021 (UTC)

PDFEmbed not working in mw 1.35.3

5
Pooja2425 (talkcontribs)

HI ,

Product Version
MediaWiki 1.35.3
PHP 7.4.23 (apache2handler)
MySQL 8.0.26
Lua 5.1.5
Elasticsearch

when using PDFEmbed giving error " Call to undefined method Parser::disableCache() ", error given below.

<pdf height=800 width=800>CARBONATE_SEISMIC_CHECKLIST.pdf</pdf>

<embed>CARBONATE_SEISMIC_CHECKLIST.pdf</embed>

same file coming with simple embed extension, but not from <pdf> tag.

since we are using <pdf></pdf> tag into 1000+ pages. we cannot change manually.

pls suggest any supporting extension to support <pdf></pdf> tag.

or give working extenison PDFEmbed.

[YUNWMeVcOnGQwRm0xefEugAAAAI] /wiki/index.php/Discipline/Prospect_evaluation Error from line 39 of /data/www/html/wiki/extensions/PDFEmbed/PDFEmbed.hooks.php: Call to undefined method Parser::disableCache()

Backtrace:

#0 /data/www/html/wiki/includes/parser/Parser.php(3922): PDFEmbed::generateTag()

#1 /data/www/html/wiki/includes/parser/PPFrame_Hash.php(330): Parser->extensionSubstitution()

#2 /data/www/html/wiki/includes/parser/Parser.php(2887): PPFrame_Hash->expand()

#3 /data/www/html/wiki/includes/parser/Parser.php(1556): Parser->replaceVariables()

#4 /data/www/html/wiki/includes/parser/Parser.php(651): Parser->internalParse()

#5 /data/www/html/wiki/includes/content/WikitextContent.php(374): Parser->parse()

#6 /data/www/html/wiki/includes/content/AbstractContent.php(590): WikitextContent->fillParserOutput()

#7 /data/www/html/wiki/includes/Revision/RenderedRevision.php(263): AbstractContent->getParserOutput()

#8 /data/www/html/wiki/includes/Revision/RenderedRevision.php(235): MediaWiki\Revision\RenderedRevision->getSlotParserOutputUncached()

#9 /data/www/html/wiki/includes/Revision/RevisionRenderer.php(215): MediaWiki\Revision\RenderedRevision->getSlotParserOutput()

#10 /data/www/html/wiki/includes/Revision/RevisionRenderer.php(152): MediaWiki\Revision\RevisionRenderer->combineSlotOutput()

#11 [internal function]: MediaWiki\Revision\RevisionRenderer->MediaWiki\Revision\{closure}()

#12 /data/www/html/wiki/includes/Revision/RenderedRevision.php(197): call_user_func()

#13 /data/www/html/wiki/includes/poolcounter/PoolWorkArticleView.php(216): MediaWiki\Revision\RenderedRevision->getRevisionParserOutput()

#14 /data/www/html/wiki/includes/poolcounter/PoolCounterWork.php(162): PoolWorkArticleView->doWork()

#15 /data/www/html/wiki/includes/page/Article.php(810): PoolCounterWork->execute()

#16 /data/www/html/wiki/includes/actions/ViewAction.php(74): Article->view()

#17 /data/www/html/wiki/includes/MediaWiki.php(527): ViewAction->show()

#18 /data/www/html/wiki/includes/MediaWiki.php(313): MediaWiki->performAction()

#19 /data/www/html/wiki/includes/MediaWiki.php(940): MediaWiki->performRequest()

#20 /data/www/html/wiki/includes/MediaWiki.php(543): MediaWiki->main()

#21 /data/www/html/wiki/index.php(53): MediaWiki->run()

#22 /data/www/html/wiki/index.php(46): wfIndexMain()

#23 {main}

Malyacko (talkcontribs)
Pooja2425 (talkcontribs)

Hi ,

It works only for <pdf>test.pdf</pdf> not for filepath under <pdf> tag.

<pdf width="600" height="450">{{filepath:test.pdf|nowiki}}</pdf>

some pages includes pdf like this, where error came.ie. ⧼embed_pdf_invalid_relative_domain⧽

its working under 1.31.x but not in 1.35.x

pls suggest ,

Malyacko (talkcontribs)

@Pooja2425 I already suggested: Read the link that I pasted.

Pooja2425 (talkcontribs)

HI @Malyacko,

I have checked your given link, its working for <pdf>test.pdf</pdf> .

Not working if file linked like this <pdf width="600" height="450">{{filepath:test.pdf|nowiki}}</pdf>

in this case giving error ⧼embed_pdf_invalid_relative_domain⧽.


pls suggest any solution for this error.

Reply to "PDFEmbed not working in mw 1.35.3"

Table of contents for category page

9
Thepainking (talkcontribs)

Can someone please advise me on how to add an extension that applies a table of contents to the category page of my wiki? I've tried to figure it out on my own with templates but i'm not quite understanding how to add this template and whether an extension is needed. Any advise, even if coding is required, would be great help and much appreciated. Thanks.

Gib Senf dazu! (talkcontribs)

Good news: No extension needed.

Have a look at w:en:Template:Category TOC and how it is transcluded in some categories.

Since the description page has no knowledge how many entries are visible on the generated result below, and the description page is always the same for all result sets, such table of contents can be used only to start the result set at some point. You can navigate to entries with sort key beginning with Q for example.

There is no way to navigate to certain sections within a result page, the section headlines are not equipped with the necessary id="" attribute. Since it is unpredictable which sections appear in some 200 results they are not supposed to be targetted.

More templates at w:en:Category:Wikipedia category table of contents templates.

Thepainking (talkcontribs)

I've tried to add the template with the parameters mentioned in the link above. However, it does not seem to work. It comes up as a red link to the template but never creates the TOC. Am i doing something wrong? or is there a step missing?

PerfektesChaos (talkcontribs)

Did you make a copy of that template source within your own wiki?

If not yet please do not forget to mention the origin in the summary.

This post was hidden by Ciencia Al Poder (history)
Thepainking (talkcontribs)

figured it out. thanks!

Thepainking (talkcontribs)

Good morning. Hope all is well. So I had solved this problem 9 months ago and everything was working great with the table of contents for my category until suddenly this morning. I am currently getting this on my category page without any changes made:


[encyclopediaoftouchbodysenseandpain.com/Category:Encyclopedia_of_Touch,_Body_Sense_and_Pain Top] [encyclopediaoftouchbodysenseandpain.com/index.php?title=Category:Encyclopedia_of_Touch,_Body_Sense_and_Pain&from=A A] [encyclopediaoftouchbodysenseandpain.com/index.php?title=Category:Encyclopedia_of_Touch,_Body_Sense_and_Pain&from=B B] [encyclopediaoftouchbodysenseandpain.com/index.php?title=Category:Encyclopedia_of_Touch,_Body_Sense_and_Pain&from=C C] [encyclopediaoftouchbodysenseandpain.com/index.php?title=Category:Encyclopedia_of_Touch,_Body_Sense_and_Pain&from=D D] [encyclopediaoftouchbodysenseandpain.com/index.php?title=Category:Encyclopedia_of_Touch,_Body_Sense_and_Pain&from=E E] [encyclopediaoftouchbodysenseandpain.com/index.php?title=Category:Encyclopedia_of_Touch,_Body_Sense_and_Pain&from=F F] [encyclopediaoftouchbodysenseandpain.com/index.php?title=Category:Encyclopedia_of_Touch,_Body_Sense_and_Pain&from=G G] [encyclopediaoftouchbodysenseandpain.com/index.php?title=Category:Encyclopedia_of_Touch,_Body_Sense_and_Pain&from=H H] [encyclopediaoftouchbodysenseandpain.com/index.php?title=Category:Encyclopedia_of_Touch,_Body_Sense_and_Pain&from=I I] [encyclopediaoftouchbodysenseandpain.com/index.php?title=Category:Encyclopedia_of_Touch,_Body_Sense_and_Pain&from=J J] [encyclopediaoftouchbodysenseandpain.com/index.php?title=Category:Encyclopedia_of_Touch,_Body_Sense_and_Pain&from=K K] [encyclopediaoftouchbodysenseandpain.com/index.php?title=Category:Encyclopedia_of_Touch,_Body_Sense_and_Pain&from=L L] [encyclopediaoftouchbodysenseandpain.com/index.php?title=Category:Encyclopedia_of_Touch,_Body_Sense_and_Pain&from=M M] [encyclopediaoftouchbodysenseandpain.com/index.php?title=Category:Encyclopedia_of_Touch,_Body_Sense_and_Pain&from=N N] [encyclopediaoftouchbodysenseandpain.com/index.php?title=Category:Encyclopedia_of_Touch,_Body_Sense_and_Pain&from=O O] [encyclopediaoftouchbodysenseandpain.com/index.php?title=Category:Encyclopedia_of_Touch,_Body_Sense_and_Pain&from=P P] [encyclopediaoftouchbodysenseandpain.com/index.php?title=Category:Encyclopedia_of_Touch,_Body_Sense_and_Pain&from=Q Q] [encyclopediaoftouchbodysenseandpain.com/index.php?title=Category:Encyclopedia_of_Touch,_Body_Sense_and_Pain&from=R R] [encyclopediaoftouchbodysenseandpain.com/index.php?title=Category:Encyclopedia_of_Touch,_Body_Sense_and_Pain&from=S S] [encyclopediaoftouchbodysenseandpain.com/index.php?title=Category:Encyclopedia_of_Touch,_Body_Sense_and_Pain&from=T T] [encyclopediaoftouchbodysenseandpain.com/index.php?title=Category:Encyclopedia_of_Touch,_Body_Sense_and_Pain&from=U U] [encyclopediaoftouchbodysenseandpain.com/index.php?title=Category:Encyclopedia_of_Touch,_Body_Sense_and_Pain&from=V V] [encyclopediaoftouchbodysenseandpain.com/index.php?title=Category:Encyclopedia_of_Touch,_Body_Sense_and_Pain&from=W W] [encyclopediaoftouchbodysenseandpain.com/index.php?title=Category:Encyclopedia_of_Touch,_Body_Sense_and_Pain&from=X X] [encyclopediaoftouchbodysenseandpain.com/index.php?title=Category:Encyclopedia_of_Touch,_Body_Sense_and_Pain&from=Y Y] [encyclopediaoftouchbodysenseandpain.com/index.php?title=Category:Encyclopedia_of_Touch,_Body_Sense_and_Pain&from=Z Z]


can somoene please help and explain why this suddenly happened and how i can resolve this immediately? TIA

PerfektesChaos (talkcontribs)

@Thepainking: Apparently during recent months someone has modified your site configuration from

  • //www.encyclopediaoftouchbodysenseandpain.com

to

  • encyclopediaoftouchbodysenseandpain.com

You might remedy that by exchanging in Template:Category TOC all occurrences of fullurl with canonicalurl.

This will make that template work again, but a huge pile of system programming is relying on the same issue. This will cause other errors in other places. The root event needs to be identified and reverted.

In this wiki,

The purpose, two decades ago, has been to create links in the same protocol scheme http or https (security mode) the reader used for presentation of this page. fullurl will keep that protocol, while canonicalurl unconditionally links to the standard mode of that site. However, the double slash is crucial for URL of external links.

BTW, in template history I fail to see the URL of the WMF page from which you have retrieved the source code – “do not forget to mention the origin in the summary” I wrote above. This causes pain, your majesty.

Thepainking (talkcontribs)

To be honest, I do not know what all this means haha. This is way out of my expertise but thank you for your response. I will find a way to try and understand all this. I will also put the source of the TOC in my summary as soon as i resolve this problem. Sorry about that.

Reply to "Table of contents for category page"