User talk:Nad
From MediaWiki.org
[edit] Mediawiki skin (from helpdesk)
I'm looking for someone who could adapt an existing skin to a mediawiki. I've tried asking on IRC and on the mailing-list, without any success. Is there any other way of getting in touch with someone who could do it? —82.242.73.180 17:30, 8 October 2007 (UTC)
- I do a fair bit of skinning, but I'd need to know the specifics before I could give you a quote --Nad 21:13, 8 October 2007 (UTC)
- Nad, I've tried emailing you through your website; if the message doesn't get to you, you can email me at xavier@flouzo.net, I'll give you the details. —82.242.73.180 15:47, 11 October 2007 (UTC)
[edit] Thanks
Thank you for your reply to my question at the support desk.
Thibgc 06:08, 19 October 2007 (UTC)
[edit] Thank you
Hi,
Thank you for your reply to my question at the support desk : to remove "edit" at the right of each section.
@+
Epheméride
[edit] Big security hole in Simple Security extension
Hi, Nad, I find other user can edit the page which they should not edit this way:
1. go to "History" of the article
2. compare one record with another previous record
3. on the comparision page, the record on the left, click "Edit"
4. Alough there are some prompt information said you can not edit it, but actually the user can still edit it in the edit area, even change the Simple Security script!
Note: on the comparision page, the record on the right, the user can not edit it.
- What version of SimpleForms and LocalSettings? When I access the history of a restricted article it gives the message:
Sorry, action not permitted! Your user rights do not permit the view action to be performed on this article.
- If I use another browser (logged on) to obtain the url in 3 that you suggest it still provides a restriction message --Zven 17:18, 18 November 2007 (UTC)
- Do you mean you can not access the "History" section at all? Sorry, how can I check the version of SimpleForms and LocalSettings? I tested it on my two different wiki version website, 1.10.1 and 1.11.0, unfortunately, this problem happened on both of them. --Italways 20:59, 18 November 2007 (UTC)
-
- Thats right, on http://www.organicdesign.co.nz I cannot access the history of a restricted article unless I have the required permission I am logged in. You can check your extension version through your Special:Version. Your LocalSettings.php file should have the settings you added from the installation instructions on Extension:Simple Security --Zven 00:33, 19 November 2007 (UTC)
-
-
- my Simple Security is version 3.4.8, 2007-10-09. I did not use Simple Form, that is why I wonder how to check Simple Form version.what the exact meaning of "restricted" you mentioned? On my site, I use {{#security:edit|user1}} on a page, that means only user1 can edit it, and it works if other user (e.g. User2) click "Edit" and try to edit it, it will prompt that it can not be edited, but if User2 go to History (on my website,every user can see page History, I try to use {{#security:History|user1}} to restrict it, but it does not work), he ca can hack and edit this page using the above way I described. --Italways 15:22, 19 November 2007 (UTC)
-
-
- I'm not going to support or develop this version anymore, it's too legacy to continue with. You'll need to wait for version 4. --Nad 19:06, 18 November 2007 (UTC)
[edit] PdfBook
Hi, Nad.. Thanks for PDF_Book. Hope this is the place to ask questions. Why does a generated pdf book show question marks "?" instead of an apostrophe " ' " in non English doc (i.e. French) ? Is there a place where I could find a more detailed help for using Doc_Book (I read already the help page)...I still did not manage using it without the [[Category]] tag. Thanks for help.
[edit] CSS and cite.php
[edit] Thank you!
Thank you for your reply on the Support Desk. Unfortunately your solution didn't work. Could you please look at it again? See here and also here. —99.236.141.81 05:25, 15 December 2007 (UTC)
- Never mind. I found a way to do it. Probably not the best way, but at least it works. —99.236.141.81 17:41, 20 December 2007 (UTC)
[edit] Support team
Hello, we are assembling a MedaiWiki Support Team and wonder if you would like to join. This is so that we can provide optimum support to MediaWiki users. With this we can discuss issues, threads, etc. -PatPeter, MedaiWiki Support Team 03:26, 16 December 2007 (UTC)
[edit] CurrentUsers, Treeview4 cannot work fine with Extension:PHPBB/Users Integration
Nad Thank you, It's work and I've filed the information to the Extension talk:Tree view for others' reference. --Roc michael 06:49, 29 December 2007 (UTC)
[edit] Hi again
Though I have made a series of excellent contributions to the Support desk I still have trouble finding my way around the site, so I figured I'd ask you. Is there a place to suggest new ideas for MediaWiki? -PatPeter, MediaWiki Support Team 18:01, 9 January 2008 (UTC)
- I'm not sure of a local page about that, normally feature requests are submitted to wikimedia bugzilla since that's an active workflow in use by the developers. --Nad 19:40, 9 January 2008 (UTC)
- As for the signature I was about to announce it to all the Support team members, I sort of had it it the "beta" stages until I could get a good color (and now image). I'm going to think about it for a day and then make it official. -PatPeter,
MediaWiki Support Team 22:03, 9 January 2008 (UTC) - Alright I don't think the sig can get much better than this: Project:Support_desk/Support_team#Official_Sig so feel free to add it to your own signature. Also as a suggestion a quick link to your talk page is also good for sigs. -PatPeter,
MediaWiki Support Team 14:29, 10 January 2008 (UTC)
[edit] Can you help me some more?
Thank you for your help here.
The parser functions are great, thank you for pointing me in their direction.
But, that code you gave me to add an edit message to the site message adds the MediaWiki message successfully, but twice. It repeats. The other day it repeated it three times. Do you have any idea what could be causing this?
(On a side note, is it possible to make a function that "hooks" a message into something, not the sitemessage, that appears below the title of the editing page? As in, when you edit a MediaWiki file, it says, below the title, "Warning: You are editing a page which is used to provide interface text for the software." Is it possible to have my new MediaWiki Message apear in that area, instead of the sitemessage which is above the title?
This request is less urgent, of course, than the bare essential of getting it to work in the first place.)
Thank you for you assistance so far, and thank you for any further help. Smaug 02:57, 28 January 2008 (UTC)
- That's not usual for the site-notice to be above the title - what skin are you using? Also it's not usual for the OutputPageBeforeHTML hook to be called more than once, but a patch to the code would fix that problem as follows:
$wgHooks['OutputPageBeforeHTML'][] = 'wfAddEditMessage'; function wfAddEditMessage(&$out) { static $done = 0; if ($done++) return true; global $action,$wgSiteNotice; if ($action == 'edit') $wgSiteNotice .= '{{MediaWiki:EditMessage}}'; return true; }
- If you want more control, you could add some code into the skin script which renders an article at whatever position you like using the following code (this code renders the article called MediaWiki:MyMessage),
global $wgUser,$wgTitle,$wgParser; $msg = new Article(Title::newFromText('MyMessage',NS_MEDIAWIKI)); if (is_object($wgParser)) { $psr = $wgParser; $opt = $wgParser->mOptions; } else { $psr = new Parser; $opt = NULL; } if (!is_object($opt)) $opt = ParserOptions::newFromUser($wgUser); echo $psr->parse($msg->fetchContent(),$wgTitle,$opt,true,true)->getText();
- --Nad 06:39, 28 January 2008 (UTC)
- It seems to be working. Thanks for the help! Smaug 00:53, 1 February 2008 (UTC)
[edit] Still need help.
Click here please. --The TattleTale Strangler 17:38, 3 February 2008 (UTC)
[edit] Extension:TransformChanges
Hi! I left a comment here, explaining some edits I did on your TransformChanges extension, regarding the preg_replace_callback() problem.
Let me know what you think !
--Fish1203 23:38, 6 February 2008 (UTC)
[edit] Extension:NewUserMessage
Hi Nad. Extension:NewUserMessage is sweet. I have added it to the MediaWiki subversion repository. From what I see, there may be many more extensions that are worth adding to the repository. Why don't you try and get hold of brion on the Freenode IRC channel #mediawiki and ask him if you can get subversion access as an extension committer? Cheers! Siebrand 23:01, 10 February 2008 (UTC)
- Oh, I am planning on using it very soon on betawiki:. Cheers! Siebrand 23:03, 10 February 2008 (UTC)
- Thanks for adding that, I've recently got commit access because I want to make Extension:MediaWikiLite into part of the main codebase, also I'll eventually get MSSQL support done too :-) --Nad 02:49, 11 February 2008 (UTC)
- Excellent. Then you now know that people may be waiting for your extensions. Once of the advantages of having them in the MediaWiki svn is that, providing they have i18n features and a proper implementation, they will be added to the supported extensions in extension Translate, which gives much better localisation of the extension. Anyway, looking forward to your contributions. Cheers! Siebrand 14:36, 11 February 2008 (UTC)
- Made some heavy changes today. Check them out. It is close to being used on Wikimedia Commons, and nds.wp. Cheers! Siebrand 19:42, 7 August 2008 (UTC)
- Jeeperz I hardly recognise it! I noticed it was still on LGPL from before it was moved into svn, I changed it to GPL so its the same as all the other MW code. --Nad 21:02, 7 August 2008 (UTC)
- Made some heavy changes today. Check them out. It is close to being used on Wikimedia Commons, and nds.wp. Cheers! Siebrand 19:42, 7 August 2008 (UTC)
- Excellent. Then you now know that people may be waiting for your extensions. Once of the advantages of having them in the MediaWiki svn is that, providing they have i18n features and a proper implementation, they will be added to the supported extensions in extension Translate, which gives much better localisation of the extension. Anyway, looking forward to your contributions. Cheers! Siebrand 14:36, 11 February 2008 (UTC)
- Thanks for adding that, I've recently got commit access because I want to make Extension:MediaWikiLite into part of the main codebase, also I'll eventually get MSSQL support done too :-) --Nad 02:49, 11 February 2008 (UTC)
[edit] LocalSettings issue from helpdesk
Here is the phpinfo page from the helpdesk issue regarding installing on Tomcat environment. Any help is greatly appreciated!
- Your PHP info shows that the java-servlet environment is not populating the PHP $_SERVER array with the CGI variables. There may be a tomcat config setting allowing it to work that way, but I can't help you with that. Have a look at OrganicDesign:files/info.php, the CGI variables are in the section called "Apache Environment" and MediaWiki requires those be in the $_SERVER array at runtime. If they're not present as in your case, then it means that your PHP is configured to run in command-line context not web-server context. --Nad 09:12, 15 February 2008 (UTC)
[edit] XmlOutput Extension
Hello! It looks like you were developing the XmlOutput extension. It sounds really sweet, and I was wondering if you had any sort of timeline for adding the additional support for other xslt output methods (like text or html)? Thanks! Kristen 65.42.26.190 13:49, 20 February 2008 (UTC)
[edit] Unblock
Hello Nad, you know how large of a contributor I am here at this wiki. I was in my opinion unjustly blocked from Wikipedia. If you could put a word in at wikipedia:User talk:PatPeter, I would be grateful. -PatPeter,
MediaWiki Support Team 17:00, 24 February 2008 (UTC)
[edit] Extension:NewUserMessage is subst?
hello Nad.
I want subst possibility to do template in Extension:NewUserMessage as follows.
{{subst:MediaWiki:NewUserMessage}}
With the above I'm sorry if there is the place where a meaning is incomprehensible. Because English was not possible, I did machine translation of this sentence. --Mzm5zbC3 21:20, 20 March 2008 (UTC)
[edit] Help: Simpleform Email
Hello,
Can you please help me? Can you add your reaction on the discussion page here. Thanks!
--Cobra 20:01, 8 May 2008 (UTC)
[edit] Maybe a good alternative to CurrentUsers extension
Hi Nad, a virtual friend is developing a great extension (Ajaxwhosonline) http://www.gizmogarden.com/index.php/Ajax_whos_online that show who is reading the wiki in realtime. As i can see you develop CurrentUsers so i thought you could like (Ajaxwhosonline) and maybe help in development. What do you think?
- And PublicRevision extension? Any news?
- Thanks, I'll keep an eye on it and if it works well I'll replace the CurrentUsers extension with it. I don't have time to help in development as I have too much on even too make much progress with my own extensions (such as PublicRevision - sorry no progress). I've done a lot of AJAX in MediaWiki though and would be happy to answer any questions they may have, either here or on OrganicDesign:User talk:Nad. You may be interested in a similar one to CurrentUsers called Extension:CurrentPages. --Nad 03:31, 27 May 2008 (UTC)
- A couple of useful features in an online user list are, grouping all IP's into a single "guests" entry so that only logged in users names are shown individually (as there can be hundreds of anonymous visitors making the list too long). Also being able to detect and filter/group bots is a good feature. --Nad 03:39, 27 May 2008 (UTC)
- Thanks, I'll keep an eye on it and if it works well I'll replace the CurrentUsers extension with it. I don't have time to help in development as I have too much on even too make much progress with my own extensions (such as PublicRevision - sorry no progress). I've done a lot of AJAX in MediaWiki though and would be happy to answer any questions they may have, either here or on OrganicDesign:User talk:Nad. You may be interested in a similar one to CurrentUsers called Extension:CurrentPages. --Nad 03:31, 27 May 2008 (UTC)
- Hi Nad the current version has some bugs, but a new version will be released soon fixing many bugs and adding option to private chat between users. I don't agree grouping all IP's into a single entry. I think could have an option to show 3 lines and with option to expand the list to see all users. I'm happy you liked it and I hope you use it on your site (wait for the new version). Thanks.
- For me to use it on our site I'd need to allow the anonymous users to be grouped because I don't want a list of sometimes over a thousand IP's in the page - large traffic sites would be even worse. You have to design things in a scalable way. --Nad 21:08, 27 May 2008 (UTC)
[edit] Loophole found
Nad, I found a serious loophole in one of your extensions. Since I don't want to set anyone on its trail, I will not mention the particular extension here. I tried to contact you, but you have chosen not to receive email. Please contact me about this issue via the mediawiki email interface. Regards, Lexw 14:11, 29 May 2008 (UTC)
- You can email me at Special:EmailUser/Nad --Nad 21:48, 29 May 2008 (UTC)
[edit] Respect class="noprint" ?
Can PdfBook be directed to respect: class="noprint" ?
- To any watchers of this item: I had posted a "Request for bid" at http://www.rentacoder.com. This has offer has now expired, but if anybody is interested in looking at this, or would like to discuss further, please visit http://www.afswiki.org and contact the syadmins there. Thanks!! --Jeff.
[edit] vindemi.com
Hi, I just saw that you are one of the people who offers support. Can you help me with how to install extensions? Every article on mediawiki I read I honestly dont get. My site is hosted by hostmonster.com and I just made it today. Its called vindemi.com Thanks --Vindemi 01:57, 28 July 2008 (UTC)
- You'll need to tell me what you're trying to install and what's going wrong for me to be able to help. I see your wiki is a very old version which is likely to give you unnecessary trouble, you're running PHP5 which means there's no reason you can't run the latest version of MediaWiki instead of 1.6 which people usually only run if they're forced o use PHP4. --Nad 02:46, 28 July 2008 (UTC)
- Thanks I fixed the extension problem this way. But I have Two other questions: How do I change the maximum file upload size and Why the it say "Page" instead of "Article" on the top?--Vindemi 21:38, 29 July 2008 (UTC)
- They changed the name from article to page in 1.12, it can be set from the MediaWiki:Nstab-main article, but for such settings to take effect you must also set $wgUseDatabaseMessages to "true" in your LocalSettings.php file. The maximum file upload size is part of the PHP environment so you'll need to adjust you php.ini file. Where that file is depends on your server and how you can make changes to it depends on what kind of access your host has given you. You could try forcing the setting from you LocalSettings.php by adding for example,
- Thanks I fixed the extension problem this way. But I have Two other questions: How do I change the maximum file upload size and Why the it say "Page" instead of "Article" on the top?--Vindemi 21:38, 29 July 2008 (UTC)
ini_set('upload_max_filesize','32M');
-
-
- add it near the top where you'll find another ini_set statement for memory, but I fear it may not work adding it in there for file uploads since they occur in a separate request, and so a permanent setting from the php.ini file may be necessary. --Nad 09:59, 30 July 2008 (UTC)
-
Thank you so much. It worked. Just one more question though: I need help installing Advertisements on the sides (Out of the actual editing spot) of my wiki. I know you have to edit either monobook.php or monobook.css but I am not sure/I dont know which one and where exactly in the file to imput the code. And which code do I use; the one that google adsense generates? Thanks --Vindemi 03:49, 1 August 2008 (UTC)
- No problem :) see Manual:Interface/Sidebar#Allow wiki markup (PHP) for how to add wikitext content into the sidebar. --Nad 04:11, 1 August 2008 (UTC)
[edit] Help PdfBook Problem
Nad or support,
I installed PdfBook per the documentation. We running mediawiki 1.7.1, PHP 5.0.3, MYSQL 4.1.1.0a on Suse 10.2 and apache2
I am getting error in apache error_log when I try and run the pdfbook on a category
http://Docserver/mywiki/index.php?Title=Category:Installation&action=pdfbook
The following is from the apache error_log:
[client 127.0.0.2] PHP Fatal error: Call to undefined method Parser::preprocess() in /usr/local/data/www/mywiki/extensions/PdfBook/PdfBook.php on line 94
Following is from the PdfBook.php:
75 # Select articles from members if a category or links in content if not
76 $articles = array();
77 $title = $article->getTitle();
78 $opt = ParserOptions::newFromUser($wgUser);
79 if ($title->getNamespace() == NS_CATEGORY) {
80 $db = &wfGetDB(DB_SLAVE);
81 $cat = $db->addQuotes($title->getDBkey());
82 $result = $db->select(
83 'categorylinks',
84 'cl_from',
85 "cl_to = $cat",
86 'PdfBook',
87 array('ORDER BY' => 'cl_sortkey')
88 --Ajt 17:52, 7 August 2008 (UTC) );
89 if ($result instanceof ResultWrapper) $result = $result->result;
90 while ($row = $db->fetchRow($result)) $articles[] = Title::newFromID($row[0]);
91 }
92 else {
93 $text = $article->fetchContent();
94 $text = $wgParser->preprocess($text,$title,$opt);
95 if (preg_match_all('/^\\*\\s*\\[{2}\\s*([^\\|\\]]+)\\s*.*?\\]{2}/m',$text,$links))
96 foreach ($links[1] as $link) $articles[] = Title::newFromText($link);
97 }
I looked at the Parser.php in /usr/local/data/www/mywiki/include and found that it did not have a function preprocess
Parser.php is default from mediawiki.
Where do I get the Parser.php that has the necessary function that PdfBook uses and How do I install it?
JARHSUTC
[edit] Quick Question
Hey there. I was wondering if you had any time or desire to do some paid extension development work. Please let me know and I can email some details. I appreciate it. --Ajt 17:52, 7 August 2008 (UTC)
[edit] Thanks for the bug fix and extra feature
Nad, thanks for the bug fix and extra feature you added to RSS Reader. I greatly appreciate it, if you want I can add you (or you can add yourself :P) to the author(s) list. I have not had time to work on MediaWiki related projects, but hopefully I will have more time after the end of this month to maybe push RSS Reader out of beta (there are a couple of extra features I want to add first and test everything as best as I can on the latest MediaWiki). If you are interested in seeing any specific features (or want to contribute in otherways) contact me on my talk page. I have not been keeping with the community too well lately, so most comments on the extension talk page haven't been read by me :(. Cheers --DFRussia 01:17, 17 August 2008 (UTC)
[edit] Image:Voodoo-programming.svg
Hello Nad, do you still need this image? --:bdk: 00:37, 23 August 2008 (UTC)
- No may as well nuke it --Nad 11:03, 23 August 2008 (UTC)
- Thanks for the quick reply, it's gone now ;-) --:bdk:
[edit] i18n issue with CategoryWatch
From my commit message in r40404: "i18n issue: 'categorywatch-emailbody' is a lego style message. For localisation in many languages other than English this contruction does not allow for proper localisation. Best drop 'This message is to notify you that at $3 user $4 $5.' and incorporate it into 'categorywatch-cat*' leading to something like "This message is to notify you that at $time user $username removed $objectlink from category $catname" for 'categorywatch-catsub'.". Cheers! Siebrand 21:06, 4 September 2008 (UTC)
- Ping? :) Siebrand 21:22, 6 September 2008 (UTC)
[edit] RecordAdmin extension
Please also see comments on Special:Code/MediaWiki/42754. Cheers! Siebrand 21:05, 29 October 2008 (UTC)
- They'll get improved eventually but I've just adding the things we're using on our own wiki's which we're finding very useful and are happy to share them. I'm often too busy to address these issues in a timely fashion, but feel free to fix up or remove anything you find inappropriate. --Nad 23:50, 29 October 2008 (UTC)
- Thanks a lot for fixing it up :-) Sorry for creating extra work, I'll try and keep my stuff tidy from the start in future... --Nad 09:45, 4 November 2008 (UTC)
- Extension:RecordAdmin is direly in need of documentation. Grondin and I have done the work on it, but I for one have no clue what this extension is supposed to accomplish. Documentation will definitely help. Cheers! Siebrand 22:44, 8 November 2008 (UTC)
- I'm working on the documentation, and have a working version at OrganicDesign:Special:RecordAdmin/Member which I'll take screenshots from to include in the doc page. --Nad 23:09, 10 November 2008 (UTC)
- Extension:RecordAdmin is direly in need of documentation. Grondin and I have done the work on it, but I for one have no clue what this extension is supposed to accomplish. Documentation will definitely help. Cheers! Siebrand 22:44, 8 November 2008 (UTC)
- Thanks a lot for fixing it up :-) Sorry for creating extra work, I'll try and keep my stuff tidy from the start in future... --Nad 09:45, 4 November 2008 (UTC)
[edit] WikiChat Adminfunctions
Hey Nad, I cant contact Firebreather, now i saw you added much comments and information there. I have an question: I have installed WikiChat perfect, but when i am in the chat and want to kick someone as an sysop, it dont work. It says i dont have permissions for that; You are not allowed to run this command. I dont get it, do i have to install something, edit something in an .php file? Or is there some page i can edit these features? Thanks! --Cobra 16:17, 6 October 2008 (UTC)
- You could try him on skype, his id is firebreather5 --Nad 05:15, 7 October 2008 (UTC)
[edit] Need clue about Pdf Book Extension
I have created a list of pages in
http://cfcl.com/smi_xmw/mediawiki-1.13.1/index.php/PrF_UG_book_list_1
The list looks like:
* PrF_UG_intro * PrF_UG_intro_using_help * PrF_UG_intro_what_is_protege ...
The links display and work properly. Also, If I navigate to:
http://cfcl.com/smi_xmw/mediawiki-1.13.1/index.php?title=PrF_UG_book_list_1&action=pdfbook
A PDF file gets created. However, it is empty (!). Help?
RichMorin (rdm at the site in question)
[edit] PDF Book Sources unavailable
When trying to look at the Pdf Book Sources e.g. http://www.mediawiki.org/wiki/Special:ExtensionDistributor/PdfBook I get nothing. Is that a temporary issue? Where can I find what I need to install to make Pdf Book work?
You can reach me on Klaus.Neutze@sun.com
Thanks Klaus
- I have no idea why that link doesn't work, but you can get it direct from the SVN link http://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/PdfBook/PdfBook.php --Nad 20:03, 1 January 2009 (UTC)

