[01:16:31] gry: You can do a To see what PHP thinks is installed. [01:17:03] You may need to edit some INI file or something. [01:18:23] if only it ever worked the first time, i put /var/www/html/Info.php and it loaded a blank page [01:18:26] give me a few mins [01:18:47] "PHP Fatal error: Call to undefined function php_info()" [02:13:10] gry: phpinfo(); [02:58:13] Hey all, is there a way to place a wikitable statically at the right top of an article? [02:59:03] I also would like to prevent, that the text starts at the end of the table. So the behaviour should be like a infobox but it should be "technically" simpler. [04:53:14] Esther: o, thanks! http://51.15.62.161/Info.php [04:54:31] gry: Looks like it's maybe installed but not enabled. [04:56:04] Esther: http://51.15.62.161/php.ini, http://dpaste.com/0NY5KCF.txt [04:57:15] gry: Did you try restart Apache or whatever Web server you're using? [04:57:22] try restarting [04:57:23] yes, i even rebooted [04:57:36] yes, it is apache2 [04:58:35] gry: Did you set extension_dir ? [04:58:47] no, what is that and how to use it? [04:59:02] Hmm. [04:59:11] This says it's only for older versions of PHP. [04:59:13] https://secure.php.net/manual/en/mysql.installation.php [05:01:47] gry: Did you install php5-mysql ? [05:01:56] The error message mentions it, but it looks like you installed php-mysql. [05:02:01] http://dpaste.com/34VZ7TH.txt [05:02:35] no, i installed php-mysql ( it is debian so it uses php instead of php5 everywhere ) [05:02:45] php5-mysql package does not exist [05:02:56] All right. [05:03:00] Does php-mysqlnd ? [05:03:32] no idea what 'nd' stands for but php-mysqlnd is already installed, says "Note, selecting 'php7.0-mysql' instead of 'php-mysqlnd'" [05:04:27] gry: What operating system is this? [05:04:44] debian jessie [05:05:11] Did you add "extension=mysql.so" to your php.ini file? [05:05:18] sorry oops i lied, it's debian 9 stretch; there is an 'image name' says jessie, but it is wrong [05:06:28] You php.ini paste looks like you enabled a DLL, which is for Windows only, I think? [05:06:30] i have "extension=php_mysqli.dll" and "extension=php_pdo_mysql.dll" but no mysql.so [05:06:34] ok [05:06:40] Do you have .dll files? [05:06:46] I don't think Debian uses them. [05:06:57] sorry i was confused, i thought it's a part of the debian package, so if it has .dll then i can uncomment a line and see it work [05:07:06] Did you read the comments? [05:07:19] ; For example, on Windows: [05:07:19] ; [05:07:20] ; extension=msql.dll [05:07:24] ; ... or under UNIX: [05:07:25] ; [05:07:25] ; extension=msql.so [05:07:27] From http://51.15.62.161/php.ini [05:08:43] php_mysql.so or mysql.so? [05:09:04] i tried both, restarting apache2 each time, still the same error [05:21:28] You really shouldn't have to enable it like that [05:21:39] it'll put a file in conf.d or mods_enabled [05:22:34] where are these two? I could check whether it put the file there or not [05:23:09] Under /etc/php or /etc/php5 [05:23:58] php -m | grep php [05:23:59] Reedy: Yeah... [05:24:01] will tell you if it's loaded [05:24:09] uh [05:24:11] grep mysql [05:24:12] Usually apt just takes care of this. [05:24:22] It seems *very* weird it hasn't [05:24:27] http://paste.debian.net/972130/ <-- directory listing of /etc/php [05:24:49] gry: Can you pastebin `ls -la /etc/apache2/mods-enabled/` ? [05:25:34] Note, that's php 7, not 5 [05:25:34] │ │ ├── 20-mysqli.ini -> /etc/php/7.0/mods-available/mysqli.ini [05:25:35] │ │ ├── 20-pdo_mysql.ini -> /etc/php/7.0/mods-available/pdo_mysql.ini [05:25:44] │ │ ├── 10-mysqlnd.ini -> /etc/php/7.0/mods-available/mysqlnd.ini [05:25:47] yes, debian stretch has php7 [05:26:12] http://paste.debian.net/972131/ is `ls -la /etc/apache2/mods-enabled/` [05:27:45] gry: I thought you were using PHP 5.6. [05:28:06] > PHP 5.6.30-0+deb8u1 is installed. [05:28:08] From http://dpaste.com/34VZ7TH.txt [05:30:03] er oops, that may be a nice finding [05:30:49] going to purge php5* and re-try [05:31:23] you might need to change the apache/php interface you have installed [05:31:49] Install libapache2-mod-php7.0 rather than the 5 version [05:36:08] that's already installed, and now i see "run();" on a page instead of the mediawiki installer, although "apache2 mysql-server php php-mysql libapache2-mod-php php-xml php-mbstring" are all already installed, and I already tried restarting apache2 [09:46:27] hi guys [11:24:52] Hii [11:26:10] I',m Facing some problems [11:26:38] Christopher: how can we help? [11:27:46] https://wiki.microfocus.com/ this site not posting my content [11:29:12] Well the spammers seem to have no problem posting. Do you get an error message? What happens when you try to edit? [11:30:26] ya [11:32:31] Are you here? [11:33:49] yeah [11:34:46] how can i solve my problem? [11:35:43] Do you get an error message (and what is it)? What happens when you try to edit? [11:36:46] hi bawolff :) [11:36:52] hi [11:37:02] ya [11:37:18] i'm trying to install a wiki on debian stretch, it shows php code instead of running it on the server, not sure why [11:37:39] when i posting this time i facing this problem [11:38:47] gry: Usually means apache (or whatever webserver) is misconfigured [11:39:11] thanks [11:39:56] gry: Or potentially php is not installed ;) but I imagine you already thought of that [11:43:15] right, thanks, i a2enmod enabled php, it works now [12:15:16] hmm, so all people with +2 have automerge rights. Interesting [12:59:22] I wish mediawiki was developed on something more dynamic instead of just php [13:27:24] Combined2857: More dynamic? [14:00:42] Combined2857: if we move away from "everything must work on vanilla LAMP", we cut off literally hundreds of thousands of small installs. [14:01:35] DanielK_WMDE_: that is a good point [14:01:36] Maybe, one day, we will do that. So far, nobody has been willing to say tell all these people to look for an alternative. [14:02:17] I can understand it is very unproductive to switch from php, but I was wondering if some javascript can be implemented [14:02:21] or something like laravel [14:02:28] to make it a bit more dynamic [14:02:32] Combined2857: MediaWiki is an oil tanker. it's very powerful, but it's not pretty, and it doesn't change direction easily [14:02:46] I can be pretty as well as powerful [14:03:22] Combined2857: lots of people are thinking along these lines. Lots of experiments are happening. So far, tehre is no answer to the question what that would mean for people on standard shared hosting plans. [14:04:00] I love the feature of page preview, hovering over a page link and getting a preview of it [14:04:17] I don't understand why its in beta for such a long time, it works fine [14:04:44] Because the WMF has become quite careful about enabling "nice dynamic" features prematurely [14:04:53] the community tends to riot when you move their cheese [14:05:31] Just look at the fallout of enabling media viewer, or the first iteration of visual editor. [14:05:43] epic shitstorm. cost jobs and good will [14:20:30] DanielK_WMDE_ is there a page that shows a roadmap for projected features ? [14:20:48] also are you a mediawiki dev DanielK_WMDE_ ? [14:25:22] Combined2857: i am, but not on that end of MW. I work more under the hood, and mostly for Wikidata. [14:26:37] Combined2857: i'm not sure if there is concise overview for "reading" features... I found https://www.mediawiki.org/wiki/Reading/Roadmap, but that's a year out of date. [14:27:34] Combined2857: to Phabricator workboard is probably a bit too fine grained https://phabricator.wikimedia.org/tag/reading-web-backlog/ [14:28:32] I just wanted to say to the devs that work on the PDF printing service, please do not omit implementation of double column PDFs! [14:28:41] If I just want a simple pdf print of a page then I can simply right click press print and save as pdf with chrome, why would I need media wiki to do that for me, the useful part is double-column pdf [14:29:43] Combined2857: but that relies on a very incomplete and broken mapping to LaTeX. Doesn't work at all for tables, for example. [14:30:42] DanielK_WMDE_: here it says the new service wont be based on latex, check this https://www.mediawiki.org/wiki/Reading/Web/PDF_Functionality#Differences_between_current_and_future_implementation [14:30:58] under "Styling" in the table [14:31:45] yes. it will be based on html rendering. [14:31:53] so no multi-column, as far as I known [14:32:28] ah, "tentative" [14:32:41] should be possible with css... "somehow". let's hope :) [14:38:57] really as I said, simply printing the page to pdf is completely useless, browsers do that already [14:42:09] that's why people have proposed to simply drop the feature.- [14:42:41] the idea is that we can do some tweaks, and perhaps allow multiple articles to be bunded together into a booklet (maybe). [14:43:02] but i personally don't think it's very useful in the current state. [14:43:32] i do believe that any future solution should be based on rendering html. so, fancy css, basically. [15:00:24] Hey all, is there a way to place a wikitable statically at the right top of an article? [15:00:26] I also would like to prevent, that the text starts at the end of the table. So the behaviour should be like a infobox but it should be "technically" simpler. [15:24:59] Hey all. I want to test out VisualEditor on a local installation, however I'm running into an issue with RESTBase. I get an error trying to run it [15:25:12] Part of the error: `{"type":"not_found#route","title":"Not found.","internalURI":"/wikimedia.org/sys/key_value/mathoid.svg","method":"put","depth":1}` [16:23:00] ParserFunctions is bundled with MediaWiki. o_o It 100% trusts user input in many cases... [16:23:09] * Trela starts to get security shivers. [16:25:28] Trela: why? it's been audited, and is widely used on wikipedia. [16:26:50] I turned off StringFunctions(Deprecated) in our stack and turned on the replacement string function functionality in ParserFunctions. Our logged error rate went up 2% immediately. All of it was direct untouched user input being fed into functions. [16:27:05] what version of mediawiki? [16:27:39] 1.27/1.28/1.29 Our ParserFunctions is the latest. [16:27:40] slash version of parserfunctions? [16:27:47] ok [16:28:07] what sorts of errors? (like what is an example error message?) [16:28:38] in either case, I recommend opening a task for it to report the bug, since it shouldn't cause errors [16:28:47] just want to see if flagging as security is a good idea [16:29:17] or, maybe you can flag it as security if you think it is [16:29:21] and they can always unflag it [16:29:23] It is considered security on my side due to its end user interaction. We take all precautions due to past incidents. [16:29:31] best not to give too many details in public if it is security related [16:29:45] https://phabricator.wikimedia.org [16:31:05] in the report, include as many details as possible [16:31:23] error message, including file/line numbers. What input is causing the error [16:31:45] if you flag it as security, the task will be private to just you and the security team [19:04:09] Can anyone tell me if a Horizontal TOC is possible in Media Wiki [19:37:34] mort: https://en.wikipedia.org/wiki/Template:Horizontal_TOC