[00:04:19] sure [00:04:53] but i mean, what part is interesting to you? [00:07:10] i took the liberty of reading your mind and https://jsfiddle.net/Amphor/wnkk6b16/ [00:07:52] this is atm being called from inside imagepage.php file, if that matters [00:20:34] Harri, this involves telepathy - while the code looks like it should work, too many stuff is left for imagination. is the module registered properly? maybe, it's getting loaded, but too early? or it's just hopelessly broken? [00:27:41] what do you mean by registered poroperly [00:27:56] the state is "registered", i don't know how proper it is [00:28:15] and hence, its not getting loaded [00:28:49] Harri: can you pastebin everything? Right now I have no context of how your extension is structured, what hook you're adding the module in, etc. [00:29:02] even too early. it wouldnt be an issue if its early. it just shouldnt be late [00:29:36] i m happy to provide you with some more data/info, but as i previously proved, i cant read minds [00:29:53] okay [00:30:04] by everything you mean the module? [00:30:45] All of your PHP code and the extension.json file [00:31:23] the extension.json is here [00:31:23] http://pastebin.com/hfmVLZbV [00:32:36] if by php code you merean main extension php file, then here ya go http://pastebin.com/4hBrnjeD [00:32:57] Um [00:33:07] Where is the file with the $out->addModules() call? [00:33:46] right now its in imagepage.php [00:33:59] thats why the fiddle i created earlier is basically all my php code [00:34:27] ofcourse, heavy refactoring needs to be done, but for testing purposes i feel its fine [00:34:56] Uhhh, you mean you're hacking MediaWiki core? [00:35:20] yes [00:35:35] OK, I'm not going to try helping you then, sorry. [00:35:51] See https://www.mediawiki.org/wiki/Do_not_hack_MediaWiki_core [00:36:28] i am aware [00:36:34] You should look into the hook and media handler systems [00:36:35] this wont be going anywhere "live" [00:36:44] "Other developers are less inclined to help you if you have hacked your core - if for no other reason than it is difficult for them to know what has been done." [00:37:01] yes, that what i was thinking tthat i should put my code, as short as it is, in a handler fiel [00:37:58] well, the only thing that has been done, is the added code in the fiddle [00:38:30] but at least, my problem shouldnt be caused by this? no other file is untouched except localsettings.php and mime.types [00:38:43] untouched->touched [13:54:22] Anyone know what is going on with this block: https://en.wiktionary.org/w/index.php?title=Special:BlockList&dir=prev&wpTarget=&wpOptions%5B0%5D=userblocks&wpOptions%5B1%5D=tempblocks [14:00:06] TheDaveRoss__: yeah. the blocked IP address is not a valid IP address. [14:00:24] (it starts with '663', IP addresses only go up to 255) [14:00:36] i suppose there was a bug in 2005 that allowed this to happen. [14:01:07] can you remove it in the DB? [14:01:28] i can't personally [14:01:41] Create a ticket [14:01:51] yeah. file a task [14:02:12] it's possible, but no one likes manually editing databases, and everyone likes having "paper trail" when they do it. :) [14:07:14] TheDaveRoss__: you can actually find the log entry for this here: https://en.wiktionary.org/w/index.php?title=Special%3ALog&type=block&user=Connel+MacKenzie&year=2005&month=8 – "Connel MacKenzie (talk | contribs) blocked 663.19.150.52" [14:07:17] anyway. funny. [14:07:18] I just cleaned up about 8000 of these blocks, it annoys me that one persists [14:08:24] TheDaveRoss__: try if you can unblock it, maybe, now that we know the IP? https://en.wiktionary.org/wiki/Special:Unblock/663.19.150.52 [14:08:34] not sure if it will allow you to do this with an invalid address, though. :D [14:09:06] it won't, before I came I tried to unblock it and tried to reblock it as well [14:09:13] it doesn't like it [14:12:06] TheDaveRoss__: hmm, we could also try through the API [14:13:37] "FAIL: 663.19.150.52 {"servedby":"mw1223","error":{"code":"cantunblock","info":"The block you specified was not found. It may have been unblocked already","docref":"See https://en.wiktionary.org/w/api.php for API usage"}}" [14:13:55] :o [14:14:15] hmm, you tried unblocking by the IP address, right? you can also try by the block id [14:14:26] which is apparently 607 for this block [14:14:42] (https://en.wiktionary.org/wiki/Special:ApiSandbox#action=unblock&format=json&id=607) [14:15:28] "Unblocked 607 (663.19.150.52)" magic! [14:15:42] thanks MatmaRex [14:16:18] woot. nice :D [15:26:35] can madiahandler files manipulate outputpage?`