[10:53:28] hello. ping [10:53:43] please help me with http://www.sub-bavaria.de/ [11:10:09] heyo. on an instance of mediawiki i'm running, Special:Random redirects to the long url for pages, i.e. /index.php?title=PageTitle&%2FSpecial%3ARandom= instead of just /PageTitle (like it does on other wikis). i have short URLs set up, etc. – it's just Special:Random that redirects to the default long url. can i somehow change this behavior? [11:31:56] hello, could anyone explain to me what i should do in this http://www.sub-bavaria.de/ mediawiki? mediawiki 1.31 php7.2 duch hosteurope vorgegeben phpmyadmin von 2011 3.4.11 , inzwischen gibt's 4.8.3 MyISAM ist die Engine mysqldumper veraltet, brauchtma den? (entwickler hat damit aufgehört, php7fähigen gibts trotzdem noch auf github) postgresql veraltet, liesse sich updaten serverversion 5.6.40 auf webpack.hosteurope [11:39:36] don't know if i should or if i even have to rewrite localsettings in https://sub-bavaria.de mediawiki 1.31 of subcultures in bavaria. , probably php7 (set by hosteurope) , phpmyadmin 3.4.11 , MyISAM , mysqldumper old version , postgreSQL old version, server version 5.6.40 (webpack/hosteurope) thank you [11:39:43] !update.php [11:39:43] update.php is a script that updates the database tables. You usually need to run it after upgrading MediaWiki or installing certain extensions. For details, see [11:40:07] thanx! [11:42:33] sub-bavaria.de/w/mw-config fails..... endless loop, nothing happens after entering upgrade key [11:44:42] CLI works better [11:48:44] alright, i'll try that. do i have to install subversion? do i need extra accounts [11:49:36] subversion is a thing of the past :) [11:50:56] you'll have to finnd out if your account at hosteurope comes with ssh access. that makes life a *lot* easier [11:50:58] !shell [11:50:58] Shell access (that is, SSH access, see http://en.wikipedia.org/wiki/SSH) is highly recommended if you want to run MediaWiki. You can install without it, and basic operation will work, but even creating backups or upgrading will be painful without it. Some more involved maintenance tasks may even be impossible. MediaWiki is not designed for minimal environments. [11:52:40] people still do use subversion [11:52:49] still getting monthly stable releases [11:53:13] i prefer git for what i do, and am more used to that, but svn does have its benefits [12:06:10] places are still using cvs [12:23:04] did anyone see my question earlier who might be able to help out? [12:37:40] thank you so much for your support. gonna have to learn about sql, ssh, svn, php now. happy advent :) [13:59:08] guess not [14:35:59] … [14:40:03] hello [14:40:31] im developing an extension and that includes a special page to set and save some configuration options for the wiki [14:40:45] is there any standard method to do so? [14:41:03] user options are only user specific and global configuration is not persistent .. [14:41:20] do i really need to create a new table for storing them ? [14:46:28] Sophivorus: yes, a new table would be advisable [15:10:49] anyone knows how to create/edit a page via php ? [15:11:02] $title = Title::newFromText( 'WikiLayoutData', NS_MEDIAWIKI ); $wikiPage = new WikiPage( $title ); $content = $wikiPage->getContent(); [15:11:08] and then ? [15:20:52] how is it possible that such simple operations are so impossibly complicated to accomplish ?? [15:21:23] im deep into a labyrinth of methods, classes and whatnot for over an hour just to edit a page [15:21:58] and it's always the same story, simple action, nightmare code [15:22:42] well, if anyone sees my question from 4+ hours ago and ever has an answer [15:22:49] maybe i'll be back [15:22:50] … [15:25:36] Someguy123: there's a maintenance script called "edit.php". Maybe you can look at the code to see how it's done [15:25:45] oops, wrong ping! [15:25:54] Sophivorus left :( [15:33:01] how do i create/edit a page via PHP ? [15:33:18] before i used to do [15:33:26] $title = Title::newFromText( 'Page name' ); [15:33:35] $article = new Article( $title ); [15:33:53] $article->doEdit( 'Page text', 'Edit summary' ); [15:34:09] but now doEdit is removed and I've been trying to find the standard way for over an hour [15:34:32] im surprised and frustrated that such a simple task is so impossibly difficult to accomplish [15:34:42] can anyone give me a hand ?? thanks .. [15:38:31] Sophivorus: there's a maintenance script called "edit.php". Maybe you can look at the code to see how it's done [15:38:50] i'll try that, thanks .. [19:56:50] what might be the reason why an extension does not appear as loaded in [[Special:Version]], even though it is installed with a wfLoadExtension line in the LocalSettings.php? And everything else about the wiki seems to function just find, just this extension is spuriously absent, even thout the files are there? I am talking about DynamicPageList3 https://www.mediawiki.org/wiki/Extension:DynamicPageList3 [19:57:35] the extension should parse tags, yet they don't get parsed [19:58:21] here is an affected page https://wiki.freifunk-potsdam.de/Treffen [19:59:54] oh, maybe I tried the wrong wiki... please ignore [20:07:22] Freenoodle: :P [20:08:43] harmaahylje, sorry, modified another wiki and wondered why there is no change in this one.. [20:09:03] yeah that happens [20:09:06] and it sucks! [20:11:26] harmaahylje, could be worse. [20:11:31] harmaahylje, sometimes it is..