Extension talk:DPL Page Name S/N Maker

From mediawiki.org
Jump to navigation Jump to search

Is this an extension? Should it be using the "extensions" infobox? Sounds like a useful template, more than anything else. Werdna 03:00, 31 March 2008 (UTC)[reply]

Yes, It's a template and I think it's useful. Could you help me to arrange it properly or cancel it. Thanks --Roc michael 12:22, 31 March 2008 (UTC)[reply]

Has anyone got this to work with windows running:

  • MediaWiki 1.13.0
  • PHP 5.2.6 (apache2handler)
  • MySQL 5.0.51b-community-nt
  • DynamicPageList2 (Version 1.7.4)
  • Inputbox(does not have a version number)

I am getting this at the top of my template:
The next serial number is {{#if:|:}}{{#expr: 00000 +1}} <html><form name="createbox" action="/index.php" method="get" class="createbox" onsubmit="document.createbox.title.value = document.createbox.titleprefix.value + document.createbox.title.value;"> <input type='hidden' name="action" value="edit" /> <input type="hidden" name="preload" value="break=no" /> <input type="hidden" name="editintro" value="preload=" /> <input type='hidden' name="titleprefix" value="" /> <input class="createboxInput" name="title" type="text" value="{{#if:|:}}{{#expr: 00000 +1}}" size="25" /> <input type='submit' name="create" class="createboxButton" value="creat" /> </form> </html>
Thanks you -- Dave 12:08, 15 October 2008 (UTC)[reply]

Re problem[edit]

  • Mediawiki 1.12.x 1.13.x :Before you install the special version of Inputbox extension you have to add "$wgParserConf['class'] = 'Parser_OldPP';" (and this way cannot work in MW 1.14 )in the LocalSetting.php to make its parser function work. It's something looks like following:
$wgParserConf['class'] = 'Parser_OldPP';

Can't get this to auto-populate the input box[edit]

On the demo page for this extension, it shows the generated serial number being auto-populated into the input box, but this doesn't seem to be working for me by default. Since I'm also not getting the editintro or preload pages populating, I'm guessing that I've missed something important, rather than this being a fundamental bug.

I'm using the following configuration:

  • MediaWiki 1.19.1
  • PHP 5.2.17 (cgi-fcgi)
  • MySQL 5.0.91-log
  • DynamicPageList 2.01
  • InputBox 0.1.4
  • StringFunctions 2.0.3

Please note that there was a comment about using a custom version of the InputBox extension, but the link didn't seem to take me anywhere useful [1].

Can anyone point me in the right direction to start troubleshooting, please?

Many thanks! --Jlandells (talk) 08:40, 5 October 2012 (UTC)[reply]

I had similar problems with newest InputBox and needed to modify the Template as follows:
{{#tag:inputbox | 
-- 09:34, 29 October 2012 (UTC)[reply]