User talk:Roc michael
Add topicWiki Workflow
[edit]Thanks a lot for the link to the work flow extension, I'm definitely very interested in getting a good workflow system in place so I'll check it out. I've also emailed the link to some others who may be interested. --Nad 22:18, 29 August 2007 (UTC)
- Hi Michael, I've made some progress on Extension:Workflow and it should be ready for use after a couple of bug fixes. You can see it in operation at OrganicDesign:Workflow example, let me know your thoughts or if you have any ideas for it's future direction etc ;-) --Nad 23:37, 26 October 2007 (UTC)
Hello, did you really test deleteOldRevisions extension with 1.12.0 ??? Or do you just assume it could work by copying old file?
- Re:Please see here--Roc michael 15:19, 28 March 2008 (UTC)
Can you give me a copy of Extension:Picasa2Gallery (folder) because the download link is down. Sachein 11:47, 30 May 2009 (UTC)
- Hi Sachein,
- It's OK! How do I give you the folder?--Roc michael 23:03, 30 May 2009 (UTC)
- Hi Roc michael, Is it possible if you can upload it on Megaupload or something as a rar. I really can't think of any other way of sending the folder. :P Sachein 08:20, 31 May 2009 (UTC)
- Hi Sachein,
- Please try it. http://www.megaupload.com/?d=KKIYUJQT :-) --Roc michael 09:14, 31 May 2009 (UTC)
- Hi Roc michael, Is it possible if you can upload it on Megaupload or something as a rar. I really can't think of any other way of sending the folder. :P Sachein 08:20, 31 May 2009 (UTC)
- Thank you very much!!! But I have a problem. Basically (include("extensions/Picasa2.php");)(Picasa2.php) is not in my folder. Shouldn't it be like include("extensions/Picasa2/Picasa2.php");?
Can you help me install it please? Sachein 09:33, 31 May 2009 (UTC)
- Hi Sachein,
- First, don't use this extension with MW 1.14. It cannot work with it.
- Then,
mw |-...... |-gallery //create this folder |-...... |-extension |-.... |-Picasa2 //Unzip the folder here |-.... |-.... |-Picasa2.php //put the file here |-....
- You can find the picasa2.php here.
- Then, good luck!
--Roc michael 14:27, 31 May 2009 (UTC)
lol. I have a MW 1.14. I see what I can do :P Sachein 15:52, 31 May 2009 (UTC)
- If you don't mind can I see an example of Picasa2Gallery Sachein 17:04, 31 May 2009 (UTC)
- Hi Sachein,
- Please this page.--Roc michael 12:24, 1 June 2009 (UTC)
Hi, Roc michael. Where do I put the gallery folder? How do I get the Picasa2Gallery to upload pictures to mediawiki or do I have to upload it to the gallery folder? Please help. :) Sachein 16:49, 1 June 2009 (UTC)
- Hi Sachein,
- Sorry, I'm busy and my English writing is not very good.
- Please see the folder structure above or see the picture and this picture.
- install Filezilla
- You can see the document written in Chinese(please see the pictures, if you don't read Chinese) If you still have any questions, please fell free to ask me, but my answer may not be fast.
- Have you changed your wiki version to earlier then MW 1.13? Do you program php and want to change the code of extension Picasa2Gallery? Have you tried out the extension with MW 1.14 successfully? As I know it cannot work with MW 1.14(I'd tried). And Good luck! --Roc michael 14:31, 3 June 2009 (UTC)
- Hi, I have MW1.13 and it says Error:File ./gallery/balraj/index.xml doesn't exist. Sachein 16:52, 3 June 2009 (UTC)
- IT WORKS!!! THANKS TO YOU. THANK YOU VERY MUCH!!! I just don't get why it doesn't work on MW1.14.0 :) Sachein 17:38, 3 June 2009 (UTC)
- OK, now it works also on MW1.14.0. :) Not not sure if it is stable... Check this one, which is using MW1.14.0 Sachein 18:23, 3 June 2009 (UTC)
- Maybe there is a new version of Extension:Picasa2Gallery and the version I use is old ,it cannot be used in MW 1.14. :-( --Roc michael 13:23, 8 June 2009 (UTC)
- OK, now it works also on MW1.14.0. :) Not not sure if it is stable... Check this one, which is using MW1.14.0 Sachein 18:23, 3 June 2009 (UTC)
Hi, but did you edit picasa2.php near the end and replace wfprinterror with wfprinterror2 Then it works! :) Sachein 18:27, 8 June 2009 (UTC)
Hi Roc michale,
Do you know:
<meta name="title" content="test" />
When I add a link to Facebook the title doesn't appear. Can you help Sachein 17:26, 7 June 2009 (UTC)
Hi Sachein,
Is the tag of "Add HTML Meta and Title Extension, right? I search the Mediawiki.org and find it. Sorry, I haven't used it. :-( --Roc michael 13:16, 8 June 2009 (UTC)
When I add your links to Facebook the title appears but when I do it to mine it doesn't :( Sachein 18:27, 8 June 2009 (UTC)
"When I add your links to Facebook...." I don't know what you talk about (my link). Sorry! My email had a problem and I didn't find it.--Roc michael 13:53, 26 August 2009 (UTC)
look this michael http://www.nownews.com/2010/08/12/91-2635619.htm
204a8010aa
[edit]Extension:DPL Page Name S/N Maker (using SemanticForms)
[edit]Hi Michael! This is an brilliant template (I love seeing DPL and SMW used together) that seems to be exactly what I need for a corporate wiki I'm developing, but when I added it it produced this error:
The next serial number is {{#pad:Expression error: Unrecognised punctuation character "{".
|5 |0 }}
I already had the following installed, so I expected that I could just copy the template and it would work.
- Mediawiki 1.20.2
- Semantic MediaWiki 1.8
- Semantic Forms 2.5.2
- DynamicPageList 2.01
- String functions (no version listed, but presumably 2.0.3)
The documentation mentions a "special version StringFunctions extension", so maybe that's what I'm missing? Where can I download it? Any idea of what could be wrong? Cheers.
~ Michael Chidester (Contact) 14:48, 21 March 2013 (UTC)
- Nevermind, I figured it out. Or rather, I determined that if I replace the
{{#pad:}}
function with the{{padleft:}}
magic word, the errors all resolve and it works. You might want to make this change in the source code and thus remove the need for Extension:StringFunctions. - ~ Michael Chidester (Contact) 18:49, 21 March 2013 (UTC)
Expression error: Unexpected < operator.
[edit]Hi Michael. I'm still working on getting your extension running on a corporate wiki, but while it worked perfectly for the first one, for any result higher than "00001" it keeps kicking out the error message Expression error: Unexpected < operator. This error isn't covered on the Parser Functions help page, but based on the documentation I assumed that it must be a stray <
character or possibly a tag inside a function where tags aren't allowed. However, even when I remove all instances of the <
character from the template (by eliminating the comments, the <strong>
tags, and the <noinclude>
tags), the error message persists.
Here is the text of the template, after I modified it to use the {{padleft}}
magic word:
[removed]
Any idea what the problem is and/or how I can correct it? I've cross-posted this in a few other places, and if I get an answer I'll let you know so you can implement it in your base version. Thanks! ~ Michael Chidester (Contact) 15:15, 22 March 2013 (UTC)
Solution
[edit]Ultimately I determined that this was a DPL problem, possibly due to the {{expr:}}
function refusing to parse the standard output format of DPL. Here is my modified code, changing out the deprecated string functions for their replacements and modifying the DPL output to produce a regular string rather than a link:
{{#if: {{{form|}}} | {{#ifexist: Form:{{{form|}}} | | <strong class="error">Warning! The form "{{{form|}}}" may not be a valid form name!</strong> }} | }}<!--- -->{{#if: {{{form|}}} | {{#ifeq: {{lc:{{NS:{{{namespace|}}} }} }} | {{lc:{{{namespace|}}} }} | | <strong class="error">Warning! "{{{namespace}}}" may not be a valid namespace name!</strong> }} | }}<!--- -->The next document number is '''<!-- -->{{#if: {{{namespace|}}} | {{{namespace|}}}: }}{{{prefix|}}}<!-- -->{{padleft:<!----------- (X+1) => 0000(X+1) -->{{#expr:<!---------- 0000X+1 => (X+1) -->{{replace|<!----- "Namespace:prefix0000X" => "0000X" -->{{replace|<!-- "*[[Namespace:prefix0000X]]" => "Namespace:prefix0000X" -->{{#dpl:<!-- return pages named "*[[Namespace:prefix0000X]]" -->titleregexp =^{{{prefix|}}}[0-9]{{{{pad|5}}}}$<!-- -->| namespace = {{{namespace|}}}<!-- -->| order = descending<!-- -->| mode = userformat<!-- -->| format = ,%PAGE%<!-- -->| noresultsheader = {{padleft:0|{{{pad|5}}}|0}}<!-- -->| count = 1 }} |/^([^{{!}}]+\{{!}}){1}([^\]]+).*/ |\2 }} | {{#if: {{{namespace|}}} | {{{namespace|}}}:}}{{{prefix|}}} | }} +1 }} | {{{pad|5}}} | 0 }}''' ---- {{#if: {{{form|}}} | {{#forminput: {{{form|}}} | {{{width|20}}} | {{{prefix|}}}<!-- -->{{padleft:<!----------- (X+1) => 0000(X+1) -->{{#expr:<!---------- 0000X+1 => (X+1) -->{{replace|<!----- "Namespace:prefix0000X" => "0000X" -->{{replace|<!-- "*[[Namespace:prefix0000X]]" => "Namespace:prefix0000X" -->{{#dpl:<!-- return pages named "*[[Namespace:prefix0000X]]" -->titleregexp =^{{{prefix|}}}[0-9]{{{{pad|5}}}}$<!-- -->| namespace = {{{namespace|}}}<!-- -->| order = descending<!-- -->| mode = userformat<!-- -->| format = ,%PAGE%<!-- -->| noresultsheader = {{padleft:0|{{{pad|5}}}|0}}<!-- -->| count = 1 }} |/^([^{{!}}]+\{{!}}){1}([^\]]+).*/ |\2 }} |{{#if: {{{namespace|}}} | {{{namespace|}}}:}}{{{prefix|}}} | }} +1 }} | {{{pad|5}}} | 0 }} | {{{buttonlabel|Add}}} | {{#if: {{{namespace|}}} | namespace = {{{namespace|}}} }} }} | <includeonly><strong class="error">Warning! You haven't specified a SemanticForm for page creation! Please specify a SemanticForm name.</strong></includeonly> }}<noinclude> {{documentation}} </noinclude>
Thanks so much for putting this together, I had no idea how to approach the problem before I found your template. Cheers. ~ Michael Chidester (Contact) 15:41, 26 March 2013 (UTC)
Main Page Design
[edit]Hello. Could you explain how to create main page like on MediaWiki, please? It would be great if you explain step by step. 84.204.22.130 09:08, 24 June 2013 (UTC)
- @84.204.22.130: Please see Thread:Project:Support desk/Frames like on mediawiki frontpage. jonkerz ♠talk 22:43, 24 June 2013 (UTC)