Project:Support desk/Flow/2017/04
| This page used the Structured Discussions extension to give structured discussions. It has since been converted to wikitext, so the content and history here are only an approximation of what was actually displayed at the time these comments were made. |
| This page is an archive. |
| Please ask questions on the current support desk. |
No articles are displayed
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
All articles are no longer displayed, but the code is in each. Link to the wikiː http://wiki.league17.ru
Articles are not visible to authorized participants. If a guest comes in, only a few are not visible to him. EvangelionI (talk) 12:03, 2 April 2017 (UTC)
- I don’t see any issue as a guest, all articles are viewable. Anyway the first thing to do is to check in the logs, either in the error log of nginx (
/var/log/nginx/error.logon Linux), either set the configuration parameter$wgDebugLogFileto some file and read it (see Manual:How_to debug#Logging). ~ Seb35 [^_^] 12:47, 2 April 2017 (UTC) - Here for guest is not displayedː http://wiki.league17.ru/001 EvangelionI (talk) 13:00, 2 April 2017 (UTC)
- Indeed, and do you have something in the log files? ~ Seb35 [^_^] 13:23, 2 April 2017 (UTC)
- I occasionally saw this with old MediaWiki versions and recent PHP versions, but didn’t investigate more these cases. In my memory it was something like MediaWiki 1.13-1.15 + PHP 5.6 or 7.0, but I’m not sure, and it was possibly linked to the cache method. I see you have MediaWiki 1.20. Do you have some cache configured? (parameter $wgMainCacheType) ~ Seb35 [^_^] 13:31, 2 April 2017 (UTC)
- I do not have the opportunity to see this, I do not have access to data ː(
- I'll wait until the main administrator answers about the cache configuration. EvangelionI (talk) 14:47, 2 April 2017 (UTC)
- Ok, better is to wait some answers from the administrator then.
- Things to check:
- Is there a cache configured? If so, try to deactivate and check if it works better (but it is not a long-term solution).
- Does the PHP version changed recently? PHP 5.5 or possibly 5.6 should be fine (IIRC PHP 7.0 does not work with MediaWiki 1.20)
- If possible MediaWiki should be upgraded, although there is some work (count some hours of work) ~ Seb35 [^_^] 15:03, 2 April 2017 (UTC)
- Updated the Wiki version, now everything is fine, thanks! EvangelionI (talk) 21:28, 15 April 2017 (UTC)
Upgrade from 1.15.1 to the latest one
Hello :)
As a new administrator at my company I would like to upgrade old mediawiki to the latest one, but I'm not sure if it is possible at all :)
Current one -- Debian 7.10 / PostgreSQL 9.4 / MediaWiki 1.15.1
The new -- CentOS 7 / MariaDB / MediaWiki. All up-to-dates :)
The OS's is no problem. If it is not possible to do the seamly migrate from pgsql to mariadb it's fine, let it be postgresql. What about ofupgrading 8 years old MediaWiki? Is it worth? If not, what about data from the old one? What is the best way to do the migration job?
The MediaWiki users are from AD by the LDAPAuthorization backend, and we use extensions: SyntaxHighlight (broken now after some problem with old server), Calenda, FCKeditor, FileProtocolsLinks, NewestPages, WhitelistedNamespaces and Multilang.
I will be grateful for any help :)
Regards. KB7777 (talk) 11:03, 3 April 2017 (UTC)
- See Manual:Upgrading for general info. Some extension might not be maintained anymore and hence not work, see for example Extension:FCKeditor. Have you run into specific issues when doing an upgrade test on some test server? Malyacko (talk) 13:50, 3 April 2017 (UTC)
- > Have you run into specific issues when doing an upgrade test on some test server?
- Not yet, but... Now I am searching infos about what are upgrade paths to choose.
- I was thinking about using "php dumpBackup.php --full" and import it to the new instance, but I have some errors and I don't now why yet:
- PHP Notice: Undefined index: HTTP_USER_AGENT in /home/services/html/infoit.xxx.com.pl/mediawiki/extensions/FCKeditor/fckeditor/fckeditor_php5.php on line 37
- PHP Warning: pg_query() expects parameter 1 to be resource, null given in /home/services/html/infoit.xxx.com.pl/mediawiki/includes/db/DatabasePostgres.php on line 580
- PHP Fatal error: Call to a member function fetchObject() on a non-object in /home/services/html/infoit.xxx.com.pl/mediawiki/includes/Export.php on line 300 KB7777 (talk) 06:07, 4 April 2017 (UTC)
- See my comment above - FCKeditor is unmaintained and hence its code has not been kept up-to-date to work with newer MediaWiki versions (though that's only about the first notice and not about the rest of the warnings / errors). Malyacko (talk) 10:10, 4 April 2017 (UTC)
- I saw it, but if I would like to move my old MediaWiki instance to another server the "dumpBackup.php --full" command should work, right? KB7777 (talk) 12:15, 4 April 2017 (UTC)
- Note that the XML dump backup *only* exports article contents, not images, logs and private info like user accounts, preferences, etc.
- You may try to upgrade to 1.15.5 first (see downloads here) in case the other errors have been fixed. You can also try disabling FCKeditor before attempting to run dumpBackup.php, since it seems to not be compatible with CLI scripts. Ciencia Al Poder (talk) 17:58, 4 April 2017 (UTC)
- If you upgrade to MediaWiki 1.26 or more, you can replace FCKEditor by VisualEditor. I say >= 1.26 because VisualEditor has a very good quality from 1.26.
- As Ciencia suggests, you should dump the SQL database instead of using the XML dumps. Then import it in MediaWiki 1.26 (with the same LocalSettings.php), upgrade each extensions and then use
maintenance/upgrade.php. ~ Seb35 [^_^] 18:40, 6 April 2017 (UTC)
1.28最新版编辑界面
- 你好:
- 我想知道版本更新到最新,但是为什么编辑界面和1.15版一样,没有可视化编辑功能,是否不对外开放?要怎么才能解决这个问题?希望能够得到你的帮助。
- From Google Translate:
- Hello there:
- I would like to know the version update to the latest, but why is the editing interface and version 1.15, there is no visual editing function, is not open to the outside world? How can we solve this problem? Hope to get your help. AceGeorgina (talk) 12:11, 3 April 2017 (UTC)
- There is a visual editing function for 1.28. VisualEditor and Parsoid can be installed to give you a Wikipedia-like visual editing experience.
- If your wiki is public, I think you could use Parsoid servers from the WMF (but I'm not sure and I haven't tried this yet). If your wiki is public, could you post the URL?
- From Google Translate:
- 有1.28的视觉编辑功能。 可以安装VisualEditor和Parsoid来为您提供维基百科的视觉编辑体验。
- 如果你的wiki是公开的,我想你可以使用WMF的Parsoid服务器(但我不确定,我还没有尝试过)。 如果你的wiki是公开的,你可以发布URL吗?
- ☠MarkAHershberger☢(talk)☣ 15:25, 4 April 2017 (UTC)
- Manual:Upgrading explains how to upgrade (if I understood the question correctly)...? :) Malyacko (talk) 13:48, 3 April 2017 (UTC)
Upload error with version 1.28.0
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
Hi Folks,
I've looked at a few posts regarding upload errors. I've changed the ownership of the images folder, and updated a few parameters in the php.ini file.
I'm still, however, getting this error when trying to upload any files:
Could not open lock file for "mwstore://local-backend/local-public/e/e1/FileName".
Any help would be appreciated. Its on CentOS 7.0. Ahmamo (talk) 03:58, 4 April 2017 (UTC)
- Try disabling SELinux. If then it works, consider enabling it again and configuring it correctly for MediaWiki. Ciencia Al Poder (talk) 09:17, 4 April 2017 (UTC)
- That did it. Thank you. I'll look up how to configure selinux to work with MediaWiki.
- I really appreciate your reply. You just resolved days or potential troubleshooting. Ahmamo (talk) 04:24, 5 April 2017 (UTC)
Update MediaWiki from webbrowser
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
Hallo
I would like to update my mediawiki because I want to to configere Echo Extention and I'm trying to do this through the web using mw-config.
but when I put the key assigned to $wgUpgradeKey that I found in my LocalSettings.php I receive this message The upgrade key you provided is incorrect.
There is a special way to write this key I just made cut and paste from the file LocalSettings.php.
thanks Brimar (talk) 14:17, 4 April 2017 (UTC)
- How are you pasting it?
- For example, in my local test wiki, I see
$wgUpgradeKey = "this is the key";
- So, if I were to upgrade, I would paste
this is the key. Is that what you are doing? ☠MarkAHershberger☢(talk)☣ 15:37, 4 April 2017 (UTC) - yes I'm doing like that but it doesn't work Brimar (talk) 16:11, 4 April 2017 (UTC)
- Is that the only wgUpgradeKey setting in your LocalSettings.php? ☠MarkAHershberger☢(talk)☣ 21:21, 4 April 2017 (UTC)
- yes. Brimar (talk) 08:01, 5 April 2017 (UTC)
- What version of MediaWiki are you using? From the other thread, it looks like 1.27.
- And could you verify my understanding of what you want to do?
- You already have MediaWiki working fine.
- You want to add Echo.
- You have downloaded the appropriate version of the Echo extension and
- uploaded it to extensions/Echo.
- You've updated your LocalSettings.php to call extensions/Echo.
- Is that right? ☠MarkAHershberger☢(talk)☣ 15:07, 5 April 2017 (UTC)
- The version I have is 1.27.1
- Every think you write is right!
- For the Echo I added rthe line wfLoadExtension( 'Echo' );
- I also tried to change the logo image but it doesn't work.
- For the Logo I changed the value of $Logo
- Now The question is that I have mediawiki on a hosting Linux (Aruba) and i cannot reach it with command line. so I don't know how to execute update.php to run the echo extension.
- I installed mediawiki with Softaculous App Installer
- This is my wiki
- http://www.nonunadimeno.net/wiki/index.php?title=Main_Page
- soryy i am a beginner!!!! 79.17.61.86 (talk) 20:47, 5 April 2017 (UTC)
- We all start as beginners.
- Did you change your logo with $Logo or $wgLogo? ☠MarkAHershberger☢(talk)☣ 21:09, 5 April 2017 (UTC)
- $wgLogo !! Brimar (talk) 07:16, 6 April 2017 (UTC)
- Ok now I got it.
- maria Brimar (talk) 13:13, 18 April 2017 (UTC)
create after delete
Hey guys, im experiencing this trouble when using the media wiki API.
In example:
I create a page with the title "hello world", then i need to delete this page.
After delete (the page is shown as deleted), i need to create "hello world" again.
After trying to create the page (i receive the success message from the API) i can still see the page as deleted.
So, i guess create after delete is not possible??
How can i fix this problem? Migueltorio (talk) 14:57, 4 April 2017 (UTC)
- Could you provide the exact API calls that you use so I can reproduce this? Also, are you sure that you aren't getting any information back from the API about problems? ☠MarkAHershberger☢(talk)☣ 15:27, 4 April 2017 (UTC)
Unable to get the script php update.php with postgresql
I'm trying to install "echo" on a fresh install of mediawiki. Using mysql, it's ok. But with postgresql, when i do "php update.php", the database is not created.
"Creating echo_event table" is stopped.
Creating echo_event table ...[e470337b6f5300ce23f58c42] [no req] DBQueryError from line 1054 of /var/www/html/mediawiki/includes/libs/rdbms/database/Database.php: A database query error has occurred. Did you forget to run your application's database schema updater after upgrading?
Query: CREATE TABLE "echo_event" (
event_id int unsigned not null primary key auto_increment,
event_type varchar(64) binary not null,
event_variant varchar(64) binary null,
event_agent_id int unsigned null, -- The user who triggered it, if any
event_agent_ip varchar(39) binary null, -- IP address who triggered it, if any
event_page_namespace int unsigned null,
event_page_title varchar(255) binary null,
event_extra BLOB NULL,
event_page_id int unsigned null,
event_deleted tinyint unsigned not null default 0
) /*$wgDBTableOptions*/
Function: Database::sourceFile( /var/www/html/mediawiki/extensions/Echo/echo.sql )
Error: 42601 ERROR: syntax error at or near "unsigned"
LINE 2: event_id int unsigned not null primary key auto_increment, Simonsarazin (talk) 23:39, 4 April 2017 (UTC)
- This seems an obvious bug, so you should BUGREPORT it Ciencia Al Poder (talk) 09:36, 5 April 2017 (UTC)
Possible to get lifetime user stats?
I'm familiar with the "active user list" page that provides you a list with users who have been active in the past 30 days. It also shows you how many edits they've made. Is it possible to expand this and see the number of edits they've made in more than just 30 days? Lifetime? 192.31.104.104 (talk) 04:12, 5 April 2017 (UTC)
- There is no such page in the wiki.
- You can see the individual contributions by going to their contribs page (here is mine). If you want, you could change $wgActiveUserDays to cover more than 30 days.
- Alternatively, it wouldn't be too hard to create a special page that does specifically what you want. You could also register that request with Phabricator. ☠MarkAHershberger☢(talk)☣ 15:27, 5 April 2017 (UTC)
- Thanks Mark. Where is this field changed? Somewhere on the back end? 192.31.104.104 (talk) 18:04, 5 April 2017 (UTC)
- You would have to update the LocalSettings.php file to change $wgActiveUserDays. ☠MarkAHershberger☢(talk)☣ 18:27, 5 April 2017 (UTC)
Rendere effettive le modifiche LocalSettings.php
Ho modificato il file LocalSettings.php per cambiare il logo in alto a sinistra delle pagine seguendo le istruzioni del manuale a le modifiche non hanno effetto.
In generale cosa devo fare perchè le modifiche apportate siano eseguite?
grazie
From Google Translate:
I modified the LocalSettings.php file to change the logo of the pages in the upper left following the instructions in the manual to the changes do not take effect.
Generally what you do because the changes are carried out?
thank you Brimar (talk) 08:07, 5 April 2017 (UTC)
- Changing LocalSettings.php should be all that is needed. You may not be modifying the right file. Try putting the following at the end of your LocalSettings.php just to make sure that it is getting called:
echo "yes, it is being called.";exit;
- If you don't see that, then your LocalSettings.php isn't being used. ☠MarkAHershberger☢(talk)☣ 14:55, 5 April 2017 (UTC)
Website always down
Hello,
My wiki is always down and I still don't understand why.
Sorry! This site is experiencing technical difficulties.
Try waiting a few minutes and reloading.
(Cannot access the database)
You can try searching via Google in the meantime.
Note that their indexes of our content may be out of date. 213.49.78.60 (talk) 11:15, 5 April 2017 (UTC)
- Manual:How to debug explains some ways that you can use to figure out what is going wrong. —TheDJ (Not WMF) (talk • contribs) 11:33, 5 April 2017 (UTC)
- If it is always giving the message "Cannot access the database", then you should make sure that your DB settings are correct and the database is up. ☠MarkAHershberger☢(talk)☣ 15:11, 5 April 2017 (UTC)
LocalSettings.php
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
I changed the value of $wgLogo = "{$wgScriptPath}/mylogo.jpg";in LocalSettings.php to change the logo image. I uploaded my new image. but i don't see the new image. Do I have to run something to see the udates I made in LocalSettings.php.
thanks Brimar (talk) 12:16, 5 April 2017 (UTC)
2of2 GPU's Processing but 0of8 CPU cores processing?
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
I'm uninstalled, adjusted every setting I can find, restarted (duh), but I've never had this problem. I'm running an i7-6700 @ 3.4Ghz with dual AMD R5 graphics cards for a possible total of 10 units being processed at a time. However, my CPU never processes anything. It's very weird and has happened to this new computer since I got it but never on any of my old computers. @Nitricpyro 198.205.17.200 (talk) 17:32, 5 April 2017 (UTC)
- Welcome to the MediaWiki support desk. Is your question related to the MediaWiki software? Malyacko (talk) 19:24, 5 April 2017 (UTC)
After loading the Media Wiki there was such a mistake
[c5aa9c50bc5b6ba9f3189233] 2017-04-06 07:55:14: Fatal exception of type MWException
Fatal error: Uncaught exception 'Cdb\Exception' with message 'Error writing to CDB file "/tmp/l10n_cache-en.cdb.tmp.465113939".' in /profiles/l/la/lam/lamort/lamort.zzz.com.ua/vendor/wikimedia/cdb/src/Writer/PHP.php:239 Stack trace: #0 /profiles/l/la/lam/lamort/lamort.zzz.com.ua/vendor/wikimedia/cdb/src/Writer/PHP.php(102): Cdb\Writer\PHP->throwException('Error writing t...') #1 /profiles/l/la/lam/lamort/lamort.zzz.com.ua/vendor/wikimedia/cdb/src/Writer/PHP.php(215): Cdb\Writer\PHP->write('\x002\x95S\x99{\x06\x00') #2 /profiles/l/la/lam/lamort/lamort.zzz.com.ua/vendor/wikimedia/cdb/src/Writer/PHP.php(82): Cdb\Writer\PHP->finish() #3 /profiles/l/la/lam/lamort/lamort.zzz.com.ua/vendor/wikimedia/cdb/src/Writer.php(88): Cdb\Writer\PHP->close() #4 [internal function]: Cdb\Writer->__destruct() #5 {main} thrown in /profiles/l/la/lam/lamort/lamort.zzz.com.ua/vendor/wikimedia/cdb/src/Writer/PHP.php on line 239 MAFIT33 (talk) 07:59, 6 April 2017 (UTC)
- You must allow server to write to the /tmp folder. Check permissions on that folder. If you can't change permissions on that folder create a temp folder yourself (for example /profiles/l/la/lam/lamort/tmp/ so it's outside of the published folder) and give it permission for the webserver to write (try giving all permissions to test first and then adapt) and set $wgTmpDirectory in LocalSettings.php to point to that folder. Ciencia Al Poder (talk) 09:29, 6 April 2017 (UTC)
- Where is this folder? MAFIT33 (talk) 12:44, 6 April 2017 (UTC)
- /tmp folder is a folder named "tmp" in the root (top-level) directory
- /profiles/l/la/lam/lamort/tmp/ would be a folder named "tmp" inside the path /profiles/l/la/lam/lamort/ (1 level above your installation folder of MediaWiki) Ciencia Al Poder (talk) 13:14, 6 April 2017 (UTC)
No email coming through for a changed page thats being watched
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
User Preference: 'Email me when a page or a file on my watchlist is changed' is missing from my user on my wiki, im on 1.28, I cannot find anything anywhere indicating that this needs to be enabled somewhere, can anyone help? Quinnj09 (talk) 10:47, 6 April 2017 (UTC)
- Turns out I was missing config $wgEnotifWatchlist = true; Quinnj09 (talk) 12:02, 6 April 2017 (UTC)
- It still won't send an email when someone edits a page that is being watched. Email user and lost password emails work though... Quinnj09 (talk) 12:31, 6 April 2017 (UTC)
- Are you editing the page that you're watching and expecting to get an email? Enotif emails are only sent when another user edits the page. ☠MarkAHershberger☢(talk)☣ 13:49, 6 April 2017 (UTC)
Failed to load RSS feed from http://........./ Error parsing XML for RSS
hi team,
Please go through https://phabricator.wikimedia.org/T50710
The same problem is happening with our wiki. Wiki is able to parse external links and some of the internal links which have <item> property in rss feed. But it is unable to parse some urls,..
Can anyone help us here?
Mediawiki version is 1.27.1
RSS feeds version 2.25.0
Thanks in advance... Jprakash402 (talk) 10:58, 6 April 2017 (UTC)
- team,
- this issue is effecting our business.
- Could anyone reply please? Jprakash402 (talk) 11:13, 6 April 2017 (UTC)
- You are not having that issue since that issue was resolved.
- If you would like to have the problem fixed, please file a bugreport describing your particular problem.
- Since this problem is affecting your business, you could contract with a developer to fix the issue. ☠MarkAHershberger☢(talk)☣ 13:47, 6 April 2017 (UTC)
cannot access the database after modifying localsettings.php
Hello,
After configuring my mediawiki it works just fine, but after i make any changes in my localsettings.php file, even changing logo png i get following message:
Sorry! This site is experiencing technical difficulties.
Try waiting a few minutes and reloading.
(Cannot access the database)
only action that helps is deleting localsettings.php and going through configuration all over again which is completely not a solution.
i have latest mediawiki version, mysql is running, httpd is running, all required ports are free and listening, firewall is disabled and i can connect to database in terminal as root
thanks in advance 217.17.47.51 (talk) 11:57, 6 April 2017 (UTC)
- How are you editing your LocalSettings.php? It looks like you are introducing problems when you do that. ☠MarkAHershberger☢(talk)☣ 13:42, 6 April 2017 (UTC)
Which WYSIWYG to use with MediaWiki?
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
Hi Folks,
I'm a bit confused about which WYSIWYG editor to use for my wiki site. We have a lot of users who are intimidated by wiki markup.
I was drawn to Visual Editor but put off by all the requirements... The easiest for me was WikiEditor, but it still shows Wiki Markup in the editing box... I was considering Blue Spice but it's an absolute pain to setup so I gave up.
Any tips/hints? Ahmamo (talk) 03:19, 7 April 2017 (UTC)
- Have a look at BlueSpice MediaWiki Distribution. It features a VisualEditor that runs completely on the client. No serverside setup required. Osnard (talk) 07:01, 7 April 2017 (UTC)
- @Osnard, isn't BlueSpice switching to VE with parsoid? ☠MarkAHershberger☢(talk)☣ 19:25, 7 April 2017 (UTC)
- @Osnard, thank you! Pardon my ignorance, but when you say "BlueSpice MediaWiki Distribution" do you mean something different than "BlueSpice free" or "BlueSpice pro"? Personally, I'm reluctant to spend a few more days trying to get a reliable and repeatable build.
- Now that you mentioned VisualEditor that runs completely on the client, I'm more interested in that, if there is any way I can just get VisualEditor installed on the latest MediaWiki, that is enough for me. Ahmamo (talk) 22:48, 8 April 2017 (UTC)
- @MarkAHershberger, Yes, sooner or later BlueSpice will switch to WMF VisualEditor. But even after that, support for BlueSpice VisualEditor will continue for a few years.
- @Ahmamo You can just download the BlueSpiceFoundation and BlueSpiceExtensions extensions. They are free. In BlueSpiceExtensions/BlueSpiceExtensions.local.php just disable any extension that you don't need. I'd recommend to leave the Insert*-extensions (e.g. InsertFile) enabled, as they provide nice additional functionality to your users Osnard (talk) 12:08, 12 April 2017 (UTC)
- Thank you Osnard. I'll give it a go. Ahmamo (talk) 00:51, 13 April 2017 (UTC)
- @Osnard sorry to ask too many questions, but I've downloaded BlueSpice Free 2.22.2 for Mediawiki 1.23.15.
- Not sure how to proceed with this, the installation manual in the release notes doesn't exist. I put BlueSpiceExtensions in the extensions folder, and commented out all extensions except VisualEditor in BlueSpiceExtensions.php, then included that file (BlueFileExtensions.php) in LocalSettings.BlueSpice.php and included that in LocalSettings.php
- Any tips/guidance would be appreciated. Ahmamo (talk) 04:45, 4 May 2017 (UTC)
- An installation manual can be found here . Why don't you use the current MediaWiki LTS Release 1.27 with BlueSpice 2.27?
- Basically you will need to add the following to your
LocalSettings.php: require_once( "$IP/extensions/BlueSpiceFoundation/BlueSpiceFoudnation.php" ); require_once( "$IP/extensions/BlueSpiceExtensions/VisualEditor/VisualEditor.setup.php" );
- As suggested in an earlier post I'd recommend to also add
require_once( "$IP/extensions/BlueSpiceExtensions/ExtendedEditBar/ExtendedEditBar.setup.php" ); require_once( "$IP/extensions/BlueSpiceExtensions/InsertFile/InsertFile.setup.php" ); require_once( "$IP/extensions/BlueSpiceExtensions/InsertMagic/InsertMagic.setup.php" ); require_once( "$IP/extensions/BlueSpiceExtensions/InsertCategory/InsertCategory.setup.php" );
- This code is just an example, that I created from my mind. I did not test it, so please excuse typos :) Osnard (talk) 06:09, 5 May 2017 (UTC)
- Thank you! Greatly appreciate your time!
- I'll keep you posted with my progress. Ahmamo (talk) 02:10, 14 May 2017 (UTC)
Wikipedia Dump Import - Unknown column 'page_counter' in 'field list'
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
Below is a sampling of the errors I'm seeing with I try to import the latest EN Wikipedia dump:
REF:: https://dumps.wikimedia.org/enwiki/20170401/enwiki-20170401-pages-articles.xml.bz2
I've used this link to install the HitCounter:
LINK:: Extension:HitCounters
I didn't note any errors that seemed meaningful when I ran update.php from the CLI.
I'm running a fresh install of MediaWiki with what was an empty MySQL database until the MediaWiki installation.
MediaWiki: v.1.28
Apache: v.2.4.23
MySQL: v.5.7.14
PHP: 5.6.25-7.0.10
Used these base instructions to complete the installation:
https://www.extremetech.com/computing/114387-how-to-set-up-your-own-copy-of-wikipedia/2
****
ERROR 1054 (42S22) at line 509336: Unknown column 'page_counter' in 'field list'
ERROR 1054 (42S22) at line 510375: Unknown column 'page_counter' in 'field list'
170000 pages ( 34.288/s), 170000 revisions ( 34.288/s) in 4958 seconds
ERROR 1054 (42S22) at line 511433: Unknown column 'page_counter' in 'field list'
ERROR 1054 (42S22) at line 512508: Unknown column 'page_counter' in 'field list'
171000 pages ( 34.289/s), 171000 revisions ( 34.289/s) in 4987 seconds
ERROR 1054 (42S22) at line 513680: Unknown column 'page_counter' in 'field list'
ERROR 1054 (42S22) at line 514814: Unknown column 'page_counter' in 'field list'
ERROR 1054 (42S22) at line 515886: Unknown column 'page_counter' in 'field list'
172000 pages ( 34.215/s), 172000 revisions ( 34.215/s) in 5027 seconds
ERROR 1054 (42S22) at line 517030: Unknown column 'page_counter' in 'field list'
ERROR 1054 (42S22) at line 518263: Unknown column 'page_counter' in 'field list'
173000 pages ( 34.190/s), 173000 revisions ( 34.190/s) in 5060 seconds
ERROR 1054 (42S22) at line 519529: Unknown column 'page_counter' in 'field list'
ERROR 1054 (42S22) at line 520613: Unknown column 'page_counter' in 'field list'
ERROR 1054 (42S22) at line 521795: Unknown column 'page_counter' in 'field list'
174000 pages ( 34.098/s), 174000 revisions ( 34.098/s) in 5103 seconds
175000 pages ( 34.287/s), 175000 revisions ( 34.287/s) in 5104 seconds
ERROR 1054 (42S22) at line 524364: Unknown column 'page_counter' in 'field list'
ERROR 1054 (42S22) at line 527826: Unknown column 'page_counter' in 'field list'
176000 pages ( 34.241/s), 176000 revisions ( 34.241/s) in 5140 seconds
ERROR 1054 (42S22) at line 529033: Unknown column 'page_counter' in 'field list'
ERROR 1054 (42S22) at line 530124: Unknown column 'page_counter' in 'field list'
ERROR 1054 (42S22) at line 531374: Unknown column 'page_counter' in 'field list'
177000 pages ( 34.190/s), 177000 revisions ( 34.190/s) in 5177 seconds
ERROR 1054 (42S22) at line 532574: Unknown column 'page_counter' in 'field list'
ERROR 1054 (42S22) at line 533797: Unknown column 'page_counter' in 'field list'
178000 pages ( 34.159/s), 178000 revisions ( 34.159/s) in 5211 seconds
ERROR 1054 (42S22) at line 534860: Unknown column 'page_counter' in 'field list'
ERROR 1054 (42S22) at line 535877: Unknown column 'page_counter' in 'field list' 24.23.32.176 (talk) 05:47, 7 April 2017 (UTC)
- That script is outdated. You can try adding a page_counter field to the page table Ciencia Al Poder (talk) 09:44, 7 April 2017 (UTC)
Back to top and search suggestions
Hiya! I would like to know how to add a 'back to top' button on my wiki. I haven't yet seen a wiki that has one, but I've seen it on forums and such.
Additionally, you know when you sometimes misspell a word on Google and it goes 'did you mean this?' or 'Here's something that's kinda what you asked' ? How hard would it be to implement something like that? 188.24.122.91 (talk) 10:15, 7 April 2017 (UTC)
- See previous postings such as Project:Support desk/Flow/2012/09#h-Button_Go_to_Top-2012-09-25T05:01:00.000Z or https://en.wikipedia.org/wiki/Wikipedia:Back_to_top Malyacko (talk) 15:47, 7 April 2017 (UTC)
- The problem with those is that one must be added to individual pages and the other only works to section headers. I would need one button that appears in the bottom right of the page whenever the user scrolls down. Kinda like this one: https://forum.gameloft.com/viewforum.php?f=1505&sid=5c88f8efc6ec341019b27df186ac0e42&curpage=flist 188.24.122.91 (talk) 09:00, 8 April 2017 (UTC)
- Why do you think that's about individual pages only? MediaWiki:Common.js exists. Malyacko (talk) 13:29, 10 April 2017 (UTC)
- The first one doesn't work in Common.js. Gives all sort of errors: http://imgur.com/a/fkpIg 188.24.122.91 (talk) 17:40, 10 April 2017 (UTC)
- You only need to add what's described in wikipedia:Wikipedia:Back_to_top in the MediaWiki:Common.js page, not HTML markup! Ciencia Al Poder (talk) 09:14, 11 April 2017 (UTC)
- Yes, but Wikipedia's "only works if the user is logged in and can edit the page." 188.24.122.91 (talk) 15:24, 11 April 2017 (UTC)
- Of course if you add it to your **personal** javascript. If you add to the site's javascript will work for everyone Ciencia Al Poder (talk) 20:10, 11 April 2017 (UTC)
- But isn't there a way to make it float and appear only when needed? Kinda like in that forum? │Star-Warden│ 20:35, 11 April 2017 (UTC)
- To make it float, you may use something like this. Spiros71 (talk) 15:52, 4 October 2021 (UTC)
SyntaxHighlight_GeSHi not highlight code or showing up in Visual Editor correctly
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
SyntaxHighlight_GeSHi is not highlighting code, im not sure that Pygments is running, how can i check in windows? Quinnj09 (talk) 10:46, 7 April 2017 (UTC)
- Did you use composer to install Pygments? Also, check your debug log. ☠MarkAHershberger☢(talk)☣ 19:23, 7 April 2017 (UTC)
- I now have Pygments working correctly with SynytaxHighlight, however, when I edit page that had code block, visual editor shows "< syntaxhighlight lang="sql"> Select * from log </syntaxhighlight >" as normal text not inside a code block, instead of "Select * from log" in a code block Quinnj09 (talk) 11:14, 8 April 2017 (UTC)
- Is your wiki public so I can see the problem? What version of MediaWiki is your wiki running?
- Also, it looks like you have a space between "<" and "syntaxhighlight". If that is the case, then what happens if you remove the space?
- Finally, have you looked at how VE acts with the examples on the SyntaxHighlight page to see if it is doing what you expect? ☠MarkAHershberger☢(talk)☣ 01:23, 9 April 2017 (UTC)
- Unfortuently not public, did you want screenshots of the issue?
- If(so wheres good for me to uplaod them for you to see) Medawikiace was put in just when pasting into this support topic as it was doing some weird formatting stuff on it, space does not exist on my actual setup.
- Yes I have looked at the examples. Quinnj09 (talk) 07:57, 10 April 2017 (UTC)
- I have uploaded an image of the problem here: https://phab.wmfusercontent.org/file/data/wfaweigco6kmyyykusiu/PHID-FILE-co3gd3me5caavyxdoiow/SyntaxHighlight_Problem Quinnj09 (talk) 14:21, 10 April 2017 (UTC)
- Restarting Parsoid fix it Quinnj09 (talk) 14:38, 10 April 2017 (UTC)
Exception encountered after Upgrade on 1.27.2
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
After upgrading from 1.27.1 to 1.27.2 i got this message, when index.php is loading (with $wgShowExceptionDetails = true;):
Exception encountered, of type "Exception"
[eb539e466854b0245b56cd28] /index.php?title=Hauptseite Exception from line 232 of D:\wiki_www\includes\libs\objectcache\BagOStuff.php: BagOStuff::getWithToken not implemented.
Backtrace:
#0 D:\wiki_www\includes\libs\objectcache\BagOStuff.php(289): BagOStuff->getWithToken(string, NULL, integer)
#1 D:\wiki_www\includes\libs\objectcache\WinCacheBagOStuff.php(59): BagOStuff->mergeViaCas(string, Closure, integer, integer)
#2 D:\wiki_www\includes\libs\objectcache\WANObjectCache.php(424): WinCacheBagOStuff->merge(string, Closure, integer, integer)
#3 D:\wiki_www\includes\cache\MessageCache.php(697): WANObjectCache->set(string, array, integer)
#4 D:\wiki_www\includes\cache\MessageCache.php(642): MessageCache->setValidationHash(string, array)
#5 D:\wiki_www\includes\cache\MessageCache.php(411): MessageCache->saveToCaches(array, string, string)
#6 D:\wiki_www\includes\cache\MessageCache.php(331): MessageCache->loadFromDBWithLock(string, array, NULL)
#7 D:\wiki_www\includes\cache\MessageCache.php(930): MessageCache->load(string)
#8 D:\wiki_www\includes\cache\MessageCache.php(864): MessageCache->getMsgFromNamespace(string, string)
#9 D:\wiki_www\includes\cache\MessageCache.php(832): MessageCache->getMessageForLang(Language, string, boolean, array)
#10 D:\wiki_www\includes\cache\MessageCache.php(773): MessageCache->getMessageFromFallbackChain(Language, string, boolean)
#11 D:\wiki_www\includes\Message.php(1178): MessageCache->get(string, boolean, Language)
#12 D:\wiki_www\includes\Message.php(801): Message->fetchMessage()
#13 D:\wiki_www\includes\Message.php(892): Message->toString()
#14 D:\wiki_www\includes\OutputPage.php(927): Message->text()
#15 D:\wiki_www\includes\OutputPage.php(975): OutputPage->setHTMLTitle(Message)
#16 D:\wiki_www\includes\page\Article.php(504): OutputPage->setPageTitle(string)
#17 D:\wiki_www\includes\actions\ViewAction.php(44): Article->view()
#18 D:\wiki_www\includes\MediaWiki.php(493): ViewAction->show()
#19 D:\wiki_www\includes\MediaWiki.php(288): MediaWiki->performAction(Article, Title)
#20 D:\wiki_www\includes\MediaWiki.php(735): MediaWiki->performRequest()
#21 D:\wiki_www\includes\MediaWiki.php(509): MediaWiki->main()
#22 D:\wiki_www\index.php(43): MediaWiki->run()
#23 {main}
Downgrading on 1.27.1 worked for me.
MediaWiki 1.27.1
PHP 5.6.28 (cgi-fcgi)
MariaDB 10.0.30-MariaDB
ICU 57.1
Regards Odi 93.219.75.103 (talk) 12:56, 7 April 2017 (UTC)
- Could you please file a bug report in Phabricator? See Phabricator/Help for more info. Thanks! AKlapper (WMF) (talk) 15:45, 7 April 2017 (UTC)
- Done.
- https://phabricator.wikimedia.org/T162600 Wiki-bbladm (talk) 12:56, 10 April 2017 (UTC)
Patch file for 1.28.1
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
https://releases.wikimedia.org/mediawiki/1.28/mediawiki-1.28.1.patch.gz appears to have a patch for file README.mediawiki, which doesn't exist in the 1.28 or the 1.28.1 tarballs. Can this file be removed from the above patch file? (Or the file be put in the distribution?)
It is far more comforting having a patch that works than one that requires some manual intervention. BruceDawson (talk) 13:58, 7 April 2017 (UTC)
- Could you either post this on wikitech-l or open a task in Phabricator? ☠MarkAHershberger☢(talk)☣ 19:18, 7 April 2017 (UTC)
- Done: https://phabricator.wikimedia.org/T162536 BruceDawson (talk) 00:38, 9 April 2017 (UTC)
MaxUploadSize
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
hi,
in $wgMaxUploadSize i just can upload 2 MB, how can i increase the UploadSize ? 148.213.4.52 (talk) 20:06, 7 April 2017 (UTC)
- See Manual:$wgMaxUploadSize! 87.123.250.212 (talk) 23:37, 7 April 2017 (UTC)
- That page also refers to other changes that may be needed in, for example, the php.ini file (in case that wasn't clear). ☠MarkAHershberger☢(talk)☣ 23:46, 7 April 2017 (UTC)
open ultrasound file
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
curl error: 7 visual editor
Hi. When trying to edit any page using visual editor (http://dragon-mania-legends-wiki.mobga.me/Main_Page), I get the following error: http://prnt.sc/etwoev
I've checked the parsoid log and this is what I get: https://pastebin.com/kMbgmfv7 Unfortunately, I don't understand where it's going wrong, especially since I've been able to edit just fine a few days ago. I googled the issue and found other people with this problem, but no solution seemed to have helped (that or I didn't apply it correctly). Would anyone know what's going wrong? │Star-Warden│ 10:06, 8 April 2017 (UTC)
- It looks like you may not have VE set up correctly since VE seems to having trouble connecting to parsoid. See http://dragon-mania-legends-wiki.mobga.me/api.php?action=visualeditor&format=json&paction=parse&page=Main_Page&uselang=en
- Did you modify your LocalSettings.php recently? ☠MarkAHershberger☢(talk)☣ 01:34, 9 April 2017 (UTC)
- The last time VE worked properly was 4 days ago, on the 5th of April. And yes, I did. I installed GoogleSiteSearch and added the code some lines above VE. Thinking that was the problem, I added it at the bottom and even disabled it, but no change. │Star-Warden│ 01:51, 9 April 2017 (UTC)
- Verify your Parsoid is running (and/or the Parsoid address is correct); possibly it stopped because of server restart or whatever; verify it is automatically started when the server start (with systemd:
sudo systemctl enable parsoid). - I reproduced this error (curl error: 7) on a test wiki where I intentionally stopped the Parsoid service. For reference, I also tried when the Parsoid service is running behind a nginx reverse proxy and, when nginx cannot contact the Parsoid service, the error when trying the VisualEditor is "apierror-visualeditor-docserver-http: HTTP 502" (which is quite logical: 502 "Bad Gateway"/"Proxy Error"). ~ Seb35 [^_^] 08:42, 9 April 2017 (UTC)
- In your Parsoid logs, there are many "Killed" at the end, it could confirm Parsoid is completely dead, apparently because of a dependency error or internal error. If it does not restart or does not respond correctly, could you post only the log excerpt related to this event (by selecting only the related hours instead of the whole log). Did you upgrade recently Parsoid? What method do you use to install/upgrade Parsoid? ~ Seb35 [^_^] 08:52, 9 April 2017 (UTC)
- I just see there is a new Parsoid version (0.7.1) which requires node.js 4.0, instead of the previous version 0.6.1 which required node.js 0.8. See also Extension talk:VisualEditor/2017/04#h-parsoid_upgrade_broke_visual_editor-2017-04-06T10:13:00.000Z and Talk:Parsoid/2017#h-npm_error_with_the_last_debian_package_of_parsoid_(0.7)-2017-04-05T12:26:00.000Z, the second is exactly your error, so either you should install node.js 4.0 (possibly with Jessie backports) either you should downgrade Parsoid to 0.6.1. ~ Seb35 [^_^] 09:29, 9 April 2017 (UTC)
- Indeed that was the issue and I fixed it by following the instructions here. Thanks a lot!
- But since this issue and past issues of mine have been related to outdated software, is there some sort of way of keeping oneself up-to-date, other than by checking each extension/feature individually? I gather the MW mailing lists do not send updates for these softwares, do they? │Star-Warden│ 13:39, 9 April 2017 (UTC)
- For Mediawiki there is the low-traffic mailing list mediawiki-announce, but there are no other such list for extension or external services like Parsoid.
- I’m not sure that it would be practical to create 2000+ mailing lists for all MediaWiki extensions and external services, but perhaps a script or special page checking if there are newer versions for each installed extension could be practical. In fact there are ideas around for a bigger extension management (see phabricator:T118188) but possibly a smaller program checking the versions against WikiApiary could be easier and quicker to implement -- that’s an idea. ~ Seb35 [^_^] 18:07, 9 April 2017 (UTC)
- That task sounds good and I see there's been some progress. With any luck, maybe we'll see something like this before MW 1.30. Thanks again! │Star-Warden│ 18:26, 9 April 2017 (UTC)
- Hey I know this thread is 2 years old but just wanted to say that I'm having similar problems. I'm a designer learning to code so I'm not quite savvy on the backend stuff. I got MediaWiki installed on my server though, and installed the Visual Editor, and also started installing the Parsoid service etc, but I've run into this error and I have no clue what I've done wrong or what is broken. I found the installation instructions for installing and enabling the Visual Editor extremely hard to follow, even by the normal "open source backend server type stuff" standards. Are there any easier ways of dealing with this issue now? AslanFrench (talk) 20:04, 18 October 2018 (UTC)
Wiki is really slow
Hey everyone,
for some unknown reasons my wiki is slow. (I'm using a gaming pc and it's really fast btw).
MediaWiki Software: 1.27.1; PHP: 7
Could it be that I didn't updated those ResourceLoader things or other stuff which are no longer used in MW 1.27.1? 91.96.250.110 (talk) 18:20, 8 April 2017 (UTC)
- And no, Im not using any CSS, JS, PHP, SQL or HTML codes or any files which purposely slow the wiki down. 91.96.250.110 (talk) 18:24, 8 April 2017 (UTC)
- What is "really slow"? Is it running under WAMP or something similar? ☠MarkAHershberger☢(talk)☣ 01:25, 9 April 2017 (UTC)
- If you're on windows, see the note in Manual:$wgDBserver about localhost Ciencia Al Poder (talk) 10:00, 9 April 2017 (UTC)
Hello this is unright
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
https://de.wikipedia.org/wiki/Liste_der_Volksz%C3%A4hlungen_in_Deutschland, three millions died in World War 2, by germany? And twenty-seven millions russian soldiers? Here is a indiz like it is http://www.spiegel.de/spiegel/print/d-8002350.html. And at the beginning from the World War 2 was the Population 68mio. After like you wroting 65mio. In your own calculating it is 7,6mio died, this is impossiblity: After the World war was 54mio two are injailed. And 12 died, 1 mio. in camps in russia 1 comes home. And with technology 10 again. You're now this not we. If you can read https://www.welt.de/politik/deutschland/article123029623/So-viele-Migranten-in-Deutschland-wie-noch-nie.html 79.219.31.160 (talk) 16:53, 9 April 2017 (UTC)
- And its exist not only germany and from war russia behind finnland comes nothing too. 79.219.31.160 (talk) 16:54, 9 April 2017 (UTC)
- Hi. This wiki is about the Mediawiki software. If you have questions about content on Wikipedia, you have to ask on that wiki. Each article has a talk page where you can ask your questions. Tegel (talk) 16:56, 9 April 2017 (UTC)
Error in MW 1.23.16
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
I just updated www.mobadaten.info from MW 1.23.15 to 1.23.16. After the update the white screen told me, that there is an unexpected "[" in file "title.php" on line 2283.
Line 2283 in "includes\title.php":
- $errors[] = [ 'undelete-cantedit' ];
Line 2289 in "includes\title.php":
- $errors[] = [ 'undelete-cantcreate' ];
As a quick and dirty solution I changed those lines to...
- $errors[] = array( 'undelete-cantedit' );
- $errors[] = array( 'undelete-cantcreate' );
...and the error vanished.
I do not know, if that is really an accurate solution, but since it seams to work...
Maybe someone could take a look. ...Or is this a subtle way to say, one should update from 1.23.x to the recent MW version?
And don't bother: I plan to change from 1.23.x to 1.27.x this summer. Wgkderdicke (talk) 16:59, 9 April 2017 (UTC)
- That sounds like your PHP version is outdated. The issue has to do with the shorthand array syntax; that is it uses [] instead of array(), which is only supported with PHP 5.4. It is very likely that they did not account for that when they released that patch for 1.23. If you're upgrading to 1.27 this summer, you'll have to upgrade your PHP version too, so this error will not reoccur then. In short: This is an oversight by the developers. —Mainframe98 talk 17:50, 9 April 2017 (UTC)
- Well, the PHP version on the Mobadaten server is 5.3.29. That's is not the newest version. I am aware of the fact, that by upgrading to 1.27, PHP has to be upgraded first.
- But the release notes file distributed with MW 1.23.16 states that PHP 5.3.2 or later is required. PHP 5.3.29 is later. If there is a security release for MW 1.23.16 released today, this security release had to be compatible with the system requirements of the 1.23 version. This includes compatibility to PHP 5.3.2. Wgkderdicke (talk) 19:29, 9 April 2017 (UTC)
- Looks like someone forgot about this when preparing the 1.23 update.
- There's also an instance of
[]on line 146 of includes/api/ApiMain.php that you need to change toarray(). - This will be fixed in 1.23.17, which I imagine will come out shortly. I filed phab:T162572 to track this. This, that and the other (talk) 01:38, 10 April 2017 (UTC)
Gallery Tool
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
I don't know if this is the right place to post this, but on my old computer I had bookmarked a tool that let me look at my Wikimedia uploads in a grid like gallery with statistics on each image (like how often used etc) which was very helpful but I can't find it again. Does it still exist? Cheers, ~ Nesnad (talk) 19:13, 9 April 2017 (UTC)
- If you refer to uploads to Wikimedia Commons, https://commons.wikimedia.org/wiki/Commons:Village_pumpmight be a good place to ask. Malyacko (talk) 09:11, 10 April 2017 (UTC)
Getting en Error in Updating
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
Good day to all!
Updates work for the small changes, but if I would like to update 20-30 raws, I am getting the error message below. I am not sure if this is a bug or should I just run update.php... please advice, thank you.
"DB transaction callbacks still pending (from User::invalidateCache). in /var/www/html/includes/db/Database.php on line 4155" Ssgonzalez (talk) 17:39, 10 April 2017 (UTC)
- Yes, try running update.php. Does it still happen? ☠MarkAHershberger☢(talk)☣ 18:35, 10 April 2017 (UTC)
- Going to try update.php thanks Ssgonzalez (talk) 19:31, 10 April 2017 (UTC)
Mysql error every a few days
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
Hi all,
This is bothering me for a while. I tried to google the problem but I can only find the ones that the mysql server does not work at all. Mine works fine if the server is restarted and continues to be fine the next a few days. Then it breaks and leaves message at the front page as:
(Can't contact the database server: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) (localhost))
I thought it was debian.cnf and granted access rights to the accounts in debian.cnf. However, it does not work.
Thanks Huoenter (talk) 17:43, 10 April 2017 (UTC)
- Is MediaWiki the only application that uses your DB? What does MySQL's log say? ☠MarkAHershberger☢(talk)☣ 18:34, 10 April 2017 (UTC)
- Thank you for your reply. I discovered my (local) mysql did not have the logging on. I just turned it on and wish to see something when mediawiki breaks down again. Thanks for the hint.
- I am also running a dovecot so there is also a mail db in the same mysql server. The mail service seems fine. Huoenter (talk) 19:09, 10 April 2017 (UTC)
UploadWizard stuck on "Describe" page
When trying to use Flickr to upload it gets stuck on the Description page. It works with uploading pictures from my computer but not when using Flickr. The wiki is https://coasterpedia.net/wiki/Special:UploadWizard. When looking at the page in the browser console there are several errors that somebody with more knowledge than me could use.
Is there anything obvious I am doing wrong?
Thanks Garuda3 (talk) 18:26, 10 April 2017 (UTC)
- How have you configured UploadWizard? Do you need all its functionality? ☠MarkAHershberger☢(talk)☣ 18:44, 10 April 2017 (UTC)
- Hello,
- This is the configuratoin (which been changed since it was working)
$wgApiFrameOptions = 'SAMEORIGIN'; $wgUploadWizardConfig = array( 'debug' => false, 'autoAdd' => array( 'categories' => array( 'Uploaded with UploadWizard' ), ), // Should be localised to the language of your wiki instance 'feedbackPage' => 'Feedback about UploadWizard', 'altUploadForm' => 'Special:Upload', 'fallbackToAltUploadForm' => false, 'enableFormData' => true, // Should FileAPI uploads be used on supported browsers? 'enableMultipleFiles' => true, 'enableMultiFileSelect' => false, 'tutorial' => array( 'skip' => true ), // Skip the tutorial 'maxUploads' => 15, // Number of uploads with one form - defaults to 50 'fileExtensions' => $wgFileExtensions // omitting this may cause errors ); $wgAllowCopyUploads = true; $wgGroupPermissions['user']['upload_by_url'] = true; // to allow for all registered users
- It's not the API key as I've tried two different keys and both come up with the same problem.
- I don't have the Event Logging extension because I don't think I need its functionality Garuda3 (talk) 18:58, 10 April 2017 (UTC)
- I have just tested removing all of the above configuration from LocalSettings and the Flickr uploads are still not working Garuda3 (talk) 10:30, 11 April 2017 (UTC)
PAWS 502 Bad Gateway
Attempting to "start server" in the Pywikibot web interface (PAWS) returns a 502 Bad Gateway error. Is anyone else having this issue? Thanks. ProgrammingGeek (talk) 20:14, 10 April 2017 (UTC)
Special:Search broken
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
HI.
Does enyone knows why this is happening?
http://emaklabin.org.br.cp-23.webhostbox.net/wiki/index.php?title=Especial:Busca
my Special:Search is not showing in the wiki skin.
is this a skin problem?
How can i fix it?
thx. Hgodi (talk) 22:00, 10 April 2017 (UTC)
- Please look in your server error logs. It looks like the load.php call that loads the CSS styling is failing with HTTP 500, which suggests that there should be a corresponding error in your server logs or PHP logs. This, that and the other (talk) 00:39, 11 April 2017 (UTC)
- thx for the answer,
- but i couldn´t fix it yet, my server error logs is empty.
- I ve allready reconfigurated with a new localSetting.php and nothing works.
- what am i doing wrong? Hgodi (talk) 18:49, 11 April 2017 (UTC)
- those pages are broken too:
- Especial:Expandir_predefinições
- Especial:Fontes_de_livros Hgodi (talk) 19:15, 11 April 2017 (UTC)
- When you add &debug=true to your URL, you can see that it is the call
- /wiki/load.php?debug=true&lang=pt-br&modules=oojs-ui.styles.icons&only=styles&skin=vector
- which is producing no output.
- The problem obviously is related to the ressource loader module oojs-ui.styles.icons. 83.135.237.99 (talk) 06:16, 12 April 2017 (UTC)
- It would really be interesting to see, what the server logs (maybe even in the access log) for this failing request... 83.135.237.99 (talk) 06:16, 12 April 2017 (UTC)
- when i put &debug=true on the URL the Special:Search opens properlly
- I found this on the server logs...
- [Wed Apr 12 13:48:30 2017] [error] [client 177.32.95.177] File does not exist: /home/emaklgcm/public_html/404.shtml, referer: http://emaklabin.org.br.cp-23.webhostbox.net/wiki/load.php?debug=true
- [Wed Apr 12 13:48:30 2017] [error] [client 177.32.95.177] File does not exist: /home/emaklgcm/public_html/favicon.ico, referer: http://emaklabin.org.br.cp-23.webhostbox.net/wiki/load.php?debug=true
- what that means?
- Im running the wiki on a shared host like Bluehost, is this a problem?
- ps: im a little noob in wiki, im just starting now Hgodi (talk) 13:58, 12 April 2017 (UTC)
- Those messages are irrelevant to this problem. I'm a little surprised you don't see errors in your server log coming from MediaWiki. Is it possible that PHP errors are being emitted to a separate log file?
- As the IP user above has pointed out, http://emaklabin.org.br.cp-23.webhostbox.net/wiki/load.php?debug=true&lang=pt-br&modules=oojs-ui.styles.icons&only=styles&skin=vector is the URL that is causing you grief. You might want to temporarily change your PHP settings to output errors to the client (add display_errors = on to your php.ini file) and see if anything appears when you visit that URL. (Of course it is essential to turn off display_errors afterwards.) This, that and the other (talk) 02:19, 13 April 2017 (UTC)
- So
- with the "display_error = on" on php.ini, and acessing the url i got this error:
Warning: DOMDocument::loadXML(): Empty string supplied as input in /home/emaklgcm/public_html/wiki/includes/resourceloader/ResourceLoaderImage.php on line 275- Notice: Trying to get property of non-object in /home/emaklgcm/public_html/wiki/includes/resourceloader/ResourceLoaderImage.php on line 278
Fatal error: Uncaught Error: Call to a member function canExist() on null in /home/emaklgcm/public_html/wiki/includes/skins/Skin.php:212 Stack trace: #0 /home/emaklgcm/public_html/wiki/includes/skins/Skin.php(145): Skin->preloadExistence() #1 /home/emaklgcm/public_html/wiki/skins/Vector/SkinVector.php(47): Skin->initPage(Object(OutputPage)) #2 /home/emaklgcm/public_html/wiki/includes/skins/SkinTemplate.php(249): SkinVector->initPage(Object(OutputPage)) #3 /home/emaklgcm/public_html/wiki/includes/OutputPage.php(2333): SkinTemplate->outputPage() #4 /home/emaklgcm/public_html/wiki/includes/exception/MWExceptionRenderer.php(178): OutputPage->output() #5 /home/emaklgcm/public_html/wiki/includes/exception/MWExceptionRenderer.php(50): MWExceptionRenderer::reportHTML(Object(Error)) #6 /home/emaklgcm/public_html/wiki/includes/exception/MWExceptionHandler.php(71): MWExceptionRenderer::output(Object(Error), 2) #7 /home/emaklgcm/public_html/wiki/includes/exception/MWExceptionHandler.php(137): MWExceptionHandler::report(Object(Error)) in /home/emaklgcm/public_html/wiki/includes/skins/Skin.php on line 21- http://emaklabin.org.br.cp-23.webhostbox.net/wiki/load.php?debug=true&lang=pt-br&modules=oojs-ui.styles.icons&only=styles&skin=vector
- How can i fix it? Hgodi (talk) 19:15, 17 April 2017 (UTC)
- Is it possible that the version of the Vector skin doesn't match the version of MediaWiki? Try renaming your skins/Vector directory to skins/Vector-old and replacing skins/Vector with a fresh copy of Vector from Special:SkinDistributor/Vector. This, that and the other (talk) 03:32, 18 April 2017 (UTC)
- This, that and the other, thanks for all the help.
- Ive done this and did not worked.
- Ive decided to reinstall all the wiki, it´s finally working
- http://emaklabin.org.br.cp-23.webhostbox.net/wiki/index.php?search=teste&title=Especial%3ABusca&go=Ir Hgodi (talk) 20:30, 18 April 2017 (UTC)
Modify category directory
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
MediaWiki 1.23.5; PHP 5.5.38; MySQL 5.6.28
What is the best way to modify the category directory listing or recreate something like the listing? I can't find an extension or settings that might serve this purpose. Example: sdexcellence.org/Category:Inductees Bevenson (talk) 00:25, 11 April 2017 (UTC)
- Looking at Category:Category extensions, there don't seem to be many extensions for modifying the category view. If you're a PHP coder, you can do it by hooking ArticleFromTitle and superficially subclassing CategoryPage to point to your new CategoryViewer subclass (see Extension:CategoryTree for a working example). This, that and the other (talk) 01:06, 11 April 2017 (UTC)
- I eventually found an, CategoryTree, that gave me a list of pages without the category name, without the text prior to the listing, without the alpha categorization. Bevenson (talk) 21:47, 13 April 2017 (UTC)
How do I cite WabbitWiki?
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
How do I cite WabbitWiki? I'm making a website and wrote an article/page/blog thing on tonic immobility, but I'm not sure how to cite it. I got the information from WabbitWiki and from http://eprints.hud.ac.uk/11361/
I wrote it yesterday and would really appreciate some help. Here's a link to it:
Thanks. TheDalekDiva (talk) 08:25, 11 April 2017 (UTC)
- I don't see how this question is related to the MediaWiki software at all? Sounds rather like a general "How do I properly cite stuff from the interweb" question? Malyacko (talk) 10:39, 11 April 2017 (UTC)
- Sorry. I was looking for a discussion page for WabbitWiki but I couldn't find one, but it's connected to MediaWiki somehow, so I clicked the link and there's a discussion page here. I've got no idea where to ask this question. Sorry. TheDalekDiva (talk) 02:29, 16 April 2017 (UTC)
- Is there anything specific about website ABC, XYZ, or WabbitWiki? If your question is how to quote something from an internet website, that question feels unrelated to the software that internet website is running on? Malyacko (talk) 12:56, 16 April 2017 (UTC)
- Ok, so could you suggest some better websites to ask this question? My question is how exactly should I cite it, what do I write, and do I even need to cite it? WabbitWiki doesn't have anything on copyrigh, citations, etc. on the website. TheDalekDiva (talk) 06:29, 18 April 2017 (UTC)
- Citation is rather unrelated to copyright but more related to the license. If you have no license info you need to ask the author(s) of the text/image/etc, not the author(s) of the software that displays the text/image? Malyacko (talk) 08:39, 18 April 2017 (UTC)
Multilingual Mediawiki installation using Wiki Family Vs single multilingual MediaWiki Extension
I am trying to setup a multilingual encyclopedia (4 languages), where I can have both:
- Articles that are translations of other languages, and
- Articles that are in a specific language only.
As the wiki grows, I understand that the content of each language can vary.
However, I want to be able to work as fluently as possible between languages.
I checked this article, dating back to 2012, which basically condemns both solutions.
I also checked this Mediawiki Help Article, but it gives no explanation about the differences between both systems.
My questions are:
1- what is the preferred option now for a multilingual wiki environment that gives the most capabilities and best user experience, given that some of the languages I want are right to left, and some are left to right. So I want the internationalization of category names, I need to link the categories their corresponding translations, and want users to see the interface in the language that the article is written in.
So Basically as if I have 4 encyclopedias, but the articles are linked to their corresponding translations.
2- Which system would give me a main page per language? So the English readers would see an English homepage, and the French readers see a French homepage..etc?
I have a dedicated server, so the limitation of shared hosting is not there.
Thank you very much. Atef81 (talk) 09:02, 11 April 2017 (UTC)
Pretty helpless with problems in Hooks.php
Hey all!
Myself and a few friends I successfully recruited for my newly created MediaWiki instance, recently run into an error preventing them to create an account, and it is keeping me from editing pages.
Straight to the point, here's the error message I managed to get to show up:
Strict Standards</b>: call_user_func_array() expects parameter 1 to be a valid callback, non-static method RelationLinksHooks::addRelationLinks() should not be called statically in <b>/var/www/user_public/jumpingscript/user-wiki/includes/Hooks.php</b> on line <b>195</b><br />
I am only an PHP-beginner myself, and not that experienced. Anyone able to help me out of this, eventually explain what I need to do to fix it?
Any help deeply appreciated! Jumpingscript (talk) 13:43, 11 April 2017 (UTC)
Syntaxhighlighter Not Working on Windows Server
We've installed Syntaxhighlighter for MediaWiki on Windows Server 2012 R2 according to the directions here:
https://www.mediawiki.org/wiki/Extension:SyntaxHighlight#Installation
and it is not working. I suspect it has something to do with the line which shows how to make the pygmentize binary executable in Linux, and is completely silent on what needs to be done in a Windows environment. I'm not incredibly familiar with Python, but the environment variable is set and in the command line I can run pygmentize in it's directory if I add the .py extension, but that doesn't fix the issues with Syntaxhighlighter whatsoever. Without the .py extension windows doesn't see it as an executable.
So the question is: what do I do on Windows Server to make pygmentize an executable that can be used by MediaWiki's syntaxhighlighter to effectively highlight syntax?
Or maybe I'm incorrect and that isn't the issue, in which case I welcome any insights! 96.67.202.145 (talk) 18:04, 11 April 2017 (UTC)
Media Wiki on MS SQL Server
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
Hi, I have installed Media Wiki, latest version from the download section, along with PHP 7.1.3. The VC14 package is installed along with the ODBC 11 PHP drivers and the pdo_sqlsrv drivers extension. I have created a small PHP DB test script that connects and authenticates against the database server and runs a small query so I have confirmed that the database access is working. However when I run the Media Wiki setup, selecting MS SQL server as the database with the working details I get the following error:
PHP Warning: Declaration of DatabaseMssql::ignoreErrors(?array $value = NULL) should be compatible with Database::ignoreErrors($ignoreErrors = NULL) in C:\inetpub\wwwroot\includes\db\DatabaseMssql.php on line 1384
Line 1384 is essentially the end of the file. I have no experience with either PHP or Media Wiki and don't know where to start looking to resolve this, I am sure that as soon as I connect the Media Wiki installation to the database server the schema will create.
Can you advise me as to what the issue may be and where else I can look to resolve this error
Many Thanks Cotters07 (talk) 18:58, 11 April 2017 (UTC)
- I've reported T162781.
- MediaWiki has poor support to MS SQL Server. You should use mysql, or use MediaWiki 1.27 which will be supported for longer time. Ciencia Al Poder (talk) 09:31, 12 April 2017 (UTC)
- Hi - I used MediaWiki 1.28 so I will try 1.27 as you suggest before trying MySQL - can you confirm that aside from the MySQL driver installation that my configuration is good in terms of the components that I have used for a MySQL integration? Cotters07 (talk) 14:35, 12 April 2017 (UTC)
- I can't tell for the components, but what I can tell you is that MediaWiki does not support downgrades. So if you already have an installation with version 1.28, there actually is no supported way of using that installation with version 1.27.
- Btw. I am not really sure that version 1.27 works with MSSQL. MediaWiki always had only some few versions, which somehow more or less supported MSSQL. But generally it is save to say there is no real support. If it works for you, I would call it luck. 2A05:3E00:C:5:0:0:0:101B (talk) 21:22, 12 April 2017 (UTC)
- This has been fixed in this commit, which is available with 1.29.0 and up. —Mainframe98 talk 18:21, 29 September 2017 (UTC)
Import WikiPedia Dump - Unknown Column Errors
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
I have dug until I'm virtually blue in the face with trying to resolve this. I've tried using mwdumper.jar instead, but get the same error regardless of the --format option I type in.
At least the mwimport.pl file continues to build the Database. MWDumper stops processing. I don't work with Databases often and what little I do know is from MS-SQL and not MySQL. Any thoughts?
System Config:
WAMP v.3.0.6 on Windows 7 x64
– Apache 2.4.23
– PHP 5.6.25/7.0.10
– MySQL 5.7.14
– PhpMyAdmin 4.6.4
– Adminer 4.2.5
– PhpSysInfo 3.2.5
Command used:
type enwiki-20170401-pages-articles.xml | perl mwimport.pl | mysql -f -u wikimirror -p wikimirror -D wikimirror
Err and Progress Output:
ERROR 1054 (42S22) at line 207: Unknown column 'page_counter' in 'field list'
ERROR 1054 (42S22) at line 630: Unknown column 'page_counter' in 'field list'
ERROR 1054 (42S22) at line 965: Unknown column 'page_counter' in 'field list'
ERROR 1054 (42S22) at line 1394: Unknown column 'page_counter' in 'field list'
ERROR 1054 (42S22) at line 1872: Unknown column 'page_counter' in 'field list'
ERROR 1054 (42S22) at line 2424: Unknown column 'page_counter' in 'field list'
1000 pages ( 71.429/s), 1000 revisions ( 71.429/s) in 14 seconds
ERROR 1054 (42S22) at line 2972: Unknown column 'page_counter' in 'field list'
ERROR 1054 (42S22) at line 3356: Unknown column 'page_counter' in 'field list'
ERROR 1054 (42S22) at line 3761: Unknown column 'page_counter' in 'field list'
ERROR 1054 (42S22) at line 4298: Unknown column 'page_counter' in 'field list'
ERROR 1054 (42S22) at line 4991: Unknown column 'page_counter' in 'field list'
ERROR 1054 (42S22) at line 5562: Unknown column 'page_counter' in 'field list'
2000 pages ( 51.282/s), 2000 revisions ( 51.282/s) in 39 seconds
This will go on throughout the entire import process. I'd like to get is resolved and understand this better so I'm comfortable with the proof of concept I'm trying to make. Matt (talk) 20:44, 11 April 2017 (UTC)
- I think the basic problem is that the page_counter functionality got removed from MediaWiki and this Wikipedia dump still has the old page_counter column in it, which it should not have any longer.
- So for enwiki removal of the page_counter column has not yet been finished - there still are some loose ends, which still need fixing. 83.135.237.99 (talk) 06:10, 12 April 2017 (UTC)
- See also Project:Support desk/Flow/2017/04#h-Wikipedia_Dump_Import_-_Unknown_column_'page_counter'_in_'field_list'-2017-04-07T05:47:00.000Z Ciencia Al Poder (talk) 09:22, 12 April 2017 (UTC)
Need help editing reference/footnote
Need to edit a reference / footnote using Visual Editor. Just need to replace 2015 annual report with the 2016 report. When I go into edit mode, the reference template is empty. This is for the first footnote on the Schneider Electric page at https://en.wikipedia.org/wiki/Schneider_Electric . The new link should be to http://interactivedocument.labrador-company.com/Labrador/EN/Schneider/registrationdocument2016/
I would appreciate help - it must be simple, but I haven't been able to figure it out. Thanks. Global Editor 15 (talk) 00:22, 12 April 2017 (UTC)
DBQueryError from line 1054 of /var/www/html/wiki/includes/libs/rdbms/database/Database.php: A database query error has occurred. Did you forget to run your application's database schema updater after upgrading?
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
My Mediawiki after I ran apt-get update on Linux, it has the following error:
MediaWiki internal error.
Original exception: [4bf8ad7e845b953a36f3fdc7] /wiki/ DBQueryError from line 1054 of /var/www/html/wiki/includes/libs/rdbms/database/Database.php: A database query error has occurred. Did you forget to run your application's database schema updater after upgrading?
Query: SELECT page_title FROM `page` WHERE page_is_redirect = '0' AND page_namespace = '8' AND (page_title NOT LIKE '%/%' ) AND (page_len > 10000)
Function: MessageCache::loadFromDB(pt-br)-big
Error: 1146 Table 'my_wiki.page' doesn't exist (localhost)
Backtrace:
#0 /var/www/html/wiki/includes/libs/rdbms/database/Database.php(912): Database->reportQueryError(string, integer, string, string, boolean)
#1 /var/www/html/wiki/includes/libs/rdbms/database/Database.php(1254): Database->query(string, string)
#2 /var/www/html/wiki/includes/cache/MessageCache.php(480): Database->select(string, string, array, string)
#3 /var/www/html/wiki/includes/cache/MessageCache.php(403): MessageCache->loadFromDB(string, NULL)
#4 /var/www/html/wiki/includes/cache/MessageCache.php(325): MessageCache->loadFromDBWithLock(string, array, NULL)
#5 /var/www/html/wiki/includes/cache/MessageCache.php(927): MessageCache->load(string)
#6 /var/www/html/wiki/includes/cache/MessageCache.php(858): MessageCache->getMsgFromNamespace(string, string)
#7 /var/www/html/wiki/includes/cache/MessageCache.php(826): MessageCache->getMessageForLang(Language, string, boolean, array)
#8 /var/www/html/wiki/includes/cache/MessageCache.php(767): MessageCache->getMessageFromFallbackChain(Language, string, boolean)
#9 /var/www/html/wiki/includes/Message.php(1188): MessageCache->get(string, boolean, Language)
#10 /var/www/html/wiki/includes/Message.php(802): Message->fetchMessage()
#11 /var/www/html/wiki/includes/Message.php(902): Message->toString()
#12 /var/www/html/wiki/includes/Title.php(557): Message->text()
#13 /var/www/html/wiki/includes/MediaWiki.php(116): Title::newMainPage()
#14 /var/www/html/wiki/includes/MediaWiki.php(136): MediaWiki->parseTitle()
#15 /var/www/html/wiki/includes/MediaWiki.php(766): MediaWiki->getTitle()
#16 /var/www/html/wiki/includes/MediaWiki.php(512): MediaWiki->main()
#17 /var/www/html/wiki/index.php(43): MediaWiki->run()
#18 {main}
Exception caught inside exception handler: [4bf8ad7e845b953a36f3fdc7] /wiki/ DBQueryError from line 1054 of /var/www/html/wiki/includes/libs/rdbms/database/Database.php: A database query error has occurred. Did you forget to run your application's database schema updater after upgrading?
Query: SELECT page_title FROM `page` WHERE page_is_redirect = '0' AND page_namespace = '8' AND (page_title NOT LIKE '%/%' ) AND (page_len > 10000)
Function: MessageCache::loadFromDB(pt-br)-big
Error: 1146 Table 'my_wiki.page' doesn't exist (localhost)
Backtrace:
#0 /var/www/html/wiki/includes/libs/rdbms/database/Database.php(912): Database->reportQueryError(string, integer, string, string, boolean)
#1 /var/www/html/wiki/includes/libs/rdbms/database/Database.php(1254): Database->query(string, string)
#2 /var/www/html/wiki/includes/cache/MessageCache.php(480): Database->select(string, string, array, string)
#3 /var/www/html/wiki/includes/cache/MessageCache.php(403): MessageCache->loadFromDB(string, NULL)
#4 /var/www/html/wiki/includes/cache/MessageCache.php(325): MessageCache->loadFromDBWithLock(string, array, NULL)
#5 /var/www/html/wiki/includes/cache/MessageCache.php(927): MessageCache->load(string)
#6 /var/www/html/wiki/includes/cache/MessageCache.php(858): MessageCache->getMsgFromNamespace(string, string)
#7 /var/www/html/wiki/includes/cache/MessageCache.php(826): MessageCache->getMessageForLang(Language, string, boolean, array)
#8 /var/www/html/wiki/includes/cache/MessageCache.php(767): MessageCache->getMessageFromFallbackChain(Language, string, boolean)
#9 /var/www/html/wiki/includes/Message.php(1188): MessageCache->get(string, boolean, Language)
#10 /var/www/html/wiki/includes/Message.php(802): Message->fetchMessage()
#11 /var/www/html/wiki/includes/Message.php(902): Message->toString()
#12 /var/www/html/wiki/includes/OutputPage.php(906): Message->text()
#13 /var/www/html/wiki/includes/OutputPage.php(954): OutputPage->setHTMLTitle(Message)
#14 /var/www/html/wiki/includes/OutputPage.php(2369): OutputPage->setPageTitle(string)
#15 /var/www/html/wiki/includes/exception/MWExceptionRenderer.php(162): OutputPage->prepareErrorPage(string)
#16 /var/www/html/wiki/includes/exception/MWExceptionRenderer.php(50): MWExceptionRenderer::reportHTML(DBQueryError)
#17 /var/www/html/wiki/includes/exception/MWExceptionHandler.php(71): MWExceptionRenderer::output(DBQueryError, integer)
#18 /var/www/html/wiki/includes/exception/MWExceptionHandler.php(137): MWExceptionHandler::report(DBQueryError)
#19 /var/www/html/wiki/includes/MediaWiki.php(540): MWExceptionHandler::handleException(DBQueryError)
#20 /var/www/html/wiki/index.php(43): MediaWiki->run()
#21 {main} 177.53.48.25 (talk) 14:05, 12 April 2017 (UTC)
- Seems like apt-get somehow broke your wiki.
- The relevant line is:
- Error: 1146 Table 'my_wiki.page' doesn't exist (localhost)
- Is "my_wiki" the name of your wiki database? Or is this name wrong? 2A05:3E00:C:5:0:0:0:101B (talk) 21:28, 12 April 2017 (UTC)
- Yes, seems like it.
- "my_wiki" is the name of my wiki database, It's right. 177.53.48.25 (talk) 10:55, 13 April 2017 (UTC)
- With this report alone I have the same conclusion, but it should be further investigated because it could be a simple misconfiguration.
- Can you give more details? In addition of those requested above:
- can you say your Linux distribution (Debian, Ubuntu) and version?
- you installed the 'mediawiki' package, isn’t it?
- what was the old version and what is the new version? ~ Seb35 [^_^] 06:17, 13 April 2017 (UTC)
- Ubuntu 15.10 (GNU/Linux 4.2.0-16-generic x86_64)
- I already had the mediawiki instaled. I only made "apt-get update" on Ubuntu
- The old version was 1.18.1 until a month ago, then I upgraded it, and now is running the version 1.28.0, but it already make a month and the problem started yesterday after apt-get update. 177.53.48.25 (talk) 11:03, 13 April 2017 (UTC)
- Sorry for the delay, forgot to monitor this. Can you connect to your database to check what is inside:
- either with phpMyAdmin, check if there are tables,
- either with the command line "mysql -u mysqlUser -p mysqlDatabase" then the command "SHOW TABLES;"
- There should be between 50 and 100 tables. How many tables has you? Do you see the table "page"? (you shouldn’t given the error says it is missing)
- Check also the parameters
$wgDBname,$wgDBuser,$wgDBname,$wgDBpassword,$wgDBprefixare correct in LocalSettings.php. - If the parameters are correct but you see some tables are missing, it is probably easier to use a backup (you have a backup, right?). ~ Seb35 [^_^] 19:23, 17 April 2017 (UTC)
- I have 50 tables. And I see the table "page".
- The parameters are all corrects too.
- Yes, I have a backup and I already ran it, but wasn't resolved. 177.53.48.25 (talk) 17:29, 24 April 2017 (UTC)
- You can try to run update.php. 星耀晨曦 (talk) 23:59, 22 October 2017 (UTC)
English
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
My devices are in other languages besides English and i only want English. Not all of them but alot 72.135.117.236 (talk) 17:07, 12 April 2017 (UTC)
how to link mp4 video to media wiki
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
how to link mp4 video to media wiki 66.177.75.83 (talk) 17:51, 12 April 2017 (UTC)
- Link to it like you would link any other external webpage. If you need more info please elaborate. Ciencia Al Poder (talk) 09:26, 13 April 2017 (UTC)
how to upload video
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
how to upload video 66.177.75.83 (talk) 19:18, 12 April 2017 (UTC)
- Through Special:Upload on the wiki you want to upload the video. Otherwise please elaborate. Ciencia Al Poder (talk) 09:25, 13 April 2017 (UTC)
Open internal links in a new tab
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
Hi there,
I would know if is possible open an internal link in a new tab by default at wiki?
Thanks. Crismagnabosco (talk) 20:25, 12 April 2017 (UTC)
- See Snippets/Open specific external links in new window, although it also works with internal links. Ciencia Al Poder (talk) 09:24, 13 April 2017 (UTC)
We killed the wiki by adding a Category
Help! My work peeps and I are stumped--we added a Category tag to some Template pages to be able to run a script to export internal wiki pages to an external web site. However, just adding this Category, without deleting the one(s) already there, caused our entire internal wiki to break. I did not see this myself, but others reported that all the wiki pages displayed just code, and not the text itself. Thoughts? A Gleason J (talk) 01:37, 13 April 2017 (UTC)
- what kind of code it displays? It's PHP? HTML? Wiki code? Does something shows up in the relevant server logs? Ciencia Al Poder (talk) 09:19, 13 April 2017 (UTC)
Extension:Echo problem with email notification daily/weekly
Hi, I have installed MediaWiki 1.28.0 on my local webserver running debian 7.11 amd64, mysql 5.5.54 and php 5.5.38. The Extension:Echo has been installed for notification capability, Echo installed fine and is working as expected except for the Email-bundling feature. The email notifications are send through an external SMTP (gmail).
I'm testing the email notification feature by linking from (Main) to a wiki page(AdminsPage) owned by a specific user (admin). When the user preference for email frequency is set to 'immediate' notification emails are instantly send when a link is made to the users page. So far everything as expected and fine. Because instant notifications lead to spam I set the email notification interval to a daily summary, but now emails are no longer send.
In LocalSettings.php following settings for Echo are set:
$wgDefaultUserOptions['echo-email-frequency']=1;
$wgEchoEnableEmailBatch = true;
$wgEchoUserJobQueue = true;
$wgEchoBundleEmailInterval=120;
With showJobs.php --list I can confirm that a job is added to the queue when a link is created, but when runJobs.php is executed no email is send and the job is cleared from the queue.
| job queue |
|---|
htmlCacheUpdate Main table=pagelinks recursive=1 rootJobIsSelf=1 rootJobSignature=f4dd119f25cef442baf7eca32fecdb9242c8efc4 rootJobTimestamp=20170412171506 requestId=82c2a8130ffc7d4de81f4d85 (id=51,timestamp=20170412171506) status=unclaimed
EchoNotificationDeleteJob AdminsPage userIds={"1":1} requestId=ef4a598483d9073121264f99 (id=53,timestamp=20170412171507) status=unclaimed
|
| runJobs |
|---|
2017-04-12 17:16:44 htmlCacheUpdate Main table=pagelinks recursive=1 rootJobIsSelf=1 rootJobSignature=f4dd119f25cef442baf7eca32fecdb9242c8efc4 rootJobTimestamp=20170412171506 requestId=82c2a8130ffc7d4de81f4d85 (id=51,timestamp=20170412171506) STARTING
2017-04-12 17:16:44 htmlCacheUpdate Main table=pagelinks recursive=1 rootJobIsSelf=1 rootJobSignature=f4dd119f25cef442baf7eca32fecdb9242c8efc4 rootJobTimestamp=20170412171506 requestId=82c2a8130ffc7d4de81f4d85 (id=51,timestamp=20170412171506) t=5 good
2017-04-12 17:16:44 EchoNotificationDeleteJob AdminsPage userIds={"1":1} requestId=ef4a598483d9073121264f99 (id=53,timestamp=20170412171507) STARTING
2017-04-12 17:16:44 EchoNotificationDeleteJob AdminsPage userIds={"1":1} requestId=ef4a598483d9073121264f99 (id=53,timestamp=20170412171507) t=3 good
|
In the end what should be achieved is a weekly email notification to the user bundling all new and edited pages, like a newsletter. The idea was to use the Extension:Echo and Extension:EditNotify.
For any hints or solutions I would be very grateful. Thank you in advance for your help! RTloc (talk) 09:56, 13 April 2017 (UTC)
- The description of $wgEchoBundleEmailInterval says: The time interval between each bundle email in seconds; set a small number for test wikis. This should be set to 0 to disable email bundling if there is no delay queue support.
- Apparently, there seems to be a (maybe external?) system to delay such notifications, but I was unable to see how it's implemented (by reading the extension's page). You may want to bring this up on the extension's talk page. Ciencia Al Poder (talk) 16:35, 16 April 2017 (UTC)
Create page from an office document (doc, docx, odt)
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
Hello,
I would like to create new pages from Office document, by import it in MediaWiki, and to keep the different styles and the images. Is there a solution to do it ?
Thank you in advance for your help ! Rainstorm015 (talk) 10:37, 13 April 2017 (UTC)
- This has been done over and over again. Keep in mind that some conversions are problematic, but check out pandoc for a good start. ☠MarkAHershberger☢(talk)☣ 16:02, 13 April 2017 (UTC)
Users choice to edit anonymous
Is there an extension or setting that let's the user decide if his/her username appears in the logs. Carchaias (talk) 11:41, 13 April 2017 (UTC)
- By default, anyone can edit any namespace on a MW wiki (except the MediaWiki namespace which is sysop-protected). Anyone who wants to edit anonymously simply has to log out (if they are signed in with a registered account) then just proceed to edit any page. Their IP will be shown (I am not sure if you can hide the IP other than by doing it manually through RevisionDelete), but no username. Again, some wikis might restrict anonymous editing, forcing them to log in. │Star-Warden│ 12:49, 13 April 2017 (UTC)
- Ok, to be more precisely: This is a closed Wiki where users have to log in even for reading and for editing also. If a user has the "Edit" right I want to give him freedom to select if he want to show up his username in the logs or just his IP or something less personel. Carchaias (talk) 15:07, 13 April 2017 (UTC)
- Well, I am not sure if MW has such a feature. You will have to wait for someone with more experience about the software to answer. The idea sounds good, so even if it doesn't exist, then it should be implemented. │Star-Warden│ 19:54, 13 April 2017 (UTC)
What are adaquate server Specs for MediaWiki?
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
What are adaquate server Specs for MediaWiki? I am looking at vps and am not sure what to get. 24.39.1.139 (talk) 15:41, 13 April 2017 (UTC)
- mwstake.org is using AWS's t2.micro with a separate db.t2.micro for the database. ☠MarkAHershberger☢(talk)☣ 21:58, 13 April 2017 (UTC)
WikiData as external source in local version of Wikipedia
Hello!
Is it possible to make WikiData as external source in local version of Wikipedia based on MediaWiki? So there will be no need to upload a huge database with wikidata entities to my laptop :)
What changes need to be made in default WikiBase client configuration file (../extensions/Wikibase/client/config/WikibaseClient.example.php) ? Doktor 13 (talk) 19:44, 13 April 2017 (UTC)
Shrinking database dump size over time
Is it normal for mediawiki database dumps (using mysqldump) to become smaller over time while the wiki content is strictly growing (i.e. nothing is being deleted)? Or is something wrong with my backup script? 91.53.43.87 (talk) 20:10, 13 April 2017 (UTC)
- That does seem odd. What does your backup script look like? ☠MarkAHershberger☢(talk)☣ 21:49, 13 April 2017 (UTC)
- The essence of it is
- mysqldump -h localhost -u user -pxxxx mediawikidb | bzip2 > yyyy.sql.bz2
- I made sure to compare the uncompressed sizes... 91.53.48.225 (talk) 15:45, 14 April 2017 (UTC)
- Some data is deleted. Things that come to my mind:
- Old recent changes
- Cached data (object cache, parser cache, resource loader cache), specially during an upgrade, the tables storing this data may be truncated.
- Jobs: Completed jobs get deleted
- Watchlist configuration: in case some accounts had a lot of pages in their watch lists and they clear their watch lists (but unlikely to be noticeable) Ciencia Al Poder (talk) 16:12, 16 April 2017 (UTC)
How to cache high expense special page without enable $wgMiserMode ?
There are some special page were so high database cost that user can't access them before reaching php's time out.
Currently we set $wgMiserMode to true to get these special page cached, but it also cause may problem with patrol function (where patrolled page marked as not been patrolled).
How can we set mediawiki to cache special page (e.g. Special:WantedPages ) without enable $wgMiserMode ? Deletedaccount4567435 (talk) 23:41, 13 April 2017 (UTC)
- Since I don't know about wgMiserMode and patroling, why do you think there is an interaction?
- Also, I think your job queue settings may be important. How is your job queue handled? ☠MarkAHershberger☢(talk)☣ 15:01, 14 April 2017 (UTC)
How to write good script
if(mw.config.get("wgRelevantUserName")){
var username = mw.config.get("wgRelevantUserName");
var link = mw.util.addPortletLink(
'p-tb',
'#',
'Diblok4',
'pt-diblok4link',
'Add tag diblok4'
);
}
$(link).click(function(){
check = confirm("Do you want to give " + username + "tag?");
if (check) {
alertUser(username);
}
});
function alertUser(username) {
//If page already exists
$.ajax( {
url: mw.util.wikiScript( 'api' ),
type: 'POST',
dataType: 'json',
data: {
format: 'json',
action: 'edit',
title: 'User talk:' + username,
summary: 'menambah tag {{diblok4}}',
nocreate: 1,
appendtext: '\n\n{{subst:' + 'Diblok4}}',
token: mw.user.tokens.get( 'csrfToken' )
}
} ).done(console.log( "Add tag diblok: " + username )
).fail( function ( e, data ){
console.log( e.message );
console.log( JSON.stringify( data ) );
});
//If pages does not exist
$.ajax( {
url: mw.util.wikiScript( 'api' ),
type: 'POST',
dataType: 'json',
data: {
format: 'json',
action: 'edit',
title: 'User:' + username,
title: 'User talk:' + username,
summary: 'menambahkan tag {{diblok4}} ke pengguna: ' + username,
create: 1,
text: '{{subst:' + 'Diblok4}}',
token: mw.user.tokens.get( 'csrfToken' )
}
} ).done(console.log( "add tag diblok: " + username )
).fail( function ( e, data ){
console.log( e.message );
console.log( JSON.stringify( data ) );
});
}
Murbaut (talk) 03:21, 14 April 2017 (UTC)
- how to fix two title " title : 'User' + username,
- title: 'User talk' + username, " What wrong? Murbaut (talk) 03:24, 14 April 2017 (UTC)
- What are you trying to do? The two title keys in the second mean that only the second one ("User talk") is seen, which is the same as the place above. ☠MarkAHershberger☢(talk)☣ 15:06, 14 April 2017 (UTC)
- @MarkAHershberger: But, Can I create warn in userpage and usertalk, can you provide to me, what is script code? Murbaut (talk) 23:14, 14 April 2017 (UTC)
- Murbaut: You can't edit two (or more) pages in a single API request. You have to do separate api calls, one for user and other for user talk. Ciencia Al Poder (talk) 16:09, 16 April 2017 (UTC)
- @Ciencia Al Poder: Can you wrote example ? Murbaut (talk) 21:59, 16 April 2017 (UTC)
- Just duplicate the api call code...
| Extended content |
|---|
if(mw.config.get("wgRelevantUserName")){
var username = mw.config.get("wgRelevantUserName");
var link = mw.util.addPortletLink(
'p-tb',
'#',
'Diblok4',
'pt-diblok4link',
'Add tag diblok4'
);
}
$(link).click(function(){
check = confirm("Do you want to give " + username + "tag?");
if (check) {
alertUser(username);
}
});
function alertUser(username) {
//If page already exists
$.ajax( {
url: mw.util.wikiScript( 'api' ),
type: 'POST',
dataType: 'json',
data: {
format: 'json',
action: 'edit',
title: 'User talk:' + username,
summary: 'menambah tag {{diblok4}}',
nocreate: 1,
appendtext: '\n\n{{subst:' + 'Diblok4}}',
token: mw.user.tokens.get( 'csrfToken' )
}
} ).done(console.log( "Add tag diblok: " + username )
).fail( function ( e, data ){
console.log( e.message );
console.log( JSON.stringify( data ) );
});
//If pages does not exist
$.ajax( {
url: mw.util.wikiScript( 'api' ),
type: 'POST',
dataType: 'json',
data: {
format: 'json',
action: 'edit',
title: 'User:' + username,
summary: 'menambahkan tag {{diblok4}} ke pengguna: ' + username,
create: 1,
text: '{{subst:' + 'Diblok4}}',
token: mw.user.tokens.get( 'csrfToken' )
}
} ).done(console.log( "add tag diblok: " + username )
).fail( function ( e, data ){
console.log( e.message );
console.log( JSON.stringify( data ) );
});
$.ajax( {
url: mw.util.wikiScript( 'api' ),
type: 'POST',
dataType: 'json',
data: {
format: 'json',
action: 'edit',
title: 'User talk:' + username,
summary: 'menambahkan tag {{diblok4}} ke pengguna: ' + username,
create: 1,
text: '{{subst:' + 'Diblok4}}',
token: mw.user.tokens.get( 'csrfToken' )
}
} ).done(console.log( "add tag diblok: " + username )
).fail( function ( e, data ){
console.log( e.message );
console.log( JSON.stringify( data ) );
});
}
|
mailto links
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
Any reason why this is happening for mailto links? "user:Nicole Sharp/sandbox" Nicole Sharp (talk) 12:30, 14 April 2017 (UTC)
- Why are you using a pipe in those links? Those only work in internal links, with two brackets on each side instead of one. See Help:Links#External links. —Mainframe98 talk 14:53, 14 April 2017 (UTC)
- LOL. Do I feel foolish. Yes, of course. I forgot that somehow. It has been corrected in the sandbox now. Thanks! Nicole Sharp (talk) 16:55, 14 April 2017 (UTC)
HELP with seach bar
Hello, I look for a person who can use on the bar of research médiawiki. I shall wish to integrate the research of my procedure in Word file connected with my procedure.
Thanks all !!! Please help me Yaazamin (talk) 14:02, 14 April 2017 (UTC)
Restriction on timestamps
Is there a restriction on which past timestamps could be used for rev_timestamp in the revision table or log_timestamp in the logging table? Could they be set to some moment within the 2nd millennium (e.g. 19690720000000, which would display as "00:00, 20 July 1969") or the first 15 days in 2001, before Wikipedia's first "UuU" edit was made? GTrang (talk) 14:42, 14 April 2017 (UTC)
[Resolved] (i think) Issues loading JS - MW 1.28
Hi,
I'm having some issues loading javascripts on my wiki.
Basically, whenever I open a page, the 1st javascript from the Common.js will give me the following error:
Exception in module-execute in module site:
TypeError: $(...).msDropDown is not a function TypeError: $(...).msDropDown is not a function
at eval (eval at <anonymous> (load.php?debug=false&lang=en-gb&modules=jquery%2Cmediawiki&only=scripts&skin=monobook&version=11b9z…:4), <anonymous>:1:68)
at eval (<anonymous>)
at load.php?debug=false&lang=en-gb&modules=jquery%2Cmediawiki&only=scripts&skin=monobook&version=11b9z…:4
at Function.globalEval (load.php?debug=false&lang=en-gb&modules=jquery%2Cmediawiki&only=scripts&skin=monobook&version=11b9z…:4)
at Object.<anonymous> (load.php?debug=false&lang=en-gb&modules=jquery%2Cmediawiki&only=scripts&skin=monobook&version=11b9z…:161)
at fire (load.php?debug=false&lang=en-gb&modules=jquery%2Cmediawiki&only=scripts&skin=monobook&version=11b9z…:45)
at Object.add [as done] (load.php?debug=false&lang=en-gb&modules=jquery%2Cmediawiki&only=scripts&skin=monobook&version=11b9z…:45)
at Object.always (load.php?debug=false&lang=en-gb&modules=jquery%2Cmediawiki&only=scripts&skin=monobook&version=11b9z…:46)
at runScript (load.php?debug=false&lang=en-gb&modules=jquery%2Cmediawiki&only=scripts&skin=monobook&version=11b9z…:161)
at checkCssHandles (load.php?debug=false&lang=en-gb&modules=jquery%2Cmediawiki&only=scripts&skin=monobook&version=11b9z…:162)
The thing is, this doesn't always happen and by changing the language (I have the language selector extension), it seems to always fix itself but only for that one page. Moving to a different page may or may not result in another "not a function" error.
For example, I go to the main page. I get the " is not a function" error. I switch the language to german. Everything loads.
link to my wiki https://aionpowerbook.com/pb/index.php?title=Main_Page
Firefox seems to not have this issue, don't know why :x
Mediawiki 1.28, php 7.0 Cristal01 (talk) 20:25, 14 April 2017 (UTC)
- Moving everything from common.js to a new .js file and loading it along all the other javascripts by the extension seems to have worked. Cristal01 (talk) 07:24, 15 April 2017 (UTC)
- That was probably because the JavaScript that provides the msDropDown function hasn't been loaded yet, you need to put the code using it inside a function that's run after the page ends loading, or if the script is a ResourceLoader module, inside a function called in mw.loader.using() Ciencia Al Poder (talk) 16:03, 16 April 2017 (UTC)
- Tried to update Bluespice 2.27.1/Mediawiki 1.27.1 to Bluespice 3. (used https://en.wiki.bluespice.com/wiki/Setup:Installation_Manual/Update)
- Getting similar error for all Bluespice special sites, but only with Chrome, not with firefox. Guido.esser (talk) 15:57, 2 November 2018 (UTC)
change background color
How do I change the background color of a personal MediaWiki installation? The whole background, i.e. every pixel that displays as white, I would like to display as pink instead. That includes tabs, borders, icons, tables, menus, preformatted text, etc. [1] Nicole Sharp (talk) 02:10, 15 April 2017 (UTC)
- I have gone ahead and created the page "nontechnical introduction to customizing MediaWiki." If anyone can help with how to fill in the rest of the background color, it would be appreciated, thanks! Nicole Sharp (talk) 12:13, 15 April 2017 (UTC)
- Thanks for creating documentation. However, your Nontechnical introduction is actually technical. :) I propose to delete https://www.mediawiki.org/wiki/Talk:Nontechnical_introduction_to_customizing_MediaWiki as existing documentation should be improved instead of adding new documentation on seperate pages... Malyacko (talk) 12:59, 16 April 2017 (UTC)
- I replied at "
" "[[Talk:Nontechnical introduction to customizing MediaWiki]]Talk:Customizing MediaWiki for beginners." Nicole Sharp (talk) 16:11, 16 April 2017 (UTC), updated 18:23, 16 April 2017 (UTC) - There might be some useful information for you here:
- https://www.hostknox.com/knowledgebase/681/How-to-change-background-colors-in-MediaWiki.html
- Note that the hyperlinked articles in the above link have broken URLs, just remove "clients/" from the URLs for them to work. AhmadF.Cheema (talk) 08:07, 17 April 2017 (UTC)
- Yes, I have already been to that page. I tried using all of the attributes listed there, but they still do not cover the tabs or the searchbox. Nicole Sharp (talk) 10:29, 17 April 2017 (UTC)
- The following code from HostKnox still has gaps in the background color:
body {background: #e6ffb4} #content {background: #e6ffb4} #bodyContent {background: #e6ffb4} #firstHeading {background: #e6ffb4} #catlinks {background: #e6ffb4} #mw-head-base {background: #e6ffb4} #mw-panel {background: #e6ffb4} #p-logo {background: #e6ffb4} #p-navigation {background: #e6ffb4} #p-tb {background: #e6ffb4} #p-tb-label {background: #e6ffb4} #p-tb .body {background: #e6ffb4} #footer {background: #e6ffb4}- Note that the CSS used for the DarkVector skin is able to colorize the tabs and searchbox, but I still don't know which attributes the author used to do that: [2] and [3]. Nicole Sharp (talk) 10:29, 17 April 2017 (UTC)
- In https://github.com/dolfinus/DarkVector/blob/master/darkvector.less, have you already looked at #searchInput for searchbox and #p-cactions for tabs.
- In case you didn't already know this, to find the names of CSS elements, you can hit F12 while a webpage is opened. This will open browser developer tools, which includes a selection tool to which allows a user to select a web page element and have its name pop out. Shortcut key on Chrome (Ctrl + Shft + C). AhmadF.Cheema (talk) 15:44, 17 April 2017 (UTC)
- Those attributes don't work. I got the searchbox and some more elements with:
body {background: aqua} /* background color for the bottom and left of each page, up to behind half of the logo */ #mw-page-base {background: aqua} /* background color for behind the top half of the logo and at the top of each page */ .mw-body {background: aqua} /* background color for page content (excluding tables, images, and preformatted text) */ pre, tt, code {background: aqua} /* background color for preformatted text */ div#simpleSearch {background: aqua} /* background color for searchbox */ div.thumbinner {background: aqua} /* background color for transparent images and image captions */ table.wikitable {background: aqua} /* background color for tables (excluding ! table items) */ #toc {background: aqua} /* background color for page table of contents */ /* additional attributes from list at HostKnox.com */ #content {background: aqua} #bodyContent {background: aqua} #firstHeading {background: aqua} #catlinks {background: aqua} #mw-head-base {background: aqua} #mw-panel {background: aqua} #p-logo {background: aqua} #p-navigation {background: aqua} #p-tb {background: aqua} #p-tb-label {background: aqua} #p-tb .body {background: aqua} #footer {background: aqua}- The only parts still not colorized are table labels and the tabs for "Message," "Discussion," "Read," "View source," and "View history." I finished going through anything that looked relevant in the DarkVector skin, so not sure what the attributes for those might be. Nicole Sharp (talk) 21:53, 17 April 2017 (UTC)
'"`UNIQ--postMath-00000001-QINU`"' (Extension:Math)
This message constantly appears in my software, I tried ways to readjust but I'm having difficulties. WikiUser22222 (talk) 05:46, 15 April 2017 (UTC)
- I have the same Problem. Have you found a solution?
- For me it shows everything correctly in the visual editor, but as soon as I call the page normally this error occurs. Josua Koenig (talk) 22:37, 6 May 2021 (UTC)
- Done!!! I just had to set $wgDefaultUserOptions['math'] = 'png' in LocalSettings.php. Josua Koenig (talk) 22:46, 6 May 2021 (UTC)
- I am having the issue in Wikipedia. Did you find a solution for WikiMedia projects (Wikipedia etc...) ? is there an active bug somewhere ? ForzaGreen (talk) 21:13, 8 January 2022 (UTC)
- @ForzaGreen See https://phabricator.wikimedia.org/maniphest/query/MDLYM.vulu7g/#R and How to report a bug Malyacko (talk) 14:27, 9 January 2022 (UTC)
- Dang i have the same problem 171.248.101.14 (talk) 06:13, 18 October 2023 (UTC)
Article creating tool
Hi! I am an active Tamil Wikipedian. We wish to create many articles without the help of bots. So, we need a tool which collects data and construct simple sentences according to the given data. Like, Name:-_____ Birthdate:-_______. Then it should make sentences like. _____ is an astronomer. He was born on _______. Is there are any tools like this? Or is this possible to create any tools like this. If yes, then we can create many articles about people, places, films, rivers, etc. Can you design a tool for us. Please reply me Shriheeran (talk) 12:28, 15 April 2017 (UTC)
- There is a tool that creates article stubs from Wikidata data: https://de.wikipedia.org/wiki/Benutzer:Schnark/js/stub but unfortunately it is in German language. FriedhelmW (talk) 13:38, 15 April 2017 (UTC)
- Can you give me a snapshot of it and help me to translate it! Shriheeran (talk) 15:39, 15 April 2017 (UTC)
- There are six files you can copy to your user space. They are listed here:
- https://de.wikipedia.org/w/index.php?title=Spezial:Pr%C3%A4fixindex/Benutzer:Schnark/js/stub
- Then, insert
importScript('User:Shriheeran/js/stub.js');- into your common.js. FriedhelmW (talk) 16:09, 15 April 2017 (UTC)
- It is not working even I installed it. Shriheeran (talk) 16:19, 15 April 2017 (UTC)
- Then, set your language to English, open the article you want to create in the source editor and select "Create Stub" in the sidebar. FriedhelmW (talk) 16:26, 15 April 2017 (UTC)
- Yes It is working but how to translate this tool to be valid in tamil language Shriheeran (talk) 16:40, 15 April 2017 (UTC)
- Copy the six files listed above to tamil wikipedia. There, edit the files:
User:Shriheeran/js/stub.js/defaultUser:Shriheeran/js/stub.js/main/jsonUser:Shriheeran/js/stub.js/personUser:Shriheeran/js/stub.js/person/jsonFriedhelmW (talk) 16:54, 15 April 2017 (UTC)
- Can you explain furtherly Shriheeran (talk) 16:30, 15 April 2017 (UTC)
- You did not copy the files to your home wiki? FriedhelmW (talk) 16:35, 15 April 2017 (UTC)
- I will do it later (tomorrow). And can you help me in answering my question on translating, and I didn't tested this 100%. I had created a test article in de wiki. Please delete that. Thank you for your replies and help. I'll talk to you tomorrow. Thanks a lot. Shriheeran (talk) 17:05, 15 April 2017 (UTC)
- Ok, you can contact me on https://de.wikipedia.org/wiki/Benutzer_Diskussion:FriedhelmW FriedhelmW (talk) 17:44, 15 April 2017 (UTC)
- I have copied everything and Installed it. When cilcking Create stub, it requests code of wikidata. when inserting the code and giving ok it says that "No configuration was found on this wiki!". How to solve this. Shriheeran (talk) 02:21, 16 April 2017 (UTC)
- In User:Shriheeran/js/stub.js replace ':Schnark/js/stub.js/' by ':Shriheeran/js/stub.js/'. FriedhelmW (talk) 09:40, 16 April 2017 (UTC)
- Yes I did that before but this tool is not very comfortable Shriheeran (talk) 10:40, 16 April 2017 (UTC)
Yardım Lütfen
Ben adıma açılmış olan bir wiki conference sayfasını silmenin yollarını arıyorum. Yardım edebilir misiniz ? Emircan Yıldızoğlu (talk) 19:54, 15 April 2017 (UTC)
- Indrisy anefa, tsy afaka mamafa pejy. Izany dia tsy maintsy manao ny mpitantana. [[kgh]] (talk) 20:43, 15 April 2017 (UTC)
Error while editing in the visual editor
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
After you click on the "Edit" button, the editor's download appears and the error pops up:
Error while loading data: Could not connect to the server. Try again?
How can this be remedied? EvangelionI (talk) 21:26, 15 April 2017 (UTC)
- Or such an error: "(curl error: no status set)" EvangelionI (talk) 06:24, 16 April 2017 (UTC)
- And me too Kizule (talk) 11:48, 4 May 2017 (UTC)
- The Docs say
- Error loading data from server: HTTP 500. Would you like to retry?
- Usually for new installs, this is due to "curl", "php5-curl", or "php7.0-curl" not being installed on your server.
- Or perhaps your setMwApi uri is set incorrectly with e.g. https instead of http. Or there is a bad rewrite rule in your apache configuration that would cause API failures. 24.39.1.139 (talk) 15:06, 4 May 2017 (UTC)
- Thank you very much. I do not have installed the curl. Installing it these days, but I tell you that it is resolved. Kizule (talk) 09:54, 5 May 2017 (UTC)
Adding an button in edit tool bar
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
I wish to create a tool. In that tool, when clicking the special button in the toolbar, a text should be created. How to do this? This is like the functions of buttons in the toolbar now. Shriheeran (talk) 06:11, 16 April 2017 (UTC)
- I got it Shriheeran (talk) 02:33, 17 April 2017 (UTC)
In a link, pass parameter to template
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
This works: {{IndividualLayout|Fred|Smith}}
This does not work: [[IndividualLayout|Fred|Smith]]
How do I pass variables to a template inside a link?
Thanks,
Barb Bevenson (talk) 06:45, 16 April 2017 (UTC)
- Perhaps you mean [[Link|{{IndividualLayout|Fred|Smith}}]] ? FriedhelmW (talk) 10:14, 16 April 2017 (UTC)
- Forgot to thank you! Thank you! Bevenson (talk) 16:46, 28 July 2018 (UTC)
WikiEditor/Toolbar customization
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
I can not add google ocr button In wikieditor . Please give me a tutorial for adding ocr button or give me this codes . And I have no idea where I add this code . Can anyone help me ? ShahadatHossain (talk) 09:46, 16 April 2017 (UTC)
- Please see Project:Support desk/Flow/2017/03#h-OCR_button-2017-03-18T05:24:00.000Z and the replies you received. Posting the same question again is not the best use of other people's time. Malyacko (talk) 12:54, 16 April 2017 (UTC)
This site can’t be reached.
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
I've recently started using my local wiki again and decided to try to follow the instructions to set up a wiki family so I could start a second wiki. I set up the second database and renamed the localsettings.php file as instructed but was unable to figure out how to continue as the instructions only cover servers after that part. I replaced the Localsettings file with the original working one and it takes me to the login screen as expected but when I log in with my usual credentials I get a page saying
This site can’t be reached.
localhost refused to connect.
I've checked the Localsettings file and the username and password are set to the usual root ones. I've checked PHPmyadmin and the database is there and my personal credentials are still there with full access.
What am I missing? 80.234.151.158 (talk) 21:09, 16 April 2017 (UTC)
- As a side note: Using the user root for normal MediaWiki operation on database is a security risk, you should use a specific user for the MediaWiki database.
- About the error, the message looks like it's generated by your browser, not by MediaWiki. Please confirm that. If that's the case, note that $wgServer shouldn't be "localhost", otherwise all links and redirects will point to "localhost" which means "the same computer from where you're making the request". I assume your wiki is installed on a different machine and needs to be accessed from different computers, so you should put there a domain name/host name/IP address accessible from all of them.
- If your setup is correct, it may be a bug in PHP causing the webserver engine to segfault and thus closing the connection. The webserver's logs may give you more details. Ciencia Al Poder (talk) 09:13, 17 April 2017 (UTC)
- It is kept on the same machine as it's just a small personal wiki for my own research and data and I'm the only one that needs access. Hence why I've left it as root, rather than change it. Yes the browser(chrome) is giving the error. Given that it is a local installation would this still be a PHP issue? 80.234.151.158 (talk) 09:23, 17 April 2017 (UTC)
- If the login page points to the same host and path than the redirect after login (look at the browser's address bar) and not another host, the error is in PHP, since a PHP script can't force a "disconnect" or refuse a connection, only display a blank page or error at best. Ciencia Al Poder (talk) 09:38, 17 April 2017 (UTC)
- Found it, the re-direct wasn't using the correct port. I have it set up as 8080 rather than 80 due to windows conflicts. I've gotten on to the main page but its as though its a new wiki, all of my info has gone, any pages I try to manually navigate to appear as new pages. Is there any way to get my wiki back? Or even just get a dump of it so I can set it up on a fresh install? 80.234.151.158 (talk) 09:59, 17 April 2017 (UTC)
- If you just created a new database, and you haven't deleted the previous database, you should be able to edit LocalSettings.php and change the database connection settings to point to the previous database Ciencia Al Poder (talk) 11:34, 17 April 2017 (UTC)
Auto-future edit
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
I was wondering if there is an extension/setting where you can do an edit to any article, but that edit wont show up on the spot, but rather added into the future on a specified date. Perfect for when you need to update an article of which you have ahead information but cant release it on the spot. Anyone know if this is possible? 89.123.208.220 (talk) 23:35, 16 April 2017 (UTC)
- Don't know of any extensions, but one way to do it is through templates using time variables.
- But this method is likely to require the information you want to release later on and presumably to keep hidden at the moment, to be publicly available on the templates page.
- The information will not appear on the article page but anyone will be able to see the information on the template page. AhmadF.Cheema (talk) 08:01, 17 April 2017 (UTC)
- Would you please tell me how to with those time variables? 89.123.208.220 (talk) 09:11, 21 April 2017 (UTC)
- A similar approach is performed for the featured articles on Wikipedia's main page. A sort of summary for an article is created and edited for around 3-4 weeks before the time to display it on the main page arrives.
- Wikipedia does this by using templates like:
- {{Wikipedia:Today's featured article/{{#time:F j, Y}}}}
- which uses parser functions to get today's date
- When a particular date arrives, this template transcludes the information that was created and saved weeks ago.
- {{Wikipedia:Today's featured article/{{tomorrow|long}}}}
- Other relevant links:
- {{Wikipedia:Today's featured article/{{#time:F j, Y}}}}
- And is there a way to restrict people to access those templates ahead? 89.123.208.220 (talk) 11:24, 22 April 2017 (UTC)
- If the information isn't too sensitive, there isn't really much need to restrict them. Wikipedia uses them and few people go poking around in the source code to get to the template.
- One method which can be used to restrict these templates would be to use Extension:Lockdown. This extension can be used to create a restricted namespace. The future date template can be created in this namespace to restrict other people from viewing the information on the the page. AhmadF.Cheema (talk) 23:10, 22 April 2017 (UTC)
- That seems helpful! Thank you very much for all your help! 89.123.208.220 (talk) 23:34, 22 April 2017 (UTC)
Well, The changes to anon. only, account creation disabled, email diabled are possible.
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
How do I change the text "cannot edit own talk page" to something else on my wiki? The Brynda1231 |Talc page 02:24, 17 April 2017 (UTC)
- Messages like these can be changed from your Wiki's Special:AllMessages page.
- The particular one you are looking for might be at your Wiki's: MediaWiki:Block-log-flags-nousertalk page. AhmadF.Cheema (talk) 07:54, 17 April 2017 (UTC)
Central notice
How to get the source code of Central notice, As me too have to design a notice for a contest in ta wikipedia Shriheeran (talk) 03:45, 17 April 2017 (UTC)
Would love to upload an Ancestry file.
They download in a text. format and your uploads don't seem to accept that format.
Lindag 73.223.9.133 (talk) 06:16, 17 April 2017 (UTC)
Return html comment in source code
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
In an extension (onBeforePageDisplay and onAfterFinalPageOutput hooks) I seem to be unable to add (<!-- html comments -->). Not sure if some for of tidy removes them.
$wgTidyConfig is not set.
How can I make them appear? Subfader (talk) 17:12, 17 April 2017 (UTC)
- The parser always removes HTML comments. See Manual:Parser.php. FriedhelmW (talk) 19:17, 17 April 2017 (UTC)
Bot problems
When I send a MassMessage on my wiki, the edit shows up as a bot edit in Special:RecentChamges but when I go to view the diff it says the revision doesn't exsist. The other case is with the translate extension. When I mark a page for translation FuzzyBot doesn't run. I'm upswing apache on Debian 8 with MediaWiki 1.28.1. 67.244.49.134 (talk) 19:09, 17 April 2017 (UTC)
- Any help would be great. 2002:43F4:3186:1234:AD7C:77BD:4F00:C0CC (talk) 22:10, 17 April 2017 (UTC)
- I really need help with this. 67.244.49.134 (talk) 11:09, 18 April 2017 (UTC)
I'd not like to display hidden categories to the non-logged in users
- Hidden category's do not show on a page unless your editing it. Hidden category's are automaticly placed in Category:Hidden Categories 67.244.49.134 (talk) 13:10, 18 April 2017 (UTC)
- I do not see hidden categories on your wiki. It probably took a while to update the cache of those pages when you added the __HIDDENCAT__ to the category Ciencia Al Poder (talk) 09:34, 19 April 2017 (UTC)
- @Ciencia Al Poder
- oh i see...

- I'm a bit confused
- I'm still seeing them here....rl this url
- http://vanisource.org/wiki/Category:Administrative_Development_Pages
- have attached the image on the side.
- Is this what you are reffering to also?
- ~ Arnab Arnab vani (talk) 09:51, 19 April 2017 (UTC)
- Category:Hidden Categories is never hidden. If you go to a content page, hidden categorys do not show up. 67.244.49.134 (talk) 11:29, 19 April 2017 (UTC)
Table of Pages within Category, get Infobox Parameters
I have Pages which include a Infobox with a Template like this:
Code of Page "Page 1":
{{InfoboxExample
|PARAMETER1=One
|PARAMETER2=Two
}}
The Template does generate the Infobox out of the Information in here. This works perfectly fine. However, I would also like to generate a Table on another page including information from the Infoboxes from all Pages that are in a certain category. I can generate a list of all pages within a category with the DynamicPageList extension or even generate a table with the DynamicPageList (third-party) extension, but I was not successful to find a method to include data from the Infoboxes into the table.
I would like to get a table like this:
| Page Name | PARAMETER1 | PARAMETER2 |
|---|---|---|
| Page 1 | One | Two |
| Other pages within category.. |
Is there an easy way to achieve this with the templates or can I get this result with another method? Any suggestion would be highly appreciated. Brue (talk) 14:57, 18 April 2017 (UTC)
Marvin Duckler
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
I'm an intern in a Video Game Archive at the University of Arizona. The internship focuses mainly in Video Game Design and one of the major collections in this archive is The Marvin Duckler Collection.
Marvin came to NCET in 1972 as production manager at the urging of Brice Howard, following many years as a lighting director at CBS, New York, during the 'golden age of live television.' Being rather on the quiet side, and not apparently inclined toward the production of video art, his work was mainly in the role of supporting the more prominent and/or flamboyant personalities on the NCET scene. Before his departure in about 1975, though, he had acceeded to the position of Associate Director under Paul Kaufman.
Probably his most public act was the preparation of a paper for the Asilomar Conference [TELEVISION: ART AND INFORMATION] intriguinfgly entitled Talking Faces, Eating Time and Electronic Catharsis (Adobe Acrobat file)
http://ncet.torusgallery.com/duckler/duckler.html
Please consider him for a Wikipedia page, I admire him just like many others and he has done a lot of interesting projects!
Thank You.
http://lgira.mesmernet.org/ 150.135.210.55 (talk) 23:18, 18 April 2017 (UTC)
- This is the support desk for MediaWiki. You will need to post your request to the folks at Wikipedia and comply with their notability rules. │Star-Warden│ 01:54, 19 April 2017 (UTC)
SSL
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
I can't get ssl to work on my wiki. I changed $wgServer to https://mydomain.com, but Chrome still says that parts of the page are not secure. Any help would be great. 67.244.49.134 (talk) 23:33, 18 April 2017 (UTC)
- You are loading parts of the wiki from other non-ssl sources, like analytics or advertisements scripts, scripts from other wikis, or your pages are cached and have still the cache of the HTML before the change to HTTPS. In the later case, you may want to set $wgCacheEpoch Ciencia Al Poder (talk) 09:31, 19 April 2017 (UTC)
- It was working fine before we moved hosts, and I haven't changed anything since then. 67.244.49.134 (talk) 20:40, 19 April 2017 (UTC)
- I fixed it. A MediaWiki message had some http image urls in it. 67.244.49.134 (talk) 21:00, 19 April 2017 (UTC)
Needing to upload logo for non-profit company.
Tried copying license information from a similar non-profit, but image was deleted. How do I go about fixing this?
Page: Uplift Education Joshforester (talk) 05:31, 19 April 2017 (UTC)
- Hi, this is the support forum for the software that runs Wikipedia, not for Wikipedia itself. You can find the support forum for the English Wikipedia at Wikipedia:Help desk.
- I will try to answer your question regardless. The logo of the organisation in question is likely to be copyrighted and not available under a license that grants people to use it freely. You uploaded this logo to Wikipedia's sister site Wikimedia Commons (which is a repository of free materials). This is logical as this is where we often guide our users towards for file contributions. However as this specific logo is not free, it does not qualify to be hosted there. It can only be hosted and used on the English Wikipedia under a 'fair use' exemption. This contribution can be started using this link.
- If you need help, please do reach out to fellow English Wikipedia editors. —TheDJ (Not WMF) (talk • contribs) 09:21, 19 April 2017 (UTC)
MassMessage
MassMessage won't work on my wiki. I send a message and the edit(s) appear in Special:RecentChanges, but when viewing the diff I am told that the revision doesn't exist. I found the following in the error log.
[Wed Apr 19 11:01:46.964673 2017] [:error] [pid 15247] [client (ip removed):62511] PHP Notice: JobQueueGroup::__destruct: 2 buffered job(s) of type(s) RecentChangesUpdateJob, EnotifNotifyJob never inserted. in /var/www/html/includes/jobqueue/JobQueueGroup.php on line 449, referer: http://testwiki.wiki/wiki/Special:MassMessage
Any help would be great, thanks. 67.244.49.134 (talk) 15:08, 19 April 2017 (UTC)
- Looks like another instance of T100085 Ciencia Al Poder (talk) 09:45, 20 April 2017 (UTC)
VisualEditor
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
I installed VE and parsoid on my wiki, and I do see the VE tab, but when I click it I am brought back to the page I was on. Any help would be great. Thanks. MacFan4000 (talk) 16:23, 19 April 2017 (UTC)
- Are you given any error? An HTTP-related one, perhaps? │Star-Warden│ 18:51, 19 April 2017 (UTC)
List of available translations with Translate and ULS
I created a wiki using mediawiki 1.28 and installed Translate & UniveralLanguageSelectorextensions to create pages in two languages.
I need to create a list of available translations for current page (something like interwiki links )
How can i have a list of available translations of each page ? Ryneq (talk) 20:54, 19 April 2017 (UTC)
- Have you tried adding <languages/>? Ciencia Al Poder (talk) 09:31, 20 April 2017 (UTC)
- thanks but <languages/> displays languages in content itself and i need to put it in all pages
- I'm looking for something to list languages in sidebar or tab bar Ryneq (talk) 13:42, 20 April 2017 (UTC)
SSL
I have ssl configured on my wiki and it works, I have ssl forced. When I try to load a non https version of any wiki page it directs me to a https version of the Main Page. How do I make it direct the user to a https version of the page they were trying to visit? 67.244.49.134 (talk) 23:56, 19 April 2017 (UTC)
- My .htaccess goes as follows.
- RewriteCond %{HTTPS} off
- RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} 2002:43F4:3186:1234:B871:67C3:17F9:BA60 (talk) 00:05, 20 April 2017 (UTC)
- You have %{REQUEST_URI} but that doesn't include the request parameters (like title=Article_name, you may need %{QUERY_STRING} or just [QSA] Ciencia Al Poder (talk) 09:31, 20 April 2017 (UTC)
- I added that, but I am still brought to the main page 2002:43F4:3186:1234:B8A3:4DE:ED5E:70E3 (talk) 16:42, 20 April 2017 (UTC)
- @Ciencia Al Poder: 67.244.49.134 (talk) 17:42, 21 April 2017 (UTC)
Problem with Account Creation through the API
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
I'm trying to use the API to create accounts using the mailpassword setting, so it will just send an Email with a temporary password (as explained here).
For whatever reason it refuses to work for me on MediaWiki version 1.28.1.
If I include password and retype variables, the account gets created just fine (sans the Email), so it's not a problem with authentication or any extra login requirements.
However, if I try at all to use mailpassword, the only response I can ever get is 'FAIL', with a status message of 'You need to provide a valid email address.', no matter how I give the email (or even omitting it).
I'm fairly confident that that this is not a client side error, as I've troubleshot to this point from scratch with two separate methods (using curl through PHP, and using Advanced REST Client). It absolutely is receiving everything that it needs to, but just refuses to take the email like it should, and that's leading me to believe that this could be a bug in MediaWiki itself.
I'm posting this here rather than creating a bug report, in the hope that maybe I'm just overlooking something, or that someone else can verify this is working for them correctly on 1.28.1 (to narrow it down to being something on my end).
Any help is appreciated, thanks. Nibre93 (talk) 08:45, 20 April 2017 (UTC)
- My wiki runs 1.28.1 and I can send a password reset email just fine. 2002:43F4:3186:1234:B8A3:4DE:ED5E:70E3 (talk) 16:43, 20 April 2017 (UTC)
- Through the API using mailpassword? Because I can use the 'Special:CreateAccount' page to manually create accounts just fine, it's the API side that seems to be broken. Nibre93 (talk) 21:10, 20 April 2017 (UTC)
- I have verified that it is broken on 1.27.1 too, on an entirely separate, fresh install. After playing with them a bit, I think I've found the problem; the email parameter isn't accepted at all through the API, so even if you successfully create the account (by specifying passwords), the Email still isn't set on the account. Because of this confirmation, I'm going to go ahead and submit a bug report for this. Nibre93 (talk) 22:14, 21 April 2017 (UTC)
- Turns out, the reason it fails was that it was expecting a realname parameter with it, even though it's allowed to just be empty. It should probably be a little more verbose about that, but at least it's working now. Nibre93 (talk) 00:15, 22 April 2017 (UTC)
Translate
I have translate installed on my wiki, but when I try to add a translation for a page I get the following error. Saving the translation failed: Unknown error: "tpt-unknown-page" FuzzyBot also isn't running when I mark a page for translation. Any help would be great. Thanks. 2002:43F4:3186:1234:11D0:6022:204D:707A (talk) 14:38, 20 April 2017 (UTC)
- @Siebrand: , @Nikerabbit: please help 67.244.49.134 (talk) 17:44, 21 April 2017 (UTC)
There is no user by the name "WikiSysop"
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
- Environment
- Mediawiki: 1.26.2
- PHP: 5.5.9-1ubuntu4.21 (apache2handler)
- MySQL: 5.5.54-0ubuntu0.14.04.1
- I can no longer log in using WikiSysop. (Error message: "Login error - Incorrect password entered. Please try again.")
- When I try to reset the password, from the "Reset password" special page, I receive the error 'There is no user by the name "WikiSysop". Usernames are case sensitive. Check your spelling, or create a new account.'
- And yet the user exists in the database and has been assigned to the proper groups:
mysql> select * from mw_user where user_name='WikiSysop'\G *************************** 1. row *************************** user_id: 1 user_name: WikiSysop user_real_name: user_password: :pbkdf2:sha256:10000:128:l/NWTJPk97qdVxhgnLcWhg==:N4gbsbSM1Q/K+O5ZQhNleJjR44bM7KSSN9h4qUfS7PwWvMwpicMTz0vGu7ZSVfcJgVu6oej0gEZRdb5i37QXV8OdgJrizJQrzzeinK5cgZRUtcYqwo7y7rDatMRxlsg9ezZNMlTzcoT+aSl+HEZjV1tOqHgYYkMwWuF4qls0Cv0= user_newpassword: user_newpass_time: NULL user_email: my-email@my-comp.com user_touched: 20151222110537 user_token: 224f7d0c9212d68d33dfb035f924118e user_email_authenticated: 20131127134624 user_email_token: 31e2e277a9afdd5b9d4d8c7022b3f42e user_email_token_expires: 20131204134602 user_registration: 20110310162835 user_editcount: 47 user_password_expires: NULL 1 row in set (0.00 sec) mysql> select * from mw_user_groups where ug_user=1\G *************************** 1. row *************************** ug_user: 1 ug_group: bureaucrat *************************** 2. row *************************** ug_user: 1 ug_group: sysop 2 rows in set (0.00 sec)- I tried recreating the user but that didn't work either:
# php createAndPromote.php --bureaucrat --sysop WikiSysop mypassword wikidb-mw_: Creating and promoting User:WikiSysop into sysop, bureaucrat... [a3a7d65c] [no req] PasswordError from line 2415 of /var/www/html/mediawiki-1.26.2/includes/User.php: You cannot change passwords on this wiki. Backtrace: #0 /var/www/html/mediawiki-1.26.2/maintenance/createAndPromote.php(112): User->setPassword(string) #1 /var/www/html/mediawiki-1.26.2/maintenance/doMaintenance.php(103): CreateAndPromote->execute() #2 /var/www/html/mediawiki-1.26.2/maintenance/createAndPromote.php(142): require_once(string) #3 {main}- Anyone any idea what may be wrong? Hvdeynde (talk) 15:39, 20 April 2017 (UTC)
- On an unrelated note, you are using an old unsupported version which has security issues. Please upgrade to a supported version. Malyacko (talk) 08:16, 21 April 2017 (UTC)
- Could you provide a link to your wiki? 2002:43F4:3186:1234:B8A3:4DE:ED5E:70E3 (talk) 16:45, 20 April 2017 (UTC)
- No, it's not accessible to the outside world. Hvdeynde (talk) 07:13, 21 April 2017 (UTC)
- Do you use Extension:LDAP_Authentication? Maybe the username is being normalized to lowercase. You could try creating a user "Wikisysop" (with lower case "s"). Osnard (talk) 06:01, 24 April 2017 (UTC)
- I had indeed tried to use that extension, but abandoned that little project for more urgent matters. When I comment out the settings in LocalSettings.php, the account works again.
- Thanks, Osnard! Hvdeynde (talk) 09:30, 27 April 2017 (UTC)
Effect of git on non-MediaWiki files and directories
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
What effect does using git to download MediaWiki core have on non-MediaWiki files and directories? Currently I download the tarball, then copy extensions, skins, and some non-MediaWiki files (e.g. favicon.ico) and directories across. I guess git would have no effect on these other directories, but want to check before I start using it. I use git already for extensions and it works fine. Incidentally, the non-Mediawiki files and directories are present because I use short URLs without "/wiki/" or "/w/" in the URL. Thanks in advance. ~ Jonathan3 (talk) 22:39, 20 April 2017 (UTC)
- Using git for downloading / upgrading MediaWiki is perfectly fine, I use this on my development versions. Files and directories not present on the git repository won't cause any problem Ciencia Al Poder (talk) 09:51, 21 April 2017 (UTC)
- Cheers! Jonathan3 (talk) 10:23, 21 April 2017 (UTC)
Autocomplete not working with Elasticsearch (MW 1.28.1)
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
I just tried to duplicate my MediaWiki installation so I could test the update to MW 1.28.1 (old version was 1.28.0) and therefore copied my database and mediawiki folder, changed all the links to wiki2 instead of wiki and everything besides Elasticsearch works perfectly. Then I started to update my search index and now my search is working again, but the autocomplete doesn't work at all.
Has anyone ever had a similar problem after a MW upgrade? Did I miss a step or what did I do wrong?
Thanks in advance! Noboddy (talk) 10:46, 21 April 2017 (UTC)
Help to create systemd for RESTbase
I'm installing VisualEditor on Ubuntu, I think I'm stuck because of RESTbase, when I run the systemd script it says:
Synchronizing state of restbase.service with SysV init with /lib/systemd/systemd-sysv-install...
Executing /lib/systemd/systemd-sysv-install enable restbase
initctl: Name "com.ubuntu.Upstart" does not exist
The script you are attempting to invoke has been converted to an Upstart
job, but lsb-header is not supported for Upstart jobs.
insserv: warning: script 'restbase' missing LSB tags and overrides
insserv: Default-Start undefined, assuming empty start runlevel(s) for script `restbase'
insserv: Default-Stop undefined, assuming empty stop runlevel(s) for script `restbase'
insserv: fopen(.depend.stop): Permission denied
==== AUTHENTICATING FOR org.freedesktop.systemd1.reload-daemon ===
Authentication is required to reload the systemd state.
==== AUTHENTICATION COMPLETE ===
update-rc.d: error: restbase Default-Start contains no runlevels, aborting.
I don't understand why it tries to convert the script into Upstart when I went to use systemd.
Also in the script there is a filed: user: root and group: root. If I'm logged with a user name that has SU right but is not root, should I change the user root to my user name ?
By the way I can load the page of RESTbase under http://localhost:7231/localhost/v1/ so it seams to run despicte the script error. ElucTheG33K (talk) 11:04, 21 April 2017 (UTC)
Fallback
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
I want to change fallback in Rusyn Wikipedia from Ukrainian to Slovak. IvRud (talk) 12:01, 21 April 2017 (UTC)
- This is something that pertains to Wikipedia itself. Currently, you are on the support desk for the MediaWiki software. Please post your request there. │Star-Warden│ 12:04, 21 April 2017 (UTC)
Getting news from Wikipedia via api?
I'm trying to use the mediawiki api to display the date, day, news headers and summary content for the current day, as done here: https://en.wikipedia.org/wiki/Portal:Current_events#2017_April_21, on my website.
I haven't been able to figure out how to do it. Can anyone help?
Thank you,
Ryan Nelson 71.35.173.68 (talk) 21:35, 21 April 2017 (UTC)
- You can use prop=revisions with the name of the page: https://en.wikipedia.org/wiki/Special:ApiSandbox#action=query&format=json&prop=revisions&titles=Portal%3ACurrent+events%2F2017+April+21&rvprop=content&rvparse=1
- Each day is a page, like wikipedia:Portal:Current events/2017 April 21 Ciencia Al Poder (talk) 09:32, 24 April 2017 (UTC)
Change the addres of a single page
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
If I have a subdomain is it possible to somehow change the addres of one of my page to that sub domain?
Like let say for example I have a page called "mywikitest" that has the url "http://www.mywiki.com/wiki/mywikitest" and I want to change that to "http://mywikitest.mywiki.com" or "http://anything.mywiki.com".
How can I achive this? And I'm not just talking about a redirect url. I want the subdomain url to stay in the address bat even after I have visited the page. Tribly (talk) 12:32, 22 April 2017 (UTC)
- First you need to create a new wiki on sub domain name and then transfer all pages to it Fokebox (talk) 16:05, 23 April 2017 (UTC)
- here is no way to do this, sorry. 24.39.1.139 (talk) 14:50, 24 April 2017 (UTC)
Page display 500 Internal Server Error after loading extension
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
When I load an extension, the page can not be displayed properly and displayed 500 Internal Server Error. However after loading Renameuser extension, WikiEditor extension and SpamBlacklist extension, page can work properly, these extensions can also be used normally. My wiki version is:
| MediaWiki | 1.28.1 |
| PHP | 7.1.3 (cgi-fcgi) |
| MySQL | 5.7.18-log |
and url(Normal status). Can someone come to help me? 星耀晨曦 (talk) 15:42, 22 April 2017 (UTC)
- See Manual:How to debug - the error log of your webserver software might have more information why you get an HTTP 500 error. Malyacko (talk) 18:40, 23 April 2017 (UTC)
- Oh..Thanks.
- I tested, my wiki displayed some error logs.
- One of among the log showed:"PHP Deprecated: Function mcrypt_create_iv() is deprecated in D:\瀛﹀洯閮藉競\w\includes\libs\CryptRand.php on line 256".
- I found "This function was DEPRECATED in PHP 7.1.0" in php manual. Is my php version(7.1.3) too high for the reason? 星耀晨曦 (talk) 04:35, 24 April 2017 (UTC)
- The deprecation warning shouldn't be a problem in itself, unless those errors are being output on the final page. They are warnings for developers, they should be ignored in production environments. This one is tracked in T143788.
- You may try silencing that warning in php.ini so it doesn't spam your logs, in case it's also the cause of the 500 error by changing the error_reporting line:
error_reporting = E_ALL & ~E_DEPRECATED & ~E_NOTICECiencia Al Poder (talk) 09:41, 24 April 2017 (UTC)- Yes, the deprecation warning should't be worried. But, this warning is already here when the page is normal. More seriously is..When I load Cite extension, the page doesn't display properly, and displayed two kinds error logs:"
PHP Warning: Parameter 1 to Cite::clearState() expected to be a reference, value given in D:\瀛﹀洯閮藉競\w\includes\Hooks.php on line 195" and "PHP Warning: Parameter 2 to Cite::checkRefsNoReferences() expected to be a reference, value given in D:\瀛﹀洯閮藉競\w\includes\Hooks.php on line 195". - The line 195 is "
$retval = call_user_func_array( $callback, $hook_args );". 星耀晨曦 (talk) 10:12, 25 April 2017 (UTC) - Ok, that's probably the interesting error and not the deprecation notice :)
- Extension:Cite is already bundled with 1.28.1 tarball, so it should be working properly. Did you modify the Extension:Cite afterwards? be sure you're using the extension that comes from the MediaWiki tarball. Ciencia Al Poder (talk) 09:22, 26 April 2017 (UTC)
- No. I haven't modified any extensions. Mediawiki is also downloaded from the official website(this website).
- In fact, there are many problems in mywiki. For example, when I load CiteThisPage extension, the page error and showed
PHP Warning: Parameter 1 to CiteThisPageHooks::onSkinTemplateBuildNavUrlsNav_urlsAfterPermalink() expected to be a reference, value given in D:\瀛﹀洯閮藉競\w\includes\Hooks.php on line 195. - It seems that there is a problem with Hooks.php on line 195. 星耀晨曦 (talk) 10:43, 26 April 2017 (UTC)
- What version of PHP are you using? I don't see anything wrong with those extensions on my test wiki Ciencia Al Poder (talk) 19:56, 26 April 2017 (UTC)
- As mentioned above, the version of the PHP is 7.1.3 . 星耀晨曦 (talk) 00:34, 27 April 2017 (UTC)
- Ok, I've found it: T153505
- Those are issues with PHP 7.1. You should use PHP 7.0 for now until that's resolved, or manually fixing it in your installation meanwhile. Ciencia Al Poder (talk) 09:25, 27 April 2017 (UTC)
- P.S. When I load SpamBlacklist extension, pages under "User" and "User talk" namespaces can't be created. 星耀晨曦 (talk) 13:03, 27 April 2017 (UTC)
- Yes, the deprecation warning should't be worried. But, this warning is already here when the page is normal. More seriously is..When I load Cite extension, the page doesn't display properly, and displayed two kinds error logs:"
- Extension:Babel is known to be incompatible with the web updated, as noted on the documentation page. 67.244.49.134 (talk) 00:00, 25 April 2017 (UTC)
ocr error
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
In my site , When I put on OCR button Then show me this error "<error> undefined Image URL must begin with 'https://upload.wikimedia.org/ " . Can you tell me how can I solve this error ? ShahadatHossain (talk) 16:52, 22 April 2017 (UTC)
- Please see Project:Support desk/Flow/2017/03#h-OCR_button-2017-03-18T05:24:00.000Z and do not create duplicated threads on purpose. Thank you! Malyacko (talk) 18:40, 23 April 2017 (UTC)
A small problem with a translated page(Translations Section)
I am seeing a problem in one of the translated pages.The name of the page is CentralNotice Banners(https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=Centralnotice-tgroup&language=en).In that,the translation made by someone to English was only around 5% translated.The one i mentioned is about B13 WMDE 131127 layout rd-banner-text/ml . When i tried to translate it by using google translate,i found it more meaningful than the one present.Since my source language is English,i cannot translate that page to English.Can someone suggest me a method to change that translation? Following is the link i am suggesting you to replace with: https://translate.google.com/#de/en/%3Ci%3ELiebe%20Leserinnen%20und%20Leser%3A%3C%2Fi%3E%20500%20Millionen%20Menschen%20nutzen%20Wikipedia%20im%20Monat.%20Sie%20ist%20die%20Nr.%205%20der%20am%20h%C3%A4ufigsten%20besuchten%20Webseiten%20der%20Welt%20und%20hat%20Kosten%20wie%20jede%20andere%20Top-Seite%3A%20Server%2C%20Strom%2C%20Programme%2C%20Personal.%20Nur%20knapp%20250%20Angestellte%20arbeiten%20in%20der%20gemeinn%C3%BCtzigen%20Organisation%20hinter%20Wikipedia.%20Wikipedia%20ist%20anders.%20Sie%20ist%20ein%20besonderer%20Ort%2C%20wie%20eine%20Bibliothek%20oder%20ein%20gro%C3%9Fer%20Park%3A%20Hier%20gehen%20wir%20alle%20hin.%20Hier%20lernen%20wir.%20Hier%20denken%20wir%20nach.%20Um%20Wikipedias%20Unabh%C3%A4ngigkeit%20zu%20sch%C3%BCtzen%2C%20gibt%20es%20keine%20Werbung.%20Wir%20finanzieren%20uns%20durch%20Spenden%20von%20durchschnittlich%2020%20%E2%82%AC.%20Heute%20bitten%20wir%20Sie%20um%20einen%20Beitrag.%20Wenn%20jeder%20nur%20einen%20kleinen%20Beitrag%20leisten%20w%C3%BCrde%2C%20w%C3%A4re%20unsere%20Spendenkampagne%20in%20einer%20Stunde%20vor%C3%BCber.%20Finden%20Sie%20Wikipedia%20n%C3%BCtzlich%3F%20Dann%20nehmen%20Sie%20sich%201%20Minute%20Zeit%2C%20damit%20Wikipedia%20ein%20weiteres%20Jahr%20werbefrei%20und%20f%C3%BCr%20uns%20alle%20da%20sein%20kann.%20Bitte%20helfen%20Sie%20mit.%20%3Ci%3EVielen%20Dank!%3C%2Fi%3E Adithyak1997 (talk) 17:58, 22 April 2017 (UTC)
Transliteration of Rusyn Wikipedia (Wikipedias in Multi-writing System)
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
Hello, lot of Rusyns use Latin alphabet today and are not able to read Cyrillic letters. This is because of lack of Rusyn schools. We would like to have Rusyn Wikipedia in multi-writing system that it accessible for all Rusyns. Who could support us with implementation of such dual system? IvRud (talk) 18:36, 22 April 2017 (UTC)
old wiki
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
Hello i have a media wiki database from 4 years ago i cant get it to work cause it use to be integrated to my ipb forums login. my question is is there a way to import the pages to my new wiki so we don't lose all the useful information. i'm using now the most current media wiki and the database i cant remember but it was from 4 years ago Daisyanne1380 (talk) 19:55, 22 April 2017 (UTC)
- Four years ago? According to Release notes, that would put the version around 1.20. Someone a bit more versed in MediaWiki database structure may be able to ask you some in depth questions to pin point the exact version, but your best bet now is to download an old version around that time. You may download the old versions here: https://releases.wikimedia.org/mediawiki/ You'll need the file named mediawiki-1.XX.XX.tar.gz. (mediawiki-1.20.8.tar.gz for example) —Mainframe98 talk 20:34, 22 April 2017 (UTC)
- If you've upgraded the database (by running update.php or the web installer), it may not be possible to know which version you were running before the upgrade, because it would've been modified to match the current schema. If WikiApiary is monitoring your wiki and google has a cached version of it before the upgrade you could know which version was.
- Your pages should be there, on your current wiki. If you have problems logging in, it may be because of the plugin/extension you were using to connect to the forums. If you can't find a version of that extension that works with your current version of MediaWiki and the forums, and plan to simply unlink the login between MediaWiki and the forums, disabling the extension may be sufficient. Your current accounts may not have credentials to login with MediaWiki, though, so they would need to create new accounts, or set up emails for each account and allow them to send a new password to their email. Ciencia Al Poder (talk) 15:39, 23 April 2017 (UTC)
- thanks ill try these ideas and let you know how it went Daisyanne1380 (talk) 16:44, 23 April 2017 (UTC)
- I think there might actually be a way to find out, which version you have used by looking at the database:
- Inside the database, there is a table called updatelog. This table contains one row for each update, hich was done using the update.php maintenance script. Since you have to run update.php at least once for each major version, the information in this table should give you a clou to which major version has been used last with this database. Jörgi123 (talk) 17:23, 19 May 2017 (UTC)
Help needed with deletion of user information
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
Can someone with more rights than me (sysop/administrator) help with deleting personal information in the logs of my user page? Or delete the whole history? SFDiva (talk) 07:12, 23 April 2017 (UTC)
- You'd have to ask one of the local sysops there: w:nl:WP:VM. Additionally, you can ask any of the sysops as listed on w:nl:Special:listadmins. —Mainframe98 talk 07:54, 23 April 2017 (UTC)
my wiki can't displaying image..
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
[4]This is the document's i uploaded the image.. and it's on even server and i use imgfilename|400px and it's not work. that displaying xbox... How can i fix it? Dobob (talk) 14:58, 23 April 2017 (UTC)
- Viewing the image URL directly gives an apache error: The requested URL /images/thumb/a/ae/KakaoTalk_20170423_004603314.jpg/400px-KakaoTalk_20170423_004603314.jpg was not found on this server.
- I've successfully forced the creation of a thumbnail with Manual:Thumb.php for the file description page and it works: [5] (the image was missing before).
- Maybe you have set $wgGenerateThumbnailOnParse to "false"? the default is "true". Ciencia Al Poder (talk) 15:31, 23 April 2017 (UTC)
- Ahhh it's working! just i change $ wgGenerateThumbnailOnParse to true it was false you are my life saver! Dobob (talk) 13:27, 7 May 2017 (UTC)
Aloha..trapped in wrong layout.
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
boy, it was difficult to get here.
My wife somehow changed the document layout and we are unable to locate the default setting which seems to be the most likely cure.
this shouldn't be impossible to find. mahalo 172.56.44.30 (talk) 23:24, 23 April 2017 (UTC)
- Welcome to the MediaWiki Support desk. Can you please give some details on how your question is related to the MediaWiki software? There is no setting for a "document layout" that I am aware of. Osnard (talk) 05:57, 24 April 2017 (UTC)
thumb.php not converting images with non-ASCII characters
Dear supporters,
My MediaWiki site has many images with non-ASCII characters as their filenames. When thumb.php trying to convert them into their thumbnails it prompts "file not found", but the URLs of those images are still accessible, and when I re-upload the image it can be thumbnailed. So I am suspecting if there is an issue regarding my PHP or my database? My PHP version is 5.6.30-0+deb8u1 (apache2handler). My operating system is Debian Jessie. MySQL is 5.5.54-0+deb8u1. MagaFun (talk) 20:55, 24 April 2017 (UTC)
Load mediawiki with user data
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
I have mediawiki installed on a raspberry 3, using raspbean and apache2. It is working but now I have converted a pdf book to mediawiki format (using pandoc in the last stage). Question: How do I import the new file into mediawiki and the where do I put the referenced pictures? I have looked at LocalSettings.php and in the maintenance directory but not sure what to use. Thanks Pholm07 (talk) 21:23, 24 April 2017 (UTC)
- On your wiki go to Special:Import. 67.244.49.134 (talk) 23:58, 24 April 2017 (UTC)
my web cannot update its wiki because somebody got the name of it.
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
We cannot update or either create our wiki due to the fact that sb took our name and we cannot either edit not create it in the name of our page. Can anybody give us a hand? Peppapigy (talk) 01:28, 25 April 2017 (UTC)
- Are you talking about a Wikipedia page or on a wiki farm (like wikia, shoutwiki, etc)?
- If you need to create a page which already exists, you'll need to ask this on a forum or talk page on the wiki you're trying to edit, not here, so admins of the wiki can help you. Ciencia Al Poder (talk) 09:31, 25 April 2017 (UTC)
I cant get pictures to show
I am eternalricemuncher & put the photos on this page but they are not showing its just got the x icon. Any ideas? Thank you http://me-pedia.org/wiki/Michelle_Wyatt 79.74.46.23 (talk) 10:50, 25 April 2017 (UTC)
SVG-upload works no longer with changed svg files
I have a problem with SVG files. This was working fine the last years and there recently were not made any major changes to the server. Now when I download a SVG from my wiki , do changes to it with inkscape and try to upload it again there is an error message
"Diese Datei enthält HTML- oder Scriptcode, der irrtümlich von einem Webbrowser ausgeführt werden könnte." meaning that there is HTML- or scriptcode in it that could be operated by mistake by the webbrowser.
That prevents me from uploading it. When I only download the file and upload it without changes there ist no error message.
Svg-files always have been xml-based so i wonder about this. Carchaias (talk) 11:41, 25 April 2017 (UTC)
help with display/readings
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
I have a La Crosse Technology PWS Model S85807 and I downloaded Cumulus and entered the proper Lat/Long for my location and I don't have any readings from my PWS to Cumulus. Edwards House (talk) 16:03, 25 April 2017 (UTC)
- Hey. This is the support desk for MediaWiki. For your issue, you will have to look somewhere else, I am afraid. │Star-Warden│ 16:20, 25 April 2017 (UTC)
MaxUploadSize
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
i want to increase the uploadsize cause in my mediawiki i just can upload 2 MB , so how can i increase the UploadSize ? , and the manual also refers to other changes Mariana duarte100 (talk) 16:03, 25 April 2017 (UTC)
- the version is 1.27+ Mariana duarte100 (talk) 16:12, 25 April 2017 (UTC)
- the solution that i tried are :
- $wgMaxUploadSize=1000000;
- $wgMaxUploadSize= [
- '*' => 32 * 1024 * 1024, // 250 KB
- 'url' => 64 * 1024 * 1024, // 500 KB
- ];
- $wgMaxUploadSize= 1024*1024*100;
- $wgMaxUploadSize=32*1024*1024;
- and doesnt work Mariana duarte100 (talk) 16:15, 25 April 2017 (UTC)
- It really depends on your server, but on ubuntu, for example, you can look up the files (php.ini, in this case) in the shell (using putty, for example) through 'sudo find / -name php.ini' and modify those two strings in the manual you just read. They should be located under /etc/php5/cli/php.ini and /etc/php5/fpm/php.ini
- And if they aren't, the command above will find them for you, then you can simply use a f2p client like Filezilla to go to those two files and modify them (using a specialised text editor like notepad++).
- Then once you've done editing the files, just reboot the server through sudo reboot. │Star-Warden│ 16:19, 25 April 2017 (UTC)
- im working in windows 8 and dont have this directory: /etc/php5/cli/php.ini and /etc/php5/fpm/php.ini, whan can i do ? Mariana duarte100 (talk) 17:25, 25 April 2017 (UTC)
- Check these two links:http://stackoverflow.com/questions/13984456/where-is-php-ini and http://stackoverflow.com/questions/42314208/location-of-php-ini-file-in-windows-8 │Star-Warden│ 18:09, 25 April 2017 (UTC)
#if dosn't work
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
#if dosn't work 66.177.78.18 (talk) 17:35, 25 April 2017 (UTC)
- Could you be more specific about your problem? │Star-Warden│ 18:08, 25 April 2017 (UTC)
- Is Extension:ParserFunctions installed? 67.244.49.134 (talk) 22:45, 25 April 2017 (UTC)
Communication of two Wikis
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
I'm trying to communicate two wikis and the software gave me this message.
/******************************************/
MediaWiki internal error.
Original exception: [39cf40f2622d2bfb555d1894] /wiki/mediawiki-1.28.0/index.php/Test%C3%A1tio DBQueryError from line 1054 of /var/www/html/wiki/mediawiki-1.28.0/includes/libs/rdbms/database/Database.php: A database query error has occurred. Did you forget to run your application's database schema updater after upgrading?
Query: SELECT iw_prefix,iw_url,iw_api,iw_wikiid,iw_local,iw_trans FROM `wpd`.`pool_interwiki` WHERE iw_prefix = 'wpd' LIMIT 1
Function: MediaWiki\Interwiki\{closure}
Error: 1146 Table 'wpd.pool_interwiki' doesn't exist (localhost)
Backtrace:
#0 /var/www/html/wiki/mediawiki-1.28.0/includes/libs/rdbms/database/Database.php(912): Database->reportQueryError(string, integer, string, string, boolean)
#1 /var/www/html/wiki/mediawiki-1.28.0/includes/libs/rdbms/database/Database.php(1254): Database->query(string, string)
#2 /var/www/html/wiki/mediawiki-1.28.0/includes/libs/rdbms/database/Database.php(1322): Database->select(string, array, array, string, array, array)
#3 /var/www/html/wiki/mediawiki-1.28.0/includes/interwiki/ClassicInterwikiLookup.php(293): Database->selectRow(string, array, array, string)
#4 /var/www/html/wiki/mediawiki-1.28.0/includes/libs/objectcache/WANObjectCache.php(1004): MediaWiki\Interwiki\ClassicInterwikiLookup->MediaWiki\Interwiki\{closure}(boolean, integer, array, NULL)
#5 /var/www/html/wiki/mediawiki-1.28.0/includes/libs/objectcache/WANObjectCache.php(906): WANObjectCache->doGetWithSetCallback(string, integer, Closure, array)
#6 /var/www/html/wiki/mediawiki-1.28.0/includes/interwiki/ClassicInterwikiLookup.php(297): WANObjectCache->getWithSetCallback(string, integer, Closure)
#7 /var/www/html/wiki/mediawiki-1.28.0/includes/interwiki/ClassicInterwikiLookup.php(154): MediaWiki\Interwiki\ClassicInterwikiLookup->load(string)
#8 /var/www/html/wiki/mediawiki-1.28.0/includes/interwiki/ClassicInterwikiLookup.php(130): MediaWiki\Interwiki\ClassicInterwikiLookup->fetch(string)
#9 /var/www/html/wiki/mediawiki-1.28.0/includes/interwiki/Interwiki.php(69): MediaWiki\Interwiki\ClassicInterwikiLookup->isValidInterwiki(string)
#10 /var/www/html/wiki/mediawiki-1.28.0/includes/title/MediaWikiTitleCodec.php(327): Interwiki::isValidInterwiki(string)
#11 /var/www/html/wiki/mediawiki-1.28.0/includes/Title.php(3366): MediaWikiTitleCodec->splitTitleString(string, integer)
#12 /var/www/html/wiki/mediawiki-1.28.0/includes/Title.php(317): Title->secureAndSplit()
#13 /var/www/html/wiki/mediawiki-1.28.0/includes/Title.php(272): Title::newFromTextThrow(string, integer)
#14 /var/www/html/wiki/mediawiki-1.28.0/includes/parser/Parser.php(2225): Title::newFromText(string)
#15 /var/www/html/wiki/mediawiki-1.28.0/includes/parser/Parser.php(2075): Parser->replaceInternalLinks2(string)
#16 /var/www/html/wiki/mediawiki-1.28.0/includes/parser/Parser.php(1290): Parser->replaceInternalLinks(string)
#17 /var/www/html/wiki/mediawiki-1.28.0/includes/parser/Parser.php(441): Parser->internalParse(string)
#18 /var/www/html/wiki/mediawiki-1.28.0/includes/content/WikitextContent.php(330): Parser->parse(string, Title, ParserOptions, boolean, boolean, integer)
#19 /var/www/html/wiki/mediawiki-1.28.0/includes/content/AbstractContent.php(497): WikitextContent->fillParserOutput(Title, integer, ParserOptions, boolean, ParserOutput)
#20 /var/www/html/wiki/mediawiki-1.28.0/includes/poolcounter/PoolWorkArticleView.php(139): AbstractContent->getParserOutput(Title, integer, ParserOptions)
#21 /var/www/html/wiki/mediawiki-1.28.0/includes/poolcounter/PoolCounterWork.php(123): PoolWorkArticleView->doWork()
#22 /var/www/html/wiki/mediawiki-1.28.0/includes/page/Article.php(651): PoolCounterWork->execute()
#23 /var/www/html/wiki/mediawiki-1.28.0/includes/actions/ViewAction.php(71): Article->view()
#24 /var/www/html/wiki/mediawiki-1.28.0/includes/MediaWiki.php(495): ViewAction->show()
#25 /var/www/html/wiki/mediawiki-1.28.0/includes/MediaWiki.php(289): MediaWiki->performAction(Article, Title)
#26 /var/www/html/wiki/mediawiki-1.28.0/includes/MediaWiki.php(851): MediaWiki->performRequest()
#27 /var/www/html/wiki/mediawiki-1.28.0/includes/MediaWiki.php(512): MediaWiki->main()
#28 /var/www/html/wiki/mediawiki-1.28.0/index.php(43): MediaWiki->run()
#29 {main}
Exception caught inside exception handler: [39cf40f2622d2bfb555d1894] /wiki/mediawiki-1.28.0/index.php/Test%C3%A1tio DBQueryError from line 1054 of /var/www/html/wiki/mediawiki-1.28.0/includes/libs/rdbms/database/Database.php: A database query error has occurred. Did you forget to run your application's database schema updater after upgrading?
Query: SELECT iw_prefix,iw_url,iw_api,iw_wikiid,iw_local,iw_trans FROM `wpd`.`pool_interwiki` WHERE iw_prefix = 'liber' LIMIT 1
Function: MediaWiki\Interwiki\{closure}
Error: 1146 Table 'wpd.pool_interwiki' doesn't exist (localhost)
Backtrace:
#0 /var/www/html/wiki/mediawiki-1.28.0/includes/libs/rdbms/database/Database.php(912): Database->reportQueryError(string, integer, string, string, boolean)
#1 /var/www/html/wiki/mediawiki-1.28.0/includes/libs/rdbms/database/Database.php(1254): Database->query(string, string)
#2 /var/www/html/wiki/mediawiki-1.28.0/includes/libs/rdbms/database/Database.php(1322): Database->select(string, array, array, string, array, array)
#3 /var/www/html/wiki/mediawiki-1.28.0/includes/interwiki/ClassicInterwikiLookup.php(293): Database->selectRow(string, array, array, string)
#4 /var/www/html/wiki/mediawiki-1.28.0/includes/libs/objectcache/WANObjectCache.php(1004): MediaWiki\Interwiki\ClassicInterwikiLookup->MediaWiki\Interwiki\{closure}(boolean, integer, array, NULL)
#5 /var/www/html/wiki/mediawiki-1.28.0/includes/libs/objectcache/WANObjectCache.php(906): WANObjectCache->doGetWithSetCallback(string, integer, Closure, array)
#6 /var/www/html/wiki/mediawiki-1.28.0/includes/interwiki/ClassicInterwikiLookup.php(297): WANObjectCache->getWithSetCallback(string, integer, Closure)
#7 /var/www/html/wiki/mediawiki-1.28.0/includes/interwiki/ClassicInterwikiLookup.php(154): MediaWiki\Interwiki\ClassicInterwikiLookup->load(string)
#8 /var/www/html/wiki/mediawiki-1.28.0/includes/interwiki/ClassicInterwikiLookup.php(130): MediaWiki\Interwiki\ClassicInterwikiLookup->fetch(string)
#9 /var/www/html/wiki/mediawiki-1.28.0/includes/interwiki/Interwiki.php(69): MediaWiki\Interwiki\ClassicInterwikiLookup->isValidInterwiki(string)
#10 /var/www/html/wiki/mediawiki-1.28.0/includes/title/MediaWikiTitleCodec.php(327): Interwiki::isValidInterwiki(string)
#11 /var/www/html/wiki/mediawiki-1.28.0/includes/Title.php(3366): MediaWikiTitleCodec->splitTitleString(string, integer)
#12 /var/www/html/wiki/mediawiki-1.28.0/includes/Title.php(317): Title->secureAndSplit()
#13 /var/www/html/wiki/mediawiki-1.28.0/includes/Title.php(272): Title::newFromTextThrow(string, integer)
#14 /var/www/html/wiki/mediawiki-1.28.0/includes/skins/Skin.php(932): Title::newFromText(string)
#15 /var/www/html/wiki/mediawiki-1.28.0/includes/skins/Skin.php(966): Skin->footerLink(string, string)
#16 /var/www/html/wiki/mediawiki-1.28.0/includes/skins/SkinTemplate.php(422): Skin->disclaimerLink()
#17 /var/www/html/wiki/mediawiki-1.28.0/includes/skins/SkinTemplate.php(250): SkinTemplate->prepareQuickTemplate()
#18 /var/www/html/wiki/mediawiki-1.28.0/includes/OutputPage.php(2333): SkinTemplate->outputPage()
#19 /var/www/html/wiki/mediawiki-1.28.0/includes/exception/MWExceptionRenderer.php(178): OutputPage->output()
#20 /var/www/html/wiki/mediawiki-1.28.0/includes/exception/MWExceptionRenderer.php(50): MWExceptionRenderer::reportHTML(DBQueryError)
#21 /var/www/html/wiki/mediawiki-1.28.0/includes/exception/MWExceptionHandler.php(71): MWExceptionRenderer::output(DBQueryError, integer)
#22 /var/www/html/wiki/mediawiki-1.28.0/includes/exception/MWExceptionHandler.php(137): MWExceptionHandler::report(DBQueryError)
#23 /var/www/html/wiki/mediawiki-1.28.0/includes/MediaWiki.php(540): MWExceptionHandler::handleException(DBQueryError)
#24 /var/www/html/wiki/mediawiki-1.28.0/index.php(43): MediaWiki->run()
#25 {main}
/******************************************/
How can I correct that? And how do I communicate two wiki at the same time? Thanks. WikiUser22222 (talk) 19:04, 25 April 2017 (UTC)
- Looks like your missing some DB tables. Try running update.php 2002:43F4:3186:1234:6534:45FE:102F:C69A (talk) 22:35, 25 April 2017 (UTC)
- Thank you for the tip, I've solved the problem. WikiUser22222 (talk) 13:46, 26 April 2017 (UTC)
AddHelpLink
Hi,
i'm making an extension and I want to put a help button linking a help page of my own Wiki. If I call the function like
$wgOut->addHelpLink('fooPage', true);
it works fine. I click at help button and opens the correct page (http://mywiki/fooPage).
But I want link to a page at namespace Help and when I click on link, it's opened a blank tab at invalid page, like "help:fooPage" instead of "http://mywiki/Help:fooPage"
Thanks. Crismagnabosco (talk) 20:44, 25 April 2017 (UTC)
How to change the text font to a Google font that is not included in Mediawiki by default?
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
Hi,
Is there a way to change the font to a Google font that is not included in Mediawiki core?
In WordPress, I add the font link to a Google Tag, then add the tag to my pages and control the page sections (e.g. body) to use this font.
Is there a comparable process in Mediawiki to achieve using Google Fonts? Thanks Atef81 (talk) 03:57, 26 April 2017 (UTC)
- You have Manual:Interface/Stylesheets for adding custom CSS code affecting all pages. You can import a new stylesheet provided by google for this font (your code is probably a <link rel="stylesheet"> or <style> tag).
- You can place on MediaWiki's stylesheet something like this at the top of the css page:
@import url("http://path/of/the/stylesheet/provided.css")Ciencia Al Poder (talk) 09:37, 26 April 2017 (UTC)
Moving mediawiki from linux to windows using postgres
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
We are trying to move our wiki from an old linux box to a windows PC.
We have installed the same version of mediawiki on the windows PC (1.15) and have copied the localsettings.php file across and pointed it to the database on the linux box and we just get a http 500 error.
Also restored the database onto the windows pc and changed to use that but we get the same issue
Not sure where to go from here Dazzer4020 (talk) 09:40, 26 April 2017 (UTC)
- You first need to get a descriptive error message instead of a plain 500 error.
- See Manual:How to debug. Look at error logs of the webserver, and enable error_reporting in PHP Ciencia Al Poder (talk) 20:52, 26 April 2017 (UTC)
- Does your PHP on Windows have PostGreSQL drivers enabled?
- I'd recommend to set
- $wgShowExceptionDetails= true;
- $wgShowSQLErrors = true;
- in your LocalSettings.php file to get an useful error message.
- General hint when migrating from Linux to Windows: Linux has a case sensitive file system. Windows does not. Make sure you don't loose any files from your "images/" directory (e.g. "Some_Image.jpg" could be overwritten by "Some_image.jpg"). Also MediaWiki on Windows does not allow non-ascii-chars (Umlauts and other special characters) in file names. Osnard (talk) 05:57, 28 April 2017 (UTC)
Extension PDFInclude (not working on android tablet)
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
how to perform an update into PDFInclude.php to view the pdf on the android tablet (because nothing is displayed or download)
for memory I solved this problem in PDFEmbed as explain in this post to display PDF on an android tablet
and it will be perfect if you may help me to perform something similar to return a PDFobject as a HTML:rawElement with pdfInclude Chantoune (talk) 16:25, 26 April 2017 (UTC)
- I solved my problem
- I update the code of pdfInclude.php as following :
- if( filter_var( $obj, FILTER_VALIDATE_URL, FILTER_FLAG_PATH_REQUIRED ) ) {
- $ua = strtolower($_SERVER['HTTP_USER_AGENT']);
- if(preg_match('/android/i',$ua)) {
- $myfile = "https://docs.google.com/gview?url=$obj&embedded=true";
- return Html::rawElement('iframe', [
- 'src' => $myfile,
- 'height' => $height,
- 'width'=> $width,
- 'frameborder' => "1" ]. );
- } else {
- return pdfObject( $obj, $width, $height );
- }
- } else {
- return pdfError( "Path is not valid" );
- } Chantoune (talk) 13:49, 28 April 2017 (UTC)
Adding classes to links in extensions
I'm trying to write an extension in php that adds certain CSS classes to certain links. I already figured it out how to do it for the mediawiki base, but I don't know how to do that for links that are added by extensions, such as the Flow extension and the Social Profile extension. How do I go about that? Tribly (talk) 17:53, 26 April 2017 (UTC)
- Me too 41.113.187.151 (talk) 07:41, 29 April 2017 (UTC)
Keeps saying A LocalSettings.php file has been detected.
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
But I don't HAVE a LocalSetting.php file yet. This happens either when I do a "git clone/composer update" install, or a vanilla "tarball/extract" install. I hit up http://mysite.dev/mw-config/index.php, and it dutifully reports that:
MediaWiki 1.28.1
LocalSettings.php not found.
Please complete the installation and download LocalSettings.php.
And on the page following it errors out with:
A LocalSettings.php file has been detected. To upgrade this installation, please enter the value of $wgUpgradeKey in the box below. You will find it in LocalSettings.php.
I've cleared my cache, used a different browser, erased the ~/.composer directory, deleted the directory/tried again and various combinations of trying to "reset" this, but I'm still prompted with the error.
Does anyone have an idea of what might be causing this? Sanuglia (talk) 05:22, 27 April 2017 (UTC)
- On a possibly related note, now its erroring out with:
- Fatal error: Class 'ComposerAutoloaderInit_mediawiki_vendor' not found in /usr/local/www/wiki/vendor/autoload.php on line 7
- Does this have any bearing? Sanuglia (talk) 05:27, 27 April 2017 (UTC)
- No ,I don't think so 41.113.187.151 (talk) 07:42, 29 April 2017 (UTC)
- I think the class not found error is not related - but it should be fixed as well.
- If I remember correctly, MediaWiki actually is checking, if a LocalSettings.php file exists and only if it does, it is showing this message. So I would guess that pretty sure that file really is there. Maybe your OS has set up some strange symlinks? Would not be the first time, the the configuration file gets included from a different place in the file system. (And I personally find such tricks very annoying.) 83.135.228.234 (talk) 09:02, 29 April 2017 (UTC)
How to authenticate a user by my own Authentication server?
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
If I want to build local wiki by mediawiki, and authenticate a user by my own Authentication server. What should I do? Did I have to write an Extension such like Extension:GoogleLogin? It's so complicated.
@Florianschmidtwelzow@Anomie Lsherwinforone (talk) 09:58, 27 April 2017 (UTC)
- If your own authentication server is LDAP-based, you might be able to use Extension:LdapAuthentication. There might be extensions for other types of authentication servers too. Anomie (talk) 13:09, 27 April 2017 (UTC)
- It's OAuth2.0 base.Is Extension:OATHAuth [7] the right one I should choose? I assume oauth extensions let wiki user to login other website/client.what I need to do quite the contrary.
- @Florianschmidtwelzow Lsherwinforone (talk) 08:13, 28 April 2017 (UTC)
- OATHAuth is for two-factor OATH authentication, not OAuth. You might look at Extension:OAuthAuthentication; that extension seems to be specific to authenticating against another MediaWiki wiki using Extension:OAuth, but might be a starting point. Anomie (talk) 13:18, 28 April 2017 (UTC)
- Can I use API login by PHP? I try to autologin and create new account by php, but things have not gone smoothly.
- 1)get token by post:api.php?action=query&format=json&meta=tokens&type=login
- 2)then post: api.php?action=login&lgname=USERNAME&lgpassword=PASSWORD&lgtoken=TOKEN(get from step1)
- but ["result"]=> string(9) "NeedToken"
- Because in api/ApiLogin.php $token->wasNew() ==true, I not sure what's wrong. To simulate this process I post same request url in POSTMAN , got "result": "Success".
- then I try to use clientlogin by PHP, result: "authmanager-authn-no-primary"
- @Florianschmidtwelzow@Anomie Lsherwinforone (talk) 13:48, 8 May 2017 (UTC)
- If you're getting "NeedToken" like that, it probably means you're not handling cookies properly.
- I'm not seeing how logging into MediaWiki via the API relates to your question about using your own authentication server to log into MediaWiki, though. Anomie (talk) 17:13, 8 May 2017 (UTC)
- in includes/session/Token.php
- $timestamp = self::getTimestamp( $userToken );
- Turns out $timestamp is NULL, what's it means? Lsherwinforone (talk) 13:53, 10 May 2017 (UTC)
- I try to integrate mediawiki to a Tools Manager website which already have it's own user system. I guess the workflow could be:
- 1)Authenticate from Tools Manager website, got username,password,accessToken.
- 2)check username already in wiki database or not.
- 3)new user,using CreateAccount api.
- 4)otherwise,using Login api.
- Both Tools Manager website and mediawiki build on my own server. Lsherwinforone (talk) 12:38, 9 May 2017 (UTC)
- Hi,
- I think the most important question is: What do you mean with "own authentication server". What technology is it based on, what API does it provide? Like @Anomie already mentioned, there're already a lot of extensions, which provide authentication methods for MediaWiki, so your server may already be supported :)
- Best,
- Florian Florianschmidtwelzow (talk) 21:01, 27 April 2017 (UTC)
Block the display of certain articles
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
Hello,
Sorry for my bad english.
But, I create my wiki.
I gave read rights on pages, I would like that these pages do not appear when we make a search on it, is it possible?
It will be necessary that only the group that has the rights can see them. Atelca (talk) 14:42, 27 April 2017 (UTC)
- This does exactly what you want to do. Just replace the second group (user) with whatever group you want to give rights to. │Star-Warden│ 15:13, 27 April 2017 (UTC)
PdfExport
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
hello,
i download Pdf Export and i did this instructions:
I tested the following commands :
- Download Dompdf 0.7 from GitHub
- Unzip it in the MediaWiki directory, next to LocalSettings.php, the subdirectory is named "dompdf"
- Add
require_once __DIR__ . '/dompdf/autoload.inc.php';in your LocalSettings.php - Download the patched version of PdfExport from my website (when the change above will be merged, it will be available in the "official" version on [8])
- Unzip it as usual in extensions/ (if you had a previous extensions/PdfExport move it to another location or delete it)
. But when I click on Print as PDF link it gives me a fatal error:
Warning: require_once(C:\xampp\htdocs\media/extensions/PdfExport/prince.php): failed to open stream: No such file or directory in C:\xampp\htdocs\media\extensions\PdfExport\converters\PrincePdfConverter.php on line 22
Fatal error: require_once(): Failed opening required 'C:\xampp\htdocs\media/extensions/PdfExport/prince.php' (include_path='C:\xampp\htdocs\media\vendor/pear/pear_exception;C:\xampp\htdocs\media\vendor/pear/console_getopt;C:\xampp\htdocs\media\vendor/pear/pear-core-minimal/src;C:\xampp\htdocs\media\vendor/pear/mail_mime;C:\xampp\htdocs\media\vendor/pear/mail_mime-decode;C:\xampp\htdocs\media\vendor/pear/net_socket;C:\xampp\htdocs\media\vendor/pear/net_smtp;C:\xampp\htdocs\media\vendor/pear/mail;C:\xampp\php\PEAR') in C:\xampp\htdocs\media\extensions\PdfExport\converters\PrincePdfConverter.php on line 22
what can i do ?? , thanks Mariana duarte100 (talk) 15:17, 27 April 2017 (UTC)
- Did you download this extension? Since it's unmaintained, I would suggest you try this one instead. │Star-Warden│ 15:46, 27 April 2017 (UTC)
- yes, i download both extension , and in the first case print as formate PDF, gives me error that export as format pdf- error, means doesnt find any convertion pdf and told that i need to install PrinceXML, DomPdf o HTMLDoc. but i install DomPDF and Html doc and PrinceXML doesnt work
- and the second case with Extension:ElectronPdfService
- gives me the link print PDF but when i click on , told me that the service doesnt find the page Mariana duarte100 (talk) 16:05, 27 April 2017 (UTC)
the first case(Extension:PdfExport) gives me the link print as formate PDF, but when i click on, gives me an error that export as format pdf- error, means doesnt find any convertion pdf and explain that i need to install PrinceXML, DomPdf o HTMLDoc. but i install DomPDF and Html doc and PrinceXML and doesnt work
and the second case with Extension:ElectronPdfService
gives me the link print PDF but when i click on , told me that the service doesnt find the page Mariana duarte100 (talk) 19:22, 27 April 2017 (UTC)
- Hi,
- ElectronPdfService is probably the best way to go forward, but many of these extensions are quite burdensome to set up indeed. You need to also install Electron service and a restbase endpoint..
- This is badly documented I admit. The talk page of the extension has a few more people who have attempted to do the same and ran into similar problems. I encourage you to document your experiences. —TheDJ (Not WMF) (talk • contribs) 10:26, 28 April 2017 (UTC)
- hi,
- i dont understand how to do this instructions, i dont uderstand the instruction of the electron service and the steps of the confuguration :
- Install and configure an Electron Service exposed over a RESTBase API endpoint
- Install https://github.com/wikimedia/restbase, and set up a config similar to config.example.wikimedia.yaml. Adjust the pdf server URL to reflect your host & port.
- so can you explain an easy way to install that instructions or something please, im working at windows10 and in xampp Mariana duarte100 (talk) 17:03, 9 May 2017 (UTC)
Hosting MediaWiki on Google Cloud for use in College Courses
Goal:
I am setting up MediaWiki to get more students familiarized/comfortable with the ability to edit and contribute to Wikipedia & MetaWiki projects. (This includes both coding, and general editing)
Google Cloud:
I just set up: <https://bitnami.com/stack/mediawiki> on Google Cloud Platform.
---
Main Question(s):
Has anybody here tried Bitnami's Mediawiki, or hosting on GCP? Any recommendations for setting up mediawiki for use in a college setting?
---
Here is what is included in the Bitnami stack (I think):
- Ghostscript 9.05
- Apache 2.4.25
- ImageMagick 6.7.5
- MediaWiki 1.28.1
- MySQL 5.6.35
- OpenSSL 1.0.2k
- PHP 5.6.30
- phpMyAdmin 4.7.0
- SQLite 3.7.15.1 Popcrate (talk) 07:05, 28 April 2017 (UTC)
Url del sitio
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
he creado mi sitio web wikipedia pero me marca que la url no esta disponible y no me deja editar tranquilamente que tengo que hacer Uvas magicas (talk) 14:54, 28 April 2017 (UTC)
- Did you mean "MediaWiki" instead of "Wikipedia"? For Wikipedia questions, you have to ask on Wikipedia... Malyacko (talk) 19:55, 28 April 2017 (UTC)
- si me refiero a media wiki quiere decir que he creado mi sitio wikipedia con la ayuda de media wiki pero el problema es que nadamas funciona unos minutos y despues me marca que la url no esta disponible en el servidor que tengo que hacer para evitar eso Uvas magicas (talk) 20:25, 28 April 2017 (UTC)
- Haría falta más información, como por ejemplo, ¿cómo intalaste MediaWiki? en un servidor, en tu propio computador, si es Windows o Linux, si usas un paquete de programas como WAMP o Bitnami...
- También sería interesante un mensaje de error más detallado: No es lo mismo un error 404 (documento no encontrado), o un error 500 (error interno del servidor), o un 503 (normalmente indica que el servidor está "saturado"). Normalmente firefox y chrome indican el código de error HTTP en estos casos. El error también puede deberse a que el navegador no puede conectar con el servidor (porque este se ha detenido), en este caso no habrá un código numérico pero sí puede haber un código alfanumérico. Ciencia Al Poder (talk) 10:19, 29 April 2017 (UTC)
Exclude url from search engine
Hi, I'm using MobileFronted extension for Mediawiki. The search engine also indexes urls with this parameter "index.php?title=Article&mobileaction=toggle_view_mobile". How to exclude url from search engine with this parameter?
Robots.txt is a good way?
'Disallow: /index.php?' NH35 (talk) 16:23, 28 April 2017 (UTC)
Cannot access my login username
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
I am the ONLY Vic Jasin on the internet. The unique spelling of Jasin vs. Jason is what makes it a unique name on the net. As such I am the ONLY one who can validate that name and yet when I tried to login using vicjasin it said identity cannot be validated. I now have vjasin as my account but prefer to use VICJASIN which I used for about 20 other social nets and many more other profiles online. Anyone else using "vicjasin" as their name vs. username is NOT ME and as such NOT "Vic Jasin" as to the best of my knowledge I am the Only ONE on the net. Please let me know how to release that username so I can use it. The same email used for vjasin is what I would use for vicjasin. Any other email associated with that username is a fraud and someone trying to assume my identity which I suspect may have happend over some recent trolling events on GAB. Let me know and send me an email to this account if you can OR post your response here and I'll check back later. I would prefer to PRIVATELY post my info so that you can verify it's me (Vic Jasin). Thanks Victor G.L. Jasin B.Comm F.R.C. aka "Vic Jasin" (vicjasin). Vjasin (talk) 18:26, 28 April 2017 (UTC)
- Are you sure this is related to MediaWiki? This place where you posted is the support desk for the MediaWiki software. │Star-Warden│ 22:37, 28 April 2017 (UTC)
- Sorry, the problem has been resolved since I posted. Did not know where else to post issues about my ACCOUNT. Mea culpa. My vjasin profile is gone and my vicjasin is restored and back in my control. :-) Vicjasin 22:39, 28 April 2017 (UTC)
Translation help for Central Notice
I have re-posted this one as no comments were made in past few weeks.
I am seeing a problem in one of the translated pages.The name of the page is CentralNotice Banners(https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=Centralnotice-tgroup&language=en).In that,the translation made by someone to English was only around 5% translated.The one i mentioned is about B13 WMDE 131127 layout rd-banner-text/ml . When i tried to translate it by using google translate,i found it more meaningful than the one present.Since my source language is English,i cannot translate that page to English.Can someone suggest me a method to change that translation? Following is the link i am suggesting you to replace with: https://translate.google.com/#de/en/%3Ci%3ELiebe%20Leserinnen%20und%20Leser%3A%3C%2Fi%3E%20500%20Millionen%20Menschen%20nutzen%20Wikipedia%20im%20Monat.%20Sie%20ist%20die%20Nr.%205%20der%20am%20h%C3%A4ufigsten%20besuchten%20Webseiten%20der%20Welt%20und%20hat%20Kosten%20wie%20jede%20andere%20Top-Seite%3A%20Server%2C%20Strom%2C%20Programme%2C%20Personal.%20Nur%20knapp%20250%20Angestellte%20arbeiten%20in%20der%20gemeinn%C3%BCtzigen%20Organisation%20hinter%20Wikipedia.%20Wikipedia%20ist%20anders.%20Sie%20ist%20ein%20besonderer%20Ort%2C%20wie%20eine%20Bibliothek%20oder%20ein%20gro%C3%9Fer%20Park%3A%20Hier%20gehen%20wir%20alle%20hin.%20Hier%20lernen%20wir.%20Hier%20denken%20wir%20nach.%20Um%20Wikipedias%20Unabh%C3%A4ngigkeit%20zu%20sch%C3%BCtzen%2C%20gibt%20es%20keine%20Werbung.%20Wir%20finanzieren%20uns%20durch%20Spenden%20von%20durchschnittlich%2020%20%E2%82%AC.%20Heute%20bitten%20wir%20Sie%20um%20einen%20Beitrag.%20Wenn%20jeder%20nur%20einen%20kleinen%20Beitrag%20leisten%20w%C3%BCrde%2C%20w%C3%A4re%20unsere%20Spendenkampagne%20in%20einer%20Stunde%20vor%C3%BCber.%20Finden%20Sie%20Wikipedia%20n%C3%BCtzlich%3F%20Dann%20nehmen%20Sie%20sich%201%20Minute%20Zeit%2C%20damit%20Wikipedia%20ein%20weiteres%20Jahr%20werbefrei%20und%20f%C3%BCr%20uns%20alle%20da%20sein%20kann.%20Bitte%20helfen%20Sie%20mit.%20%3Ci%3EVielen%20Dank!%3C%2Fi%3E Adithyak1997 (talk) 07:49, 29 April 2017 (UTC)
- You obviously are speaking about a German translation, which would be incomplete or missing.
- However, at https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=Centralnotice-tgroup&language=de&filter=%21translated&action=translate I could not find, which text you are talking about... 83.135.228.234 (talk) 08:55, 29 April 2017 (UTC)
- When I search that page for "131127", I do get exactly two hits, it shows me a field to put the translation into, but it does not show me any English text to translate.
- Not very intuitive... 83.135.228.234 (talk) 08:57, 29 April 2017 (UTC)
- Sorry. Please type this in the filter list option provided on the right side of that page: <i>Liebe Leserinnen und Leser:</i> 500 Millionen Menschen
- Now, you may get many messages one by one. Each of those are not in English. Please click any one of them and please try to read it. Adithyak1997 (talk) 15:56, 29 April 2017 (UTC)
Template background and outlines missing
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
Hello all, I have a problem with my templates (imported from Wikipedia). The outline and background is missing in all off them. May you help me ? if you need my website as exemple tell me.
EDIT : I've already imported Common.css and refreshed the pages Kbueno (talk) 10:38, 29 April 2017 (UTC)
How Wikipedia share session across data center?
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
Wikipedia use multiple data center for different language wikis, yet all of them sharing single account system, and user only need one session for all wikis login.
I knew that Wikipedia is using redis to store session. But how Wikipedia share sessions across data center? Deletedaccount4567435 (talk) 21:43, 29 April 2017 (UTC)
- Extension:CentralAuth 97.47.68.139 (talk) 23:37, 29 April 2017 (UTC)
- preciso minha conta não ta logando plis casaverde3 Ghostmmk44 (talk) 01:39, 30 April 2017 (UTC)
- Question answered. Reception123 (talk) 10:29, 30 April 2017 (UTC)
robots.txt
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
Please help me . Where should I upload robots.txt in my site ? ShahadatHossain (talk) 03:27, 30 April 2017 (UTC)
- As the MediaWiki page explains: "A robots.txt file must be placed in the web root of a domain." For your site, it could be the public_html folder. AhmadF.Cheema (talk) 10:57, 30 April 2017 (UTC)
Choice of gadgets
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
I have compared Special:Preferences -> Gadgets on fr., en., pl. with the ones available on hr.wikipedia.
https://fr.wikipedia.org/wiki/Special:Preferences#mw-prefsection-gadgets
https://en.wikipedia.org/wiki/Special:Preferences#mw-prefsection-gadgets
https://pl.wikipedia.org/wiki/Special:Preferences#mw-prefsection-gadgets
On hr.wikipedia currently we do not have such rich choice of features.
https://hr.wikipedia.org/wiki/Special:Preferences#mw-prefsection-gadgets
This has something with the page Special:Gadgets, but we are not able to edit that page on the wikiproject.
What we have do to improve that? What actions do we have to take?
I would like that Wikipedia in Croatian has such choice of gadgets like on those wikis mentioned above.
https://hr.wikipedia.org/wiki/Special:Version
MediaWiki : 1.29.0-wmf.21 (e826acd) 22:50, 25 April 2017 Kubura (talk) 06:02, 30 April 2017 (UTC)
- As a starting point you can try using the "Export" link on pages like: en.wikipedia.org/wiki/Special:Gadgets. AhmadF.Cheema (talk) 06:18, 30 April 2017 (UTC)
Add "statistic" to Special:CreateAccount
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
Currently when seeing Special:CreateAccount you see the number of edits, pages and "recent contributors". I would like to you some hook (or anything) to add one more statistic (<nowiki>{{NUMBEROFWIKIS}}</nowiki>) to add to that page. Could someone please tell me how that would be possible? Reception123 (talk) 07:31, 30 April 2017 (UTC)
- @Shirayuki I know about those, but I would need a -benefit-head4 and body4 so I can add a completely new statistic. Reception123 (talk) 08:33, 30 April 2017 (UTC)
- Bump Reception123 (talk) 18:42, 6 May 2017 (UTC)
- You can only do this by modifying the source code (be careful with updates etc, which will likely override these).
- The page in question is includes/specialpage/LoginSignupSpecialPage.php function getPageHtml(). —TheDJ (Not WMF) (talk • contribs) 09:50, 8 May 2017 (UTC)
- We generally prefer not to edit source code if it is not really necessary, mostly for the reasons you have listed above. Is there no other way to override this somehow? Reception123 (talk) 17:40, 9 May 2017 (UTC)
- There are extensions for modifying MediaWiki core, so that's why I'm wondering if there isn't a way to do this. Reception123 (talk) 17:40, 9 May 2017 (UTC)
- As far as I can tell, there is no hook that will allow an extension to make modifications here.
- There are some hooks like beforepagedisplay where you can access the raw html text, but modifying that seems equally unmaintainable to me really. —TheDJ (Not WMF) (talk • contribs) 19:12, 9 May 2017 (UTC)
Suggestion
"编辑摘要追加",顾名思义,追加编辑摘要。由于使用新版源代码编辑器时,在预览后常常忘记加入编辑摘要,所以有这个想法。
其只能对自己的编辑追加编辑摘要。
"Edit summary supplement"——When using the source editor, I always forget to add edit summary after previewing, so I have this idea.
The tool can enable user to add edit summary when that happened, but only for one's own edit.
My English is not very good.If there are any mistakes, please correct them. 脂肪酸钠 (talk) 09:07, 30 April 2017 (UTC)
Scribunto module error
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
Hi all.
I just installed Scribunto on my wiki to import templates from Wikipedia, but when I tried to save a module page (i.e. a page in the Module namespace) I got an error.
Internal error
[WQWuWkA@04MAABcnrgwAAAAh] {DATE AND TIME}: Fatal exception of type "MWException"
I searched for solutions for a while and got nothing. Can anyone help please?
MediaWiki version: 1.28.1
PHP version: 5.6.30 (cgi-fcgi)
MySQL version; 5.6.35
Lua version: 5.1.5 H78c67c (talk) 09:38, 30 April 2017 (UTC)
- See Manual:How to debug to get further explanation for the error. AhmadF.Cheema (talk) 10:59, 30 April 2017 (UTC)
Visual Editor Citation Tool Template fields won't show up after fulfilling all steps
1- I followed all the steps written in this article Help talk:VisualEditor/User guide/Citations-Full, and imported all the necessary components, including the CS1 componenet.
Also, I edited the template page and saved it, as per the reported bug in the troubleshooting section. I even added the templatedata lines from the /doc to the main template page to test it, then removed it again.
I also ran the jobqueue to make sure that there are no jobs waiting.
However, all this did not lead to any improvement. When I click on any citation component, I get this message: "The "Template:Cite book" template doesn't yet have a description, but there might be some information on the template's page."
When I try to add a generic field, I get the following error: "lua error in package.lua at line 80: module 'Module:Citation/CS1/Suggestions' not found."
I understand that I don't have suggestion in the /CS1/Suggestion page, but I should not need suggestions anyway if the fields show.
What shall I do to solve this problem?
2- My Citation window does not have 3 tags: automatic, manual and reuse.It only has one tab only showing the "books, website, journal and manual" options.
Can you please help me understanding what's wrong?
I have been asking for a solution for over a week in the IRC channel, mailing list and the Extension Talk page, but no one answers.
Thanks a lot. Atef81 (talk) 15:46, 30 April 2017 (UTC)
- That says your missing a module. 2600:1000:B01C:8797:BD5E:81A7:1991:5F2C (talk) 16:25, 30 April 2017 (UTC)
- "That" is referring to what? the message "...template does not yet...etc" or the "lua error"? If you are referring to the "lua error" then yes. there are no template suggestions in the "/CS1/suggestions", but these suggestions are not needed for the 4 default templates (book, journal, website, news) to work.
- The documentation says that CS1 is optional and not needed for the default templates to work. Atef81 (talk) 16:48, 30 April 2017 (UTC)