[08:12:34] mornin [08:14:43] Howdy, is there a way to define a CSS class without access to common.css? I'd like to implement a simple hover/mouseover effect on a page, but can't seem to get the code to work in a
wrapper [14:05:37] Hello, I am trying to edit a table in a Mediawiki page, and when using "[]" special characters, I can't seem to get the format the way I want [17:52:12] Howdy, is there a way to define a CSS class without access to common.css? I'd like to implement a simple hover/mouseover effect on a page, but can't seem to get the code to work in a
wrapper [17:53:02] prech: You could do it in your own user CSS if the wiki allows that. [17:55:00] marktraceur: hmm, can you point me to more info on this? Is there a way to define it within a page? [17:55:28] prech: Yeah, go to http://example.org/wiki/Special:MyPage/common.css [17:57:48] ok, I can create that page, is there a way to verify those CSS elements will load? [18:10:41] prech: it will load your just you though [18:11:21] Betacommand: ahh, I see. [18:12:18] prech: it prevents CSS/JS attacks if anyone could add it to a web page [18:13:34] I see... yea I'd just like to do a :hover for a text/image element. I see it may not be possible with just a
wrapper [18:16:21] prech: Yeah, I don't think it is... [19:02:33] hey I had a developer help me with a wordpress comments for mediawiki (redirect messed up on parenthesis & other characters) he told me to add function wp_sanitize_redirect($location) { [19:02:34] $location = preg_replace('|[^a-z0-9-~+_.?#=&;,/:%!@$*()]|i', '', $location); to a specific file in wordpress [19:03:03] I upgraded my installation and for the life of me can't remember which file i had to make that change [19:03:20] i did note "add second line around 889 having urls not stripped by parenthesis" [19:03:32] would anybody know what file that is need to be changed in wordpress? [19:04:17] what does wordpress have to do with MediaWiki? [19:04:32] its a mediawiki extension [19:04:49] that displays comments sectioin using wordpress backend [19:07:48] duh i wrote down the instructions in case i ever upgraded my installation and of course I didn't write down which file i should modify :/ [19:08:19] got a copy of the old version? [19:08:43] old version? yes .. [19:08:52] grep the code? :) [19:08:58] grep the code [19:09:03] ahh [19:09:16] it probably won't be the same line in the new version [19:09:21] but you can probably get a rough idea [19:09:24] i'm not that good with command line but i know what you mean [19:09:29] yeah thanks for the pointer [19:09:41] will go through files and look for that [19:09:59] grep -R wp_sanitize_redirect [19:17:35] thank you Reedy ... found it (pluggable.php) [19:18:13] np [19:40:47] how do I force a newline to stop word wrapping? [19:40:51]
didn't do it [19:43:10] Surround the text between
 tags
[19:58:25] 	 Vulpix, thanks!
[19:59:45] 	 yw
[20:06:33] 	 7window 21
[20:06:35] 	 oops
[20:08:36] 	 gwicke: I think somehting went teriblly wrong. We have client side MathJax as default now
[20:09:53] 	 the problem does not exist on beta
[20:21:53] 	 cscott, around? Someone reports that when exporting https://de.wikipedia.org/wiki/Vivi_Bach#Diskografie, the Wiki table isn't shown in the PDF. That's expected, right? I heard it can't handle tables yet, no?
[20:26:53] 	 pajz: we handle some table, but not tables in general yet.
[20:27:34] 	 pajz: expanding the set of tables we handle is basically the first new feature i'll work on.  but right now there's no time for features, i'm spending all of my time on production issues, keeping the service running, making sure it doesn't run out of disk, etc.
[20:29:59] 	 cscott, I see, ok. Seems like a very important feature indeed.
[20:30:36] 	 important, but also dangerous -- mishandling the table can result in the entire article being unreadable, or crashing and not rendering at all.
[20:30:48] 	 i think most people would rather have the article with no table than no article at all.
[20:31:08] 	 so i'm trying to enable specific tables slowly to ensure that we don't do more harm than good.
[22:12:04] 	 any reason why this line won't work: wfErrorLog( 'here', '/home/ubuntu/mediawiki.log' );
[22:12:41] 	 is you webserver able to write to that file?
[22:15:21] 	 perhaps not - i've chgd it to wfErrorLog( 'here', './mediawiki.log' );
[22:15:35] 	 but nothing is being written, and i am certain the code is executed
[22:15:48] 	 i have done a refresh on directories of course
[22:17:25] 	 on the previous line of code is error_reporting( -1 ); ini_set( 'display_errors', 1 ); ... all per instructions at http://www.mediawiki.org/wiki/Manual:How_to_debug
[22:20:38] 	 ok let me ask a general question. How do you folks debug php -- this regimen of writing to a log kinda sux... how do you generally do it
[22:21:01] 	 Xdebug
[22:21:23] 	 var_dump(); die();
[22:23:31] 	 var_dump() / throw new MWException;
[22:23:48] 	 wfDebugLog + the debug toolbar is also useful
[22:25:44] 	 tried var_dump($indexMap); die(); but get nothing. Looked for xdebug on mw.org but only see it mentioned relative to HVM
[22:56:48] 	 tried die(msg) tried throw new Exception(msg) tried new MWException too..... all give me nothing...
[22:57:17] 	 if die isn't working, then I think something else is broken
[22:57:58] 	 hmm, everything is working on this wiki, until i get to this line in an extension #$%^&*(
[22:58:33] 	 too annoying for today!!!
[23:01:00] 	 hypergroove: isn't that the regex for what characters aren't allowed in titles? Or it's pretty close
[23:02:16] 	 lol elefint - it's the pattern for who's allowed to edit the Main Page
[23:13:50] 	 i am most mystified why exceptions are not being printed for me....  [HTTP/1.0 500 Internal Error 145ms] is all that happens when I throw an MWException
[23:15:29] 	 when i throw it in LocalSettings, I see it, but when i throw it later on, i get no report
[23:16:25] 	 can the jerks who wrote this exception somehow turn off something important?
[23:16:48] 	 wrote this extension not exception
[23:17:30] 	 hypergrove: Which extension?
[23:18:32] 	 !debug
[23:18:32] 	 For information on debugging (including viewing errors), see http://www.mediawiki.org/wiki/Manual:How_to_debug . A list of related configuration variables is at https://www.mediawiki.org/wiki/Manual:Configuration_settings#Debug.2Flogging
[23:18:41] 	 !blankpage
[23:18:41] 	 A blank page or HTTP 500 error usually indicates a fatal PHP error. For information on debugging (including viewing errors), see .
[23:18:49] 	 ^ hypergrove you probably have error reporting disabled.
[23:21:42] 	 i dont
[23:21:57] 	 when i throw it in LocalSettings, I see it, but when i throw it later on, i get no report
[23:22:50] 	 !blankpage
[23:22:50] 	 A blank page or HTTP 500 error usually indicates a fatal PHP error. For information on debugging (including viewing errors), see .
[23:23:22] 	 thats interesting....
[23:27:04] 	 i wonder if this has anything to do with using @ in php, which i have seen in this particular extension.... anyone think that's a potentially fruitful direction for me to work???
[23:27:16] 	 that's error suppression
[23:27:23] 	 yes i know
[23:27:57] 	 i have found it used in this extensions' code
[23:28:02] 	 i have found it used in this extension's code
[23:28:46] 	 again, when i throw it in LocalSettings, I see it, but when i throw it later on, i get no report
[23:29:19] 	 when i throw a MWException in LocalSettings, I see it, but when i throw it later on, i get no report
[23:29:31] 	 The other answer is that the code you think is being run, might not actually be
[23:29:55] 	 not this time
[23:37:47] 	 Hi there, any folks familiar with CSS? I have a defined class in common.css, but I'd like to change it slightly on the page, with 
elements [23:38:18] CSS? What on earth is this black magic. [23:38:32] prech: You're still working with the :hover business? [23:39:33] marktraceur: yup, I think I'm making some progress, but not quite there [23:39:49] prech: Pretty sure you can't do it without access to common.css, unless you got past that issue [23:40:29] yea there's a class defined with hover there, but I'd like to change the opacity and text-align [23:41:07] prech: And...putting it in the common.css isn't working? [23:41:55] yea I mean I got an admin to add it the class, but I'd like to revise those properties for a page without having to rework the common.css [23:43:42] prech: Well, if you're changing it only when :hover applies, no dice [23:44:25] ah, no wonder it's not working