Familypedia
(revised instructions)
Line 28: Line 28:
   
 
::Problem is now being tackled on a couple of fronts, including the revised instructions above (based on that new template). — [[User:Robin Patterson|Robin Patterson]] [[User talk:Robin Patterson|(Talk)]] 06:01, 29 June 2009 (UTC)
 
::Problem is now being tackled on a couple of fronts, including the revised instructions above (based on that new template). — [[User:Robin Patterson|Robin Patterson]] [[User talk:Robin Patterson|(Talk)]] 06:01, 29 June 2009 (UTC)
  +
Since you don't have a computer that can do the AWB run, shall I have PhloxBot do it? -{{User:Phlox/Sig}} 08:05, 29 June 2009 (UTC)

Revision as of 08:05, 29 June 2009

Forums: Index > Help desk > Broken boxes and links


(Recent readers of Forum:Problems with info templates and/or Forum:CategorySelect probably know this. Others may not have known where to look. "How you may fix it" is a new paragraph below.)

What you may see

If you see a page with otherwise neat boxes half shattered and extended with unwanted cells, or links that have the closing brackets in a new line so that they don't work as links, the page may have suffered from the effect of "CategorySelect" (or category tagging) on our info page template.

Probable cause

CategorySelect, which was introduced by Wikia a few months ago, moves to the end of a page (after a "newline" - called "Enter" on my 10-year-old keyboard) any category it finds. The resulting newline adds unwanted newlines to every "get" template that tries to use the page; that produces unwanted cells in tables and expressions that are supposed to be links but aren't links because there's a newline before the closing brackets. That directly affects every article that has an info page - about 6,000 and growing.

Wikia agreed to our request that CategorySelect be turned off here. That was OK until Wikia rolled out its nice new Rich Text feature, which unfortunately included CategorySelect (and does not leave Rich Text users the option of turning off CategorySelect). When we saw what was happening, we asked Wikia to disable Rich Text until they could fix the problem.

If Rich Text is unchecked in your preferences, that may be because Wikia has now responded to the request that it be turned off here.

I suggest that, if any pages you have been working on have the broken appearance, you check your contributions - every info page, not just the new ones - since about 19 June to see what's at the bottom in "edit" mode. In order to see the categories, you need to have "Disable Category Tagging" checked in your Preferences (which requires that you not have Rich Text enabled).

How to kill the CategorySelect bug

The bad ones will have <noinclude>[[Category:Info pages]]</noinclude> in the bottom line. Move the category link up a couple of lines to sit just before the previous </noinclude>, and delete the noinclude tags and anything else left at the bottom - everything after the "end comment" tag (-->). Change the colon to a hyphen and the square brackets to curly brackets, then "home" to the start of the line and hit Backspace once (or twice if necessary) so that the "noinclude" moves up to the previous line right against its last character. The result should look a bit like this:

                    <!--delete all blank lines following this one or you will see 
extra lines when you do Get's! --><noinclude>{{Category-Info pages}}</noinclude>

Save the page and look at the article. Once the info page is fixed, you probably need to do a trivial edit to the article before it will fully incorporate the corrections.

If you see the same breaks on a page you have not been working on, please check the info page just the same; you can get to it via one of those "Edit info" links at the bottom of a box.

Robin Patterson (Talk) 02:28, 27 June 2009 (UTC)

At Robin's request, I took a look at this. I think we want our users to take good advantage of the new editor. The new editor will not cause problems with such esoteric pages if the category declarations are buried in a template, so that means either converting these cat declarations to use something like {{Category-Info pages}} or they need to be made part of {{Info table person}}. In either case, a bot run would be needed to make this switch. Instructions for how to do this using AWB may be found at Help:AutoWikiaBrowser#Simple_example. -~ Phlox 00:25, 28 June 2009 (UTC)
Problem is now being tackled on a couple of fronts, including the revised instructions above (based on that new template). — Robin Patterson (Talk) 06:01, 29 June 2009 (UTC)

Since you don't have a computer that can do the AWB run, shall I have PhloxBot do it? -~ Phlox 08:05, 29 June 2009 (UTC)