[02:47:17] Is there an issue with mediawiki and submitting links in pages? I'm havinrg an issue where some links are causing me to be redirected back to the main page when I try to edit or create pages that contain those links. [02:48:11] B0073D: what kind of links? internal or external? [02:48:20] External. [02:48:29] B0073D: also, is your wiki publicly viewable on the internet? if so, what's its URL? [02:48:38] gshars.com [02:48:57] In particular http://gshars.com/Resources [02:49:12] What is there now works. But as soon as i add another section it dies. [02:49:19] Ever on a differently named page [02:49:29] I can pastebin the content? [02:49:37] can you add the other section now so i can see what happens? [02:50:40] Nothing. It doesn't submit. [02:50:46] hmm [02:50:50] pastebin it then, i guess [02:50:58] Instead of the content beingsubmitted I get redirected to the main page [02:51:02] http://pastebin.com/RDW0aPKe [02:51:12] also, i notice that you're using a url style that isn't recommended, which might be related. see https://www.mediawiki.org/wiki/Manual:Short_URL for more info about that [02:51:38] there's nothing in that content that should make it do that [02:52:28] Mmm. It's very strange [02:52:34] I'll have a look at that URL thing. [02:52:37] That might be it. [02:53:46] jackmcbarn: Are you refering to the fact that the wiki is inthe root? [02:54:01] B0073D: yes [02:55:43] Can that me migrated easily or would I have to start again? [02:56:24] B0073D: you just have to change the mediawiki config file and the apache config, but note that it will break any incoming links [02:56:34] but your wiki is brand new, so that shouldn't be a problem for you [02:58:32] Yeah thats fine. [02:58:57] I don't have acces to the apache configs is all as this is a webhost but I will have alook and see what I can do [02:59:10] thanks for your help jackmcbarn very much appreciated. [02:59:14] np [03:00:45] Hmmm that hasn't fixed it either. [03:00:47] Interesting. [03:02:00] B0073D: can you pastebin your .htaccess? [03:03:26] http://pastebin.com/1u80Ea1U [03:06:27] Getting some php errors. There might be a deeper issue here... [03:06:54] B0073D: where did you extract the tarball to? [03:06:58] to the root or to /w? [03:07:06] This was an install from cpanel. [03:07:10] root [03:07:56] okay, there's a 99% chance that cpanel screwed something up [03:08:30] can you pastebin your whole LocalSettings.php (redact private things like passwords)? [03:08:41] Getting a few memcache.so: cannot open shared object file: No such file or directory in Unknown on line 0 [03:11:52] jackmcbarn: http://pastebin.com/mzRkpkwx [03:12:49] B0073D: okay, 3 steps to fix the problem: [03:13:05] first, create a directory called "w" in the document root, and move all of mediawiki's stuff into there [03:13:40] second, in LocalSettings.php, change $wgScriptPath to "/w" and $wgArticlePath to "/wiki/$1" [03:14:04] third, in the document root, create the following as .htaccess (and delete the one you showed me earlier:) http://pastebin.com/27qE5Tys [03:14:14] then it (hopefully) will work [03:19:55] Getting a 404 now. Working through it. [03:20:20] did you delete the old .htaccess? [03:20:28] Modified it. [03:20:41] As in replaced it with your. [03:20:57] so the document root contains mine, and there is none in /w? [03:21:22] and the document root is empty except for w and .htaccess? [03:21:28] 404 on http://gshars.com/w/wiki/Main_Page [03:21:36] cgi-bin is also there [03:22:30] can you re-pastebin LocalSettings.php so i can make sure those changes are right? [03:22:41] (the problem isn't the 404 itself, the problem is it's sending you to the wrong url now) [03:24:34] i got the api to work. the problem is $wgArticlePath in LocalSettings.php [03:24:54] take off $wgScriptPath. [03:25:11] it should just be $wgArticlePath = '/wiki/$1'; [03:26:00] jackmcbarn: http://pastebin.com/bSbCuDaZ [03:26:40] Ah right. [03:26:43] Copy that. [03:27:36] Ok great [03:27:40] That's working now. [03:27:57] B0073D: does the thing that redirected you before work now too? [03:29:12] No now I'm getting a 'Forbidden' [03:29:20] Just checking the .htaccess again [03:29:56] what's the url of the page you're on when you get the forbidden? [03:31:19] http://gshars.com/w/index.php?title=Resources&action=submit [03:31:28] But it only does it with that additional content now. [03:31:37] So if I change something else it works. [03:31:44] do you see anything in the apache logs about it? [03:31:55] wait, i think i might know it [03:32:06] does your server allow outbound connections? [03:32:25] Ahhh good question. Interesting. [03:32:32] Possibly not. [03:32:54] Though the circumstances are still strange. [03:32:54] what about apache logs? [03:33:30] Trying to locate them. This webhosting business is a pain. Was nice to know where the logs where... [03:36:13] Actually It might be an issue with the number of links on a page. [03:36:50] i don't see how that would be possible [03:37:42] I've just done it. [03:37:49] done what? [03:38:00] Created a brand new page. [03:38:10] Added one link at a time till it failed. [03:38:18] In this case i used various google domain [03:38:27] Failed at number 4 [03:38:49] what happens if you preview? does it work or fail then? [03:38:58] So perhaps something is limiting the number of concurrent outgoing connections to 3? [03:39:04] Preview and submit both do the same [03:39:17] it doesn't make an outgoing connection for each link [03:39:28] i think it makes one for the whole request to meta to get a blacklist [03:39:37] do you even have spamblacklist installed? [03:40:02] and did you have any luck finding the logs? [03:41:09] New to mediawiki so I'm not sure where to check for that ext. Looking. [03:41:30] Theresa spamblacklist folder in the extensions folder. [03:53:27] jackmcbarn: I have to talk to one of the other peeps to get access to the logs. Thanks for all your help. [03:54:32] B0073D: np [03:58:20] jackmcbarn: THink I found something http://www.mediawiki.org/wiki/Thread:Project:Support_desk/Edits_to_not_take_effect_-_page_reverts_immediately_to_unedited_version [03:58:51] 'This is often caused by Apache's mod_security that restricts the addition of more than 3 links on a page (probably to stop spammers).' [04:05:34] B0073D: mod_security looks like it's nothing but trouble [04:05:57] unless you actually want it for some reason, just drop "SecRuleEngine Off" at the end of .htaccess to turn it off [04:06:03] Yeah I'm going through the configs for it at the moment. I'd rather not turn it off if I can. But it's looking better and better [04:06:06] Yeah [04:06:39] if you didn't know mod_security existed until just now, you probably don't want it, because i guarantee at some point in the future one of its other rules will cause some other strange problem [04:13:45] Mmm. This isn't my webserver. It's a cpanel jobby so who knows what's under the hood... [04:34:26] hi, good morning. any body knows how can i change the fonts of notes in midia wiki?? [04:45:52] does any body knows the answer of my question? [05:03:01] what notes [05:16:18] please asnwer me [05:16:41] Could you be more specific? [05:21:00] : what? [05:21:54] What exactly are you trying to accomplish. [05:24:54] : i want to chnage the fonts of my notes in my wiki [05:24:57] how can i do that? [05:25:19] You would most likely have to change the skin. [05:25:35] Do you know css at all? [05:25:52] no change the skin, just change the font of my writting [05:25:54] no [05:25:59] i do not know it [05:26:04] could you help me? [05:26:45] It's not a simplething. [05:26:56] do you want to change it when you're reading or when you're writing [05:27:19] when i am writting, for example the font change to times new romans [05:27:36] I think that's your browser [05:28:08] thanks again jackmcbarn [05:30:33] i do not think, we can not chnage the fonts of notes i am writtting in my wiki?? [05:31:53] can you tell us the page [05:32:31] You can do it what a change to [[Mediawiki:Common.css]] [05:43:07] sprry disconnect [05:43:19] understand? [05:50:08] i want to change the fonts of my writing in my wiki [05:50:11] can i do that? [05:53:50] please help [05:59:09] Hi! [05:59:23] I was here yesterday asking about FTP [05:59:35] Me and a friend have a Mona the Vampire Wiki [06:00:07] And he and I want interwikis. [06:00:09] Let me explain. [06:00:20] So you know how on Wiktionary. [06:00:31] There is a sidebar on articles [06:00:48] Listing the same article in other languages. [06:01:23] And they show up on the sidebar if you say [[fr:article]] , [[da:article]], etc. [06:01:45] And for the other language wikis [06:01:49] They have sub-domains. [06:01:55] Such as fr.wiktionary.org [06:01:58] da.wiktionary.org [06:01:59] etc. [06:02:06] I need to set this up. [06:02:13] I want the system to be just like this. [06:02:19] We need a French, Danish wiki. [06:02:26] French and Danish wiki* [06:02:44] And we need "en.monathevampirewiki.org" to redirect to "monathevampirewiki.org" [06:02:53] Could someone please tell us how to do this? [06:14:16] Hi Mona. [06:14:18] !wikifarm [06:14:19] To run multiple wikis, you can simply install MediaWiki in different folders, with different databases or in one with database prefixes. You can also have multiple wikis using a single installation: If you run a farm or want to, join the mailing list: [06:21:47] how could i chnage the fonts of my wiki?? [06:28:24] Hi karami. [06:28:31] You can use site-wide CSS to do that. [06:28:32] !css [06:28:32] To change styles for your wiki, go to one of the MediaWiki:xxx.css wiki page (NOT a file) and put your custom styles there (sysop/admin rights required). MediaWiki:Common.css is for all skins and should be used for content styles. MediaWiki:Vector.css is for the Vector skin (default), etc. For more information, see !skins and https://www.mediawiki.org/wiki/Manual:Interface/CSS [06:31:02] how? [06:34:47] karami: You'll need to look up "CSS". [06:34:58] But you can edit the page "MediaWiki:Common.css" and apply site-wide CSS there. [06:35:04] Which can change the styling of your site. [06:35:14] Font weight, font color, font size, etc. can all be controlled with CSS. [06:36:18] are you in here? [07:09:42] i have checked my vestor.css i do nto have any font-family [07:13:10] It's Vector.css and you need to add a font-family. [07:13:14] The on-wiki pages are overrides. [07:14:28] how could i add? [07:14:55] html, body { font-family: "Nimbus Sans L", "Helvetica Neue", Arial, Helvetica, sans-serif; } [07:15:02] like this? [07:15:09] i should add like this? [07:16:32] You can. [07:16:43] But that only works if you have those fonts installed on your local computer. [07:16:53] yes, i have them [07:16:57] Okay. [07:17:01] Then that CSS should work. [07:59:34] it show error [07:59:43] i pasted that line to vector.css [07:59:47] but it show error [08:01:50] syntax error [08:04:22] please answr me [08:12:39] hat do you mean by it shows a error? [08:14:24] please asnwer [08:22:00] where are you.?? [08:29:02] please asnwer me [08:34:59] why does Apibase::extractrequestparameters return different results for different classes ? [09:28:51] Any idea if I’m “safe” using API action=watch on a page that I already watch? Could that, for instance, mark the unvisited revisions of that page as visited? [09:43:54] Apparently not. [09:59:46] hello [10:01:39] how can inport data (only the content and text) from old mediawiki version to new mediawiki vision ? [10:04:32] picky: yes, it should always work [10:04:55] Lets say I have a form and the input for creating a page with it is >>>>>>>> {{#forminput:form=add_user|query string=namespace=User}} [10:05:01] nemo how make I this ? [10:05:07] But be sure to verify that it actually does, and if it doesn't please file a bug (you can also attach the XML file) [10:05:09] This creates a page within namesapce User:TITLE [10:05:20] how can I change that so that when I add a page [10:05:23] picky: if the wiki is small, just SPecial:Export on old wiki and Special:Import on the new one [10:05:32] it goes under Users/TITLE [10:05:44] mynameis: you have better chances on #semantic-mediawiki channel [10:06:39] picky: if you have a database rather than the XML, you should probably install that old release of MediaWiki, verify it's ok, then upgrade the code and run update.php? [10:07:06] (For important things we always use the XML because it's more stable and reliable,.) [10:10:03] it´s posible only page for pages export then in new import ? 3 [10:25:31] why no body can answer me?? [10:29:01] no body???? [10:30:37] i use this codes: [10:30:39] body { font-family: "Nimbus Sans L", "Helvetica Neue", BNazanin, Helvetica, sans-serif; }; [10:30:44] but it show errors [10:38:27] no body??????? [10:38:30] please asnwer meeee [10:38:32] please [10:42:31] please asnswer me [10:42:33] please [10:48:47] karami: what was your question again? [10:58:37] i want to change the fonts of my wiki [10:58:42] hello [10:58:49] is anyone available to help me? [10:58:51] i want to change the font of my wiki [11:01:08] please help me [11:03:24] where are you?? [11:09:45] here [11:20:07] could you please help me with it? [11:20:13] please answer me [11:21:57] I'm not a CSS expert, so rather not [11:22:17] so, no body can help me? [11:22:21] i am so in force [11:27:53] please help me [11:28:47] karami: I already said you yesterday that this is a complex thing to explain to somebody that doesn't know CSS [11:29:16] just tell me, i will folow [11:29:27] i will try to learn and do it sync [11:29:34] !lmgtfy change font CSS | karami [11:29:34] karami: http://lmgtfy.com/?q=change+font+CSS+ [11:29:54] here you have a good start :) [11:31:19] Ok, let me verify the links [11:31:25] can i ask another question also [11:31:26] ? [11:31:44] karami: once you know how to change font, then you can apply the CSS rules to your wiki as explained here https://www.mediawiki.org/wiki/Manual:Interface/CSS [11:31:53] yes, you can ask more questions! [11:32:37] assume in the middle of the text, i want to insert pic, after i insert pic, i want to put the pic in the middle of line [11:32:40] how can i do that? [11:33:23] karami: Text text text [[File:Image.png]] text text text [11:33:44] just don't use |thumb| or |frame|, etc [11:34:02] but i do not want to insert any text [11:34:08] just a pic in the middle of line [11:34:13] like align [11:34:21] but that line contains text? [11:34:35] what line are you talking about? [11:35:05] assume i want to put a picture in the middle of a line in my [11:35:15] wiki, when i am writing a note [11:35:22] understand? [11:36:50] if you want to insert a picture inside a paragraph of text, being inside the text, just see my example before [11:38:07] assume [11:38:08] text [11:38:13] next line: picture [11:38:17] next line: text [11:38:25] i want to align the picture in the middle [11:39:03] karami: https://www.mediawiki.org/wiki/Help:Images [11:40:29] Ok, i will see [11:40:31] just see [11:40:32] p { font-family: "Times New Roman", Times, serif; } [11:40:38] i use this in vector.css [11:40:42] but again error [11:40:49] i copied this from that website [11:40:50] :( [11:41:53] vector.css? I assume you mean [[MediaWiki:Vector.css]] or [[Special:MyPage/vector.css]]. Otherwise, never edit core files! [11:42:39] i use mediawiki [11:45:32] If you edit [[Special:MyPage/vector.css]], when you hit preview you can preview your own changes without disrupting other users, and bypassing cache [11:49:43] the pic is ok now [11:49:51] i just have problem with fonts [11:52:10] what is my page??? [11:52:14] Mypage/vector [11:52:15] ?? [11:53:09] Put "Special:MyPage/vector.css" in the search bar of your wiki [11:54:12] i do not understand? [11:54:17] please help me more [11:54:47] what part you don't understand from my last message? [11:55:03] have you actually tried that? [11:55:14] Special:Mypage/vector.css? [11:55:16] what is it? [11:55:21] how could i put it? [11:56:32] go to your wiki, and type/paste the text "Special:Mypage/vector.css" (without quotes) on the search box of the wiki, and hit the search button (or press the enter key) [11:57:22] nothing found in search [11:57:31] i used that, but nothing found [11:57:44] but there's a "create this page in your wiki" or something? [11:57:59] yes, show this page is not found [11:58:04] want to create? [11:58:39] yes, follow that link [11:59:01] you want me to create a page? [11:59:27] that's your *personal* vector.css page, you can put the CSS code there and when you preview your changes, you can see them applied in your wiki [12:00:08] use that page for testing until you get it working, and then you can put that code in MediaWiki:Vector.css [12:00:32] you mean that code? [12:00:33] p { font-family: "Times New Roman", Times, serif; } [12:00:34] ? [12:00:35] yes? [12:00:48] yes [12:02:37] just show my code [12:02:41] not affect [12:03:50] : what happend? nothing found [12:05:01] there are probably no paragraphs to test that on that page, probably [12:05:25] could you please remote to my pc and see it [12:05:28] just 1 min [12:05:32] i really confused [12:06:26] just 1 min, you can remote??? [12:07:36] vulpix, please aswer [12:08:51] TeamViewer or something? [12:09:00] teamviewer?? [12:09:03] yes i have [12:09:10] can i send you the user and pass? [12:10:58] please answer [12:12:27] karami: I'm going to take dinner in a few minutes, maybe in an hour or so? [12:12:47] ok, please come back soon after dinner [12:12:49] ok? [12:13:15] do you have skype? [12:39:48] Come back?? [12:40:16] please be patient :) [12:40:28] it is too late in here [12:41:54] the office will be closed soon [12:42:03] karami: he said he'll be back in 1 hour … so it seems like you'll have to wait for 30 more minutes probably [12:42:20] coudl you help me? [12:42:34] no, I'm not familiar enough with CSS [12:42:52] he will be back in 10 min?? [12:43:08] we will see when he's back [12:43:33] he he:d yes i know [12:48:21] karami: Glaisher may help you [12:48:41] karami: hi [12:48:43] what? [12:48:46] hi [12:48:53] could you help me? [12:48:54] How may I help? [12:48:59] Yes, if I can. [12:49:05] could you please remot eto my pc [12:49:07] and see? [12:49:28] what exactly is your request? [12:49:46] i want to change the fonts of my wiki to Bnazanian [12:49:53] i have this font in my windows [12:50:38] Which font? [12:50:54] Bnzazanin, it is farsi fonts [12:51:35] Is that the name of the font? or is it a name of a script? [12:51:51] name of font [12:53:12] B Nazanin probably [12:53:26] yes [12:53:31] it is B nazanin [12:53:41] If that font is available under an appropriate license and does not violate your wiki's policies (privacy or terms of use), then you could just load it using Mediawiki:Common.css [12:54:00] how? [12:54:07] could you please show me? [12:54:09] the other way is to do it by modifiying config files which I do not know [12:54:28] how about first way? [12:54:34] coudl you help me by first way? [12:55:25] You could add html, body {font-family: "B nazanin";} to Common.css [12:55:33] i add this [12:55:37] but show me error [12:55:44] which error? [12:56:30] a min, i copy it [12:57:14] karami: Are you editing Mediawiki:Common.css page or a config file? [12:57:28] Parse error: syntax error, unexpected ',' in D:\xampp1\htdocs\mywiki\skins\Vector.php on line 466 [12:57:34] er [12:57:36] i editting vector.css [12:57:38] that's a config file [12:57:54] so where is common.css [12:58:20] http://example.com/w/index.php?title=Mediawiki:Common.css [12:58:31] a min, i am checking [12:58:33] replace example.com with your wiki's domain [12:59:15] what? [12:59:19] i do not know what you mean [12:59:21] :( [12:59:40] i am in that link [12:59:43] Can you provide me with a URL to your wiki? [12:59:44] what should i do? [13:00:05] karami: Can you provide me with a URL to your wiki? [13:00:40] i installed the on server,, but i do not know who could i make it az url [13:00:42] please remote [13:00:45] please [13:00:46] ok? [13:01:12] Hello. Where can i download FBLogin and GPlusLogin extensions used by wikihow? [13:01:41] could remote?? [13:01:52] maybe [13:01:54] how? [13:02:09] by team viewerr? [13:02:41] i send you, my id and pass [13:02:43] ok? [13:02:56] i do not find coomon.css file [13:03:18] common.css* sorry [13:03:28] It is a page. [13:03:40] in my wiki? [13:03:44] yes [13:03:50] i can not find it [13:03:53] please remote [13:03:54] ok? [13:04:40] please [13:04:41] ok? [13:04:46] Also what are the non-standard skins compatible with MW 1.23? [13:04:46] have teamviewer?? [13:04:51] karami: I just installed teamviewer [13:05:30] ID: 394 792 015 [13:05:35] pass: 5498 [13:05:51] please learn me step by step [13:23:37] hi [13:25:35] i have read the files in how to generate a server [13:26:29] $wgserver='http:///server:port' [13:26:31] yes?? [13:29:15] i used $wgserver='http://parswiki'; [13:29:19] is it ok? [13:29:22] please asnwer me [13:30:22] hi. how can i safely avoid spam registrations in mediawiki? (like: manually reviewing all registrations before they can edit anything) [13:31:14] Cthulhux: would email confirmation be sufficient for your purposes? [13:31:15] please asnwer me [13:31:33] is it ok> [13:31:41] $wgserver='http://parswiki'; [13:32:39] Vogone: no [13:32:43] why? [13:32:48] karami: yes [13:32:57] Vogone: spammers are mostly paid real persons these days. wouldnt work. [13:33:24] but now i can not acces to wiki by use of url http://parswiki [13:33:29] what is the problem? [13:33:35] Cthulhux: well, you could limit account creation to admins and ask users to request an account via email [13:34:04] hm. [13:34:06] how? [13:34:34] please asnwr [13:35:22] Cthulhux: go to LocalSettings.php and add $wgGroupPermissions['*']['createaccount'] = false; in order to disable account creation for any user [13:35:35] Vogone: thanks! :) [13:36:06] please [13:36:29] answwer [13:36:46] idk [13:37:35] what? [13:37:57] karami: well, you didn't specify a TLD [13:38:17] is it parswiki.com, parswiki.eu or something different? [13:38:31] or do you want to access it locally? [13:39:22] yes, locally and remote [13:39:59] karami: so you have found no way to access your wiki yet? [13:40:00] in this time, locally [13:40:05] yes [13:40:07] no way [13:40:10] okay [13:40:17] please help me [13:40:32] karami: which OS do you have? [13:41:33] windows [13:41:44] karami: in fact https://www.mediawiki.org/wiki/Manual:Installing_MediaWiki_on_XAMPP explains it pretty well [13:43:22] just tell me [13:43:29] what is my fault [13:43:51] how should I know? [13:45:17] karami: if you follow the instructions on that page you should get your wiki to work at the end [14:21:35] Hello Evryone :) [14:22:08] Do you know how priviliges in media wiki works ? [14:23:23] Aj_: the manual has info about this: https://www.mediawiki.org/wiki/Manual:User_rights [14:25:22] Thank's for link :) [15:00:49] What's the difference between rev_id and rev_text_id in the revision table ? [15:02:13] !db revision [15:02:13] See http://www.mediawiki.org/wiki/Manual:revision_table [15:02:35] rev_id is the primary key of revision, rev_text_id is a foreign key to the text table (old_id) [15:03:05] rohan013, you may want to bookmark https://www.mediawiki.org/wiki/Manual:Database_layout [15:05:29] rohan013: note that the content of entries in the text table isn't always what you think it would be. on a standard install, it's the full text, but that's not guaranteed. keep that in mind when writing extensions. Always use Revision::getRevisionText (or better, Revision::getContent) to access the actual content. [15:06:22] I'll keep that in mind, thanks. [15:56:58] Reedy: this probably seems a bit creepy, but i saw your tweets about Firefox crashing (while stalking the #fxhelp hashtag, because that program is garbage and i needed examples to back that), there are a few bugs about that crash but they're all old and closed. i'll file a new one - is it on happening any particular website, or just randomly? [15:57:28] Haha [15:57:54] Yeah, I saw it reference duplicate bugs, but hte original was closed back in Feb iirc [15:58:23] there were 2.5kish crashes in the past week with that signature [15:58:28] lol [15:58:28] so it's definitely worth filing again [15:58:40] git: someone suggested I updated or disabled Java [15:58:41] * Reedy sighs [15:58:55] yeah, as i said, that whole twitter "support" thing is garbage. [15:59:01] :) [15:59:04] it's people trying to get fake points to be on the top of a leaderboard [15:59:09] I wasn't actually looking for support [15:59:18] Just airing frustration that it just crashed so easily [15:59:36] well, you uncovered something :P [15:59:47] Scarily, it happens on a really simple page [16:00:07] The only js it's loading is https://ssl.gostats.com/js/counter.js [16:00:59] But it's not reliably reproducable either [16:01:03] let me see if i can reproduce it on nightly [16:09:53] There are currently at least 3 hooks with double colons in their names. This causes an issue with the hook documentation on mediawiki.org, where it recommends creating a hook function with the name "onLocalFile::getHistory", for example. That does not seem to be a valid function name. Should the documentation be changed? See here, for example: https://www.mediawiki.org/wiki/Manual:Hooks/LocalFile::getHistory [16:11:10] No, it's not valid... [16:12:57] So I would assume the docs should be changed. But it doesn't seem like the supporting "Template:MediaWikiHook" even tolerates changing the name of the hook/template combo. [16:14:33] could probably perform a string replace from :/:: to _ or some such awful thing :) [16:17:03] Awful inded :). Should I go ahead and change the template? [16:18:24] Oh. I see this was discussed on the template talk page a while back: https://www.mediawiki.org/wiki/Template_talk:MediaWikiHook#Hooks_with_.22::.22_in_their_names [16:18:52] tosfos: I think so [16:18:57] ie jfdi [16:20:10] Where can i download FBLogin and GPlusLogin extensions used by wikihow? [16:21:31] hi [16:22:12] gleki: if you don’t find them elsewhere, check wikihow’s source distribution — https://src.wikihow.com [16:24:08] does anybody know who can i use a name for my wiki, and with tha name, i can remote locally and from internet? [16:25:33] please answer me [16:26:07] could you help me? [16:26:31] karami: Sorry, your question doesn't make sense [16:28:16] assume i run the wiki on a pc, i want to connect my wiki locally and from internet [16:28:36] you need to port forward the rlevant ports on your router etc [16:30:11] understand? [16:33:52] brion: believe me or not this archive doesnt contain those extensions [16:34:04] karami_: [18:28:47] you need to port forward the rlevant ports on your router etc [16:34:25] gleki: I checked before I gave you the link; they’re in there. :) they’re under the ‘wikihow’ subdirectory of extensions folder [16:34:38] brion: oh thx [16:34:56] * gleki <-- shame on him [16:35:32] :D [17:33:21] https://www.mediawiki.org/wiki/Thread:Talk:MediaWiki_1.23/Make_prettier [17:40:02] {{so fix it}}? [17:42:45] ss/ // [17:43:11] I already did some edits, but I can't always be the only one prettifying our release pages. :) [17:43:34] It looks like we don't care about people thinking nothing notable happens in MediaWiki development for entire years. :D [17:44:40] Hi ; I wish to give delete/update privileges in materials database extension only to users with administrator privileges. I have been able to do this to some extent by apply query like where user_id=0 but there can be a number of users with admin privileges. [17:47:32] s/apply/applying ; Is there any other attribute which is only true or 1 in case of admins so I can apply SQL query like , UPDATE table_name [17:47:33] SET column1=value1,column2=value2,... [17:47:33] WHERE some_column=some_value; [17:52:35] albertcoder: Could you create a new group, give users permission to edit by adding them to that group and test for membership in you code? [18:26:30] Can i get a title class object for a given revision id ? [18:26:36] tale, I am not sure of this, because these are all special pages of my extension. And special pages I guess cannot be edited. So I was asking how can I update the changes in the database by using SQL query at backend? [18:27:36] but I wish only selective people should be able to execute that SQL query. [18:31:49] tale, "Special: and are not editable directly as other pages." I have read it here. http://www.mediawiki.org/wiki/Help:Special_pages and also in this extension, data is stored in the database through special pages but not wiki pages which are editable. [18:48:06] albertcoder: use user rights [18:48:39] and give the "right" to edit the data to the user groups you want [18:49:05] then just test for user->hasRight('editmaterial') or whatever [18:49:21] no need to check it in database directly [18:49:47] alright Vulpix thanks a ton! [18:50:30] Would have been nice if you could provide a link with similar info. [18:50:35] isAllowed, not hasRight [18:51:02] yeah, probably, I've never coded anything like that [18:51:15] just know there was a method doing this [18:51:27] https://www.mediawiki.org/wiki/Manual:User_rights [18:52:22] Okay fine, will check it out. thanks a lot. [19:07:34] I have a problem with the mediawiki extension News [19:08:11] the newsfeed page becomes an element of the category that is specified [19:08:15] it's so annoying [19:16:22] oh no [19:16:24] nevermind [19:16:28] I think the problem is something else [19:16:46] News does not support non-unicode category names [19:17:29] nun-unicode? do you mean non-ASCII? :D [19:17:39] oops [19:17:40] *non-unicode [19:17:40] sorry [19:17:42] non ascii [19:17:43] yes [19:17:47] * chabibi has a headache [19:18:30] when I put a category in arabic, the newsfeed shows ALL pages [19:18:32] it's 2014, still there is software not supporting non-ascii characters :( that's very disappointing [19:18:42] indeed [19:22:14] yes [19:22:25] so my problem is still that a newsfeed page includes itself in the feed [19:23:11] it becomes a member of the categories of the articles that are included [19:23:29] there is no way to exclude a category :( [19:27:48] !e News [19:27:48] https://www.mediawiki.org/wiki/Extension:News [19:30:28] chabibi: I guess a workaround would be to put the news tag on a page of a different namespace, and the filter by namespace [19:30:33] *and then [19:30:38] yeah [19:30:50] except it is annoying to move all these past news items [19:32:05] I was suggesting the other way: put the news feed on a different namespace [19:32:11] aaah [19:32:20] wicked [19:32:26] I should do that [19:59:23] aww we're again above 100 https://translatewiki.net/wiki/Category:Open_support_requests_for_MediaWiki [20:04:22] Vulpix: it works perfectly, thanks for the idea! [20:05:38] yw :) [21:02:00] jackmcbarn: are you interested in core logging/blocking/i18n? https://translatewiki.net/wiki/Thread:Support/About_MediaWiki:Unblocklogentry/uk [21:21:54] Apologies for the extreme silliness of this question.. but I recently launched (and updated) a copy of MediaWiki that I haven't used in quite some time. Many months ago, I made some skin adjustments but simply cannot find where those adjustments were made (such as background image, navbar image, etc). I've removed all of the default skins and uploaded fresh copies, to no avail. The edits were made to Vector I believe. Is there some [21:23:59] johnD: Check the pages named MediaWiki:Common.js, MediaWiki:Common.css, MediaWiki:Vector.js and MediaWiki:Vector.css on your wiki [21:27:03] bawolff: Thank you for the response. Oddly enough, of those four files, only Vector.js exists. [21:28:03] The pages on your wiki, not actual "files" [21:29:58] Nemo_bis: hmm, not sure where 'mwe-timedtext-stage-upload' is actually used [21:31:15] you tell me [21:31:39] probably called with some mwe-timedtext-stage + {upload,...} string concatenation [21:33:05] I hope not [21:33:10] Nemo_bis: it shouldn't have that param [21:33:25] TimedText wouldn't even really make sense to have a message like that [21:34:19] bawolff: maybe subtitles uploading? [21:34:34] @bawolff - Not to interject, but I wanted to quickly offer a sincere 'thank you' for reminding me of that page. Been so long, I had forgotten all about it! [21:34:42] might be some feature removed years ago without cleaning up corresponding messages [21:34:45] If we ever had support for that, I've never even heard of it [21:34:49] Nemo_bis: an unblock log entry looks like this in qqx: 04:55, 13 (july) 2014 Daniel Case(word-separator)(parentheses: (talkpagelinktext)(pipe-separator)(contribslink))(word-separator)(unblocklogentry: INTERACTION MUSIC(word-separator)(parentheses: (talkpagelinktext)(pipe-separator)(contribslink))) (parentheses: aloowing username change) [21:34:53] Nemo_bis: wouldn't surprise me [21:35:00] the person performing the action is always outside the action itself [21:35:03] johnD: glad to help [21:35:05] i'd post there if i had an account there [21:35:27] jackmcbarn: that doesn't matter, the subject of the sentence affects how the verb is translated [21:35:33] !gerrit dbb9a4f4bb8c34918 [21:35:33] https://gerrit.wikimedia.org/r/#q,dbb9a4f4bb8c34918,n,z [21:35:40] looks like you [21:35:42] 're right [21:35:52] Nemo_bis: oh i see. i'll add it [21:36:11] !bug 28151 [21:36:11] https://bugzilla.wikimedia.org/buglist.cgi?quicksearch=28151 [21:36:46] * bawolff will remove the message [21:37:07] thanks both [21:39:25] Nemo_bis: as i look at this, almost no log messages have a parameter for that. how do the rest do it? [21:41:01] The logging i18n grows in spurts... let me give a look at current state [21:43:06] jackmcbarn: well, I see several, like "logentry-delete-delete": "$1 {{GENDER:$2|deleted}} page $3", [21:44:13] And all the logentry-delete*, logentry-suppress*, logentry-move*, logentry-patrol*, logentry-rights* [21:44:48] These were just the main logs converted to the new logging system (and to appropriate gender etc. at the same time), it's a gradual process [21:53:00] Nemo_bis: that's actually a bit more of a job than i want to do right now, now that i see how the others do it. i'll file a bug for it [21:58:45] Nemo_bis: How did you manage to get to https://commons.wikimedia.org/wiki/TimedText:What%20is%20Bitcoin?.webm.co.srt?action=edit ? [21:58:53] * bawolff shudders at the thought of that url [22:02:32] bawolff: I have no idea, I remember it was an eventful journey [22:03:00] jackmcbarn: well, it's not *needed* to do everything at once, but thanks for filing it [22:03:19] ok. The links I tried seemed to be encoded correctly, if you find a link that isn't, please let me know which one it is