I want to insert templates on bottom of every pages.
However, I would like to exclude some pages. For example, document Front Page.
What should I do?
Welcome to the MediaWiki Support desk, where you can ask MediaWiki questions!
(Read this message in a different language)
|
Text is available under the Creative Commons Attribution-ShareAlike License; additional terms may apply. See Terms of Use for details.
I want to insert templates on bottom of every pages.
However, I would like to exclude some pages. For example, document Front Page.
What should I do?
I am recieving this Internal Error - [YbH5qyUNH_vBtE6nESg2fgAAiAA] 2021-12-09 12:42:19: Fatal exception of type "CannotCreateActorException"
I am trying to verify a new account in the instance I have installed. Tried Google and a few other places with no luck.
The process is i go to a special page, review the new account, create the account and that is when the error appears.
I would be thankful for any assistance.
Steve Fulton, UE
To get a more detailed error report, in your LocalSettings.php, set:
$wgShowExceptionDetails = true;
$wgDevelopmentWarnings = true; error_reporting( -1 ); ini_set( 'display_errors', 1);
For details see: Manual:How to debug (Setting up a debug log file).
Regarding the present problem, Topic:Veff5il64wcsw87l might be relevant.
[YbINUv6o1oGWX-wzmrLcLwABzQc] /mw19/index.php?title=Special:CreateAccount&returnto=Special:ConfirmAccounts/authors CannotCreateActorException: Failed to create actor ID for user_id=6 user_name="David T1423"
Backtrace:
from /home/ch/public_html/mw19/includes/user/ActorStore.php(439)
#0 /home/ch/public_html/mw19/includes/user/User.php(3549): MediaWiki\User\ActorStore->acquireActorId(MediaWiki\User\UserIdentityValue, Wikimedia\Rdbms\DatabaseMysqli)
#1 /home/ch/public_html/mw19/includes/libs/rdbms/database/Database.php(4782): User->{closure}(Wikimedia\Rdbms\DatabaseMysqli, string)
#2 /home/ch/public_html/mw19/includes/libs/rdbms/database/DBConnRef.php(68): Wikimedia\Rdbms\Database->doAtomicSection(string, Closure)
#3 /home/ch/public_html/mw19/includes/libs/rdbms/database/DBConnRef.php(668): Wikimedia\Rdbms\DBConnRef->__call(string, array)
#4 /home/ch/public_html/mw19/includes/user/User.php(3551): Wikimedia\Rdbms\DBConnRef->doAtomicSection(string, Closure)
#5 /home/ch/public_html/mw19/includes/auth/AuthManager.php(1493): User->addToDatabase()
#6 /home/ch/public_html/mw19/includes/auth/AuthManager.php(1217): MediaWiki\Auth\AuthManager->continueAccountCreation(array)
#7 /home/ch/public_html/mw19/includes/specialpage/AuthManagerSpecialPage.php(376): MediaWiki\Auth\AuthManager->beginAccountCreation(User, array, string)
#8 /home/ch/public_html/mw19/includes/specialpage/AuthManagerSpecialPage.php(502): AuthManagerSpecialPage->performAuthenticationStep(string, array)
#9 /home/ch/public_html/mw19/includes/htmlform/HTMLForm.php(718): AuthManagerSpecialPage->handleFormSubmit(array, VFormHTMLForm)
#10 /home/ch/public_html/mw19/includes/specialpage/AuthManagerSpecialPage.php(435): HTMLForm->trySubmit()
#11 /home/ch/public_html/mw19/includes/specialpage/LoginSignupSpecialPage.php(318): AuthManagerSpecialPage->trySubmit()
#12 /home/ch/public_html/mw19/includes/specialpage/SpecialPage.php(647): LoginSignupSpecialPage->execute(NULL)
#13 /home/ch/public_html/mw19/includes/specialpage/SpecialPageFactory.php(1366): SpecialPage->run(NULL)
#14 /home/ch/public_html/mw19/includes/MediaWiki.php(314): MediaWiki\SpecialPage\SpecialPageFactory->executePath(string, RequestContext)
#15 /home/ch/public_html/mw19/includes/MediaWiki.php(925): MediaWiki->performRequest()
#16 /home/ch/public_html/mw19/includes/MediaWiki.php(559): MediaWiki->main()
#17 /home/ch/public_html/mw19/index.php(53): MediaWiki->run()
#18 /home/ch/public_html/mw19/index.php(46): wfIndexMain()
#19 {main}
Regarding the present problem, Topic:Veff5il64wcsw87l might be relevant. - Same error.
Steve
Hi! I am new here. I have not installed any MediaWiki yet.
Are the following things possible?
(1) at the end of a wiki article or page to have a conversation thread just like what we are doing right now?
(2) in the middle of an article or page to have a conversation thread?
(3) let individual users make comments like youtube, the guardian, Financial Times, etc? Is that possible ? I presume this is only possible at the end of an article.
Thanks a million!
Comments at the end of the page is doable, see Extension:CommentStreams. In the middle of the content I'm not sure. Maybe Extension:Comments can do this..
MediaWiki 136.1.
I want to show a link to a random page in my homepage.
I can use the template Special:Randompage
But, I want the link name to be the same as that of the linked article.
How to do that?
Don't think this feature exists yet. The closest I found is Topic:Rhob3ifpjmg5tamh.
Hi,
We have installed mediawiki1.26.4 4 years ago and our site working without any issues until now. From 12/06/2021 we are seeing the above file. We have checked the LocalSettings.php there in the root folder. But still we are getting the error. Need your help.
MediaWiki 1.26 went end of life in early 2017. Please update to a supported version.
Hi
on this page https://es.wikipedia.org/wiki/Metro_de_la_Ciudad_de_Mexico
you see an infobox on the right. On its titel with the red background you see a small icon on the right. I havent been able to understand where this icon is commong from, where its been implemented.
can someone help?
Loading c:File:Infobox_Public_Transport.png is defined in the CSS class "cabecera.transporte" which is located in w:es:MediaWiki:Gadget-imagenesinfobox.css. You can find out by using the "debug=true" URL parameter and checking your browser's developer tools.
thx a lot! can you also tell me, where MediaWiki:Gadget-imagenesinfobox.css is being called?
per https://es.wikipedia.org/wiki/Especial:Accesorios its enabled by default so its called automatically
you say its enabled by default. Could it be that it is disabled on my wiki?
I am trying to build my own mediawiki using wikibase and all the rest. Its not meant for anything, only for me to understand and get into mediawiki.
Everything is working just fine. The page on my wiki looks identicaly to the original on wikipedia. Only the png I mentioned is not there
I do have imported imagenesinfobox and imagenesinfobox.css. When I open the original page and inspect it, I see a bunch of cabecera parameter, also "cabecera.transporte". The latter calls for the png
.cabecera.transporte {
background:url("//upload.wikimedia.org/wikipedia/commons/3/31/Infobox_Public_Transport.png") no-repeat top right
}
nevertheless, on my page I dont see any cabecera parameters.
> you say its enabled by default. Could it be that it is disabled on my wiki?
The user preference (gadget) is enabled by default only on es wikipedia. It would not be enabled by default (or even exist) on your wiki unless you created.
By default i just mean the user preference starts out being checked on Special:preferences, not that it is a default part of mediawiki.
See extension:gadgets for more info.
I am using the mw.Api() call for uploading a file. It often works but sometimes fails. In the failure cases I only get back the name of the file instead of a detailed error message. How can I find out about the reason fo the error?
var param = {fileInput, format: 'json', comment, errorformat:"raw"};
var api = new mw.Api();
api.upload( fileInput, param )
.done( function ( data ) {console.log ("API upload returned ", JSON.stringify (data));} )
.fail( function ( data ) {console.log ("upload failed: ", JSON.stringify (data))} )
The fail call in data returns only the name of the file. How come?
Hey MediaWiki API users, I'm trying to retrieve Wikipedia Categories with certain strings in the title (srwhat=title) using this query:
But it seem search-title is disabled, any ideas of what I could do differently?
Use intitle: operator in the general search field (not the title field).
Help:CirrusSearch might be helpful
In the article at https://en.wikipedia.org/wiki/Angela_Davis, the top of infobox is flush with the first line of text. In mobile view, however, it is flush with the second paragraph. How do I this on my wiki without the Infobox template from WP which requires setting up several extensions, scripts, etc.? Is there a simple way to do this?
mediawiki is trying to parse a bunch of my .png files instead of just displaying the picture....any thoughts?
Warning: Unexpected character in input: '�' (ASCII=28) state=0 in (removed).png on line 814
Parse error: in (removed).png on line 814
This means your webserver is configured to parse all files on the server as PHP files. This is bad and a security risk. Only .php files should be processed by PHP!
This has nothing to do with MediaWiki, btw.