[02:18:03] soooo.... #pywikibot is pretty dead... anybody here know why I cant get it to do http auth after adding the authenticate directive to my config? [03:38:38] !private [03:38:38] There is no such key, you probably want to try: !fishbowl, !ppp, !secrets, [03:38:47] !fishbowl [03:38:47] http://www.mediawiki.org/wiki/Help:User_rights should explain how to set up a wiki that's private, where users can see the content but cannot edit or create it. [05:41:37] I need help on this URL: http://www.trueerp.com/erpwiki/index.php?title=TrueERP&action=edit [05:42:16] When try to edit it gives this message -----Please note that all contributions to TrueERP wiki are considered to be released under the GNU Free Documentation License 1.2 (see TrueERP wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here. You are also promising us that you wrote this yourself, or copied it from a public domain or similar free r [05:42:26] can anyone help? [09:01:16] hello [09:02:13] how can I edit the "References" right column on this page? https://en.wikipedia.org/wiki/1900_Galveston_hurricane#cite_ref-Pielke2008_32-0 [09:03:06] https://en.wikipedia.org/wiki/1900_Galveston_hurricane [09:15:00] Hi [09:15:16] hi PotatoGim [09:15:47] PotatoGim: do you have any experience editing wikipedia? [09:15:47] Do you know anyone who can control ACL on each page? [09:16:27] zPlug: Oh... I have that for ko.wikipedia.org [09:17:01] (btw I don't know "anyone who can control ACL on each page") [09:17:49] PotatoGim: when I click "Edit" at the top of this page https://en.wikipedia.org/wiki/1900_Galveston_hurricane apparently not all the text shows up in the text box [09:18:06] any clue why is that so? [09:19:45] for example "Total estimated property damage" doesn't seem to be in there, nor "Pielke, Roger A." [09:20:27] I'm rather new to editing wiki, and I don't understand where that text is supposed to be [09:34:38] oh there is a temlate injected in the wiki [10:08:50] Do you know anyone who has a way to control ACL? [10:09:03] for each page. [11:19:17] Doesn't anyone who know the way to control ACL for each wiki page? [11:22:09] PotatoGim: do you mean reading? or editing? [11:23:55] both [11:25:30] !cms | PotatoGim [11:25:30] PotatoGim: Wikis are designed for openness, to be readable and editable by all. If you want a forum, a blog, a web authoring toolkit or corporate content management system, perhaps don't use wiki software. There is a nice overview of free tools available at including the possibility to try each system. For ways to restrict access in MediaWiki, see !access. [11:25:43] !access | PotatoGim [11:25:43] PotatoGim: For information on customizing user access, see . For common examples of restricting access using both rights and extensions, see . [11:26:13] Vulpix: Thanks! [11:26:48] while you can protect a page from editing, MediaWiki hasn't been designed for protect the reading of specific pages, unless the whole wiki is private [11:27:20] and witha private wiki, anyone with an account can read all pages [11:28:12] there are some extensions that may provide a bit of functionality for this, but the content may be leaked by other ways like api requests, etc [11:46:22] Vulpix: isn't there some read whitelist parameter? [11:46:34] (for LocalSettings.php) [12:03:45] hi, i run my wiki on server, a pc with windows, [12:04:27] i use $wgServer="http://192.168.1.235/pars_wiki" and also $wgServer="http://84.241.45.8/pars_wiki" [12:04:36] i can access to wiki from remote [12:04:41] but locally i can not acess [12:04:47] why? [12:05:08] Because one will override the other [12:05:30] so what should i do, in order to use both [12:05:32] ? [12:05:39] You can't [12:05:53] Well, you can, but it'll just get hacky [12:06:06] you mean i can not conenct to my wiki from remote and locally together? [12:07:03] you can [12:07:07] how can? [12:07:10] just you're probably not going about it in the correct way [12:07:58] If you visit http://84.241.45.8/pars_wiki locally does it not work? [12:08:34] our modem will block external ip as internal [12:09:15] Yay for crappy routers with no NAT loopback [12:09:48] no other way? [12:11:21] please help me [12:15:44] ???? [12:27:44] sasan: If you can, use a domain name instead of IP. You could then set up a private DNS in your local network pointing the domain name to the internal IP, overriding the public domain name [12:29:00] how can i do that? [12:29:07] could you help me do that? [12:30:13] how can i use domain name instead of ip? [12:30:15] well, if you ask me about that, then it's not an option for you [12:30:42] what do you mean? [12:31:52] basically, you lack very basic knowledge about DNS, networking, etc to set it up and I'm not about to teach that on IRC [12:32:54] yes, but do you have any manual for running it? [12:34:21] google may find you one. I don't have any in mind [13:50:06] hello [13:50:16] does anyway know where i can go to delete aa video? [14:11:20] How do i get the titles of all the moved pages? [14:20:56] rohan013: probably by a direct query to the logging table of the database, filtering by log_action [14:26:07] Vulpix: Ok, so if i change a page's title from 'a' to 'b', what will be the value of log_title ? [14:27:24] a [14:28:19] Thanks ! [15:08:34] Hallo, habe folgendes Problem. Ich habe alle Dateien von Wiki 1.23.1 auf den Server hochgeladen und will installieren. Dann bekomme ich die Fehlermeldung: "MediaWiki 1.23 internal error MediaWiki 1.23 requires at least PHP version 5.3.2, you are using PHP 5.2.17. " obwohl PHP-Version 5.4.29 auf meinem Webspace installiert ist. Wie kann das sein? [15:12:17] Kalle: do you speak english? [15:12:25] also make sure which version is selected [15:12:31] (of php) [15:12:44] installed doesn't mean used [15:17:27] Hi, my english isn´t very good. Then first I will see, which version is used in my Webspace. [15:21:48] It´s only PHP 5.2.17 in use. I must change it in my Webspace. Thanks. [15:38:47] who named SkinTemplateBuildNavUrlsNav_urlsAfterPermalink? [15:40:08] FactoryFactoryBuilder [15:42:07] �var Arnfj�r� Bjarmason , Sat Nov 26 22:20:48 2005 +0000, 3c8c735c5622c9fe9fd4748bd964a55926c8343b [15:42:57] Krenair: I think Avar used http://projects.haykranen.nl/java/ :P [15:43:22] lol [15:43:51] VisitorBridgeErrorProducerTaskWorkerIdentifierExporterPoolParameterCompositeLiteralProxy [15:43:52] oh wow [15:59:19] hello [16:00:51] when I update a "transcluded" page on wikipedia, should it updatate immediately the content of its parent page or is there a cache that needs time to update? [16:03:19] zPlus: There's a cache [16:03:34] thanks bawolff [16:03:53] zPlus: But if the page is only transcluded a couple times, I think it might be immediate (don't quote me on that) [16:04:21] zPlus: more info at https://en.wikipedia.org/wiki/Help:Job_queue [16:05:25] zPlus: If its taking like a super long time to update (say more than a week), do file a bug [16:05:39] ok [16:08:51] btw bawolff I asked the same question at #wikipedia and they pointed me at ?action=purge [16:09:14] zPlus: yes, action=purge will flush the cache for the current page immediately [16:46:16] Hmm, I wonder if anyone ever wants to make a page larger than 255 bytes [16:46:26] s/larger/with a longer title [16:49:46] translated to chars, that's less than 255 for unicode characters. I think some unicode characters can take up to 6 bytes [16:55:34] Vulpix: 4 is max [16:56:06] bawolff: maybe the title of some book, poetry, song.... you the arts ;) [16:56:25] you know the arts ;) [16:56:33] Hmm, perhaps [16:56:47] but of course it's very unlikely [16:57:07] I was just looking at the bug about making edit summaries longer, and it made me wonder if anyone complains about page titles which have the same limit [16:57:38] Vulpix: Otoh, if you start considering combining characters, I guess you could have more than 4 bytes for 1 "logical" character [16:58:26] bawolff: is there any advantage of using 255 instead of 1024 for example? [16:58:45] M̛̮̪̺͚̱͎͖̌͆̒͌̋̉̒͜ͅě̷̢̢̠̻̙͖̿́͌̾ͦ͒ͤd̷͒̒̐͗͛͐̉͌ͣ́̊̔͆̓̎ͩ̿̌͜͏̵̼͕̰͉̩̖̞̳͝i̵̷̧̧͇̺̻̩̠̞͈͛̃ͣ̓̽̋͗̇ͣͯ̚̕a̸̻͙̤̞͛̏ͫ͆̂̌ͯͩͦ͐́̓̏̌ͮ̍ͨ̃̕W̴̡̠̝͚̹̯̣̬̳̫̰͔̯̹̗̾ͫ͗͑̈́ͮ͆͗̓͆̇̽ͩͬ͛̋̽͞͠ḯ̴ͪ̾̈̃͆ͬ̐̿̍͛̚͏͏̲͚̘̹͓͖͓ͅk̸̗̗̳̝̺͉͕͇̬͈ͫͣͪ̂ͧͨ͊̔͆ͮ͟͡i̢̢̔ͩͭ̈ͮͧ̅̔̈ͣ̔̓̒̃͑͝҉͖͉̫̜̬̳̗̳͔̣̙ [16:59:01] Older versions of mysql had a limit of 255 for varbinary fields [16:59:01] you broke my irc client [16:59:05] lol [16:59:43] Hello71: Well that's an impressive 409 bytes [17:02:20] 451 in utf-8 [17:02:40] Hmm, maybe my copy and pasting normalized or deleted some character [17:05:04] oh, I just missed a bunch of the small characters at the end when I selected with my cursor [17:05:14] * bawolff is suitably impressed in any case [17:06:54] pretty line, yes [17:07:27] Most complaints are usually about the edit summary being so short. There's probably a bug for the title as well. [17:13:14] I was wondering about locked pages... can only a selected few people make edits, or is there like a minimum # of edits before being given permission? [17:15:59] zPlus: Depends on the configuration of the wiki (for semi-protection. full protection is admins only) [17:37:44] Oh, we've got a brave assignee for https://bugzilla.wikimedia.org/show_bug.cgi?id=12363 [17:39:16] How can a wikifarm manage to return blank pages for some wikis and not others :( http://www.editthis.info/kickipedia/ [17:56:47] Hi ! I have been studying user, groups and permissions for a while. I have read this tutorial thoroughly http://www.mediawiki.org/wiki/Manual:User_rights but still I am stuck somewhere. I have managed to block all users from accessing all pages but a few pages can be accessed using $wgWhitelistRead like this http://pastie.org/9407509# [18:00:16] But this is showing some abnormality which I am unable to understand. According to the link I have just shared all users except the members of bureaucrat group should be banned from accesing the pages mentioned in the $wgWhitelistRead. But I have made a new user which belongs to autoconfirmed group still it can access Special:Mat_ext_del which is listed in $wgWhitelistRead. [18:01:12] Any views please? [18:01:38] albertcoder: $wgWhitelistRead allows all users (and anons) to read those pages [18:02:31] it overrides the "read" permission when a user is not able to read pages [18:03:43] Alright Vulpix got you, I just want a specific thing like Special:Mat_ext_del should be accessible only to bureaucrat group and admin group. Struggling to get it done. [18:05:04] albertcoder: that can't be done by just changing settings. If you aren't developing the extension that provides such special page, your option is to use Extension:Lockdown [18:05:19] !e Lockdown [18:05:20] https://www.mediawiki.org/wiki/Extension:Lockdown [18:05:28] Vulpix, I am developing an extension. [18:05:56] If you're developing the special page, you should just make it restricted [18:05:59] So would lockdown serve my purpose? [18:06:21] if you're developing the extension, then do what bawolff say [18:06:47] bawolff, how can I make it restricted but at the same time accessible to certain groups? [18:07:48] that kind of granularity is usually achieved by creating a new user right (not group), and assigning that right to a user group, then check for that right when displaying the page to the user [18:08:08] In the constructor method, when calling the parent constructor, give it a second argument with the right you want to restrict the page to [18:09:29] if you're overriding the execute method, you may have to call $this->checkPermissions() inside the execute method [18:11:36] umm, isn't there any extension that can do all this? I browsed extension adminlinks but I guess it cannot do this. [18:12:43] Special pages are supposed to handle their own permissions [18:13:43] i want to create table automatically in my extension when extension install then all table of extension is create automatically [18:13:51] How it possible ? [18:14:19] albertcoder: See for example Special:ChangeEmail, Special:Unblock, Special:Undelete, Special:MergeHistory, etc [18:14:46] !hook LoadExtensionSchemaUpdate | sofat [18:14:46] sofat: https://www.mediawiki.org/wiki/Manual:Hooks/LoadExtensionSchemaUpdate [18:15:01] err, that's appearently not the name of the hook [18:15:10] bawolff, how can these Special Pages help? [18:15:38] albertcoder: Well they all do what you want to do. They could be used as examples of a restricted special page [18:15:47] !hook LoadExtensionSchemaUpdates | sofat [18:15:47] sofat: https://www.mediawiki.org/wiki/Manual:Hooks/LoadExtensionSchemaUpdates [18:15:56] * bawolff was so close, just missed the plural [18:18:11] Vulpix, I understood your way of doing what I want too. Is it easy make our own right and assign it to the groups we want? [18:18:43] s/easy/easier [18:19:52] albertcoder: it's easy, as Bawolff explained how to implement that check on the special page, and plus it gives granularity in rights management [18:20:48] if you're developing and plan to be used by someone else, it should be a "must have" [18:21:32] Vulpix, pardon didn't get your there. [18:22:29] Yeah I am developing an extension for brlcad [18:22:44] so do you mean it should be a "must have" then? [18:24:19] yes [18:25:31] Alright Vulpix thanks! How can I study the way checks have been implemented on the special pages mentioned by bawolff? [18:26:01] albertcoder: try looking at their source code, look at the constructor as Bawolff said [18:26:26] Alright thanks a lot for your attention. [18:26:57] np :) [18:27:13] :) [18:36:21] Vulpix, just last thing, I am unable to locate the source code of any of these special pages. :P [18:37:02] * albertcoder tried to google it before asking. [18:37:26] have you looked at includes/specials/? [18:37:41] Nopes [18:37:52] Let me check it [18:37:57] :) [18:38:50] got them thankyou. [18:44:45] @bawolf not working sir [18:45:12] any other way to implement this [18:45:13] ? [18:45:32] sofat: could you please elaborate? [18:46:08] sir i want to create automatic tables when my extension install [18:46:28] i use this help [18:46:29] https://www.mediawiki.org/wiki/Manual:Hooks/LoadExtensionSchemaUpdates [18:46:50] but this is not working for me [18:47:02] any other way to implement this [18:47:03] ? [18:47:37] there's no way, really [18:50:59] so sir i share my code [18:52:09] feel free to do so [18:53:56] http://hiteshkumarsofat.wordpress.com/ [18:54:05] first post [problem] [18:55:40] note that you can use pastebin, dpaste, etc to post code [18:57:10] ok [18:57:37] sofat: that should work, assuming the database doesn't contain a table called tablename, and that table.sql contains the necessary create table statement [19:00:31] yes [19:00:43] statement is added [19:01:01] but this is not working [19:03:15] How are null revisions different from normal revision in the revision table? I want to select all the null revisions [19:11:35] rohan013: what do you mean null revisions? [19:12:45] Betacommand, The ones created by Revision::newNullRevision [19:14:57] one sec [19:16:11] rohan013: look for revisions where rev_text_id is the same as in the parent edit [19:20:51] Ah..perfect. Thanks ! [20:42:49] MatmaRex: I was just thinking the estonian thing was really hacky. And then I realized I was the one who suggested it :s [20:44:55] heh [20:45:13] do you know where to report this upstream? to clear your conscience? :P [20:45:48] In theory yes [21:30:25] Hello. I want to migrate my mediawiki 1.21(mysql) to 1.23(postgresql). I've moved pages and revisions already. [21:30:58] There is problem with other tables like image and user [21:31:12] * i mean users data in general [21:31:29] is there someone who did it? [21:32:07] note: i've used mwdumper to move pages and revisions [21:36:55] janepe: Using the import/export feature for moving pages and revisions means any ids are not preserved. [21:37:01] E.g. people's watchlists [21:37:10] and various other meta data and associated stuff. [21:37:32] I'd recommend that, when you find a way to migrate the user tables, you reinstall the wiki fresh and use that principle for all tables, including page/revisions. [21:38:10] janepe: As a first step, I'd recommend you upgrade that 1.21 to 1.23 [21:38:27] then after that's completed (make a databse backup first, then run update.php) [21:38:33] then migrate to pgsql [21:38:51] okay. that's better idea than what i've done [21:39:17] as for the db migration after that, I don't know, [21:39:17] !google migrate mysql to postgresql [21:39:18] https://www.google.com/search?q=migrate+mysql+to+postgresql [21:39:25] But I'm sure there's a few good options in there ^ [21:39:37] uhm.. i've been looking for that but it's rather complex [21:40:11] You might be able to find help with the migration itself (after upgrading the db) in #postgresql [21:40:41] janepe: May I ask why you're moving away from mysql? [21:41:05] I'm moving everything from my old server to new one [21:41:31] and i would like to keep it all more ordered(without mess) [21:41:39] that's first thing [21:41:54] Yeah, I'd recommend moving the wiki first without upgrading meidawiki or changing databases. [21:41:56] the second is when i tried to load mysql dump made from old db it failed [21:42:18] mysqldump on the old one, mysql import on the other [21:42:54] adjust any localsettings for wgServer and wgDB user/password etc. on the new server, make sure all image uploads and extensions still work, then upgrade the wiki, then migrate the db [21:43:12] third thing is on new server with empty database and old wiki i've got error: PHP Fatal error: Unsupported operand types in /web/wiki/htdocs/languages/Language.php on line 495 [21:43:38] Don't install mediawiki in the htdocs root. [21:43:55] (that's not the cause of the error, but that will save you pain later) [21:43:56] i haven't. it's copy-pasted from net [21:44:23] someone had this problem but i can't solve his in this same way [21:44:27] k [21:44:36] That error is possibly due to php versions [21:44:41] are you sure both servers have the same php version? [21:44:55] nope. new server have php 5.5 [21:45:00] it's okay if that's different, as long as it's 5.3 or 5.4 [21:46:06] 5.5. is two steps ahead from 5.3, mediawiki doesn't support that yet, and not sure if it can due to breaking changes. There tends to be one version to cover compatibility. [21:46:15] 5.4 dropped 5.2, 5.5 drops 5.3. [21:46:43] so... i should downgrade php.. alright [21:46:50] Did you install 5.5 yourself or did that come with the server? [21:46:53] What server do you use? [21:47:04] heh, archlinux [21:47:09] i've installed everything [21:50:05] https://www.mediawiki.org/wiki/Compatibility [21:51:18] thank you