Where do I go to report images that are inappropriate?
Project:Support desk
Not here. This is a software project support forum.
Hi, please can someone with the translation rights, mark this page Edit_check/Configuration for translation? Thanks!
Hi, I am interested in creating a digital archive/ database of photographs taken by anyone around the world. The images will require specific content criteria. The uploading / collection of the images needs to be as easy as possible. once collected the images will need some cataloguing references and possibly have a geographic location. Do you have any service or suggestion which can help my case/ project? Thank you very much for the help. Best regards, C.
Wikitext:
[[File:....png|class="ImageClass"]]
Instead of setting the class of the <img> element,
the codes above generated something like this:
<span class="mw-default-size ImageClass" typeof="mw:File"><a href="....png" class="mw-file-description"><img src="....png" decoding="async" width="512" height="512" class="mw-file-element"></a></span>
And I can't change the size of the image by css
That sounds like its working as intended.
Thank you very much.
So does this mean that I cannot change the class of the generated img
element by specifying it in the wiki link?
Perhaps I've misunderstood, but the page Help:Images - MediaWiki said that:
- class={html class} — (MediaWiki 1.20+) Defines classes (maps to the HTML attribute
class="..."
of the generated<img />
element).
I've also tried use .ImageClass img
but it was the same. I guess it's because the span tag.
! I find that mediawiki support div tag so now it's solved
Thank you
Hi! I am making an MediaWiki for a project for a school project. When i upload an image, it doesn't show. It says "Error: Could not load image from (location of the file). When i click the link, it shows an Apache error saying "Not found", but the file is on the folder
I am using Ubuntu, running Apache (PHP 8.1) and MariaDB as database
Thanks everyone!
HI,
we're currently upgrading from existing Wiki v1.35.3 (LTS ) to following new Wiki v1.39.4(LTS)
Ideally it should display login page until unless we configure LDAPAuthentication setup.
But, we don't see the login page anymore and this new wiki version allow us to visit any of pages. Please guide us on same.
Installed software
Product Version
MediaWiki 1.39.4
PHP 8.0.25 (apache2handler)
MySQL 8.0.26
ICU 71.1
Lua 5.1.5
Pygments 2.11.2
Elasticsearch 7.10.2
Are there any additional extensions enabled? Maybe leftovers from the old installation?
yes only the default extensions coming with the mediawiki package. Even i have disabled kerberos/SSO for this newly installed instance. but, I could see same result after apache restart.
We do use LDAPAuthentication extension with the existing Wiki 1.35.3 version . So pls help us the detailed steps to configure with the new LDAPAuthentication2.
Check out LDAP_hub/Migration_from_extension_LDAPAuthentication for a start please. Com back if you need additional help.
Someone is spamming me deliberately and has locked the page, how can this be fixed?
there is not enough info here (what page? Who are you? What website?) to say anything.
However it is probably an off topic question.
Hi! For the past month, I've been using 'Memcached' and since then, occasionally when retrieving an article, the error message 'Internal Error: Fatal exception of type "LogicException" appears. When I reload the page, the error disappears. What could be causing this? The error seems to occur arbitrarily, whether it's an article, special page, or image. Through analytics, I've seen that the error appears maybe once in every 1000 retrievals.
Software | Version |
---|---|
MediaWiki | 1.39.0 |
PHP | 8.1.14 (fpm-fcgi) |
MariaDB | 10.6.11-MariaDB-1:10.6.11+maria~ubu1804 |
ICU | 60.2 |
Pygments | 2.11.2 |
and I am not seeing the cause in the logs. Now I set $wgShowExceptionDetails to true. Perhaps someone already has an idea... Or could it be due to PHP 8? Thanks!
Its unlikely to be due to php8. It would really help to know the full details of the exception
I don't know if this may be the same issue, but the "LogicException" appears occasionally on several wikis running different versions (1.35, 1.37, 1.38...) and all report sporadic random errors with the message "LogicException: Process cache for 'en' should be set by now", which is reported as phab:T258860.
This is the ShowExceptionDetails
LogicException: Process cache for 'de' should be set by now.
Backtrace:
from /var/www/vhosts/EXAMPLE-wiki.de/MediaWiki/includes/language/MessageCache.php(440)
#0 /var/www/vhosts/EXAMPLE-wiki.de/MediaWiki/includes/language/MessageCache.php(318): MessageCache->loadUnguarded()
#1 /var/www/vhosts/EXAMPLE-wiki.de/MediaWiki/includes/language/MessageCache.php(1162): MessageCache->load()
#2 /var/www/vhosts/EXAMPLE-wiki.de/MediaWiki/includes/language/MessageCache.php(1089): MessageCache->getMsgFromNamespace()
#3 /var/www/vhosts/EXAMPLE-wiki.de/MediaWiki/includes/language/MessageCache.php(1060): MessageCache->getMessageForLang()
#4 /var/www/vhosts/EXAMPLE-wiki.de/MediaWiki/includes/language/MessageCache.php(1002): MessageCache->getMessageFromFallbackChain()
#5 /var/www/vhosts/EXAMPLE-wiki.de/MediaWiki/includes/language/Message.php(1473): MessageCache->get()
#6 /var/www/vhosts/EXAMPLE-wiki.de/MediaWiki/includes/language/Message.php(970): Message->fetchMessage()
#7 /var/www/vhosts/EXAMPLE-wiki.de/MediaWiki/includes/language/Message.php(1053): Message->format()
#8 /var/www/vhosts/EXAMPLE-wiki.de/MediaWiki/includes/specialpage/SpecialPage.php(787): Message->text()
#9 /var/www/vhosts/EXAMPLE-wiki.de/MediaWiki/includes/specialpage/SpecialPage.php(676): SpecialPage->getDescription()
#10 /var/www/vhosts/EXAMPLE-wiki.de/MediaWiki/extensions/RottenLinks/includes/SpecialRottenLinks.php(8): SpecialPage->setHeaders()
#11 /var/www/vhosts/EXAMPLE-wiki.de/MediaWiki/includes/specialpage/SpecialPage.php(701): SpecialRottenLinks->execute()
#12 /var/www/vhosts/EXAMPLE-wiki.de/MediaWiki/includes/specialpage/SpecialPageFactory.php(1428): SpecialPage->run()
#13 /var/www/vhosts/EXAMPLE-wiki.de/MediaWiki/includes/MediaWiki.php(316): MediaWiki\SpecialPage\SpecialPageFactory->executePath()
#14 /var/www/vhosts/EXAMPLE-wiki.de/MediaWiki/includes/MediaWiki.php(904): MediaWiki->performRequest()
#15 /var/www/vhosts/EXAMPLE-wiki.de/MediaWiki/includes/MediaWiki.php(562): MediaWiki->main()
#16 /var/www/vhosts/EXAMPLE-wiki.de/MediaWiki/index.php(50): MediaWiki->run()
#17 /var/www/vhosts/EXAMPLE-wiki.de/MediaWiki/index.php(46): wfIndexMain()
#18 {main}
Any idea? Memcached problem?
Sometimes this is caused by extensions trying to initialize stuff before mediawiki is ready.
Do you have any non default config set for localisation cache in LocalSettings.php?
@Bawolff: My memory settings
$wgMainCacheType = CACHE_MEMCACHED;
$wgParserCacheType = CACHE_MEMCACHED; // optional
$wgMessageCacheType = CACHE_MEMCACHED; // optional
$wgMemCachedServers = [ '127.0.0.1:11211' ];
$wgSessionCacheType = CACHE_MEMCACHED; // optional
$wgPHPSessionHandling = 'enable';
$wgCachePages = true;
$wgCacheEpoch = '20030516000000';
$wgRevisionCacheExpiry = 86400 * 7;
$wgParserCacheExpireTime = 2592000;
$wgResourceLoaderMaxage = [];
$wgDiff = '/usr/bin/diff';
$wgDiff3 = '/usr/bin/diff3';
$wgMemoryLimit = "50M";
$wgCacheDirectory = "$IP/cache";
$wgEnableSidebarCache = true;
Those look pretty normal. (50 mb is a really small memory limit, but that wouldn't cause this problem)
If you disable all extensions does it still happen?
While me, I try going to Rarewiki but all it shows is : [708b7b0f69dcf049da7804f9] 2023-09-02 08:37:15: Fatal exception of type "LogicException". Do you think it will be fixed later or do we have to wait for a few days, weeks, months or years until the issue is resolved ?
Rarewiki works for me.
4 weeks later : [5b4bd19c4cdc454c8dbbeea8] 2023-09-30 17:41:32: Fatal exception of type "LogicException". It's happening again in Rarewiki
Fatal exception of type "LogicException" is completely useless for us. See Manual:How to debug to get a more descriptive error message.
On some versions of mediawiki (not the latest) if memcache wasn't reachable over the network a logic exception related to process cache would be issued. (But like Ciencia said, please include full exception details)
I would like to know how to delete an old account that i don't need and/or use anymore
Account on which website (full URL)?
How does one make a sitenotice appear on mobile phone. We're doing a edit-a-thon like event in Nepali Wiki and majority of our users use mobile. It would be useful to this notice to them.
You can request for it to be enabled on Nepali wiki. See sample request at phab:T299529