Entornos Virtuales de Aprendizaje
Project:Support desk
Jump to navigation
Jump to search
Reply to "mikrotik user function strange result"
Reply to "Unable to use /maintenance/importDump.php to import a XML dump from another MediaWiki (fandom) site"
Reply to "Deleted pages still showing up under "all pages" and "orphaned""
Reply to "Visualeditor issues due to nginx???"
Reply to "Sidebox"
Reply to "EPrints- How to set auto email to new users that were created by admin?"
Reply to "Términos of use license"
Reply to "U-37 Quotes's Audio are Actually Those of U-81's"
Reply to "Cannot edit wiki"
:local ltrim do={
:local pos -1
:for i from=0 to=([:len $string] - 1) do={
:local char [:pick $string $i]
:if ([:typeof [:find $clean $char]]="nil") do={
:return ($pos+1)
}
:set pos $i
}
:return ($pos+1)
}
:local rtrim do={
:local pos [:len $string]
:for i from=($pos - 1) to=0 step=-1 do={
:local char [:pick $string $i]
:if ([:typeof [:find $clean $char]]="nil") do={
:return $pos
}
:set pos $i
}
:return $pos
}
:local trim do={
:return [:pick $string [$ltrim string=$string clean=$clean] [$rtrim string=$string clean=$clean]]
}
:local string [:tostr "|_|asas a a_____|||"]
:local clean " |_"
:put "$string $clean"
:put [$ltrim string=$string clean=$clean]
:put [$rtrim string=$string clean=$clean]
# not work $trim why
:put [$trim string=$string clean=$clean]
# work ok
:put [:pick $string [$ltrim string=$string clean=$clean] [$rtrim string=$string clean=$clean]]
You are in the wrong place. We can only help with mediawiki stuff. We are not associated with mikrotik
Hello there!
I'm been trying to restore a Fandom.com wiki dumped using WikiTeam tools (https://archive.org/details/wiki-ensemble_starsfandomcom_2) into a local installation of MediaWiki 1.36.1.
Some other technical details about my environment that might be useful: Mac 11, PHP 7.4.2, MySQL 5.7 (both provided by MAMP 6.5).
Using importDump.php (both using the php importDump.php --conf /mediawikidirectory/LocalSettings.php /directory/dump.xml and php importDump.php < directory/dump.xml
, the script throws the following error:
Wikimedia\Assert\ParameterAssertionException from line 85 of /Users/dick/Downloads/mediawiki-1.36.1/includes/page/PageIdentityValue.php: Bad value for parameter $dbKey: PageIdentityValue contains a bad character: A_New_Star_Cluster★Shining_BIGBANG!
After searching online, I've come to believe that the title of the page being imported is likely invalid due to either the "!" or "★" character (as other pages without these special characters imported just fine). However, none of the solutions that I've come across work or make much sense to me. Searching for "PageIdentityValue contains a bad character" doesn't bring up any relevant results, either.
I'd really appreciate it if someone here could point me towards the right direction about how to resolve this issue. One idea I have is to add the special character to $wgLegalTitleChars in localSettings but I don't know how to work with regex. Another idea is using gfdl-wikititle - but there's no precompiled, I'm not sure on how to compile it, and the documentation is rather sparse.
★ & ! in theory should be fine. Its possible the issue is that its not encoded as UTF-8 NFC. If its in a different text encoding, it could cause this issue. Its also possible there could be an invisible character that is invalid.
Our wiki once had a major problem with spam. Automated spam created thousands of new pages on our site:
http://ephemerisle.org/index.php/Special:AllPages
It's now been cleaned up, except all of the deleted pages still show up under "all pages" and "orphaned pages" making these pages totally useless.
Can anyone please give advice on cleaning this up, fully deleting the spam, and making them no longer show up on the special pages?
Thanks!
If you have $wgMiserMode enabled you need to run updateSpecialPages.php.
If that's not it, maybe something weird with how they were deleted.
I looked at your wiki - these pages don't appear to be deleted. It looks like there are referential integrity issues where the pages got half deleted but still have references in the page table (and maybe elsewhere). You need to fully delete them to get rid of them.
Hi,
I am running wiki 1.35 php7.4 and cannot get visualeditor properly to work. I had to disable it. Apparently the issue is that the rest api is not called correctly. I am wondering whether this is due to nginx.... my phpinfo shows:
$_SERVER['SERVER_SOFTWARE'] | nginx/1.10.3 |
Here: Parsoid I did read: "If you're serving MediaWiki with Nginx, you'll need to also add something like this to your server conf:"
location /rest.php/ { try_files $uri $uri/ /rest.php?$query_string; }
Do I need to ask my provider to add this in de nginx config in order to make visualeditor work? Is there any way I can find out myself?
How is it not working properly? The visual editor loads in the page but won't read existing content and adds a bunch of code to the page upon saving.
Same problem using nginx with Ubuntu Server 20.04 and visualeditor. What worked for me was to install additional php components:
sudo apt install php7.4-mbstring php7.4-xml php7.4-fpm php7.4-json php7.4-mysql php7.4-curl php7.4-intl php7.4-gd php7.4-mbstring texlive imagemagick
I'm looking to create a sidebox in my wiki like this page for chicago https://en.wikipedia.org/wiki/Chicago
But I can't seem to figure out how to create a sidebox or whatever it is called. Anyone know how to do this?
Thanks,
Karl
Eprints Issue!!!
Please help.
As admin if I were to create a new user, is it possible to set auto mail to the new user?
The content of the mail is to basically welcome the new user and provide them with their account username and password.
The flow:
Super admin creates a new user > User receives mail based on the email address entered by super admin> User checks mail > The mail content contains username & password for the user to log into the system.
Could anyone please help me resolve this issue?
Maybe it seemed unrelated to MediaWiki, but I see that EPrints has a wiki: https://wiki.eprints.org/w/Main_Page
What about Extension:New User Email Notification. It's tagged as "unmaintained" but also as MW1.35+ which presumably didn't happen by itself :-)
Yeah I did check through wiki eprints but I did not manage to find anything related to my issue.
The create account page has a create account by email option that does this (you have to be logged in as a different user to do this)
I am trying to set auto mail function when super admin user goes to create user. An auto mail will be send to the new user notifying them that an account has been created for them and the details of the account.
Have you tried the extension?
"The New User Email Notificationextension sends a customisable email to specified recipients when a new user account is created."
Thank you for the suggestion. Will try to look into it. Not sure if this extension can be utilized with EPrints.
no acces
Welcome to Mediawiki. I didn't understand what you said.
Hi, not sure if this is the right place to post, but I just found out that U-37's quotes audio are actually u-81's whereas u-81's audio is correct.
This is the wrong place. I have no idea what you're referring to.
It's some sort of Chinese mobile phone game wiki with a Help link that leads to mediawiki.org
All the editing tabs on the wiki page disappeared so I can no longer edit. How should I fix it?
That wiki uses an unsupported software version from 30 months ago and is insecure. Its maintainers should upgrade to a secure, stable version. You could first try using a different skin, for example https://curobotics.soc.srcf.net/wiki/Main_Page?useskin=vector
Are you logged in? Your wiki is configured to only allow logged in users to edit