[01:41:40] i have created a DerivativeContext and a DerivativeRequest, set my params in the latter and the special:pagetitle in the former. It is calling the special page! hooray. But the request to which that special page has access, cannot see any of the parameters i set in the DerivativeRequest..... any ideas? thanks! [01:45:48] one thought is that I'm calling the wrong method with the DerivativeContent. I am calling ApiMain but when I print its result, I see html markup for ApiHelp. I WANT to see the specialpage I am trying to invoke [01:46:14] the code is at https://dpaste.de/RW7K [01:46:21] * legoktm looks [01:47:24] um [01:47:28] what exactly are you trying to do? [01:47:49] i am trying to redirect from one special page to another, with a different set of params [01:48:53] from FormEdit to FormStart - I have created a custom SemForm to help people name their pages (better) and selecting the correct form to use [01:49:07] http://54.149.69.117:8191/Form:NewPage [01:50:17] this printForm method in the snippet is in the Special:FormEdit code [01:52:08] i have the feeling that ApiMain is the wrong thing to call, because this is not a commandline thing happening [01:53:26] i'm drowning in these context things, when all i want to do is invoke a different specialpage [01:54:39] legktm, very thankful here that you're willing to advise [02:03:56] maybe call dRequest->setRequestURL() ? [02:21:56] PHP Fatal error: Call to undefined method DerivativeContext::setRequestURL() [02:22:24] this is flatly contradicted by the documentation which says that setRequestURL is inherited from FauxRequest [02:22:38] oops context here. wait [02:58:28] I just bought a domain name for my wiki. Can I just change the variables in LocalSettings.php that refer to the old name? [02:59:14] Assuming the domain is properly configured, sure. [02:59:43] The domain needs to be pointing to the appropriate Web server and the Web server needs to be configured to handle requests. [02:59:55] Yes, that's ok. [03:01:08] I get a redirect from http://newdomain/ to http://newdomain/wiki/ to http://olddomain/wiki/Main [03:01:28] So it's just mediawiki redirecting me. [03:02:27] Check LocalSettings.php. [03:04:50] Also, if I've got two domains + the default one, and I want a query from one of those two to keep on the same address, but any other to go to one of my new domain, can I just play with $wgServer? [03:06:20] Oh wait, it already works like this. [03:06:57] It's only http://anything/wiki/ that redirect to $wgServer [03:07:04] Solution accepted. [03:10:16] I have a valid image title but when I call wfFindFile( $imgtitle ); it returns null, I don't get why [03:12:36] it happens at line 128 in RepoGroup.php after $title = File::normalizeTitle( $title ); [03:34:31] how can I get real link of a file instead of a link with mwstore:// ? [03:56:58] getZoneUrl('public') worked [03:57:02] thx [09:02:55] http://www.mediawiki.org/wiki/Template:Countdown?action=edit blabla [09:03:03] is there a lua version somewhere with hours ? [09:05:26] ah yes, on wikipedia :-) [09:45:38] Quick question for you guys, how would I query a page with JS to get the name of the creator? [09:47:26] penguinstyles: using the api, prop=revisions, finding the first revision of a page [09:47:32] !api | penguinstyles [09:47:32] penguinstyles: The MediaWiki API provides direct, high-level access to the data contained in the MediaWiki databases. Client programs should be able to use the API to login, get data, and post changes. Find out more at < https://www.mediawiki.org/wiki/API >. For client libraries in various languages, see < https://www.mediawiki.org/wiki/API:Client_Code >. [09:48:04] for JavaScript: https://www.mediawiki.org/wiki/RL/DM#mediawiki.api [16:40:00] I heard via greg-g https://identi.ca/greg/note/AM5sgwjfR8iM9C4G1vA2Og that someone got in a bike accident? Who? are they ok? [16:52:03] ah, someone told me in pm, thanks. [17:33:01] hello. what is the easiest way to restrict read access to unreviewed pages in a wiki? (it is enough that users without an account cannot normally read them.) It does not need absolute security, as the hidden pages are usually just "not finished". [17:33:24] I just want to prevent google from indexing it and users accidentally reading them. [17:40:46] none of the extensions appears to be maintained. [17:52:20] probably maintaining that whitelist for unregistered users in $wgWhitelistRead is the easiest, right? [17:54:52] Hi all! [17:55:22] Am I the only one whose $wgResourceBasePath is unset but referenced in LocalSettings.php in 1.24.2? [17:56:46] $wgRightsIcon is set to "{wgResourceBasePath}/resources/assets/licenses/gnu-fdl.png" since this patch was applied: http://permalink.gmane.org/gmane.org.wikimedia.mediawiki.cvs/299097 [17:57:15] but in my installation, the code for setting $wgResourceBasePath is not executed when $wgRightsIcon is set in LocalSettings.php [17:57:18] so I get an invalid path [17:59:11] The LocalSettings.php autogenerated by 1.24.2 installer also doesn't define $wgResourceBasePath [18:01:00] ok, it's an unfixed bug indeed: https://phabricator.wikimedia.org/T93505 [19:06:25] I have some old skin code that is adding a style sheet within