User talk:Nad
Add topicMediawiki skin (from helpdesk)
[edit]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)
Thanks
[edit]Thank you for your reply to my question at the support desk.
Thibgc 06:08, 19 October 2007 (UTC)
Thank you
[edit]Hi,
Thank you for your reply to my question at the support desk : to remove "edit" at the right of each section.
@+
Epheméride
Big security hole in Simple Security extension
[edit]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)
PdfBook
[edit]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.
CSS and cite.php
[edit]Thank you!
[edit]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)
Support team
[edit]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)
CurrentUsers, Treeview4 cannot work fine with Extension:PHPBB/Users Integration
[edit]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)
Hi again
[edit]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)
Can you help me some more?
[edit]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)
Still need help.
[edit]Click here please. --The TattleTale Strangler 17:38, 3 February 2008 (UTC)
Extension:TransformChanges
[edit]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)
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)
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)
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)
Unblock
[edit]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)
Extension:NewUserMessage is subst?
[edit]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)
Help: Simpleform Email
[edit]Hello,
Can you please help me? Can you add your reaction on the discussion page here. Thanks!
--Cobra 20:01, 8 May 2008 (UTC)
Maybe a good alternative to CurrentUsers extension
[edit]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)
Loophole found
[edit]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)
- Done. Lexw 07:42, 30 May 2008 (UTC)
- Thanks, problem should be fixed :-) --Nad 10:50, 30 May 2008 (UTC)
- Done. Lexw 07:42, 30 May 2008 (UTC)
Respect class="noprint" ?
[edit]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.
vindemi.com
[edit]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)
Help PdfBook Problem
[edit]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
Quick Question
[edit]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)
Thanks for the bug fix and extra feature
[edit]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)
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:
i18n issue with CategoryWatch
[edit]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)
- Sorry I've been a bit busy but will get back on to this one soon - feel free to make any adjustments in the mean time if you like :-) --Nad 22:06, 6 September 2008 (UTC)
- Above my head. Would have done that if I could. Siebrand 08:58, 7 September 2008 (UTC)
- Ping again.
- Above my head. Would have done that if I could. Siebrand 08:58, 7 September 2008 (UTC)
- Sorry I've been a bit busy but will get back on to this one soon - feel free to make any adjustments in the mean time if you like :-) --Nad 22:06, 6 September 2008 (UTC)
RecordAdmin extension
[edit]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)
WikiChat Adminfunctions
[edit]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)
- I dont have skype and i dont have an microfoon, is there another emailadress i can get of him? --Cobra 18:55, 8 October 2008 (UTC)
- try jct00 at ihug dot co dot nz --Nad 19:47, 9 October 2008 (UTC)
- Done, he doesnt react. :( --Cobra 18:35, 2 November 2008 (UTC)
- try jct00 at ihug dot co dot nz --Nad 19:47, 9 October 2008 (UTC)
- I dont have skype and i dont have an microfoon, is there another emailadress i can get of him? --Cobra 18:55, 8 October 2008 (UTC)
Need clue about Pdf Book Extension
[edit]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)
PDF Book Sources unavailable
[edit]When trying to look at the Pdf Book Sources e.g. 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)
NukeDPL Bugs
[edit]Hey there. While using NukeDPL, I've noticed a couple of bugs.
- The first two results for any query aren't returned.
- You don't need to be logged in to use it.
Just in case you didn't know. 75.6.25.182 06:39, 13 January 2009 (UTC)
- People using the linked page OrganicDesign:Extension:NukeDPL.php were getting a version that didn't work because the dpl tags were being rendered. I changed it to a raw link. GreenReaper 01:27, 7 October 2009 (UTC)
Obsolete or Abandonded
[edit]Shouldn't you add SimpleForms to your list of abandoned extensions? --Alterego 21:38, 21 February 2009 (UTC)
- Thanks yes it should be, done now :) --Nad 08:35, 26 February 2009 (UTC)
RecordAdmin
[edit]Hey,
RecordAdmin sounds exactly like an extension that we need, but it would be awesome and necessary for us to be able to have a public form that users can fill out to submit a request to us.
How far out do you think this feature is?
Cmelbye 14:45, 7 March 2009 (UTC)
- That's already part of the current version, I just haven't had time to document it very well yet... I'll add a bit about that now - its in the section called "public forms". --Nad 07:14, 8 March 2009 (UTC)
- Also you should check out Extension:SemanticForms, depending on your needs that may be a more appropriate extension for you. SemanticForms is more strictly structured and typed, but RecordAdmin is more quick and casual. Both of them store the data in articles in the same way as template syntax and parameters, so it would be possible to change from one to the other later if necessary too. --Nad 09:43, 8 March 2009 (UTC)
PDF Book Not Available
[edit]Hi Nad - PDFBook is not available for download. It looks like it has been unavailable since March (from the Talk page). How can I download it? --Robinson Weijman 10:52, 19 June 2009 (UTC)
- That's odd, you can still get to the code from the browse SVN link, or you can svn checkout it --Nad 21:11, 26 June 2009 (UTC)
hi
[edit]red links for only sysop on simple calender
Is it possible so that non registered and user can't see the red links but only the sypop can? Many guests on my website don't like it.
e.g.
Anyone other then sysop sees
I like the colour red.
Sysop sees
I like the colour red.
Sysop can edit anytime they like. When they edited red the link will be visible to everyone. 86.136.71.30 19:50, 26 June 2009 (UTC)
- DO you mean that you want people only with edit-access to see the red links? or just that you'd like the links to be normal colour for non-sysop but still lead to editing day-articles? --Nad 21:08, 26 June 2009 (UTC)
Hi, Thanks for your reply. I mean people only with edit-access to see the red links. Others see it as normal text. But once someone with edit-access edits it, It will become a link. Hope you understand :) 86.136.71.30 05:25, 27 June 2009 (UTC)
Extension RecentActivity
[edit]hi, I can't find the code or any instructions in order to install the specific extension. Is there a place where I should go? thank you.--Biris 16:06, 7 September 2009 (UTC)
- oops, sorry, the link was incorrect, fixed now - it shouldn't have had .php on the end... --Nad 21:25, 7 September 2009 (UTC)
Your Component just seems to be the right one !
[edit]Hi, my name is Julien (B2T) I let a message on the discussion page for TreeView extension. This is really what I was seeking for and you seem to be only one who developed such extension. Nevertheless, after instarlling, quoting the include at the begining of the localSettings.php and creating the article Common.css, I'm still not able to display any tree in my wiki... quite frustrating since I don't have any error messages. I must admit I'm a newbe and your help would be much apreciated. Cheers (sorry to chase you up on different pages)
Additional Functionality CategoryWatch
[edit]Hey Nad, would like to add some functionality to CategoryWatch. Not sure if / how you would like to keep the main idea behind the extension. Have made changes localy and tested. Also fixed the salutation issue mentioned on the talk page of the extension. Now would like to discuss if and how to check-in my changes! Ys, --Carter040 14:05, 22 September 2009 (UTC)
- Hi sorry for the long delay, could you email me regarding this on aran at organicdesign dot co dot nz and I'll commit the patch. Thanks :-) --Nad 23:15, 5 October 2009 (UTC)
Extension:NewUserMessage
[edit]Hi Nad. I was wondering whether Extension:NewUserMessage can be adjusted to add option to welcome a new user at his first edit (or upon a variable number of edits) not at his registration? The reason for that is that in Arabic Wikipedia we are facing a huge number of new registrations every day compared to other projects, and we would like to reduce the number of new user talk pages created everyday. --Ciphers 03:18, 3 December 2009 (UTC)
Extension:PdfBook problem
[edit]Hi Nad. I try to use the mediawiki and the pdfbook extension. I have put the extension to the extension folder and included in the LocalSettings.php. I have installed the htmldoc as well. I am using IIS 5.1. When I put the &action=pdfbook to the URL it creates only an empty pdf. What can be wrong? I have only installed the htmldoc, should I make more settings with it? Br, Zsolt
- Hy, Zsolt, i have the same problem like u. did u have a solution to fix it? cheers adrian - 16.Okt 2010
Extension:RecentActivity
[edit]Hi Nad. I changed the status of extension:RecentActivity to Unstable, according to the talk page it is not working for MediaWiki 1.14 and 1.15. FYI Kind regards Aventicum 09:59, 14 January 2010 (UTC)
Hi Nad, I have added the localisation for de and de-formal. It would be great if you include it into the extension. I have not found this extension on translationwiki, thus I am doing it "the dirty way". ;-) Cheers --kgh 21:46, 28 January 2010 (UTC)
- Thanks a lot, added to svn :-) --Nad 19:49, 29 January 2010 (UTC)
- I would like to thank you! I am thinking of going through all of your extensions an localise them in German language, if it is missing. This should add even more advantage and support their further distribution. Cheers --kgh 00:21, 2 February 2010 (UTC)
Hi Nad, I hope everything is ok down there at your end of the world. I think this extension should be core on non-public wikis since it helps pushing people to use a wiki rather than an e-mail. Thus support of modern and vector would be very very useful. As soon as you have some spare time... Cheers --kgh 19:41, 6 March 2010 (UTC)
- I'm not quite sure what it means to support those skins in terms of changes to the extension? --Nad 00:22, 9 March 2010 (UTC)
- Hi Nad, if you use those two skins neither the tab “e-mail” at the top of the page nor the link “E-mail page” appears in the toolbox. Thus you cannot use this extension when utilising with these two skins. It only works with monobook. Cheers --kgh 01:47, 9 March 2010 (UTC)
- The problem seems to be with the skin itself - the hooks I've used to add to the actions links and toolbox links are the correct ones which work properly for most skins. I'll have a look later at the vector skin code and see why its failing for that and commit a fix if I can see the problem. --Nad 00:47, 24 March 2010 (UTC)
- Also I noticed that in the Modern skin only the toolbox link is failing, but the action link is added properly. --Nad 00:52, 24 March 2010 (UTC)
- Yep, you are right! I could swear it was not there before, but it is. I am sorry for that. :-( As a beginner I would have thought that it is easier to place the toolbox link than the action link. Hmm...? However, a fix, if possible would be great because Vector seems to evolve being the future standard skin of MediaWiki. Take your time since it works with my two favourite skins. :-) Thank you and cheers --kgh 16:49, 24 March 2010 (UTC)
- Also I noticed that in the Modern skin only the toolbox link is failing, but the action link is added properly. --Nad 00:52, 24 March 2010 (UTC)
- The problem seems to be with the skin itself - the hooks I've used to add to the actions links and toolbox links are the correct ones which work properly for most skins. I'll have a look later at the vector skin code and see why its failing for that and commit a fix if I can see the problem. --Nad 00:47, 24 March 2010 (UTC)
- Hi Nad, if you use those two skins neither the tab “e-mail” at the top of the page nor the link “E-mail page” appears in the toolbox. Thus you cannot use this extension when utilising with these two skins. It only works with monobook. Cheers --kgh 01:47, 9 March 2010 (UTC)
Thanks!
[edit]Just wanted to say "Thank you!" for the SimpleSecurity extension. I know, I've read the warning signs that it might not be 100% waterproof but it's exactly what I was looking for and "secure enough" (and easy to use, too) for the wikis I care for. Thanks so much! -- 78.47.219.222 08:21, 27 March 2010 (UTC)
Hiii Nad , is FormMailer Extension working with 1.16.0beta2 version --Mohamed Ouda 01:19, 7 June 2010 (UTC)
Extension:Javascript
[edit]Hi Nad, I'm searching for a good way to include javascript files into my mediawiki without changing the php code of core files and without having to change every skin in my wiki. I came to your Javascript extension page. I like the way you managed the inclusion by a global pathes-variable. Unfortunately you marked your extension as obsolete. Why is it obsolete? What is currently the best way to include javascript files? It would be nice if you could update the extension's description page. Thx Mo 77.4.120.86 11:48, 20 June 2010 (UTC)
- I rewrote that extension a while back to work a slightly different way where you just save all your *.js files into the same place the extension is saved and they automatically are all loaded in whne you include the extension. I've updated the page here and at Organic Design. --Nad 07:49, 23 June 2010 (UTC)
PdfBook chapters all have the same name
[edit]Hi Nad, I installed PdfBook (in 1.16) and when I export (as pdf or html) all of the chapter titles are that of the first chapter. Sub-chapters get the correct name though. -Amir
- I noticed that if I put in a Heading1 on the page, it gets the correct title, otherwise it just uses the title of the first page
- I wound up editing the extension and got the results I wanted without understanding it all (so I'm not sure if this will break something else)
$ttext = $article->getTitle()->getBaseText(); #set the title to the articles title, wasn't working before $h1 = $notitle ? '' : "<center><h1>$ttext</h1></center>";
Hi Amir, I am having the same problem. Where did you introduce this change in the PdfBook.php? Thanks in advanced. -Victor
- I've removed that get/setHtmlTitle stuff as it seemed to be causing trouble and was very old and too specific a purpose to be useful, so check it out now and see if it's sorted out. --Nad 10:20, 28 October 2010 (UTC)
- Thanks Nad, it works fine now. -Victor
AddLinkClasses Extention
[edit]I saw a post over at MWUsers Forum that would be very helpful to me. I contacted the poster and he referred me to you. I could really use your help with implementing this over at my site. I tried to implement it, but cannot get it to work. Please contact me at admin AT whatsafterthecredits.com or via that forum please.
Hi Nad, a working solution has been posted for your extension. It would be good if you will have a look at it and decide to include it into the source code of your extension or not. Cheers --kgh 08:47, 15 September 2010 (UTC)
UploadCSV extension
[edit]Hello! It seemed that you have been working on UploadCSV extension for some period of time. Would you mind to give a link to the zip-file with extension - the original developer is unreachable now and the link to the extension is broken. thanks in advance!
- Hi there, actually I haven't done any more on that extension for a few years, but I do a lot of import work from CSV, XML and Open Office spreadsheet formats using csv2wiki.pl and ods2wiki PERL scripts and I also use a robot framework for regular scraping and importing jobs that take a long time and require progress to be reported. --Nad 23:11, 4 December 2010 (UTC)
Extension:RecentActivity
[edit]hi, re Extension:RecentActivity, how would i change the following code in order to allow only articles in the main namespace to appear in the list:
- I've made a change to the code to include that condition, but it's not tested so you may need to adjust it slightly, but you should get the idea. --Nad 23:41, 4 December 2010 (UTC)
case 'new': $dbr = wfGetDB( DB_SLAVE ); $tbl = $dbr->tableName( 'revision' ) . ',' . $dbr->tableName( 'page' ); $cond = $user ? 'AND rev_user_text = '.$dbr->addQuotes( $user ) : ''; $cond = "page_namespace = " . NS_MAIN . " $cond"; $res = $dbr->select( $tbl, 'rev_page, MIN(rev_id) as minid', $cond, __METHOD__, array( 'GROUP BY' => 'rev_page', 'ORDER BY' => 'minid DESC', 'LIMIT' => $count ) ); while ( $row = $dbr->fetchRow( $res ) ) { $title = Title::newFromId( $row['rev_page'] ); if ( is_object( $title ) ) { $page = $title->getPrefixedText(); $items[] = $format."[[:$page|$page]]"; } } $dbr->freeResult( $res ); break;
also, if I may ask, which sql quary should i use to change a list of main namespace articles starting with the words "Portal talk:" to namespace "101"?
- probably the best way to do this would be export the articles, then create the new "Portal" namespace, then adjust the XML export file so that when you reimport them they're in the new namespace. If this and the code adjustments above are too difficult, I can do it for you, but I'm quite busy so a donation of $50 or so would help get it moving which you can do at OrganicDesign. Cheers :) --Nad 23:41, 4 December 2010 (UTC)
i'd really appreciate your help. Yonidebest 46.120.4.41 16:24, 4 December 2010 (UTC)
- thanks, i get the idea :) re second question, i not longer need an answer. if i need any other help, perhaps re other extensions, i'll be glad to give a donation towards it :) thanks, Yonidebest 19:32, 5 December 2010 (UTC)
Your SVN statistics
[edit]Hi, I noticed your SVN Statistics, If at all possible, Could you do a copy of them locally because It would be nice to include them into Category:Statistics. Peachey88 01:39, 5 December 2010 (UTC)
Extension:SearchLog
[edit]Hi, there are a lot of issues and fixes that have accumulated on the talk page for Extension:SearchLog. Are you ever going to update it? Also, have you thought about putting that extension in Wikimedia's SVN repository? It seems like a shame that the source is sitting there with nobody able to fix it. —Emufarmers(T|C) 05:07, 23 January 2011 (UTC)
- That extension had been abandoned a while back, but since people are finding it useful and taking an interest then I'll update it and move it into the wikimedia repo soon, cheers. --Nad 10:04, 23 January 2011 (UTC)
- I don't have the patches collated, but I have commit access, so once you put it in the repo I can fix it up when I get the chance. —Emufarmers(T|C) 00:54, 25 January 2011 (UTC)
- I guess you must be busy. Would you be okay with me committing it to SVN? —Emufarmers(T|C) 05:46, 25 February 2011 (UTC)
- Sorry, yes I have been very busy - thanks, if you can update it that would be great :-) --Nad 00:12, 26 February 2011 (UTC)
- I guess you must be busy. Would you be okay with me committing it to SVN? —Emufarmers(T|C) 05:46, 25 February 2011 (UTC)
Problem exporting pdfbook: all category titles (chapters) are the same name
[edit]Hi Nad!
I solved changing line 131 at PdfBook.php
from: $h1 = $notitle ? '' : "<center><h1>$ttext</h1></center>"; to: $h1 = $notitle ? '' : "<center><h1>$title</h1></center>";
Worked to me! Regards, Edilson
Another solution
[edit]Hi!
I found another solution for this problem. The line 122 in PdfBook.php (version 1.0.4, MediaWiki 1.16.4) something like this:
$wgOut->setHTMLTitle( $ttext ); # use this so DISPLAYTITLE magic works
I changed it to this:
$wgOut->setHTMLTitle( $ttext, true ); # use this so DISPLAYTITLE magic works
It works very well :)
Regards, Tib(R)
PDFbook help
[edit]Hi,
As part of a university project we are building a web site that will help users to create books based on articles from wikipedia. We thought of using your extension to create the pdf books.
Is there a way to create a pdf book using your extension by passing the tree of articles (to have a TOC also) ?
Thanks in advance, Benjamin.
Interested in a trip to improve MediaWiki documentation?
[edit]Did you know about the Doc Camp this October?
"Individuals with a passion for free documentation about free software may apply to attend by filling out the application form and submitting before 5 August, 2011.... Accommodation and food will be covered by the GSoC Doc Camp. Part or complete travel costs can also be applied for as part of the application process."
I'm going to send a proposal to get MediaWiki into the Doc Camp and to have us do a Quick Sprint to improve MediaWiki's documentation. Please let me know if you know people I should include in my proposal.
best, Sumanah 17:07, 22 July 2011 (UTC) Volunteer Development Coordinator, Wikimedia Foundation
Strange PDF created
[edit]Hi, i'am working with MW 1.17.0, Blue Spice 1.0.1, and an actual snapshot of PDFBook. When i use:
$cmd = "/usr/bin/htmldoc -t pdf --charset $charset $cmd $file > /tmp/pdfbook.pdf";
it works well, i have a proper PDF-File. But when i use it the normal way, i get a PDF to save or open with the following content (236Bytes):
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd"> <html><body><p>%PDF-1.4 %âãÏÓ 1 0 obj>endobj 2 0 obj>endobj 3 0 obj>stream x</p></body></html>
Any idea, where the problem could be ? Maybe my Browser (Firefox 6.0) ?
Regards,
Update: If found out, that Blue Spice seems to be the problem. Without that, it works on Mediawiki 1.17.0.
Update2: Solved: https://sourceforge.net/projects/bluespice/forums/forum/1249668/topic/4731396/index/page/1
Extension:TreeAndMenu
[edit]Hello Nad,
I am looking for a vertical drop down menu, like http://deadisland.wikia.com/ has. Is this possible with Extension:TreeAndMenu, if not is there other extensions that do this? Thank you in advance and have a great weekend! Igottheconch 18:39, 10 November 2011 (UTC)
- The menu aspect of TreeAndMenu is all done in CSS so you could make it replicate that wikia one (where the items form a table rather than just a flat vertical list) without too much problem. Alternatively you could use the #menu function as-is but make each item into a row of items having fixed widths. --Nad 10:30, 17 November 2011 (UTC)
Hi this tool seems to have a bug. Search bypasses the restrictions completely despite namespace and local restrictions. Is this a known bug and if so do you plan on addressing it any time soon? I am running MediaWiki version 1.17.0 on IIS7 with MySQL -- Cat chi? 15:33, 23 November 2011 (UTC)
- Also I can transclude restricted pages to access content. While I am aware of hacks such as preventing transclusion of the namespace all together, I feel this issue should be also addressed at an extension level. -- Cat chi? 15:36, 23 November 2011 (UTC)
- Furthermore I get "PHP Warning: Parameter 1 to SimpleSecurity::updateLB() expected to be a reference, value given in C:\Webserver\wiki\includes\db\LBFactory.php on line 211" if I enable "$wgSecurityUseDBHook = true;" which probably addresses above two issues. -- Cat chi? 15:40, 23 November 2011 (UTC)
- Yes to have proper security you must have the DBhook enabled. This extensions is in severe need of updating though as it hasn't been seriously checked since MediaWiki 1.12 and there's bound to be some major issues by now. Unfortunately I probably won't be able to get on to this for some time though as I'm travelling around South America. --Nad 16:31, 23 November 2011 (UTC)
- Is this PHP error normal? I understand you may not have the necessary resources but I am open to suggestions of any kind at this point. :) -- Cat chi? 17:16, 23 November 2011 (UTC)
- The fact that it just a warning rather than fatal hopefully indicates that its handled the issue ok, test if you can protect an article against read access then see if you can see its content when logged in as a user who shouldn't be able to see it. Test if that user can see the content by transcluding the article or by from within search result snippets. --Nad 18:32, 23 November 2011 (UTC)
- The error happens on every page when "$wgSecurityUseDBHook = true;" so I cannot protect or even read any page. -- Cat chi? 21:12, 23 November 2011 (UTC)
- Ah ok, well I think it may have to be marked as out-of-date and no longer a usable extension for now unfortunately :-( --Nad 21:41, 23 November 2011 (UTC)
- It works fine without the "$wgSecurityUseDBHook = true;" though. I know thats not "proper" security :/ -- Cat chi? 07:37, 24 November 2011 (UTC)
- Ah ok, well I think it may have to be marked as out-of-date and no longer a usable extension for now unfortunately :-( --Nad 21:41, 23 November 2011 (UTC)
- The error happens on every page when "$wgSecurityUseDBHook = true;" so I cannot protect or even read any page. -- Cat chi? 21:12, 23 November 2011 (UTC)
- The fact that it just a warning rather than fatal hopefully indicates that its handled the issue ok, test if you can protect an article against read access then see if you can see its content when logged in as a user who shouldn't be able to see it. Test if that user can see the content by transcluding the article or by from within search result snippets. --Nad 18:32, 23 November 2011 (UTC)
- Is this PHP error normal? I understand you may not have the necessary resources but I am open to suggestions of any kind at this point. :) -- Cat chi? 17:16, 23 November 2011 (UTC)
- Yes to have proper security you must have the DBhook enabled. This extensions is in severe need of updating though as it hasn't been seriously checked since MediaWiki 1.12 and there's bound to be some major issues by now. Unfortunately I probably won't be able to get on to this for some time though as I'm travelling around South America. --Nad 16:31, 23 November 2011 (UTC)
- Furthermore I get "PHP Warning: Parameter 1 to SimpleSecurity::updateLB() expected to be a reference, value given in C:\Webserver\wiki\includes\db\LBFactory.php on line 211" if I enable "$wgSecurityUseDBHook = true;" which probably addresses above two issues. -- Cat chi? 15:40, 23 November 2011 (UTC)
Any progress? :) -- Cat chi? 20:16, 13 January 2012 (UTC)
- Hello? :/ -- Cat chi? 22:43, 9 February 2012 (UTC)
Hi, I was wondering if you are available to address the issue. :) -- Cat chi? 17:11, 18 February 2012 (UTC)
- Sorry I have far too much work on to take on anything else at the moment :-( a lot of work needs to be done on this extension to get it up to speed with modern versions. I have someone who's willing to pay for the time to get a new version up and running but I'm not likely to be able to start on that for another couple of months at least. --Nad (talk) 17:31, 18 February 2012 (UTC)
- Sorry to hear that. So it is safe to assume the problem is more significant than previously discussed. -- Cat chi? 14:28, 19 February 2012 (UTC)
- I'm not sure how big or small this specific issue may be, but I know that it's not safe to use this extension for security purposes in 1.17+ as it needs a lot of attention to bring it up to date - which is why I changed its status to "unstable". --Nad (talk) 15:23, 19 February 2012 (UTC)
- Sorry to hear that. So it is safe to assume the problem is more significant than previously discussed. -- Cat chi? 14:28, 19 February 2012 (UTC)
Frankenstein
[edit]You helped create a monster! Granted it is an extremely useful and powerful monster, but it is so damn f***ing complex I want to cry.
I notice you helped create Extension:MyVariables. I am at wits end trying to reverse engineer a really incredible map using Extension:Variables. Could you help please?
Here are the full details with pictures! You are welcome to edit the wiki pages.
If you are busy, could you recommend someone else i can talk to, or somewhere else I can post asking for help?
Thanks a million! Happy coding! Igottheconch 08:52, 28 November 2011 (UTC)
- I haven't got time to do work it all out from scratch, but I might be able to help if you document your efforts so far including links to and descriptions of the code and line numbers etc and where the trouble is etc --Nad 13:21, 28 November 2011 (UTC)
- yeah, it is a monster, i understand fully your hesitation!
- I created this:
- To try and figure out it myself.
- Maybe this may help? I am actively working on this some more. Will update you on how it is going, and adding features which will make it easier to see what the hell is going on! Igottheconch 14:48, 28 November 2011 (UTC)
- I am installing Extension:SyntaxHighlight GeSHi which I believe allows for numbering. Igottheconch 15:39, 28 November 2011 (UTC)
- User_talk:Danwe#hello_danwe may have solved it! thank you anyway for your time! Igottheconch 17:10, 28 November 2011 (UTC)
- I am installing Extension:SyntaxHighlight GeSHi which I believe allows for numbering. Igottheconch 15:39, 28 November 2011 (UTC)
EmailToWiki issue
[edit]Greetings!
First, thank you for a fine script. For the most part it works like it should, with one minor hiccup I can't seem to figure out.
First, I am using MW 1.17 and all the perk module prerequisites are met.
My issue is the PL script not parsing out the image in the email. For whatever reason, the image binary is being included in the body of the mail when posted as an article. The mail is downloaded and placed into the tmp folder and then handled by the PHP. I added some logAdd comments to see what was going on. In the 'loop through attachments' section of the PL code, it's running the code after the else statement, and not the portion that should be pulling out the images. I am at a loss why.
Any suggestions? I can provide additional information if needed.
KProvance 02:12, 2 December 2011 (UTC)
- Are you running the Perl script from shell so you can see if it's giving any warnings? perhaps your MIME parsing module is too old? try sending one of the emails with attachments to me (aran at organicdesign.co.nz) and I'll see if mine extracts them ok, that way we can see if it's your Perl set up, or the way the email client is adding attachments that's the problem. --Nad 12:30, 2 December 2011 (UTC)
The type.pm and types.pm modules are versions 1.32 respectively. I also sent you a mail with attachment at the address provided.
KProvance 02:09, 3 December 2011 (UTC)
NewUserMessage
[edit]Hello Nad.
If you could do something to solve this bug, that would really be appreciated. I'm not sure it will take a lot of time to add some delay before a user got welcomed, but it will really save a lot of time of stewards that should everytime oversight things locally when an abusive username is created (and most of times we forget to do it and it stays on public lists).
I'm about to send the same message to Siebrand.
Thanks a lot. -- Quentinv57 14:31, 30 December 2011 (UTC)
- I can think of a couple of ways of going about this, but it's actually quite difficult and so to do it in a way that was considered satisfactory for running on heavy traffic wikis would need to be ok'd by some of the core developers first. --Nad 11:31, 3 January 2012 (UTC)
- Siebrand answered me that it's technically impossible. I've just coded something to remove globally oversighted usernames on every local wikis (on test for now), so that should not be a problem anymore. If it can't be done we don't have an other solution than removing informations after they are dropped. Thanks -- Quentinv57 15:50, 8 January 2012 (UTC)
- Impossible's a bit of s strong word, it's not rocket science, it's just not as simple as it sounds is all. --Nad 15:57, 8 January 2012 (UTC)
- Siebrand answered me that it's technically impossible. I've just coded something to remove globally oversighted usernames on every local wikis (on test for now), so that should not be a problem anymore. If it can't be done we don't have an other solution than removing informations after they are dropped. Thanks -- Quentinv57 15:50, 8 January 2012 (UTC)
Print articles in stead of subcategories when printing a category
[edit](2012-01-24)
when I print a category like this: wiki/index.php?title=Category:catname&action=pdfbook
I get a pdf with all the articles under the category with also the sub categories of that category. Is it possible to expand those categories and print the sub articles of that category?
regards, Klaas De Smedt
- PDF book allows you to generate books from any list of articles not just acategory, so you could use an extension like DPL to generate a two-level category list and use that as the list to generate the book from. See Creating a PDF book from a DPL query for more info. --Nad 16:12, 24 January 2012 (UTC)
Getting Extension:CategoryHook to work with newly uploaded files
[edit]Hello!
I decided to message you directly since the Extension talk:CategoryHook page seems very inactive. So, I only installed Extension:CategoryHook because I want to automatically categorize (newly uploaded) files based on their filenames. However, this only works after I edit the filepage once, which defeats the purpose. What do I need to change in the code to make it work with new uploads and updated/undeleted files (not sure if the latter two work already)? Or is there perhaps an easier way to achieve my goal? -- 79.254.113.77 16:01, 26 April 2012 (UTC)
Old bug in SimpleSecurity pointed out in 2009 is still present
[edit]Nad, would you please look at the SimpleSecurity talk page and read the posts about the strtolower bug? This is a simple fix and really needs to be applied. I think three years is a little long for this to be left to fester. Frotz (talk) 20:05, 26 April 2012 (UTC)
- That extension has been marked as unstable, it needs to be rebuilt from the ground up to work with anything over 1.16. --Nad (talk) 20:09, 4 July 2012 (UTC)
Moving extensions to Git?
[edit]Heiya Nad, you coded a lot of cool extensions. What about moving them from SVN to Git? I believe that this would simplify things. Cheers --[[kgh]] (talk) 08:32, 19 July 2012 (UTC)
- Yeah it's been on my mind for a while, but haven't had the time :-/ --Nad (talk) 13:20, 19 July 2012 (UTC)
- Go for it, as soon as you have time. :) Working with Git and Gerrit proves to be quite easy. Cheers --[[kgh]] (talk) 13:46, 19 July 2012 (UTC)
- Heiya Nad, in the meantime translatewiki.net dropped support for all extensions not in Git. It would be sad if your extensions will miss out on localisation in the future. Cheers --[[kgh]] (talk) 00:46, 15 November 2012 (UTC)
- Go for it, as soon as you have time. :) Working with Git and Gerrit proves to be quite easy. Cheers --[[kgh]] (talk) 13:46, 19 July 2012 (UTC)
Heiya Nad, I am not sure if you are still watching this extension's talk page. Thus I would like to make you aware of this post. Cheers --[[kgh]] (talk) 20:07, 21 August 2012 (UTC)
EmailtoWiki
[edit]Hi. Is there a way to get EmailtoWiki successfully working on Windows. Having lots of issues with trying to get it to work. *Windows not recognising getpwnam or chown.
- Also the directory structure it looks for and creates seems strange. I don't know perl that well so I don't understand what is going on. The log file gets created in the Extensions\EmailtoWiki\ folder, but the conf file is looked for and the temp folder is created in Extensions\EmailtoWiki\EmailtoWiki\ folder.
- The temp file never gets created.
- PHP looks for the temp files in the Extensions\EmailtoWiki\EmailtoWiki.tmp\ folder which is different to what the perl is using.
Any help would be greatly appreciated. -93.191.37.132 09:18, 5 September 2012 (UTC)
- You could just comment out the chown/chmod commands as that's just to ensure the files are readable by the web-server, but on windows they will be readable by default. Not sure what the story is with the incorrect path veing created by Perl, but it should work if you hard-wire it to match what PHP's looking for. --Nad (talk) 12:46, 12 September 2012 (UTC)
SQLite installer bug
[edit]Just wanted to let you know about this bug in case you wanted to give it a look. Thanks! Sharihareswara (WMF) (talk) 19:00, 12 October 2012 (UTC)
--Satyamcompany (talk) 19:32, 28 April 2013 (UTC)
How to keep CategoryTree stayed opened after going back?
[edit]When I am going down in one category and subcategories (depth 5-6), after loading the specified category and then hitting the "back" button on the browser , the category tree is folded again. Is there any chance the tree stays opened? Please reply ASAP... How to keep nodes expaneded even after clicking back button in browser.Any code changes to be done in Categorytree extension? It would be great to have the tree expanded to the current page after clicking any article , so that the users can get a quick impression about the location of the current article in the overall context.--Satyamcompany (talk) 19:32, 28 April 2013 (UTC)
- Sorry I don't know anything about the CategoryTree extension, I wrote the TreeAndMenu extension. If you're using TreeAndMenu then you can give the tree an id attribute and its state will be remembered in a cookie. --Nad (talk) 21:56, 28 April 2013 (UTC)
How to choose multiple groups in the per page protection in Vector skin in Mediawiki 1.20.3?
[edit]How to choose multiple groups in the per page protection in Vector skin in Mediawiki 1.20.3? I want to give read permissions to more than 3 custom user groups as I have a total of 14 custom user groups. How can I select multiple groups .please reply ASAP.--Satyamcompany (talk) 17:28, 2 May 2013 (UTC)
- The SimpleSecurity extension is very out of date and hasn't been developed in more than a year. It's notrecommended you use that extension on anything more recent than MediaWiki 1.17. However, the page protection should allow you to specify any number groups from the list in the protect tab with ctrl+click as usual for multi-select inputs. --Nad (talk) 19:28, 2 May 2013 (UTC)
Heiya Nad, I found a little PHP notice (just follow the link) in Email page. This post is just to let you know. Cheers --[[kgh]] (talk) 10:15, 21 May 2013 (UTC)
Restricted Read Only access at NameSpace level
[edit]What exactly needs to be done to use SimpleSecurity.php in my MediaWiki Installation. I am using Mediawiki Version 1.20.3. But when try to use SimpleSecurity.php by keeping it it extensions folder the whole of application goes down. I tried following the steps that were suggested but they are not working.
- The SimpleSecurity extension is very out of date and hasn't been developed in more than a year since MW1.17. It's not recommended you use that extension on anything more recent than MediaWiki 1.17. --Nad (talk) 20:50, 22 July 2013 (UTC)
PonyDocs pdfbook problem
[edit]Hi Aran,
Can you tell me how to use PonyDocs extension to Composes a book from documentation and exports as a PDF book?
Actually I am working on a mediawiki site,where I need to download the wiki pages in pdf with full branding. The requirements I need are: · We definitely need to see the cover page, header, and footer, as those are the most important elements of the branding.
· We do not want to include the individual wiki page TOC’s in the content
· We need the script to use the NavTree (or a similar page that we can control) to generate the books.
· We would like links on wiki pages to be preserved as hyperlinks in the PDFs.
· We need one print command for generating a book PDF with title page, legal disclaimer page, TOC, etc., and one command for generating a PDF of an individual wiki page – still branded with header and footer, but no title, legal, or TOC.
I have added this line in LocalSettings.php
require_once('extensions/PonyDocs/PonyDocsPdfBook.php');
Do you have step by step documentation of PonyDocs? Where I have to use download pdf option in ponydocs.
Regards,
Sanjeet
http://docs.splunk.com/Special:Version --Radharani11 (talk) 05:14, 12 September 2013 (UTC)
Impossible to download EmailPage extension
[edit]Hello
I get : no extension "EmailPage"
When I click on Download the latest snapshot link and arrive on Special:ExtensionDistributor/EmailPage
Any idea ?
Thanks
Nicolas NALLET (talk) 13:00, 14 October 2013 (UTC)
- I don't know how the extension distributor works, and I haven't moved any of the code over into the wikimedia git repository as the process is too complicated now. You can still get it from my local repository here.
Ok thanks a lot !
Nicolas NALLET (talk) 07:30, 15 October 2013 (UTC)
Extension:EmailToWiki import E-Mails and append to existing article
[edit]Dear Team,
Import of E-Mails works fine so thanks alot for that. But how do I configure this to import Mails to the SAME Article ?
I found some hints at this site, User_talk:Nad#Can_you_help_me_some_more.3F but I am not sure if the code is written for THIS estension or
where to put it.
Any hints for me ?
All the best,
Chris
--46.189.27.118 10:42, 3 December 2013 (UTC)
- If the idea is that you want to go to a particular page to see all the emails, then it would be best to import the emails into their own articles as they do now, but then have another page that displays them all. You can use an extension like Dynamic Page List or Semantic MediaWiki to do this. This method is better for most purposes because you can have a number of pages that list emails by different criteria such as sender or recipient or subject etc. --Nad (talk) 10:49, 3 December 2013 (UTC)
Dear Ned,
thanks, I appreciate your quick reply.
I am quite new to my department and want to stop important news being spread via E-Mail amd attachments twice per month, that's no good, discussions and replies flush all the inboxes.
I would like to create kind of a NEWS-BOARD instead showing the newest article with downloadable Files on top, and discussion section under it.
To keep posting as simple as possible I would like to use the EmailToWiki extension.
Sample view: http://s14.directupload.net/images/131203/jvign3xe.jpg
I'll give the DynamicPageList a try.
Thanks alot !!!
Chris
Bugzilla
[edit]Hi Aran, just reminding you that bugzilla:45306 has been waiting for your attention for over a year. This, that and the other (talk) 09:34, 3 May 2014 (UTC)
Patch for CategoryWatch
[edit]Hello Aran! I sent you an email with a patch I created for Extension:CategoryWatch, to make it more compatible with MediaWiki 1.23. Would it be possible for the patch to be added to the extension? Thanks! --Ike @ WikiWorks 20:56, 18 September 2014 (UTC)
- Hi, unfortunately I don't have access to the wikimedia repo anymore (or it could be that I still do but the configuration it uses may have changed, and I don't have time to figure their new system out), so can't commit the patch sorry. I could move it into my own repo, or someone else could take over management of it... --Nad (talk) 22:56, 18 September 2014 (UTC)
Added some examples to css extension
[edit]Hi
I added some css snippets examples to the css extension page. If you don't find them helpful please delete. All the best to you.
Christharp (talk) 17:36, 3 October 2014 (UTC)
Unable to download Extension:EmailToWiki
[edit]Sorry but I was unable to download the extension EmailToWiki from the given location. What is the preferred way getting the code? --Marco.Bakera (talk) 17:07, 15 February 2015 (UTC)
- Maybe it's easier from the GitHub mirror here. --Nad (talk) 19:23, 15 February 2015 (UTC)
- Yes, that's much more comfortable. Thanks for that. --Marco.Bakera (talk) 20:14, 15 February 2015 (UTC)
- Git-Hub is saying that project does not exists? Has support for this extension been terminated? --Durstie (talk) 18:23, 14 December 2015 (UTC)
- Yes, that's much more comfortable. Thanks for that. --Marco.Bakera (talk) 20:14, 15 February 2015 (UTC)
How to get the TreeAndMenu in the Sidebar
[edit]Hi Nad,
I can not get the TreeAndMenu working in the sidebar. I posted a question at the Extension_talk:TreeAndMenu. Could you please help me, I'm really confused about how to get this working. Thanks in advance, Mike Bijl.
Background images with Extension:CSS
[edit]Dear Aran, I was hoping you could help out with an issue concerning Extension:CSS. See Extension talk:CSS#Changing the background image (of any component). Best, Cavila (MW 1.22, MySQL 5.5.37-0, Php 5.4.4-14 squeeze, SMW 1.9.2, SF 2.7) 07:28, 13 May 2015 (UTC)
SimpleCalendar issue
[edit]Aran, I'm a VERY new (2 months) wiki admin and am just learning the ropes. I have SimpleCalendar installed and it renders without issue, but the dates appear as bracketed, un-clickable text instead of creatable pages. I've browsed numerous sites to see what this could be but nothing seems to address this specific problem. Using MediaWiki 1.23.0 with MySQL and PHP. I would be eternally grateful if you could offer a few nuggets of wisdom. :) wraith_tjw
- I've never seen that behaviour and there's nothing in the code to render such links, perhaps you have another extension interfering in the rendering? try disabling all other extension to see if that's the case, if that fails view the page source to see exactly what HTML is being generated for the links and let me know, or give me the URL if it's public and I'll take a look. --Nad (talk) 09:47, 16 May 2015 (UTC)
- I'm not running any other extensions-this was the first one I've tried to set up (other than Mediawiki itself). I did notice that if I add title= and a name, the links become active, but all go to the same page (in other words, clicking on Jan 1 creates/edits the same page as December 31). They also appear as external links instead of internal. Unfortunately it's a law enforcement internal site so I can't link it. Any other ideas? Thanks for responding!
- Here's a sample of what it looks like-
November | ||||||
M | T | W | T | F | S | S |
[ 1] | ||||||
[ 2] | [ 3] | [ 4] | [ 5] |
- Oh right square-brackets, I imagined round-brackets, but square ones makes more sense, that's the way mediawiki renders links with no anchor text. First, the code was quite old and working in a way that could be unpredictable, I've changed it to work a more reliable way, so try using the most recent version. If you still have trouble, show me the exact syntax you're using to create the calendar, also if possible give me the URL so I can see it. --Nad (talk) 14:42, 1 June 2015 (UTC)
- p.s. it's been moved into Github, download latest with this link. --Nad (talk) 14:42, 1 June 2015 (UTC)
- That got me MUCH closer. It now renders correctly with links, but each of the calendar dates take me back to the main page. If I give the calendar a title, then it goes to one page for all the dates. The only syntax I'm using is {{#calendar:}}. Unfortunately it's an intranet wiki and not publicly accessible so I can't link it. :(
- That's really strange because the links are generated by MediaWiki's own Title class so they should be the correct format for your wiki.... can you view the HTML source and show me the code for one of the links? --Nad (talk) 11:12, 3 June 2015 (UTC)
- Here's the code, hopefully it doesn't try to render:
- That's really strange because the links are generated by MediaWiki's own Title class so they should be the correct format for your wiki.... can you view the HTML source and show me the code for one of the links? --Nad (talk) 11:12, 3 June 2015 (UTC)
- That got me MUCH closer. It now renders correctly with links, but each of the calendar dates take me back to the main page. If I give the calendar a title, then it goes to one page for all the dates. The only syntax I'm using is {{#calendar:}}. Unfortunately it's an intranet wiki and not publicly accessible so I can't link it. :(
- p.s. it's been moved into Github, download latest with this link. --Nad (talk) 14:42, 1 June 2015 (UTC)
<script>if(window.mw){ mw.loader.load(["mediawiki.page.startup","mediawiki.legacy.wikibits","mediawiki.legacy.ajax","skins.vector.js"]); }</script> <!--[if lt IE 7]><style type="text/css">body{behavior:url("/LEADSWiki/skins/vector/csshover.min.htc")}</style><![endif]--></head> <body class="mediawiki ltr sitedir-ltr ns-0 ns-subject page-Calendar skin-vector action-view vector-animateLayout"> <div id="mw-page-base" class="noprint"></div> <div id="mw-head-base" class="noprint"></div> <div id="content" class="mw-body" role="main"> <a id="top"></a> <div id="mw-js-message" style="display:none;"></div> <h1 id="firstHeading" class="firstHeading" lang="en"><span dir="auto">Calendar</span></h1> <div id="bodyContent"> <div id="siteSub">From LEADSWiki</div> <div id="contentSub"></div> <div id="jump-to-nav" class="mw-jump"> Jump to: <a href="#mw-navigation">navigation</a>, <a href="#p-search">search</a> </div> <div id="mw-content-text" lang="en" dir="ltr" class="mw-content-ltr"><table class="calendar"><tr> <td> <table border class="month" <tr class="heading"><th colspan="7">January</td></tr> <tr class="dow"><th>M</th><th>T</th><th>W</th><th>T</th><th>F</th><th>S</th><th>S</th></tr></tr> <td> </td><td> </td><td> </td><td class=''><a href="">1</a></td> <td class=''><a href="">2</a></td>
- Oops my bad, I hadn't committed the latest version, that one outputs broken HTML, try the latest version now :-/ --Nad (talk) 15:18, 6 June 2015 (UTC)
- No change. :(
- Ok so this has to be a quirk in the way your system's handling date formats or something. Try the latest version and paste the source in here again like last time, I only need the source of the table with class=month, this new version will add a little more info about the problem to the source. Oh and make sure you purge the cache each time you change the code, use ?action=purge on the end of the URL, you may have seen no change because you were viewing a cached version of the page. --Nad (talk) 12:31, 9 June 2015 (UTC)
- Here's the code. I did purge and it didn't change.
- Ok so this has to be a quirk in the way your system's handling date formats or something. Try the latest version and paste the source in here again like last time, I only need the source of the table with class=month, this new version will add a little more info about the problem to the source. Oh and make sure you purge the cache each time you change the code, use ?action=purge on the end of the URL, you may have seen no change because you were viewing a cached version of the page. --Nad (talk) 12:31, 9 June 2015 (UTC)
- No change. :(
<table border class="month"> <tr class="heading"><th colspan="7">January</th></tr> <tr class="dow"><th>M</th><th>T</th><th>W</th><th>T</th><th>F</th><th>S</th><th>S</th></tr> <tr> <td> </td><td> </td><td> </td> <td class=''><a href="">1</a></td> <td class=''><a href="">2</a></td> <td class=''><a href="">3</a></td> <td class=''><a href="">4</a></td> </tr>
- I don't think you're using the latest code, because I just don't see how you can have empty href or class attributes with that code. Check your special:version page and ensure that you're running the latest version (1.2.9) of SimpleCalender. --Nad (talk) 19:27, 11 June 2015 (UTC)
- OK, now we're getting somewhere. Even though I over-wrote the php file from the site it kept the code-I think it was a run as admin thing with server 2013..anyways, it now says
404 - File or directory not found. The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable. When I click on the links for the Calendar.
If I give it a title, it again creates a page that is identical for each of the links. Here's the code that's generated: <table border class="month"> <tr class="heading"><th colspan="7">January</th></tr> <tr class="dow"><th>M</th><th>T</th><th>W</th><th>T</th><th>F</th><th>S</th><th>S</th></tr> <tr> <td> </td><td> </td><td> </td> <td class=''><a href="Bad title: "" (using format "%e %B %Y")">1</a></td> <td class=''><a href="Bad title: "" (using format "%e %B %Y")">2</a></td> <td class=''><a href="Bad title: "" (using format "%e %B %Y")">3</a></td> <td class=''><a href="Bad title: "" (using format "%e %B %Y")">4</a></td> </tr>
- Ok looks like I've found the problem, the date format it's using (the %e) is not supported by Windows, see strftime manual page, I've made a new version that use %#d instead if it's Windows as they recommend in the manual page. It's lucky you just mentioned you were using Windows or I wouldn't have spotted it, you should always mention you're on Windows when you have a bug because MediaWiki's designed for Linux and many things need to be done differently. Check you special:version page to ensure the SimpleCalendar version has updated to 1.2.10 after you install it. --Nad (talk) 10:58, 12 June 2015 (UTC)
- That worked!!! It's doing exactly what it's supposed to do now. THANK YOU for your time and effort with this-it's very much appreciated. Sorry for not giving the correct details-I've been doing this for about 90 days and am still learning the ropes. Thank you again!!
- Great, glad to here it's working for you, and resolving your issue has improved the extension since this would have been a problem for everyone who tried to run it on a windows server :-) --Nad (talk) 00:03, 13 June 2015 (UTC)
- One more quick question-the links are all coming up as the same color-I'd like them to be red if unused/don't exist and then blue if they're there. The screenshots show them as red. Is this a styling issue where the calendar doesn't follow the rest of the wiki and I have to specify, or something windows-related as well?
- The CSS classes it uses for its links are "day-active" and "day-empty". In general you can tailor your CSS rules by right-clicking on the item and selecting "inspect element" in your browser to see what classes and id attributes it has, and what CSS rules are currently applying to it, then making new rules based on that. --Nad (talk) 14:51, 19 June 2015 (UTC)
- I see the problem is that the CSS provided in the Extension:SimpleCalendar page didn't work for the updated code, I've updated the CSS there so it formats like the example pictures. --Nad (talk) 15:14, 19 June 2015 (UTC)
- Actually I updated the code again so that it includes the CSS itself, so now you can just create your own rules if you want anything different than the default. --Nad (talk) 15:22, 19 June 2015 (UTC)
- Updated to 1.2.11, ensured the file was copied, purged, and no change. Tried creating a SimpleCalendar.css (assuming this goes in the same directory as the php file?) file with the default info in it as well as subbing the color codes for "red" and "blue" and still no-go. All days still appear blue.
- Actually I updated the code again so that it includes the CSS itself, so now you can just create your own rules if you want anything different than the default. --Nad (talk) 15:22, 19 June 2015 (UTC)
- I see the problem is that the CSS provided in the Extension:SimpleCalendar page didn't work for the updated code, I've updated the CSS there so it formats like the example pictures. --Nad (talk) 15:14, 19 June 2015 (UTC)
- The CSS classes it uses for its links are "day-active" and "day-empty". In general you can tailor your CSS rules by right-clicking on the item and selecting "inspect element" in your browser to see what classes and id attributes it has, and what CSS rules are currently applying to it, then making new rules based on that. --Nad (talk) 14:51, 19 June 2015 (UTC)
- One more quick question-the links are all coming up as the same color-I'd like them to be red if unused/don't exist and then blue if they're there. The screenshots show them as red. Is this a styling issue where the calendar doesn't follow the rest of the wiki and I have to specify, or something windows-related as well?
- Great, glad to here it's working for you, and resolving your issue has improved the extension since this would have been a problem for everyone who tried to run it on a windows server :-) --Nad (talk) 00:03, 13 June 2015 (UTC)
- That worked!!! It's doing exactly what it's supposed to do now. THANK YOU for your time and effort with this-it's very much appreciated. Sorry for not giving the correct details-I've been doing this for about 90 days and am still learning the ropes. Thank you again!!
- The new version 1.2.11 has its own css file so you'll need to copy that as well. Once that's working you may opt to make your own CSS as discussed in the documentation article, that is not a file, you put those CSS rules into your MediaWiki:Common.css article in your wiki. --Nad (talk) 13:30, 22 June 2015 (UTC)
- I did copy/paste the css text from the extension page into my SimpleCalendar.css file, and then tried directly copying the file from the zip you included. Neither had any affect on the Calendar's appearance at all. I tried putting them in their own directory and pointing the wiki there and the Calendar renders fine, but no change in appearance.
- "I'm talking about the files on Github, the version of the extension 1.2.11 has its own css file which it will install. The latest version is different again and has five files and only works on MediaWiki 1.25+ and needs to be installed differently, see the article again for info, if you have an earlier version of MediaWiki, switch to the 1.24 branch of the code in Github. --Nad (talk) 14:39, 24 June 2015 (UTC)
- I understand-I did use the 1.24-previous version of the code. The code link appears to be broken, btw. No change in the appearance at all. --wraith_tjw 20:59, June 25 2015 (ETC)
- Use this link to the 1.24 branch, notice that there are TWO files now not just the code, you need both of them. --Nad (talk) 13:45, 26 June 2015 (UTC)
- Done. Copied the old files into a folder to hide them, copied/pasted the code directly from the files into new files using Notepad++ and saved them as SimpleCalendar.php and SimpleCalendar.css respectively. Same result.
- Use this link to the 1.24 branch, notice that there are TWO files now not just the code, you need both of them. --Nad (talk) 13:45, 26 June 2015 (UTC)
- I understand-I did use the 1.24-previous version of the code. The code link appears to be broken, btw. No change in the appearance at all. --wraith_tjw 20:59, June 25 2015 (ETC)
--User:wraith_tjw 20:14, 29 June 2015 (EST)
- The CSS file name is all lowercase (although perhaps that doesn't make a difference on Windows), apart from that I don't know what can be wrong, it must be another Windows quirk. If you can't get it to load the CSS file, then just paste the CSS into the MediaWiki:Common.css wiki article instead. --Nad (talk) 00:27, 30 June 2015 (UTC)
PdfBook extension: Canonical source
[edit]Hi, could you please reply in phab:T124978 when you find some time? Thanks in advance! --AKlapper (WMF) (talk) 12:51, 23 July 2016 (UTC)
- I'm not familiar enough with the tools to make sense of what needs to be done, and I don't have time to figure it all out, could you just close it off in a graceful way or something? --Nad (talk) 14:28, 23 July 2016 (UTC)
- @Nad: Thanks for the quick answer! Basically there are two questions for you: There is one open proposed patch waiting for review in https://gerrit.wikimedia.org/r/#/c/241087/ - would you want to take a look at that patch and decide what to do about it? Would you abandon that patch, or would you include it in the PdfBook code base on GitHub? And there are two open tasks in https://phabricator.wikimedia.org/tag/mediawiki-extensions-pdfbook/ - would you want to import these tasks/reports into GitHub before I mark the project in Phabricator as archived and update its description in Phabricator to point to GitHub? I'm basically after redirecting users to the "right" place (which seems to be on GitHub these days) and clean up a bit. Thanks for your help! :) --AKlapper (WMF) (talk) 10:38, 25 July 2016 (UTC)
- @Nad: Anything feedback to my comment / requests above? :) --AKlapper (WMF) (talk) 16:05, 2 August 2016 (UTC)
- @Nad: I cannot do anything until you've taken those two decisions. Any news? :( --AKlapper (WMF) (talk) 09:02, 22 August 2016 (UTC)
- Ok I've implemented both patches on the master branch of the Organic Design repo. --Nad (talk) 14:54, 22 August 2016 (UTC)
- @Nad: Thanks! There is one more translation question to you in https://phabricator.wikimedia.org/T143684#2575679 --AKlapper (WMF) (talk) 14:07, 24 August 2016 (UTC)
- Ok I've implemented both patches on the master branch of the Organic Design repo. --Nad (talk) 14:54, 22 August 2016 (UTC)
- @Nad: I cannot do anything until you've taken those two decisions. Any news? :( --AKlapper (WMF) (talk) 09:02, 22 August 2016 (UTC)
- @Nad: Anything feedback to my comment / requests above? :) --AKlapper (WMF) (talk) 16:05, 2 August 2016 (UTC)
- @Nad: Thanks for the quick answer! Basically there are two questions for you: There is one open proposed patch waiting for review in https://gerrit.wikimedia.org/r/#/c/241087/ - would you want to take a look at that patch and decide what to do about it? Would you abandon that patch, or would you include it in the PdfBook code base on GitHub? And there are two open tasks in https://phabricator.wikimedia.org/tag/mediawiki-extensions-pdfbook/ - would you want to import these tasks/reports into GitHub before I mark the project in Phabricator as archived and update its description in Phabricator to point to GitHub? I'm basically after redirecting users to the "right" place (which seems to be on GitHub these days) and clean up a bit. Thanks for your help! :) --AKlapper (WMF) (talk) 10:38, 25 July 2016 (UTC)
Simple Security bugfixes
[edit]Hello,
I have noted two bugfixes for MW 1.27.x version of the Simple Security extension on the talk page. I was wondering if your would like me to email you the fixed php file. [1] [2]
Thanks for your great work.
--Dgennaro 18:02, 28 September 2016 (UTC)
- What? I stopped work on this extension years ago at MW1.17! Unless somebody else has taken over development I doubt very much that it works on modern mediawikis. --Nad (talk) 19:38, 28 September 2016 (UTC)
Reinvigorating EmailToWiki
[edit]Hello Nad, I've tried to make EmailToWiki in a current MW 1.27.0 but found it's not possible due to something relating to SimpleForms.php: https://www.mediawiki.org/wiki/Extension_talk:EmailToWiki#MW_version_1.27.0_compatibility
Is is possible for you to reinvigorate this excellent idea of a MediaWiki extension to work without relying on SimpleForms.php?
Many thanks, --Yellowdog (talk) 05:53, 3 October 2016 (UTC)
- The EmailToWiki extension doesn't rely on SimpleForms, it just directs the content of the email into a wiki article wrapped in your chosen template. --Nad (talk) 10:15, 22 October 2016 (UTC)
Need SimpleSecurity 4.x !
[edit]Hi!
Could you point me to a repo that hosts SimpleSecurity 4.x?! I need it for my mediawiki 1.15.x, and I was looking for the link in: https://www.mediawiki.org/wiki/Extension:SimpleSecurity and it pointed me to a link: http://svn.organicdesign.co.nz/listing.php?repname=extensions
But this link is dead!
Help please!
- I migrated to Git a few years ago and changed the url, you can find it here now - unfortunately you'll need to download all the extensions because Git doesn't support separate directory downloads like Subversion did. --Nad (talk) 16:53, 21 October 2016 (UTC)
- @Nad: Thanks a lot!! --Cherner 17:48, 21 October 2016 (UTC)
EmailToWiki Question
[edit]Hi Nad,
Great extension, but only one issue. The wiki we're running it on will soon be moving to LDAP for editing purposes, and we're going to be disabling anonymous editing. Is there any way to have EmailToWiki continue working with anon. editing disabled?
--J
- Answered your comment in extension talk page. --Nad (talk) 19:03, 4 November 2016 (UTC)
Extension:EmailPage
[edit]Hi Nad,
I was trying to use and test the EmailPage extension right after setting up a very basic MediaWiki. My environment details are given at the bottom for your reference, just in case.
I am not good at regular expression. What should I use for: $wgEmailPageSepPattern = "[\\x00-\\x20,;*]";
Initially I used: $wgEmailPageSepPattern = "[\\x00-\\x20,;*]+|";
as given in: https://www.mediawiki.org/wiki/Extension:EmailPage
But I was getting, when I press "view recipient list" or "Send":
PHP Warning: preg_split(): Unknown modifier '+' in C:\inetpub\mediawiki\extensions\EmailPage\SpecialEmailPage.php on line 182 PHP Warning: Invalid argument supplied for foreach() in C:\inetpub\mediawiki\extensions\EmailPage\SpecialEmailPage.php on line 182 PHP Warning: preg_split(): Unknown modifier '+' in C:\inetpub\mediawiki\extensions\EmailPage\SpecialEmailPage.php on line 183 PHP Warning: Invalid argument supplied for foreach() in C:\inetpub\mediawiki\extensions\EmailPage\SpecialEmailPage.php on line 183
So, I tried to change it, but after change when I press "view recipient list" or "Send", I get the bellow error:
Internal error Jump to: navigation, search [4162db3327267cd3e18359f5] 2016-12-30 03:29:00: Fatal exception of type "Error" Retrieved from "http://localhost:8090/index.php?title=Special%3AEmailPage"
Please help.
Environment: Platform - Windows 7 (64 bit) Installed software Product Version MediaWiki 1.28.0 (64 bit) PHP 7.0.14 (cgi-fcgi) (64 bit) SQLite 3.14.2
- The default value for $wgEmailPageSepPattern is
|[\r\n ,;*]+|
(the characters weren't showing properly in the doc page because I hadn't used nowiki). The default value should be fine for normal circumstances, it's just a pattern used to split the email addresses of recipients when specifying a list of them. I have no idea what the problem is when there's no more information than just "error", you'll need to check a log or something to get more information. I can't tell you how to do that on a windows machine, I haven't touched one in over 15 years. --Nad (talk) 09:55, 30 December 2016 (UTC)
Love your work!
[edit]Deployed PdfBook at work, and cheers for your handy MediaWiki code snippets page. Cheers, Jonathanischoice (talk) 00:25, 28 July 2017 (UTC)
- No worries, happy to hear you're finding them useful :-) --Nad (talk) 19:55, 31 July 2017 (UTC)
See talk page at PdfBook
[edit]Hi, please see https://www.mediawiki.org/wiki/Extension_talk:PdfBook#Why_use_gitlab . Paladox (talk) 17:46, 6 June 2018 (UTC)
- I've wrote a reply to your comment :). Paladox (talk) 21:25, 6 June 2018 (UTC)
SimpleCalendar
[edit]Thank you for putting the calendar extension on my wikia, Pacific NW Sheepdog Trials (unable to provide link, sorry). I got it working, but I can't find the CSS page. I would like it to be where the dates without links attached be non-links, just text, until I add a link. Is that possible? 63.155.52.130 21:40, 22 July 2019 (UTC)
- You can adjust the CSS for anything in the wiki including the SimpleCalendar by adding rules to the MediaWiki:Common.css article. --Nad (talk) 22:00, 22 July 2019 (UTC)
RecentActivity for new MW versions
[edit]Dear Nad, may I kindly point your attention to this discussion and Issue 41 on GitLab regarding your RecentActivity extension?
There is some important discussion about it I think you missed. Thanks for having a look. --Luca Mauri (talk) 07:49, 19 March 2020 (UTC)
Blank pages for category export on PdfBook
[edit]Hi Aran,
I work on a public wiki for my organization, and I am seeking to add an extension to export a book that volunteers have translated over the last 4 years. I've been able to successfully use your extension on single pages, but when I export from categories I get blank pages. The PDF successfully downloads and has the right TOC, but the pages are blank. We are using Mediawiki 1.31.6.
UPDATE - this requested change worked.
I have one other minor issue. We use the Translate extension and the 2 character language code added to the URL (e.g. /es) is throwing off the export. It's titling each page /es. Do you know how this could be modified to include the full name of the page? I do have access to modify the .PHP files itself.
Thank you for creating this extension. It would mean so much to our volunteers and community to be able to export their work for others. If you have any guidance, it would be greatly appreciated.
Sincerely,
Andrew
Bmtmotion15 (talk) 14:42, 21 July 2020 (UTC)
Requesting maintainership for "Extension:SimpleCalendar"
[edit]Hi!
I'd like to take over the maintainership of Extension:SimpleCalendar. For this porpuse I will file a request on the WMFs phabricator to transfer the code from the original repo into WMFs GIT infrastructure.
Best regards, Robert
- Thanks, I'm happy with that --Nad (talk) 14:36, 26 May 2021 (UTC)