Module talk:Citation/CS1: Difference between revisions

Content deleted Content added
Updating help: new section
Line 272:
 
Excuse me if this is the wrong forum, but I am trying to update the Haitian Creole Wikipedia’s [[ht:Module:Citation/CS1|version of this file]] and [[ht:Special:Diff/689481|WhatamIdoing mentioned]] that {{u|Trappist the monk}} would probably be able to figure this out. When I copy from here and paste to there, then preview what that update would do, I keep seeing the same error appear where I would expect to see well‑formed citations. It says there is a Lua error in [[ht:Module:Citation/CS1|Module:Citation/CS1]] on line 2968 (a line that doesn’t exist, before ''or'' after the potential update): “<code>attempt to call field 'set_selected_modules' (a nil value)</code>”. Thank you. —<span style="text-shadow:0 0 .15em #900;color:#900">[[User:LLarson|LLarson]]</span>&#160;<small>([[User talk:LLarson|said]]&#8239;&amp;&#8239;[[Special:Contributions/LLarson|done]])</small> 21:24, 18 February 2016 (UTC)
:You must copy the whole suite; it won't work if you don't. Copy these:
::[[Module:Citation/CS1]]
::[[Module:Citation/CS1/Configuration]]
::[[Module:Citation/CS1/Whitelist]]
::[[Module:Citation/CS1/Date validation]]
::[[Module:Citation/CS1/Identifiers]]
::[[Module:Citation/CS1/Utilities]]
::[[Module:Citation/CS1/COinS]]
::[[Module:Citation/CS1/Suggestions]]
:Probably best to copy them to sandbox versions so that you can test to make sure everything is right before you dump this whole very big change onto your unsuspecting editors. Then, once you are convinced that all is working right, and you have made whatever local changes you want to make, you can overwrite the live version from the sandbox (again, all of the modules).
 
:If you need more help, shout.
 
:And yes, line 2968 does exist in the English version of Module:Citation/CS1. The error message occurred because [[ht:Module:Citation/CS1/Date validation]] does not have the required function set_selected_modules().
 
:—[[User:Trappist the monk|Trappist the monk]] ([[User talk:Trappist the monk|talk]]) 00:17, 19 February 2016 (UTC)