[13:42:20] Is there an API to query for pages and also return the pages wikitext? [13:42:30] Or is there a way to fetch multiple pages contents in one request? [13:53:46] should be able to... [13:54:43] prop=revisions [13:54:57] which API can do this? [13:56:33] https://www.mediawiki.org/wiki/API:Revisions [13:57:24] Thanks, I'll have a look, it's one of the only ones I haven't checked yet it seems [13:59:24] Would be nice to be able to use multiple pageid's with Parse module [14:05:54] It is starting to make more sense now, thanks guys [14:06:03] with 1.35, there is a REST API call as https://www.mediawiki.org/wiki/API:REST_API/Reference#Get_page_source to get the wikitext [14:06:43] But for one page in one request? [14:07:20] I am looking to get multiple pages in one request [14:07:47] oh missed that part [16:51:27] Interesting issues with 1.30->1.35 with a wiki that has a language which is missing uppercase letters. Quite some problems, did something change in this regard between those versions? [16:52:12] capitalLinks false fixed some issues, but some extensions still create links with uppercase, and then category listings show uppercase letters e.g. A: ... C: ... but in this language, and those uppercased ones are broken [17:21:45] harmaahylje: try running the maintenance/cleanupTitles.php script to fix the titles [17:22:10] harmaahylje: i vaguely recall some issues caused by a newer version of unicode defining uppercase letters differently [17:22:23] is your wiki perhaps in georgian? [17:23:00] https://www.mediawiki.org/wiki/Manual:CleanupTitles.php [18:36:32] Sorry! This site is experiencing technical difficulties. [18:36:32] Try waiting a few minutes and reloading. [18:36:33] (Cannot access the database: Unknown error (localhost)) [18:36:33] Backtrace: [18:36:34] #0 /var/www/html/w/includes/libs/rdbms/loadbalancer/LoadBalancer.php(947): Wikimedia\Rdbms\LoadBalancer->reportConnectionError() [18:36:34] #1 /var/www/html/w/includes/libs/rdbms/loadbalancer/LoadBalancer.php(914): Wikimedia\Rdbms\LoadBalancer->getServerConnection(0, 'my_wiki', 0) [18:36:35] #2 /var/www/html/w/includes/libs/rdbms/loadbalancer/LoadBalancer.php(1060): Wikimedia\Rdbms\LoadBalancer->getConnection(-1, Array, 'my_wiki', 0) [18:36:35] #3 /var/www/html/w/includes/GlobalFunctions.php(2453): Wikimedia\Rdbms\LoadBalancer->getMaintenanceConnectionRef(-1, 'api', 'my_wiki') [18:36:36] #4 /var/www/html/w/includes/cache/MessageCache.php(493): wfGetDB(-1, 'api') [18:36:36] #5 /var/www/html/w/includes/cache/MessageCache.php(448): MessageCache->loadFromDB('en', NULL) [18:36:37] #6 /var/www/html/w/includes/cache/MessageCache.php(371): MessageCache->loadFromDBWithLock('en', Array, NULL) [18:36:37] #7 /var/www/html/w/includes/cache/MessageCache.php(1096): MessageCache->load('en') [18:36:38] #8 /var/www/html/w/includes/cache/MessageCache.php(1023): MessageCache->getMsgFromNamespace('Mainpage', 'en') [18:36:38] #9 /var/www/html/w/includes/cache/MessageCache.php(993): MessageCache->getMessageForLang(Object(LanguageEn), 'mainpage', true, Array) [18:36:39] #10 /var/www/html/w/includes/cache/MessageCache.php(935): MessageCache->getMessageFromFallbackChain(Object(LanguageEn), 'mainpage', true) [18:36:39] #11 /var/www/html/w/includes/language/Message.php(1294): MessageCache->get('mainpage', true, Object(LanguageEn)) [18:36:40] #12 /var/www/html/w/includes/language/Message.php(851): Message->fetchMessage() [18:36:40] #13 /var/www/html/w/includes/language/Message.php(943): Message->toString('text') [18:37:22] when I am running the mediawiki on the localhost:8080. I am getting this error on my localhost. [18:37:43] Can anyone help me out? [18:38:00] !pastebin [18:38:00] To avoid overflowing the channel with inane amounts of text, use https://dpaste.org or https://phabricator.wikimedia.org/paste/edit/form/14/ or other awesome pastebin sites to share code, errors, and other large texts. [18:38:05] Also, is mysql running? [18:40:42] NO, Can you tell me how to run that? [18:42:06] It depends on your operating system etc [18:42:16] I'm sure if you google "start mysql" you can find answers [19:04:11] Can I run mysql using Xampp? [19:37:54] MatmaRex: yes the wiki is in Georgian, how'd you guess? [19:38:45] I found that Unicode 11 somehow introduced uppercase letters for Georgian, probably some conflict somewhere. I will try the script, loads of thanks mate [19:40:43] harmaahylje: unicode 11 also caused problems with the georgian wikipedia (although i think we caught them before the deployment), let me see if i can find the bug about it [19:43:40] i think i was thinking of https://phabricator.wikimedia.org/T230559 , but that was actually probably a different issue than yours (and i just realized that we forgot to close it when it was fixed) [19:46:42] Thanks. Yes I probably have some other issues, it is not that well set up. For instance the language is not set to Georgian, which is something I might want to do [19:46:44] i could swear there was another thing but i can't find it now [19:47:52] good luck with the work! [19:51:20] Thanks for the help, this might very well fix the issue :)