- This is a personal developmental wiki, it may often be in an unstable or experimental state and the lack of meaningful content on a page is often intentional; however, you can participate. Please: 1) create an account, 2) confirm your e-mail, 3) send Deirdre and e-mail telling her who you are and why you are interested. Thanks, --Deirdre(talk contribs)

Difference between revisions of "User talk:Inductiveload"

From DeeDeeswiki
Jump to: navigation, search
(ZOMG! Scary Transclusion rocks!: new section)
(Script for Commons: new section)
Line 14: Line 14:
 
*[[Python/subst]] a substitution of the same page
 
*[[Python/subst]] a substitution of the same page
 
--[[User:Doug|Doug.]]<sup>([[User talk:Doug|talk]] <small>•</small> [[Special:Contributions/Doug|contribs]])</sup> 22:05, 3 December 2011 (EST)
 
--[[User:Doug|Doug.]]<sup>([[User talk:Doug|talk]] <small>•</small> [[Special:Contributions/Doug|contribs]])</sup> 22:05, 3 December 2011 (EST)
 +
 +
== Script for Commons ==
 +
 +
Hey, on a separate issue, I need a script for adding a template to a series of jpgs modeled on the one you did for More.  Only difference is this one has only 3 digits to the page names rather than the 4 in More's Utopia.  I started trying to do it myself but got stuck on how to get the page number out of the middle of the page name.  I will keep trying but I think I need to spend more time on basics before I can do this myself.  The exact case I'm looking to do is [[commons:Category:Nietzsche's Werke, I]], there are only three files there now but there are several hundred that need to be.  I was just going to recat them but then I thought to {{tl|book}} them and then I though, well, I really ought to put the navigation in, so I created [[Commons:Template:Nietzsche's Werke, I]], but then realized I needed to bot in not only the template but the parameters for the page numbers, at which point I realized that a simple replace.py wouldn't work unless I made at least two runs (the first subst'ing pagenames and the second removing the non-numeric parts), which I recognize as silly.
 +
 +
*BTW, along the way I discovered a couple of pybot bugs, the first being that -titleregex only works in the mainspace (I submitted a bug) and the second being a problem with dotall and multiline when used in user-fixes.py--[[User:Doug|Doug.]]<sup>([[User talk:Doug|talk]] <small>•</small> [[Special:Contributions/Doug|contribs]])</sup> 05:50, 7 December 2011 (EST)

Revision as of 06:50, 7 December 2011

Success

I succeeded in backing up the database and the file system finally. I installed the most current version of Proofread Page but it failed on update.php so I removed it and installed the version that matches the mw version and after realizing I had to set permissions on all the folders and files created it's up! I haven't created the necessary namespaces , so Proofread Page won't function yet. Let me know anything you think should be changed.--Doug.(talk contribs) 00:48, 11 October 2011 (EDT)

Now we're cooking with gas

See Special:Version--Doug.(talk contribs) 18:54, 24 November 2011 (EST)

See Talk:Main_Page for updates on what's installed and what's working and what's not--Doug.(talk contribs) 16:00, 27 November 2011 (EST)

ZOMG! Scary Transclusion rocks!

Check out:

  • Python a transclusion of a non-mediawiki wiki
  • Python/raw a transclusion of the code from the same page
  • Python/subst a substitution of the same page

--Doug.(talk contribs) 22:05, 3 December 2011 (EST)

Script for Commons

Hey, on a separate issue, I need a script for adding a template to a series of jpgs modeled on the one you did for More. Only difference is this one has only 3 digits to the page names rather than the 4 in More's Utopia. I started trying to do it myself but got stuck on how to get the page number out of the middle of the page name. I will keep trying but I think I need to spend more time on basics before I can do this myself. The exact case I'm looking to do is commons:Category:Nietzsche's Werke, I, there are only three files there now but there are several hundred that need to be. I was just going to recat them but then I thought to {{book}} them and then I though, well, I really ought to put the navigation in, so I created Commons:Template:Nietzsche's Werke, I, but then realized I needed to bot in not only the template but the parameters for the page numbers, at which point I realized that a simple replace.py wouldn't work unless I made at least two runs (the first subst'ing pagenames and the second removing the non-numeric parts), which I recognize as silly.

  • BTW, along the way I discovered a couple of pybot bugs, the first being that -titleregex only works in the mainspace (I submitted a bug) and the second being a problem with dotall and multiline when used in user-fixes.py--Doug.(talk contribs) 05:50, 7 December 2011 (EST)