Extension talk:Autoincrement
This page used the LiquidThreads extension to give structured discussions. It has since been converted to wikitext, so the content and history here are only an approximation of what was actually displayed at the time these comments were made. |
more descriptions or examples
Hi. Please give me more descriptions or examples of this extension. --Roc michael 14:24, 29 December 2007 (UTC) 21:41, 21 July 2012 (UTC)
- It adds a variable {{AUTOINCRMENT}} that increases by 1 automatically each time it's used on a page. For example, "{{AUTOINCREMENT}} {{AUTOINCREMENT}} {{AUTOINCREMENT}} {{AUTOINCREMENT}} {{AUTOINCREMENT}}" would produce "0 1 2 3 4". --Skizzerz talk 16:27, 29 December 2007 (UTC) 21:41, 21 July 2012 (UTC)
- It's a really a good idea for using this extension in documents. But in general use, I think it's practical to make this extension start with "1" instead of "0" or users have to use this extension like the following way: <syntaxhighlight lang='text'>Expression error: Unrecognized punctuation character "[".,Expression error: Unrecognized punctuation character "[".,Expression error: Unrecognized punctuation character "[".,.......</pre> --Roc michael 13:01, 31 December 2007 (UTC) 21:42, 21 July 2012 (UTC)
- You could just do to prime the pump. <syntaxhighlight lang='text'> Template:AUTOINCREMENT Template:AUTOINCREMENT Template:AUTOINCREMENT Template:AUTOINCREMENT Template:AUTOINCREMENT</pre> would display as: "1 2 3 4 5" -- BlindWanderer 11:07, 14 May 2009 (UTC) 21:43, 21 July 2012 (UTC)
- It's a really a good idea for using this extension in documents. But in general use, I think it's practical to make this extension start with "1" instead of "0" or users have to use this extension like the following way: <syntaxhighlight lang='text'>Expression error: Unrecognized punctuation character "[".,Expression error: Unrecognized punctuation character "[".,Expression error: Unrecognized punctuation character "[".,.......</pre> --Roc michael 13:01, 31 December 2007 (UTC) 21:42, 21 July 2012 (UTC)
Autoincrement extension is not available for download
Hi, the Autoincrement extension does not seem to be available via the drop down menu of the Download MediaWiki extension page (http://www.mediawiki.org/wiki/Special:ExtensionDistributor/Autoincrement) as described under the Installation section of this page.
Would anybody know if there is another place where I can find the download for this extension please?
I've googled it extensively, but could not find anything.
Many thanks Pan Pana (talk) 15:49, 15 February 2013 (UTC)
- You can find the SVN checkout URL in the infobox to the right, if you make a folder and copy/paste into mediawiki/extensions/Autoincrement folder creating all the files are they are stated on the SVN it works fine. 76.27.83.31 18:45, 22 February 2013 (UTC)
Site wide autoincrement?
Is there a way to implement an autoincrement site wide? like store the {{AUTOINCREMENT}} hook in a template and call that template across multiple pages? like template:Autoincrement {{AUTOINCREMENT}} then you have page Cookies calls {{Template:Autoincrement}} which brings 1 then page Bananas calls {{Template:Autoincrement}} and gets 2, etc... 76.27.83.31 18:50, 22 February 2013 (UTC)
AutoIncrement on MW 1.25.1
Hello,
I recently upgraded from MediaWiki 1.17 to 1.25.1. I use the AutoIncrement extension. After upgrade, AutoIncrement loads (1.e. no errors and It's listed on the Version special page), but no longer functions. I confirmed we are on the latest version. Does anyone know if there are changes to MediaWiki hoooks or variables between 1.17 and 1.25 that would make this extension stop working?
Barring any solutions with this code, does anyone have a suggestion for alternative methods of achieving an Autoincrement-like behavior with other tags/functions?
Thanks! 216.168.230.7 16:46, 25 June 2015 (UTC)
Not working inside templates
I tried to use this in a template but I was wrong: multiple instances of such a template will print a series of 1, 1, 1, 1, etc., while use of the same syntax without a template will give you a series of 1, 2, 3, 4, etc. Is this intended behaviour? A bug? Or a limitation? Cavila 13:45, 25 November 2015 (UTC)