https://bugzilla.wikimedia.org/show_bug.cgi?id=18733
--- Comment #7 from Happy-melon <[email protected]> 2009-05-09 19:13:48 UTC --- I see what you are attempting to accomplish; in fact it is a fairly elegant way to achieve the desired effect. You could even use the References chapter *as* the ref page, using <onlyinclude> to only transclude the actual references. This is a good solution to the problem at hand. One way or another, you just need to ensure that each book page ends with a <references/> tag, preferably hidden. You could do something like this: ================================================ Template:HideCiteErrors: ============= <div style="display:none;"><references/></div> ================================================ ================================================ SomeBook/SomeChapter ============= {{SomeBook/References}} Blah blah blah<ref name=foo/> blah blah {{HideCiteErrors}} ================================================ ================================================ SomeBook/References ============ Blah blah blah header blurb <onlyinclude><includeonly> *<ref name=foo>Ref text</ref> *<ref name=bar>More ref text</ref> </includeonly></onlyinclude> <references/> ================================================ Does that make sense? Essentially, the 'workaround' from enwiki suppresses errors from refs *above* it on the page. So to ensure that all errors are avoided, you need to put the 'workaround' code at the bottom of each page. Alternatively, enwikibooks could suppress or entirely disable the cite error message like enwiki has. You'd need to discuss that on the appropriate wikibooks forum; it can be done by editing the [[MediaWiki:Cite error]] family of messages. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
