[11:28:02] Hi. My organization has a MediaWiki instance in Amazon (Ubuntu, MariaDB). I got a complaint that it is sometimes very slow in China, and a request to get a server in China to fight this problem. The plan is to use master-master replication for the db and glusterfs for files such as images. Does this make sense, or should I just say "no" because mediawiki is not supposed to be used this way? [11:28:54] again - the goal is to be able to access the same wiki content from any of these two servers [13:20:38] Hello. [13:52:46] hi is anybody here who can help me? [13:58:13] kuri_: there are lots of people here and no one can answer a question that hasn't been asked [13:59:02] ok i just wanted to be sure that there is someone reading this chat ;) [14:00:48] people are not always looking, but the messages don't go away [14:01:30] I am having an issue, when using the mw-editsection function i get on my wiki page something like this [Bearbeiten]]. This bug has come after my Wiki got updated to 1.25 and it didnt disappear with 1.26 [14:02:51] Hi guys, I use VisualEditor, but I always get 'AccessDeniedError: Your wiki requires a logged-in account to access the API.' I followed https://www.mediawiki.org/wiki/Parsoid/Troubleshooting but I still get this. Any ideas? [14:02:53] Now I expect that there is some kind of To the top link inside the edit part which shouldnt be there, but i cant figure out where to look at it [14:07:14] maybe someone has an idea or had a similar bug before? [14:12:45] morning [15:56:24] Hello, all, anyone have experience with multiple wiki's on a single host? [15:57:39] Many people will have [15:58:38] So, here's a question. If I manually make the databases in PostgreSQL, can I symlink the contents of /usr/share/webapps/mediawiki/ save for the LocalSettings.php? [16:05:18] I'm asking because my package manager only handles one install. [16:06:33] We generally don't reccommend to use a package manager [16:06:40] for MW itself [16:07:05] Why's that? [16:07:30] !package [16:07:30] Many Linux distributions provide MediaWiki in a packaged format for that distro. These packages typically contain obsolete & unsupported versions of MediaWiki; they also like to move around & change files, & do other super-counterproductive things. You'll get the best support here if you install MediaWiki directly from one of our tarballs - https://www.mediawiki.org/ - or Git https://www.mediawiki.org/wiki/Download_from_Git [16:09:13] Hmm. Arch is just a little behind. [16:09:23] 1.26-1 is what they have in the repo. [16:11:02] Alright. So, I have a backup of the database and LocalSettings.php. Is there anything else I should preserve? [16:11:48] Any uploads too [16:11:52] !backup [16:11:52] See http://www.mediawiki.org/wiki/Manual:Backing_up_a_wiki for information about backing up your wiki. For restoring your wiki, see http://www.mediawiki.org/wiki/Manual:Moving_a_wiki#Import_the_database_backup for more. If you don't have database access, try !grabber. [16:12:50] No file uploads of note, but I can look there. Thanks. I'll convert it back to local package install... This is the second package I have to manually manage -_-; [16:56:24] hello [16:59:07] hi DeathBurst [17:04:21] I've got 2 questions [17:05:02] 1/ "MediaWiki automatically checks if the target of a wikilink exists ("existence detection")." (from https://meta.wikimedia.org/wiki/Help:Link#Wikilinks ) --> how does that work, and what table are accessed during this check ? [17:06:39] and 2/ pagelinks take a page_id in pl_from, but different revisions of a same page may not all contain a given link, so is pagelinks supposed to be always relative to the latest revision, or something like that ? [17:12:48] so regarding 1/, I just found it's implemented in Linker.php, but I can't find what tables are accessed [17:13:32] pagelinks [17:13:36] "Track page-to-page hyperlinks within the wiki." [17:15:02] re 2/, yes. [17:15:33] For 2/ there may be some job queue related delay [17:21:24] Reedy: pagelinks doesn't contain any attribute indicating if the target page exist or not [17:21:37] actually, the doc even states that the target page may not exist [17:21:42] Indeed [17:21:54] so you can't know if the link should be red or blue by looking at pagelinks [17:22:05] or did i miss something , [17:22:08] ? [17:22:23] Join to the page table? [17:22:29] (LEFT) JOIN [17:23:22] so there is a big request to page just to check the existence of links every time a page is displayed ? [17:24:12] i thought the old brokenlinks table (nowdeprecated) was used precisely to avoid that [17:24:36] Deprecated? [17:24:41] That's not existed for a long time [17:24:59] If you do indexed joins, they're comparitively cheaper [17:26:03] ok [17:26:09] tanks for the info :) [21:21:15] How do I delete a page I just created on MediaWiki by mistake? [21:22:54] add {{Speedy}} to it [21:23:11] or wait a bit to see if someone here with sysop rights deletes it [21:24:10] Does anyone here have sysop rights that can delete a page for me? [21:24:20] Bill_: Which wiki? [21:24:36] Can I give you this info privately? [21:24:41] Sure. [21:25:10] I'm a newbie. How do we do a private chat? [21:25:26] Bill_: `/query James_F` [21:25:33] Without the quotes. :-) [22:46:26] I have CirrusSearch from git but when I run my wiki lots of errors are shown [22:46:32] Fatal error: Uncaught exception 'Exception' with message '/var/www/mediawiki/extensions/CirrusSearch/extension.json does not exist!' in /var/www/mediawiki/includes/registration/ExtensionRegistry.php:106 Stack trace: #0 /var/www/mediawiki/includes/GlobalFunctions.php(169): ExtensionRegistry->queue('/var/www/mediaw...') #1 /var/www/mediawiki/LocalSettings.php(102): wfLoadExtension('CirrusSearch') #2 /var [22:46:38] /www/mediawiki/includes/WebStart.php(120): require_once('/var/www/mediaw...') #3 /var/www/mediawiki/index.php(40): require('/var/www/mediaw...') #4 {main} thrown in /var/www/mediawiki/includes/registration/ExtensionRegistry.php on line 106 [22:46:42] any idea? [22:47:20] Yeah [22:47:36] Don't use wfLoadExtension() for CirrusSearch [22:47:41] huh I changed it to call it via require_once [22:47:47] and now only one error: [22:47:51] Fatal error: Class 'CirrusSearch\CommonTermsQueryProfiles' not found in /var/www/mediawiki/extensions/CirrusSearch/includes/Hooks.php on line 115 [22:48:17] ? [22:48:25] CommonTermsQueryProfiles isn't autoloaded [22:48:30] Let me make a patch to fix it [22:48:57] Reedy: would you upload it to git? [22:49:07] Yeah, that's the point of making a patch :) [22:49:20] Reedy: thank you :) [22:49:40] I'll uninstall the extension for now [22:50:17] Looks like all the profiles aren't autoloaded [22:50:43] no idea, I just try to run it for the first time, no experience with it so far :) [22:53:13] Reedy: gotta go now, see you later :) [22:53:17] require_once __DIR__ . "/profiles/SuggestProfiles.php"; [22:53:17] require_once __DIR__ . "/profiles/PhraseSuggesterProfiles.php"; [22:53:18] require_once __DIR__ . "/profiles/CommonTermsQueryProfiles.php"; [22:53:18] require_once __DIR__ . "/profiles/RescoreProfiles.php"; [22:53:18] require_once __DIR__ . "/profiles/SimilarityProfiles.php"; [22:53:21] * Reedy squints