[00:00:19] and also if interested: http://www.mediawiki.org/wiki/Sites_using_MediaWiki/corporate heh [00:00:51] as well as: http://www.mediawiki.org/wiki/Manual:Preventing_access [00:01:38] <_DeepBlue> okay [00:02:40] <_DeepBlue> is it intersting to conbine phpGroupware with MediaWiki ? [00:03:21] <_DeepBlue> because my goal is the groupware that conatains the wiki [00:04:33] *stiv2k is stumped [00:04:35] never heard of anyone doing that (though phpbb + mediawiki drove a few people insane I know) [00:07:48] anybody here use simpleforms [00:47:49] 03(mod) It should be possible to enter expiry dates for edit and move protection separately - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12650 +comment (10random832) [00:59:15] 03ialex * r33892 10/trunk/phase3/includes/SpecialRevisiondelete.php: Removed unused global declaration of $wgFileStore and $wgUseSquid in RevisionDeleter::makeOldImagePrivate() and RevisionDeleter::makeOldImagePublic() [01:55:43] 03(NEW) Request to add contents of $wgAddGroups and $wgRemoveGroups to Special: ListGroupRights. - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13846 15enhancement; normal; MediaWiki: Special pages; (stevend811) [01:56:01] 03(mod) Allow bureaucrats on Meta-wiki to remove rights - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13509 (10lilewyn) [01:59:10] 03(mod) Support for global groups - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13773 (10vasilvv) [02:08:42] 03(mod) Support for global groups - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13773 (10vasilvv) [02:19:39] When using Block user, is it possible to block a range of IP addresses? (Such as 255.255.255.anything)? [02:20:53] Garlyle: http://www.mediawiki.org/wiki/Help:Range_blocks [02:21:02] Thank you [02:21:28] short answer: if $wgSysopRangeBans is true, you can use CIDR ranges down to /16 [02:23:41] Sparkla: heh, and /64 for ipv6 [02:23:49] ok, supper time [02:24:07] yah, like anyone uses that [02:24:10] *Splarka bites Aaron [02:24:40] trolls could use it [02:24:48] IPv6 used to be unblockable [02:24:54] XD [02:27:49] Hello [02:28:40] Is it possible to grab the wiki pages powered by mediawiki for offline viewing? Thanks [02:30:49] http://www.mediawiki.org/wiki/DumpHTML.php [02:36:05] 03(mod) Flagged bots to have exeption from spamlist - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13706 (10brion) [02:36:52] aSplarka: it seems dumpHTML works on local machine, not a remote site. In fact, I can't read sawfish wiki directly at home (it is banned) so I want to download it at a place where I can connect to it and then read the downloaded material at home [02:37:08] Oops, sorry for the typo [02:46:27] so, you need a way to dump pages from a public wiki? [02:47:02] yeah, I wonder whether there is a tar ball or something like that to be downloaded [02:48:33] Special:Export will export the wikicode on most wikis [02:49:02] if you want the rendered html, you can try action=render, though this doesn't include any css styles used, or scripts [02:49:19] (though that is just a page at a time) [02:51:33] Splarka: thank you very much, let me try it. [03:08:56] 03(NEW) Adding Danish language pages to robots - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13844 major; normal; Wikimedia: General/Unknown; (cbass) [03:16:15] 03(mod) Section edit conflict expands edit box to entire article - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=4745 +comment (10roan.kattouw) [03:19:13] can administrators be allowed to bypass the spam blacklist? [03:20:46] not without hacking it, the spam blacklist has no group exemptions [03:20:50] which is by design [03:21:16] it'd be kinda silly to allow it, as it would be a regression in the parser (adding to the blacklist basically redefines the parser) [03:21:40] can i whitelist a site then? [03:21:43] if you add a blacklisted link (as an admin) then the next non-admin who edits the page will be prevented from doing so! [03:21:47] sure, using the spam whitelist [03:22:04] the wikimedia spam blacklist is global from meta [03:22:11] but each project has a spam whitelist local to it [03:22:18] what page is it at? [03:22:19] plus local blacklists, and local whitelists [03:22:29] Zach, btw: https://bugzilla.wikimedia.org/show_bug.cgi?id=13706 for a recent discussion on this very topic [03:22:46] http://en.wikipedia.org/wiki/MediaWiki:Spam-whitelist [03:25:06] i just added the site to the whitelist, saved the page that had the url, and removed it from the whitelist [03:27:31] ... [03:27:33] why? [03:28:04] it is not whitelisted, and will the next edit to that page won't be allowed to go though with the url in it :\ [03:28:29] indeed... asinine [03:28:56] *Mike_lifeguard gives Splarka an asymptotal high-five for using "asinine" :DD [03:29:04] the page will probably never be edited again [03:29:09] it's indef protected [03:29:29] well, what in the hell is wrong with a plain text link instead of a clickable link? [03:30:09] because plain text is extra work for the readers to visit the linked site [03:30:13] 03(mod) interfere with other extensions - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13841 (10brion) [03:30:43] if you want it linked, then it either shouldn't be blacklisted [03:30:48] or it should be whitelisted [03:30:51] ....................O.o [03:31:23] O_O [03:32:02] or it shouldn't be linked [03:37:23] it should stay blacklisted, probably [03:37:33] it's some suite101.com site or something [03:38:06] but it was linked in an old wikinews article, and i had to archive it, but that site was in the spam blacklist [03:38:35] and since the goal of archiving is to not change anything, i just did a temp whitelisting, saved the page, and un-whitelisted [04:00:16] 03aaron * r33894 10/trunk/phase3/includes/SpecialNewpages.php: protected [04:06:45] How do i add a tab to the top of an article among Edit History Talk etc. ? [04:37:08] 03(mod) whitelist interface strings of Wikimedia Commons for translation - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=5925 (10lijealso) [05:08:16] 03sanbeg * r33889 10/trunk/extensions/SemanticMediaWiki/ (3 files in 2 dirs): make default attribute type configurable [05:09:10] 03(NEW) Edit attempt which forces login, does not retain current page - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=13847 major; normal; MediaWiki: Page editing; (latimer) [05:19:57] 03(NEW) MediaWiki:Sidebar no longer has any effect on Wikiversity - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13842 normal; normal; Wikimedia: wikibugs; (mccormack) [05:31:54] 14(WFM) MediaWiki:Sidebar no longer has any effect on Wikiversity - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13842 +comment (10mike.lifeguard) [05:31:55] *Mike_lifeguard closes his first bug... [05:33:22] 03(mod) Allow Meta bureaucrats to administrate SUL - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13810 summary (10vasilvv) [05:34:27] *Splarka sees wfm as wikifediamoundation [05:49:06] Hi [05:49:46] Is it possible for users to have their own "edittools" page, like MediaWiki:Edittools ? [05:52:30] could be done in javascript without too much work (since it uses javascript, this is probably acceptable) [05:52:42] easier is to customize the edit buttons at the top though [05:53:08] eg: http://help.wikia.com/wiki/Help:Custom_edit_buttons [05:55:21] Splarka: thanks, I'll look into it. But what if I need 40 buttons? Will it scroll? [05:55:26] Will it wrap? [05:55:30] 03(NEW) Way for anons to disable search box AJAX suggestions - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13848 15enhancement; normal; Wikimedia: General/Unknown; (lunasantin) [05:56:17] not sure [06:07:53] Splarka: it wraps. :) [06:10:42] is that acceptable for now then? [06:10:46] *Splarka grins [06:14:32] Splarka: well... I don't like having to upload 40 images, though [06:15:04] indeed [06:18:00] Kjoonlee: sec [06:18:39] Splarka: my main purpose is to add more IPA characters to my "toolset" [06:19:33] *Lady_Aleena makes IPA characters do a happy dance. Don't ask, she is in a weird mood. [06:19:35] Splarka: and there are about 163 total characters in the IPA.... I won't use them all, but still [06:21:26] hah [06:21:33] 03(mod) It should be possible to enter expiry dates for edit and move protection separately - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12650 (10N/A) [06:25:37] 04(REOPENED) Account cannot be renamed to a global username - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13507 +comment (10JSchulz_4587) [06:33:41] Kjoonlee: here is a simple script, but you'll have to customize it [06:33:46] http://p.defau.lt/?qbcxog8YD9_U_7BQCyuUkg [06:34:40] the first two lines need to be customized, the first is the object id="" property where it should insert the tags (on an edit page), the second is a list of simple tags/characters to insert [06:35:44] Splarka: neat! [06:36:14] not sure what object ID might be available on your wiki in particular [06:36:48] Splarka: is it possible to put them in their own
0 1 2 3 4
so I can style them? [06:36:54]
[06:36:55] hmm [06:37:03] sec [06:37:48] Oops [06:37:59] 0 1 2 3 4 [06:38:29] so.. you want span or div? [06:38:59] *Splarka changes it to span [06:39:01] http://p.defau.lt/?zpz9ldJF95xuTuDjuG5Enw [06:39:16] example style: [06:39:17] #mw-edittools-custom {border:1px solid black;} [06:53:58] Splarka: Yes!! [06:54:10] Splarka: Thank you very much. :) [06:54:36] noprob [07:13:08] hello [07:20:28] 03nikerabbit * r33895 10/trunk/phase3/includes/SpecialPage.php: * Allow grammar etc in summary messages [07:57:46] 03vasilievvv * r33896 10/trunk/phase3/includes/SpecialUserrights.php: Repair Special:Userrights [07:59:42] 03nikerabbit * r33897 10/trunk/extensions/BadImage/ (BadImage.i18n.php BadImage.page.php): Use plural in badimages-count [08:12:59] 03(mod) Support for global groups - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13773 (10vasilvv) [08:38:51] 03(NEW) no text in search results when the match is up to diacritics - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13849 minor; normal; MediaWiki: Search; (catlow) [08:45:03] 03(NEW) Section editing does not list inclusions - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13845 15enhancement; normal; MediaWiki: Page editing; (mike.lifeguard) [08:50:10] 03nikerabbit * r33898 10/trunk/extensions/ (3 files in 2 dirs): [08:50:10] * Delay if possible [08:50:10] * Executable bits not needed [08:53:36] hmm [08:55:12] 14(DUP) Section editing does not list inclusions - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13845 +comment (10herd) [08:55:19] 03(mod) "Templates used on this page" should reflect what's being edited - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=878 +comment (10herd) [08:57:34] 03(mod) Section editing does not list inclusions - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13845 (10herd) [09:01:47] 03(NEW) Wanted: Search previous versions - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13850 15enhancement; normal; MediaWiki: History/Diffs; (micheljull) [09:05:21] *Werdna waves [09:06:19] When I use images on my mediawiki installation, I get the error "Error creating thumbnail" [09:06:19] Any Idea why? [09:06:29] http://lslwiki.0fees.net/wiki/Template:Warning and http://lslwiki.0fees.net/wiki/Image:Warning.svg [09:06:45] well, what is the error? [09:07:23] The error is that the text "Error creating thumbnail:" appears instead of the image [09:07:43] that's kinda annoying [09:07:47] 03minuteelectron * r33899 10/trunk/extensions/Babel/ (Babel.php LanguageCodes.php): (log message trimmed) [09:07:47] WARNING LARGE COMMIT. [09:07:47] * Change instances of 963 in comments to 639 as it should be. [09:07:47] * Introduce function for getting a language code in a favored standard. [09:07:47] * Put parameter type before parameter name in @param function comments. [09:07:49] * Split the language codes array up into two smaller ones. [09:07:51] * Make categories actually work how they are meant to. [09:09:35] 03(mod) Wanted: Search previous versions - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13850 (10N/A) [09:10:25] 03minuteelectron * r33900 10/trunk/extensions/Babel/Babel.php: [09:10:25] * Remove comment I forgot to remove. [09:10:25] * Increment version number from 0.5 to 0.6. [09:25:33] 03(NEW) something's seriously wrong with diffs - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13851 major; normal; MediaWiki: History/Diffs; (catlow) [09:27:38] hmm [09:29:26] isn't there already like 4 other bugs about diffs [09:30:14] Werdna: Any idea what is wrong? [09:30:19] 03(mod) something's seriously wrong with diffs - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13851 (10herd) [09:30:35] brion was debugging it earlier (per that last comment) [09:30:52] 03(mod) something's seriously wrong with diffs - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13851 +comment (10overlordq) [09:32:16] OverlordQ: just because you don't happen to see it doesn't mean it isn't there intermittently [09:32:28] in fact, see the link I added in te comment 35 seconds earlier [09:33:06] yea I meant to add that but I hit enter, and i'm too lazy to comment again and spam wikibugs more [09:33:06] out of 1000 on one diff prone to nonsense, brion found it occured 8 times (.8%) [09:33:10] yeah brion was talking about this earlier [09:33:10] heh [09:33:39] and Tim was talking about it a few days ago, thinking it was the php diff engine responsible, but brion has shown it isn't... [09:33:41] 03minuteelectron * r33901 10/USERINFO/minuteelectron: * No longer have a proper external website, changing URL to MediaWiki.org user page. [09:50:10] 03(mod) Support for global groups - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13773 (10Andrew) [10:03:56] hello [10:04:22] i have just a little bit trouble with mediawiki (latest version) [10:04:28] http://bug.bitbeaver.net/wiki/Hauptseite <--- is the page [10:04:45] if you make a xHTML Validation you get erros [10:05:07] http://validator.w3.org/check?uri=http%3A%2F%2Fbug.bitbeaver.net%2Fwiki%2FHauptseite&charset=%28detect+automatically%29&doctype=Inline&group=0 [10:05:15] but i don't know what that mean [10:06:04] it doesn't matter to you, in all honesty [10:06:11] indeed [10:06:15] you can just ignore it, sooner or later someone will fix it [10:06:20] it means you have the same id="" used twice [10:06:31] and that is a known prob with MediaWiki, it doesn't sanitize against it [10:06:42] (user input is virtually impossible to make valid) [10:07:04] oh ok. [10:07:12] my CSS file is know validate [10:07:26] and that makes me happy [10:07:47] you can get this same prob on virtually any mediawiki install, eg [10:08:00] the problem ist that the most skins for mediawiki looks great under firefox but bad under opera or ie5/6/7 [10:08:12] that isn't a validation prob ^_^ [10:08:28] but wikipedia is xhtml validate [10:08:35] btw: https://bugzilla.wikimedia.org/show_bug.cgi?id=4515 "The Sanitizer doesn't validate the contents of id attributes" [10:08:42] Splarka: you right no validate problem [10:09:35] also: https://bugzilla.wikimedia.org/show_bug.cgi?id=7356 [10:10:02] kGrown: the solution is to use multi-browser friendly styles, which take a lot of work [10:10:39] monobook (default mediawiki skin) has probably hundreds of hours of browser specific compromises and hacks for IE/Opera/Safari/Konqueror/etc/etc [10:10:59] the end result is it looks pretty close in FF3 and IE5 [10:11:32] yes [10:11:38] that is why i use monobook [10:11:53] its simple the best theme [10:16:31] my solution: a-z will rename to "index" [10:16:32] :-) [10:16:33] well, it's had the most rough usage, heh [10:16:36] simple but works *g [10:16:42] *Splarka nods [10:18:35] leese, monobook can be traced back to about March 2004 [10:18:57] in October of 2004 Wikipedia was the #500 website in the world [10:19:16] now it is somewhere between #7 and #9 [10:19:43] so, in the last 4 years then, monobook has got a lot more browser testing than the other skins ^_^ [10:33:02] :-) [10:33:23] is there a guide for good structure of a wikiwebpage? [10:33:48] some use of my side say "it has no structure" [10:34:02] the normal page is: www.adviki.de - it stands for adventure wiki [10:41:19] is it possible to change the $wgLogo on some pages? [10:45:18] kGrown: all pages have an ID [10:45:31] kGrown: you should be able to check for its ID and force a CSS rule [10:46:50] kGrown: body.page-insert_page_id_here logothing { background: url(someotherimage) !important } [10:48:19] I haven't tried it though, so I'm not sure about the details or if it works at all [10:50:25] Kjoonlee: thx will check it now :) [10:54:09] body.page-page_name #p-logo a { background-image: url() !important } [10:54:59] get the page_name from viewing page source..., eg the last class name here: [10:55:08] and in URL put the full URL to the alt logo [10:58:31] just for understanding: you mean body.mediawiki ns-0 ltr page-Hauptseite #p-logo a { background-image: url() [10:58:34] !important } [10:58:48] and by url() for eg. url(http://www.blabla.de/01.gif) [10:58:49] ? [11:00:53] im away come back later :) thanks for all [11:11:15] Is this where one can request activation of wikimedia wiki special pages, or get some help? [11:15:17] kGrown: no, just the last one [11:15:38] body.page-Hauptseite #p-logo a { background-image: url(http://www.blabla.de/01.gif) !important } [11:15:44] 03minuteelectron * r33902 10/trunk/extensions/Babel/Babel.php: Check to ensure the same category is not added to the ParserOuput object twice, this is to avoid fatal errors under some MediaWiki installations. [11:35:55] clear [11:38:57] 03(mod) something's seriously wrong with diffs - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13851 (10catlow) [12:04:56] 03minuteelectron * r33903 10/trunk/extensions/Babel/Babel.php: That didn't help, I overlooked the true cause. Removing bogus fix. [12:14:11] 03minuteelectron * r33904 10/trunk/extensions/Babel/Babel.php: Use wikitext for adding categories instead of Parser::mOuput->addCategory() to avoid fatal errors in some circumstances. [12:33:22] 03minuteelectron * r33905 10/trunk/extensions/Babel/Babel.css: Fix color scheme. [12:48:32] 03siebrand * r33906 10/trunk/extensions/ (4 files in 2 dirs): [12:48:33] * Add support for Babel in Translate [12:48:33] * whitespace fixes, and unused messages removed in Babel [12:59:14] 03minuteelectron * r33907 10/trunk/extensions/Babel/ (Babel.i18n.php Babel.php): [12:59:14] * Remove temporary code that is no longer needed. [12:59:14] * Fix directionality support. [12:59:14] * Remove some unused translations fro the i18n file. [13:00:35] what's a good tool to fix broken links (due to page moves) in the database? [13:20:33] 14(WFM) Edit attempt which forces login, does not retain current page - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13847 +comment (10roan.kattouw) [13:37:12] hi [13:37:21] got a question. [13:37:50] o rly? [13:38:02] how can I upload files in mediawiki? [13:38:05] yeah, really. [13:40:29] !faq [13:40:29] --mwbot-- Before reporting a problem or requesting assistance, please check the FAQ first. The FAQ for MediaWiki can be found at http://www.mediawiki.org/wiki/Manual:FAQ [13:47:06] 14(WFM) Request Category Count feature - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13735 +comment (10roan.kattouw) [13:51:58] hi [13:52:00] http://hu.wikipedia.org/w/index.php?title=Speci%C3%A1lis:Friss_v%C3%A1ltoztat%C3%A1sok&hidemyself=1&hideminor=1&hidebots=0&hideanons=1&hideliu=1 [13:52:08] there is a little problem in the Hungarian Wikipedia [13:52:16] anonymus bot edits :S [13:52:22] wrong wiki [13:52:25] *channel [13:52:48] where should I ask? [13:53:04] #wikimedia-tech or #wikipedia-hu maybe [13:53:11] thank you [13:53:18] anyway, already asked in #wikipedia-hu [14:05:32] *Jack_Phoenix waves to ialex :-) [14:05:40] hey Jack_Phoenix :) [14:05:44] rar [14:09:29] 03catrope * r33908 10/trunk/phase3/ (RELEASE-NOTES includes/api/ApiQueryBlocks.php): API: Fixed handling of usernames containing spaces in list=block [14:10:50] 03(mod) Request Category Count feature - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13735 (10jutiphan) [14:11:28] 03aaron * r33909 10/trunk/phase3/includes/LogPage.php: Add debug log entry [14:12:55] 04(REOPENED) Create prop=categoryinfo - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13735 summary; +comment (10roan.kattouw) [14:21:34] 03(mod) PHP Strict Standards Issues - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13643 +comment (10roan.kattouw) [14:22:10] 03(mod) PHP Strict Standards Issues - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13643 (10roan.kattouw) [14:23:55] *Werdna tickles RoanKattouw [14:24:03] Hi Werdna [14:27:08] apparently, RoanKattouw is not ticklish [14:27:31] *RoanKattouw tickles him back [14:34:11] morning [14:35:42] hello [14:35:53] can someone help me [14:35:56] beter in russian [14:36:03] Heya ! [14:36:29] VasilievVV is Russian but he isn't here now [14:36:41] ALXuMuK, i'll try and help with my limited russian :) [14:37:23] look i have problem http://wiki.romewar.net [14:37:41] try to edit main page and the press the preview [14:38:09] Blank pag [14:38:18] Probably a PHP error, probably the memory limit's too low [14:38:24] and if i'm using russian language as deffault one then wiki shows only blank page [14:38:49] RoanKattouw but if it's in english all is OK... [14:39:03] ALXuMuK: You probably need to raise the memory limit; there's a line in LocalSettings.php that starts with # ini_set , remove the # at the beginning of that line [14:39:06] If not as RoanKattouw said.. did you edit system messages? [14:39:59] RoanKattouw 1 min i'll do it [14:40:38] RoanKattouw no such line in LocalSettings [14:41:06] 03catrope * r33910 10/trunk/phase3/ (RELEASE-NOTES includes/api/ApiResult.php): API: Make ApiResult::setIndexedTagName_recursive() actually work. This fixes bug 13836 [14:41:35] ALXuMuK: In my LocalSettings.php, I have: [14:41:37] # If PHP's memory limit is very low, some operations may fail. [14:41:39] # ini_set( 'memory_limit', '20M' ); [14:41:43] Around line 27 [14:41:54] Are you using 1.6.10 by any chance? [14:42:29] 03(FIXED) internal_api_error_MWException on &iiprop= metadata with ogg files - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13836 +comment (10roan.kattouw) [14:42:58] I'm using 1.12.0 [14:43:22] RoanKattouw i've found this line :) and removed # n front of it [14:43:55] nothing changed :( same blank page [14:44:02] That's weird [14:44:09] Do you have any extensions installed? [14:44:25] RoanKattouw nope [14:44:29] Ok [14:44:35] its a deffault instalation [14:44:48] Like Wiretape said, did you change any interface messages (pages in the MediaWiki: namespace)? [14:44:55] try to edit main page and to delete all lines and write something in english [14:45:05] I know, blank page [14:45:13] 03ialex * r33911 10/trunk/phase3/ (4 files in 3 dirs): (bug 13643) Fixed some PHP Strict Standards errors [14:45:26] nope if it's in English all works fine [14:46:04] ALXuMuK: Try 50M instead of 20M [14:46:05] the main problem is if i Write something In russian them preview it's not workin and also after submit it not redirects me... [14:46:30] Strange, it works for English [14:46:45] Then it's probably not a memory limit issue (although having a high memory limit doesn't hurt) [14:46:46] 03(mod) PHP Strict Standards Issues - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13643 +comment (10alex.emsenhuber) [14:46:59] ALXuMuK: Do you have access to the server's error logs? [14:47:11] 03(FIXED) PHP Strict Standards Issues - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13643 (10alex.emsenhuber) [14:47:20] RoanKattouw changed to 50m same sh#t ((( [14:47:37] Yeah like I said it's probably not the memory limit [14:47:59] Can you check the server's error log? See if there are any entries near the bottom that say PHP error or something similar [14:48:13] RoanKattouw nope but my Support said no errors in it [14:48:40] Hmm try adding ini_set('display_errors', 1); to LocalSettings.php (doesn't matter where) [14:49:08] Then revisit the blank page and see if you do see something (hopefully, you'll see an error message then) [14:49:29] RoanKattouw done added [14:49:47] RoanKattouw no errors ^(( [14:49:49] :(( [14:50:08] Strange [14:50:48] You and I have no secrets, now baby, let me read your mind. [14:50:53] i'm betting this is a rewrite rule error [14:51:08] Wiredtape: Rewrite on a POST request? [14:51:24] It only happens when non-Latin chars are POSTed [14:51:28] ahh.. [14:51:32] didn't see that :) [14:51:59] if rewrite is off same error... [14:52:05] for me it happens no matter what.. [14:52:12] latin\non-latin chars [14:52:29] Wiredtape: Previewing "This is a test" worked for me [14:52:37] http://wiki.romewar.net/%D0%97%D0%B0%D0%B3%D0%BB%D0%B0%D0%B2%D0%BD%D0%B0%D1%8F_%D1%81%D1%82%D1%80%D0%B0%D0%BD%D0%B8%D1%86%D0%B0 [14:52:46] this must be main_page in russian [14:52:51] and it's aso blank [14:52:55] *also [14:53:11] Blank? [14:53:30] try saving latin chars.. brings blank as well [14:53:33] ALXuMuK: It is not blank. [14:53:47] tale press edit [14:53:50] and u'll see [14:54:04] ALXuMuK: OK, Edit window is blank. [14:54:19] tale: Try to edit, add Russian characters and press Preview [14:54:24] You'll get a blank pag [14:54:39] this is may .htaccess [14:54:42] AddType application/x-httpd-php5 php [14:54:42] RewriteEngine On [14:54:42] # anything line which contains a dot (.) without a colon (:) should be left alone [14:54:42] RewriteRule ^[^:]*\. - [L] [14:54:42] # anything line which contains a slash (/\) without a colon (:) should be left alone [14:54:42] RewriteRule ^[^:]*\/ - [L] [14:54:44] # redirect to main page [14:54:46] RewriteRule ^/*$ /index.php?title=Main_Page [L,QSA] [14:54:48] RoanKattouw: , ALXuMuK: i'm getting a blank page on save with english as well [14:54:48] # anything else is to be treated as a title [14:54:50] RewriteRule ^(.+)$ /index.php?title=$1 [L,QSA] [14:55:01] ALXuMuK: Use pastebin for long texts. [14:55:18] ALXuMuK: Like I said before, this probably isn't related to RewriteRules [14:55:35] ALXuMuK: where is index.php located? in /? [14:55:59] ALXuMuK. [14:56:13] Wait... never mind. [14:56:50] 03(NEW) Activate Special:CrossNameSpaceLinks and Special: Wanted Pages on Swedish Wikibooks - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13852 15enhancement; normal; Wikimedia: Language setup; (I.AM.A.HUGFEST) [14:57:28] 03(mod) Activate Special:CrossNameSpaceLinks and Special: Wanted Pages on Swedish Wikibooks - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13852 (10I.AM.A.HUGFEST) [14:58:20] wikibugs of course in / [14:59:56] interesting problem ... [15:00:47] Wiredtape :)) maybe but i'm trying to fix it from 11 am (my time is GMT +2) and now is 6 PM... [15:01:24] i think it's strange there is no error in the php error log, can you double check that with support? [15:01:39] hmm.. maybe your server/conf can't handle the cyrcillic typeset? (though i find that hard to believe) [15:01:51] rainman-sr i've check it 2 minutes ago.... [15:02:05] or anyother typeset for that matter.. [15:02:30] Wiredtape look to http://romewar.ru it in Russian (cyrillic) [15:02:34] could php have some sort of lock on non latin chars? [15:02:38] and works fine [15:03:30] Wiredtape like u see i can add text in russian [15:03:49] the problem is it not shows then i press priview or submit [15:03:52] *rainman-sr summons brion [15:03:54] but the text is added [15:04:34] 03aaron * r33912 10/trunk/extensions/FlaggedRevs/FlaggedRevs.php: Keep this small [15:05:47] ALXuMuK: well.. it has to have something to do with the non-latin chars, since they are the ones causing a blank page to appear... what the problem is, i'm trying to figure out.. [15:07:11] Wiredtape the problem is in mediawiki i'm for shure but i don't understand how to fix it... [15:07:37] Ok, looks like this is known in some way or other: http://www.vbulletin.com/forum/showthread.php?p=1530507 [15:08:17] it has to do with mysql i believe, though i need to read the sticky all the way through... [15:09:23] Hm. [15:09:29] Why does DISPLAYTITLE: not work for me? [15:09:46] svip: more detail [15:09:58] Wiredtape this guy hase problems with SOME letters in Russian and i have with all of them)))) [15:10:12] ALXuMuK: what is your mysql set to? [15:10:16] http://wiki.sviip.dk/Template:Lowercase << on this page, the l in Lowercase should be lowercase, Werdna. [15:10:28] what was the displaytitle tag? [15:10:42] {{DISPLAYTITLE:{{#if:{{NAMESPACE}}|{{NAMESPACE}}:|}}{{lcfirst:{{PAGENAME}}}}}} [15:11:32] is parserfunctions installed? [15:11:39] I guess not. [15:11:42] *svip goes get. [15:15:08] can anybody point me to the documentation for setting up multiple mediawikis with a shared user-table? [15:15:25] ALXuMuK: what is your mysql set to? - ??? what u mean [15:15:45] ALXuMuK: utf8, latin, so on.. ? [15:16:10] the wiki db.. what did you set it to? [15:18:28] Wiredtape UTF-8 Unicode [15:19:17] 03mark * r33913 10/trunk/ubuntu/autoinstall/ (netboot.cfg pmtpa-squid.cfg): Support multiple public vlans [15:20:10] ALXuMuK: if so, i think that's not the problem, though i would try once more with a different type.. [15:21:30] Wiredtape maybe to try windows-1251 ? [15:21:45] one sec.. [15:24:28] try latin1_swedish_ci (i'm suggesting this only because i use this on one of my wiki's and i can write in any char there.. ) [15:27:37] Wiredtape give me link to ur wiki [15:27:57] Wiredtape and what version u a using? [15:27:59] wiredtape.com [15:28:23] maybe something with this version ? i'm using 1.12.0 [15:28:38] nah, i've run 1.13a and 1.12 on this as well [15:29:39] well, how to add custom js and css files with extension? what hook? [15:30:27] Gali, it's not a hook it's a method of $wgOut object (and i think they were addScript and addStyle respectively) [15:30:40] 03catrope * r33914 10/trunk/phase3/ (4 files in 3 dirs): (bug 13735) Added prop=categoryinfo module [15:30:40] thx Wiredtape. [15:30:45] Gali: BeforePageDisplay [15:30:46] Gali, np [15:30:51] !hook BeforePageDisplay [15:30:51] --mwbot-- I don't know anything about "hook". You might try: !hooks [15:31:04] !man Hooks/BeforePageDisplay [15:31:04] --mwbot-- http://www.mediawiki.org/wiki/Manual:Hooks%2FBeforePageDisplay [15:31:11] !man Hooks/BeforePageDisplay | Gali [15:31:11] --mwbot-- Gali: http://www.mediawiki.org/wiki/Manual:Hooks%2FBeforePageDisplay [15:31:22] file not found :) [15:31:53] What the hell... http://www.mediawiki.org/wiki/Manual:Hooks/BeforePageDisplay works [15:32:17] ok thx, i found it yet. [15:33:44] 03mark * r33915 10/trunk/ubuntu/autoinstall/ (netboot.cfg pmtpa-squid.cfg): Also support other clusters with multiple vlans [15:35:12] 03(FIXED) Create prop=categoryinfo - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13735 +comment (10roan.kattouw) [15:40:40] i'm back :) sorry son internet conection problem [15:41:25] np [15:45:16] Wiredtape: are you developer of mediawiki? [15:45:45] 03(mod) Support for global groups - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13773 (10erwin85) [15:48:15] Gali, I don't know :-) i developed extensions for my website, and i help people here, and i've done some commits on other extensions, but i haven't really touched core code.. [15:48:44] other than for my own purposes that is.. [15:48:52] :) [15:49:14] but seems you know good how mediawiki works :) [15:49:39] so you are my guy (for questions ^^) [15:49:49] :) [15:49:58] glad to help if i can .. [16:17:30] 03ialex * r33916 10/trunk/extensions/Configure/ (4 files): Also check that the directory is writable, otherwise people will only get an error when saving changes. [17:22:11] 03(mod) Allow Meta bureaucrats to administer global accounts - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13810 summary (10pathoschild) [17:23:57] 03(mod) Allow Meta bureaucrats to administer global accounts - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13810 (10pathoschild) [17:57:41] 03nikerabbit * r33917 10/trunk/phase3/includes/GlobalFunctions.php: * Print caller if possible in deprecated warnings [18:05:55] 03minuteelectron * r33918 10/trunk/phase3/includes/ (GlobalFunctions.php MessageCache.php): [18:05:55] * Add parameter to MessageCache::get() to allow prevention of using a fallback language (default: false). [18:05:55] * Add option to wfMsgExt() 'nofallback' as an interface to the new parameter added to MessageCache::get(). [18:05:57] hello, is anybody here familiar with the SimpleForms extension? I cannot get it to work correctly on my system. [18:09:17] 03minuteelectron * r33919 10/trunk/extensions/Babel/ (Babel.i18n.php Babel.php): [18:09:17] * Add babel-*-n message series for the translations of the messages with the language name rather than $3. [18:09:17] * Use the message with the language name if possible, if not use the generic one. [18:11:34] Fatal error: Cannot make static method MediaHandler::getShortDesc() non static in class OggHandler in /Library/WebServer/Documents/trunk/extensions/OggHandler/OggHandler_body.php on line 5 [18:11:38] who broke-a my wiki [18:11:44] *brion shakes-a the fist [18:12:14] hmm [18:12:24] ialex fixed a E_STRICT bug but did not update any extensions using it [18:12:39] i think [18:13:01] yeah [18:13:39] The wiki was already broken when I arrived. [18:13:40] is *everything* on MediaHandler supposed to be static? i'm a little vague on how these classes are supposed to be working [18:13:48] *brion stabba [18:15:03] about non-one of these methods use $this [18:15:11] no, i definitely see other things being called non-statically [18:16:55] 03brion * r33920 10/trunk/phase3/ (4 files in 3 dirs): [18:16:55] Revert r33911 for now -- causes fatal error death with OggHandler at least. [18:16:55] Probably needs some cleanup to see which of these are actually supposed to be used statically. [18:17:21] probably only getHandler should actually be static [18:17:21] 03(mod) Gender switch in user preferences - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13040 (10Eugene.Zelenko) [18:18:59] Notice: Use of Image::newFromTitle is deprecated. in /Library/WebServer/Documents/trunk/includes/GlobalFunctions.php on line 2521
[18:19:01] wtf? [18:19:24] that's completely useless error message [18:19:34] it gives the file and line of wfDeprecated() [18:20:30] you can use the backtrace to see wich method called Image::newFromTitle [18:21:34] apparently not [18:21:40] as it's supposed to be doing that and is failing to [18:22:48] 04(REOPENED) PHP Strict Standards Issues - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13643 +comment (10alex.emsenhuber) [18:22:59] for that secure login-all-at-once-thing... if you use that, and then use http instead of https, will you still be logged in everywhere? [18:24:35] 03brion * r33921 10/trunk/extensions/ImageMap/ImageMap_body.php: suppress deprecated warning by using wfFindFile() if available instead of Image::newFromTitle [18:24:57] Mike_lifeguard: use what where when how? [18:25:17] the login-everywhere magic someone did up [18:25:17] no [18:25:19] as of now [18:25:21] if you switch to http from https and you are not logged in on http, you will not be logged in [18:25:23] vice versa the the other way [18:25:26] you mean, on secure.wikimedia.org? no. [18:25:27] only on secure [18:25:29] booerns [18:28:16] brion: r33917 didn't work? [18:28:44] don't knwo what you're talking about [18:29:31] [20:57:41] CIA-50> nikerabbit * r33917 /trunk/phase3/includes/GlobalFunctions.php: * Print caller if possible in deprecated warnings [18:30:07] given that it didn't print the caller, obviously not :) [18:30:47] :< [18:31:42] (c: [18:31:49] bad php [18:33:26] 03nikerabbit * r33922 10/trunk/extensions/Translate/ (6 files): * Allow setting path to mediawiki installation in extensions/CorePath.php [18:39:38] 03minuteelectron * r33923 10/trunk/extensions/Babel/Babel.php: Use wfEmptyMsg() to check for empty message. [18:40:15] Nikerabbit: it might not work if the caller is called by call_user_func_array() [18:42:52] ialex: tough luck [18:43:11] that's not very common I hope [18:45:27] tale: want to translate more? :o [18:49:16] Nikerabbit: but $callers[2]['file'] and $callers[2]['line'] one too deep, even if $callers[2]['function']; is correct [18:50:23] ialex: huh 2 should be correct level [18:50:40] http://translatewiki.net/sandwiki/sanderrors [18:52:41] Nikerabbit: if i put that at the top of Article::view() i get that : User notice: Use of Article::view is deprecated. Called from performAction at /Library/WebServer/Documents/phase3/includes/Wiki.php:59 [18:53:10] and /Library/WebServer/Documents/phase3/includes/Wiki.php:59 calls MediaWiki::performAction, not Article::view() [18:53:46] 0 is wfDeprecated 1 is the function calling wfDeprecated and 2 should be the function calling the deprecated function [18:58:00] but file and line is from where the function was called, not the actual file and line, so to get where "the function calling wfDeprecated" was called, you have to use the level 1 [19:00:23] hmm I see [19:00:29] ialex: want to fix it? [19:01:08] i also have added 2-3 other goodies (like class) [19:01:12] will commit it [19:09:17] 03ialex * r33924 10/trunk/phase3/includes/GlobalFunctions.php: [19:09:17] tweaks for r33917: [19:09:17] * use level 1 to get file and line, this from where the deprecated function was called [19:09:17] * added class if available [19:31:36] 03(NEW) Setup new groups in no.wikibooks and access to Special: Userrights - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=13853 15enhancement; normal; Wikimedia: General/Unknown; (herman) [19:32:02] 03(mod) Setup new groups in no.wikibooks and access to Special: Userrights - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13853 (10herman) [19:55:00] 03aaron * r33925 10/trunk/phase3/includes/LogEventsList.php: suppress too [20:11:38] 03(NEW) Some changing on Ukrainian Wikibooks - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=13854 15enhancement; normal; Wikimedia: Site requests; (Ahonc.ua) [20:12:05] 03(mod) Some changing on Ukrainian Wikibooks - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13854 (10Ahonc.ua) [20:27:08] can someone help me? [20:27:10] with short urls [20:27:35] how short? [20:27:47] my install dir is site.com/mediawiki/ [20:27:57] my short url is doing site.com/mediawiki/Main_Page [20:28:12] I don't want my short url path to be the same as my install dir [20:28:26] my .htaccess is in the mediawiki folder [20:28:38] what is it that I change exactly? [20:28:39] it can't be the same :o [20:28:43] well it is [20:28:58] I'd rather have the fake path be site.com/wiki/Main_Page [20:29:05] not sure what to change tho [20:29:23] $wgArticlePath = "/wiki/$1"; [20:29:33] let me try that [20:29:34] assuming your rewriting works [20:31:13] didn't work [20:31:22] the links all point to site.com/wiki/article [20:31:33] but only the site.com/mediawiki/article will load [20:31:45] bah [20:31:46] The requested URL /wiki/article was not found on this server. [20:31:56] that's because you didn't set up url rewriting [20:32:05] let me paste my .htaccess [20:32:17] RewriteEngine on [20:32:17] RewriteCond %{REQUEST_FILENAME} !-f [20:32:17] RewriteCond %{REQUEST_FILENAME} !-d [20:32:17] RewriteRule ^(.+)$ index.php?title=$1 [L,QSA] [20:32:29] what needs changing? [20:32:37] no idea [20:32:41] have you read http://www.mediawiki.org/wiki/Manual:Short_URL ? [20:32:44] yes [20:32:54] it is confusing though, whatever i try to change always ends up failing [20:33:28] it may be that .htaccess is not read at all [20:33:32] it is read [20:33:38] no worries there [20:36:23] When registering a hook can I have it call a dynamic class? [20:36:31] e.g. $myclass->test() [20:36:36] rather than myclass::test [20:36:39] aka object? [20:36:46] yesa [20:36:52] array( $object, 'function') [20:36:59] usually $this [20:37:18] and function is method of cours [20:37:19] why $this? [20:37:42] MinuteElectron: if you inside the object you are hooking.. [20:37:54] $this is the current object, so if you were inside of the myclass object, you could use $this instead [20:37:58] how can i totally disable cache in mediawiki.. i only found $wgParser->disableCache();.. is it correct? [20:38:06] yeah, i know [20:38:21] Gali: there is about dozen of different caches [20:38:23] but, $wgHooks[ 'hookname' ] = array( $this, 'method' ); wouldn't work [20:38:28] true [20:39:02] Nikerabbit: i need disable everything, cause i am doing extension, and i am not sure if problem causes cache or not. [20:39:22] extensions usually do not require the disabling of the cache [20:39:43] #$wgMainCacheType = CACHE_NONE; [20:39:43] #$wgMessageCacheType = CACHE_NONE; [20:39:43] #$wgParserCacheType = CACHE_NONE; [20:39:50] helps somewhat [20:39:59] Gali: if you're just trying to disable the cache for testing, you can just add something to the URL each page load [20:40:05] of course depends on the extension which caches are relevant [20:40:13] Gali: like just type &random=1 [20:40:16] Sean_Colombo: that's not true [20:40:20] orl? [20:40:22] heh :) [20:40:23] *orly? [20:40:45] that may bybass some proxy but not mediawiki caches [20:41:08] interesting [20:41:11] my appologies! [20:42:00] does anyone know of a way to safely update a template that is used on a few hundred thousand pages without bringing my site to a crawl? [20:42:25] Sean_Colombo: it shouldn't [20:42:35] if I turn the jobRunRate way down, every 10,000 pages or so someone still gets a really slow pageload [20:42:59] Nikerabbit: it's a known issue w/updating popular templates [20:43:16] Nikerabbit: it made my site slow for 2 or 3 days last time [20:43:16] Sean_Colombo: either reduce the number of rows updated or process jobs in a different thread [20:43:36] Nikerabbit: how do you change the number of rows updated? [20:44:13] $wgUpdateRowsPerJob = 500; [20:44:21] $wgUpdateRowsPerQuery = 10; [20:44:31] niiicce! [20:44:32] thanks :) [20:44:35] no idea what the difference between those two [20:45:53] hmm, yeah, the docs don't say anything about taht [20:45:55] *that [20:46:45] i can make the site.com/wiki/Main_Page work [20:46:51] if I put the .htaccess in my public_html [20:47:02] but, the site automatically goes to the wiki after that [20:47:13] not the index.html in the public_html [20:47:21] is there a way to prevent that? [20:47:35] I have a cron job that processes the jobs on my sites [20:47:53] Nikerabbit: yeah, I'll probably do that [20:48:01] Nikerabbit: what is your site? [20:48:14] sevtree: do you have MediaWiki installed in a /wiki directory or right in public_html? [20:48:23] public_html/mediawiki [20:48:29] @hourly php /var/www/w/maintenance/runJobs.php >> ~/betawiki-jobLog 2> /dev/null [20:48:31] one more question Missing argument 2 for GeoWiki::loadExternalFiles() ..and definition is function loadExternalFiles( &$wgOut, &$skin ) { } where problem is? [20:48:49] Sean_Colombo, hey there :-) got your email, thanks. I was wondering if cache.php and extras.php are needed for the proper operation of the extension...extension body file calls them both and the loader file calls extras.php [20:48:57] sevtree: try putting the .htaccess in the /mediawiki directory instead of directly in your public_html [20:49:02] Gali: in the caller probably [20:49:08] Sean_Colombo: that won't work [20:49:08] Jack_Phoenix: Oh, hey :) [20:49:12] it doesn't work [20:49:16] lol [20:49:19] pwned [20:49:27] Nikerabbit: but this function is hook "BeforePageDisplay" [20:49:29] sevtree: could you please paste your .htaccess at http://rafb.net/paste ? [20:49:31] Jack_Phoenix: let me send those your way [20:49:39] (or at least the mediawiki-specific stuff) [20:49:41] cool, thank you very much :-) [20:49:44] Gali: well check the hook documentation [20:49:47] hm [20:50:11] im just using this [20:50:14] http://www.mediawiki.org/wiki/Manual:Short_URL/wiki/Page_title_--_no_root_access [20:50:14] Sean_Colombo: translatewiki.net [20:50:16] i have looked .. but nothing unusual found. [20:50:22] http://www.mediawiki.org/wiki/Manual:Hooks/BeforePageDisplay [20:50:51] only diff is $wgScriptPath = "/w"; is $wgScriptPath = "/mediawiki"; [20:50:53] 03(NEW) texvc fails to parse \omega and \Omega - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13855 minor; normal; MediaWiki: General/Unknown; (mlambia) [20:50:54] Nikerabbit: cool :) [20:51:59] sevtree: remove the very last RewriteRule [20:52:08] k i will try that [20:56:16] Gali: skin was added in 1.13 wich is not yet released [20:56:23] for the hook [20:57:22] that did it [20:57:28] good call Skizzerz [20:57:31] (skin: second parameter) [20:58:04] ialex: yeah.. thx for info.. [20:58:17] ialex: but i can use it with one argument normally.. [20:58:57] Gali: if $skin param isn't used, yes [20:59:12] (it this case it can be removed) [20:59:37] thank . [21:23:25] My wiki is blank; when I go to the /wiki/, it just shows a blank page, nothing there at all, no HTML in view source either. How can I troubleshoot this and find out what's wrong? The directory, from a file standpoint, is still full of all the MediaWiki files and the index.php is still the same, everything is untouched as far as I know. [21:25:00] Ricket, some issue with web server? [21:25:13] i think is not problem of mediawiki.. [21:26:51] Ricket: is your wiki accesible from internet? [21:26:57] Ah, yea it does seem to be server issues. [21:27:08] I'll contact my host's support then. [21:27:13] Yes it is, but it's kinda private :) [21:27:32] so private it is blank? [21:27:43] exactly [21:28:38] Splarka: dont you know function to load laguage specific message from extenstion messages? i forget and cannot find it on web.. [21:28:43] 03(mod) Some changing on Ukrainian Wikibooks - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13854 +comment (10Ahonc.ua) [21:29:24] Gali: in wikicode or php? [21:29:32] in php [21:29:55] wfExtensionMsg or something like that :/ [21:29:56] you mean the various wfMsg*() functions? [21:30:14] yes, thx :).. i wil find it now :) [21:30:30] check GlobalFunctions.php [21:40:16] Hi I am looking at the new wikipedia api and I dont understand the usage of one of the examples [21:40:20] has anybody used it? [21:41:53] hello [21:42:05] is the Special:ExpandTemplates a new feature for 1.13? [21:42:17] it doesn't appear to be in the source for 1.12 [21:42:23] but I might be looking in the wrong place [21:42:35] !e ExpandTemplates | CarlC [21:42:35] --mwbot-- CarlC: http://www.mediawiki.org/wiki/Extension:ExpandTemplates [21:43:05] ah, great, thanks [21:43:30] How do I expand a template [21:43:51] lets say I want to expand the template from the Bill Clinton article [21:43:58] the Infobox:President [21:44:18] I tried this [21:44:20] http://en.wikipedia.org/w/api.php?action=expandtemplates&title=Bill%20Clinton&text={{Template:President}} [21:46:48] This returned something different [21:46:49] http://en.wikipedia.org/w/api.php?action=expandtemplates&title=Bill%20Clinton&text={{Infobox_President}} [21:46:56] but its not right.. [21:47:43] well, what exactly are you trying to do? [21:47:53] are you trying to change wikicode into html? [21:47:58] Yes! [21:48:03] or XML [21:48:06] then use action=parse [21:48:25] http://en.wikipedia.org/w/api.php?action=parse&title=Bill%20Clinton&text={{President}} [21:49:08] that returns, as you'll note, an expanded xml rendering of the wikicode [21:49:16] which in this case is a link to that template name, because that template doesn't exist [21:49:36] http://en.wikipedia.org/w/api.php?action=expandtemplates&title=Bill%20Clinton&text={{President}} does the same thing, but doesn't parse the wikilink, just generates the wikicode, post-template expand [21:49:56] {{missing template}} is the same as [[:Template:missing template]] [21:50:59] citot2: that make sense to ya? ^_^ [21:51:29] Do you have an example of how to expand the actual Bill Clinton infobox_president? [21:51:53] 03(mod) Use listboxes instead of comboboxes for reason in deletion and protection dialogs - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13843 +comment (10dungodung) [21:52:15] http://en.wikipedia.org/w/api.php?action=parse&title=Bill%20Clinton&text={{Infobox_President}} [21:52:22] that one returns some weird stuff [21:52:28] its not even proper xml [21:52:50] hi [21:53:02] is it possible to use NUMBEROFARTICLES for a categorie? [21:53:12] for example [21:53:24] if there are 20 pages in the catagorie monkey [21:53:42] i will a text like "there are [20] artikels about ..." [21:54:34] kGrown: check out dbpedia.org , it provides datasets which can let you do that [21:54:38] Is it possible to copy pages or sections such that the history of the new page shows it originating from the old page? [21:54:52] citot2: you gotta pass all the parameters to it [21:54:53] Splarka: any idea? [21:54:59] action=parse parses wikicode [21:55:03] the title is for {{PAGENAME}} etc [21:55:20] yeah but my example is returning something weird [21:55:23] try this URL http://p.defau.lt/?LxMTyxGFue_uzMAqRAqDSw [21:57:06] CarlC: sorry but this is not what i mean (its my bad english sorry) [21:57:14] one example [21:57:32] there is a article about housebuilding [21:57:54] the guy which created the arcitle is unfished [21:58:04] so he use the categorie "not-finished" [21:58:32] citot2: it is xml, but the returned code is an escaped html string in an xml parameter [21:58:34] and on the helperpage it should be text which say "there are 20 unfinished articles" [21:58:35] Wow sparka that actually worked [21:58:51] yeah I had to render it twice [21:59:02] but it worked great [21:59:10] and if someonlick on "there are 20 unfinished artciles" they come to the categorie [21:59:13] kGrown: {{PAGESINCATEGORY}} [21:59:25] 03(NEW) Greek omicron not available in math notation - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=13856 minor; normal; MediaWiki extensions: texvc; (colin.hall) [21:59:34] just second test that :) [21:59:49] so you have to pass it the complete infobox for it to parse it? [22:00:00] kGrown: is very new, 1.13+ see http://meta.wikimedia.org/wiki/Help:Magic_words#Other_2 [22:00:12] citot2: you have to pass it the wikicode you want parsed [22:00:19] OR the page title [22:00:23] To clarify, this would be more like a 'fork' or a 'branch' of a page... [22:00:35] so you could pass it Bill Clinton, but it would parse the whole page, not just a subset of it [22:00:51] freetree: usually what is done is to use an appropriate edit summary for the first edit [22:01:10] like: forking from [[Page A]] (see that page's history for earlier edits) [22:01:34] alternately, you can export it and re-import it, which would clone the history (but can be problematic sometimes) [22:02:42] citot2: to elaborate, if you passed text={{Infobox_President}} you'd get the same result as if you pasted just {{Infobox_President}} on a page and hit preview [22:02:54] (well, same end result, escaped in the API of course) [22:03:39] Thanks for the info, Splarka [22:03:40] oh i use only 1.12 :-) [22:03:49] no prob freetree [22:03:59] kGrown: you might try DPL then [22:04:04] !dpl [22:04:04] --mwbot-- The DynamicPageList (DPL) extension outputs reports based on criteria given in a special tag. For more information, see and . [22:04:15] Splarka, go request commit access for yourself already ;-) [22:04:16] (although upgrading might be less work than installing and learning that) [22:04:21] yah right [22:04:23] someone's gotta keep the js functional after all [22:04:39] What's the JS to reassign edit page buttons? [22:04:47] reassign in what way? [22:04:49] and which buttons? [22:04:51] To change to . [22:04:54] The top ones. [22:04:58] heh [22:05:07] well, to add them it is mwCustomEditButtons [22:05:16] but to reassign you... can't, because they are hard coded [22:05:25] Can't JS override that? [22:05:29] and if you really really need to, you have to basically use a setTimeout() [22:05:41] since they load after the onload hooks in some browsers [22:05:44] Well, my notes say to simply edit EditPage.php. [22:05:50] yes [22:05:52] hard coded [22:05:59] very very hard coded [22:06:07] But I'd rather have a solution that doesn't require changing the config files. [22:06:12] my suggestion: make the ones you don't want disappear [22:06:30] each button has an ID, just #theID {display:none;} [22:06:37] and readd it with mwCustomEditButtons [22:06:41] Eww. [22:06:45] Sparka: ok If I wanted to parse the information on all the different templates in wikipedia, to get the information in a computer readable format what do you recommend? I am trying to teach a "robot" in our lab about all the information in wikipedia, so at first i want to try to teach it from the templates and then from the text... http://start.csail.mit.edu (access to the robot) [22:07:26] MZMcBride: is this for your personal use, or an install of which you have control over? [22:07:40] Yes. [22:07:42] ... [22:07:44] which? [22:07:54] Oh, for a personal install. [22:08:02] then edit EditPage.php ^_^ [22:08:11] I don't like config hacks. [22:08:16] citot2: well, the problem, with that is... [22:08:19] It's the last one I have. [22:08:23] most templates, like infoboxes, do not contain information [22:08:23] 03(mod) wikibits.js fix Formating of buttons - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13837 (10danny_b) [22:08:32] 03(mod) JavaScript (tracking) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=2114 (10danny_b) [22:08:35] the information is stored in the call to the template [22:08:41] Hrm... [22:08:46] like on Bill Clinton, you view the page source [22:08:55] the infobox itself simply formats that information [22:09:04] 03(mod) Use listboxes instead of comboboxes for reason in deletion and protection dialogs - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13843 (10semenik) [22:09:36] yeah, so is there any recommendation, or should I parse it to HTML and then build something to extract the info from there? [22:10:06] Splarka: The Toolserver's grep.php can do any namespace now, by the way. [22:10:35] MZM: I saw that it was about to, but was impatient ^_^ [22:10:59] Heh. [22:11:02] 03(mod) Broken link option is confusing in preferences - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=5366 (10alerante) [22:11:09] citot2: not sure I follow your goals [22:11:24] MZMcBride: http://en.wikipedia.org/wiki/User_talk:GregManninLB#Grep [22:12:07] Greg was asking me for a user script to search for category titles, I said that'd be silly and he should talk to the guy who wrote that grep, and he did... [22:12:39] i think what citot2 wants is a way to easily extract key/value pairs from infoboxes and similar [22:12:59] if you look at an infobox, like the one of bill clinton... I want to get tuples, like [22:13:07] yes, what Carl C said [22:13:45] 03(mod) The Sanitizer doesn't validate the contents of id attributes - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=4515 (10danny_b) [22:14:30] So I could parse the HTML until I get it in that format [22:15:15] but is there a better way? [22:15:44] hmm [22:16:08] citot2: the expand templates page? http://www.mediawiki.org/wiki/Extension:ExpandTemplates [22:16:08] well, if you wanna teach it about templates you'd basically have to download dumps of them all and then duplicate the parser [22:16:23] CarlC: that's where he started, heh [22:16:25] oh [22:16:27] :) [22:16:39] but yes, the api expandtemplates call you were using, citot2, had the same prob as action=parse [22:16:44] you have to pass it the parameters [22:17:01] Yeah I am going to try to evade redoing the wiki parser like the plague [22:17:50] someone is making an ANTLR grammar for wiki markup, i don't know if that would be useful at all [22:17:51] i will test this thx [22:18:18] well I can download the data, and then when I need to parse it I can use the API [22:18:38] http://www.mediawiki.org/wiki/Markup_spec/ANTLR [22:21:39] or freebase: http://download.freebase.com/ [22:24:37] Thanks CarlC! [22:30:01] 03(mod) Use listboxes instead of comboboxes for reason in deletion and protection dialogs - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13843 +comment (10dan_the_man) [22:46:00] 03(mod) Use listboxes instead of comboboxes for reason in deletion and protection dialogs - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13843 (10herd) [22:48:57] Splarka: the js snippet you left at at https://bugzilla.wikimedia.org/show_bug.cgi?id=13843#c4 -- will that work as-is? [22:49:06] wfm [22:49:27] are you gonna close that bug just because I closed yours? ^_^ [22:49:31] *Mike_lifeguard thought that was rather short... :\ [22:49:45] that's what all the girls say [22:49:54] eh? no, I think it should be done, and not with js [22:49:59] *Mike_lifeguard wouldn't know :P [22:50:01] *Charitwo bops Splarka [22:50:04] ow [22:50:42] anyway, yes, on any action=delete or action=protect it looks for all dropdown boxes and changes them to list boxes [22:51:04] though in practice, that just means it is taller and not scrolling (unless there are more than 10) [22:51:26] it should fail gracefully on any platform, because if there are no select elements, it simply won't iterate [22:51:44] so why would you want that again? [22:51:59] they want it so as to save one click, apparently [22:52:11] doesn't save scrolling... [22:52:31] but meh [22:52:34] can it be taller (ie as tall as it needs to be)? [22:52:45] *Splarka wonders if Skizzerz can read ^_^ [22:52:52] -> and not scrolling (unless there are more than 10) [22:52:58] -> save one click [22:53:19] on a regular dropdown, lets say with ~10 elements, you have to click, then select [22:53:21] right, so instead of a value of "10" can it be a value of "however many there are"? [22:53:21] I meant the normal page scrolling [22:53:22] on this, just select [22:53:31] it shoves down the confirm button :) [22:53:33] on one with more than ~10, you have to click, SCROLL, then select [22:53:42] with this, just SCROLL and select ^_^ [22:53:46] heh [22:53:51] mike: yes [22:53:58] in fact [22:54:07] that "however many there are" could be done in JS too [22:54:12] can you guess how? ^_^ [22:54:30] *Splarka bops Skizzerz just because [22:54:31] 10->i ? [22:54:37] aww :'( [22:54:57] heh [22:54:59] no [22:56:34] var Splarka = new User('Splarka'); if(Splarka.isMean) { irc.command('#mediawiki', 'me bops Splarka for being mean'); } [22:56:56] :P [22:57:03] kind of a redundant check [22:57:07] if(water == 'wet') [22:57:11] lol [22:57:29] if ($water == 'wet') { [22:57:37] echo "thanks captain obvious!"; [22:57:42] } else { [22:57:47] echo "wtf" [22:57:48] } [22:57:50] :) [22:58:06] PHP FATAL ERROR: Unexpected '}' on line 5 [22:58:29] Splarka: let me in on teh sekrit plz? [22:58:44] show me the secret handhsake [22:59:04] *Mike_lifeguard bops Splarka [22:59:11] ow! hey, who told [22:59:30] *Skizzerz bops Splarka -- it was obviously Charitwo [22:59:56] i increments, but then how do you get whatever the max value is? [22:59:59] O_o [23:00:06] for(var i=0;i sel.length is the length of the object array of all