WaterWiki.net:Development/20091019 WikiBot Issues

From WaterWiki.net

(Difference between revisions)
Jump to: navigation, search
Line 1: Line 1:
== GlossaryRelated duplication ==
== GlossaryRelated duplication ==
-
GlossaryRelated duplicated in Glossary pages.
+
{{GlossaryRelated}} duplicated in Glossary pages.
Eliminate all of the == See also == section content.
Eliminate all of the == See also == section content.
=== Solution ===
=== Solution ===
-
 
-
MIKEL
 
Not sure of the problem yet, will fix with additional wikibot
Not sure of the problem yet, will fix with additional wikibot
Line 16: Line 14:
http://waterwiki.net/index.php/Azerbaijan_Country_Profile_for_Johannesburg_Summit_2002
http://waterwiki.net/index.php/Azerbaijan_Country_Profile_for_Johannesburg_Summit_2002
-
also box-small  not applied
+
also @box-small  not applied
=== Solution ===
=== Solution ===
-
 
-
MIKEL/JUERG/KATY
 
Layout:Publication has changed since the WikiBot has run. This is why you see a difference.
Layout:Publication has changed since the WikiBot has run. This is why you see a difference.
I will rerun the Layout:Publication layout application.
I will rerun the Layout:Publication layout application.
-
In order for the top section to use small boxes, please add "tablesec" directive, along with __TABLESEC.
+
In order for the top section to use small boxes, please add "@tablesec" directive, along with __TABLESEC.
-
(also just fyi, the directive to control size of box is not "box-small", but "smalledit")
+
(also just fyi, the directive to control size of box is not "@box-small", but "@smalledit")
== Organization Layout ==
== Organization Layout ==
-
oldtitles=Information Resources/Tools/Materials isn't effective.
+
@oldtitles=Information Resources/Tools/Materials isn't effective.
e.g. in UN-agency pages (see e.g. UN-Habitat) there are now 2 paras:
e.g. in UN-agency pages (see e.g. UN-Habitat) there are now 2 paras:
Line 38: Line 34:
=== Solution ===
=== Solution ===
-
 
-
MIKEL
 
"Information  Resources" section has two spaces. Will make old titles ignore extra whitespace.
"Information  Resources" section has two spaces. Will make old titles ignore extra whitespace.
-
== box-small ==
+
== @box-small ==
-
box-small not working in  http://waterwiki.net/index.php/Layout:Experience
+
@box-small not working in  http://waterwiki.net/index.php/Layout:Experience
e.g. http://waterwiki.net/index.php/Watershed_Management_Projects_and_Microfinance_comparative_experiences
e.g. http://waterwiki.net/index.php/Watershed_Management_Projects_and_Microfinance_comparative_experiences
=== Solution ===
=== Solution ===
-
 
-
KATY/JUERG
 
Not a wikibot issue, just needs fixing in the Layout:Experience
Not a wikibot issue, just needs fixing in the Layout:Experience
Line 58: Line 50:
Two things.
Two things.
-
* it's "smalledit", not "box-small"
+
* it's "@smalledit", not "@box-small"
-
* Add tablesec to the same section as _TABLESEC_. That will enforce "smalledit" on all the sections above it.
+
* Add @tablesec to the same section as __TABLESEC__. That will enforce "@smalledit" on all the sections above it.
Line 68: Line 60:
* it opens in generic instead of classic mode
* it opens in generic instead of classic mode
* when adding a new chapter (in generic), adds it at end (not above
* when adding a new chapter (in generic), adds it at end (not above
-
references) and as a small-box
+
==references==) and as a small-box
=== Solution ===
=== Solution ===
-
Not a WikiBot problem. Will investigate later.
+
MIKEL
 +
 
 +
problem in detection of generic layout, will fix.
== Layout Case Study & Experience ==
== Layout Case Study & Experience ==
-
New case study ..
+
New case study ..
e.g.
e.g.
Line 86: Line 80:
http://waterwiki.net/index.php/Aso_asid%C3%B6a?title=Aso_asid%25C3%25B6a&action=edit&layout=Experience
http://waterwiki.net/index.php/Aso_asid%C3%B6a?title=Aso_asid%25C3%25B6a&action=edit&layout=Experience
-
* omits chapter references, but does for whatever reason include
+
* omits chapter ==references==, but does for whatever reason include
-
<references/> etc. in See also
+
<references/> etc. in ==See also==
=== Solution ===
=== Solution ===
-
KATY/JUERG
+
Layout:Case_Study has oldtitles=References for both "References" and "See Also".  
-
 
+
-
Layout:Case_Study has oldtitles=References for both "References" and "See Also".
+
the same oldtitle value can not be assigned to multiple sections.
the same oldtitle value can not be assigned to multiple sections.
SO you need to remove References from See Also?
SO you need to remove References from See Also?
 +
 +
== Layout: Articles ==
 +
 +
ARTICLEs: duplication of references section, despite @oldtitles= Further Readings - References - Link being in the layout?
 +
 +
e.g. http://waterwiki.net/index.php/Drinking_water_technologies
 +
 +
Also duplicated on http://waterwiki.net/index.php/Armenia_-_New_Water_Code References/Links and References section.
 +
 +
=== Solution ===
 +
 +
Again, problem with duplicate old-titles.
 +
 +
For the Armenia_-_New_Water_Code artilce, "References / Links" is not set as an oldtitle in the Layout.
 +
 +
 +
== {{ArticleRelated}} duplicated ==
 +
 +
create new ARTICLE page with the layout, {{ArticleRelated}} is duplicated upon saving.
 +
 +
=== SOLUTION ===
 +
 +
JUERG/KATY remove "See Also" from oldtitles for "See Also" .. this really confuses the code!
 +
 +
== Case Study Layout duplication ==
 +
 +
e.g. http://waterwiki.net/index.php/Tajikistan_-_Mobilization_of_labor_remittances_into_infrastructure_rehabilitation where 2 separate references sections, and a blank section above??? THREE references sections on http://waterwiki.net/index.php/Lithuania_-_Sustainable_Development_of_the_Nemunas_Delta_Supported_by_the_Community_of_Minge_Village
 +
 +
I checked the case study layout, "References, Sources, and Further Information" was in 'see also' but with no gap btwn comma and sources, but second ref section (Source Documents, References, Cross-Links, and Further Readings) was nowhere. I have amended these problems with the layout. Is there not too many @oldtitles in the layouts, not easily distinguishable? (i.e. with the use of commas, how is the bot to know what is the start of a new @oldtitle??)
 +
2.1. As Juerg highlights, is a problem that on creating "references" does not appear, but does on saving.
 +
 +
=== Solution ===
 +
 +
JUERG/KATY
 +
 +
Again, I think a problem addressed by Solutions above.
 +
 +
== Layout Publication ==
 +
 +
 +
* "headline text" in http://waterwiki.net/index.php/Communities_of_practice_for_development_in_the_Middle_East_and_North_Africa, added to oldtitle for Summary section
 +
 +
* Attachment section duplication. E.g. http://waterwiki.net/index.php/Generating_Opportunities:_Case_Studies_on_Energy_and_Women.
 +
 +
* Blank Sections
 +
eg http://waterwiki.net/index.php/Draft_Regional_Millennium_Development_Goals_Report and http://waterwiki.net/index.php/Environmental_Performance_Review_Chapter_6_Water_Management_Including_Protection_of_Lakes
 +
 +
* http://waterwiki.net/index.php/Biofuels_and_Water is a bit of a mess in terms of multiple 'further links' sections not incorporated into External Resources.
 +
 +
* There is also a random "Relevant Publications" on this page???
 +
 +
* "Type/Format" forming a new section rather than being part of the table under "Publication Type" on http://waterwiki.net/index.php/Development_cooperation_and_international_human_rights_obligations. I have made amendments to the layout for type/format, but blank (5) sections solving.
 +
 +
=== Solution ===
 +
 +
MIKEL KATY JUERG
 +
 +
* Attachments should not have oldtitle=Attachments
 +
 +
* Blank sections will be fixed by running WikiBot again. Also "Type/Format" will be fixed by another WikiBot run.
 +
 +
* Further Links are not a Section, but simply BOLD text. Need to decide .. is WikiBot appropriate, or manual solution?
 +
 +
* Relevant Publications pre-existed .. set as an "oldtitle" somewhere?
 +
 +
== Layout Experience ==
 +
 +
* EXPERIENCE: Strangely, Context
 +
                Focus Areas
 +
                Geographic Scope
 +
                Stakeholders
 +
                Contacts
 +
Appears at the top of  http://waterwiki.net/index.php/Comparative_Experience:_Water_Councils. Problem with the same 5 headings appearing at the top of http://waterwiki.net/index.php/Coordination_mechanisms (appears to be a problem on all pages categorised "Experience", which as with so many other pages has a duplication of references sections.
 +
 +
 +
* I have added References, Links, Further Readings to the @oldtitles in layout.  On http://waterwiki.net/index.php/Stakeholder_Participation_in_River_Basin_Councils_-_Kazakhstan "Further Readings - References - Links" remains a stand alone section and has not been absorbed into 'See also' section, despite it being in the list of @oldtitle in the layout??? This is possibly proof that the extensive use of commas in the @oldtitles lists is confusing the bot? Given that some old titles have one or two commas in them, should not ; or something be used to separate the list of oldtitles. If not how does the bot know what comma is part of an old title, and which is the beginning of a new one?
 +
 +
*  Same as with case study, and as Juerg pointed out, when creating new Experience page, ref section does not appear, but does on saving?
 +
 +
=== Solutions ===
 +
 +
KATY/JUERG
 +
 +
* Those five sections appear at the top of the Layout. If you don't want them there, remove them from the Layout.
 +
 +
* Do replace "," with ";" as oldtitles seperator.
 +
 +
* Again same problems with Layouts changing after WikiBot run, and with multiple sections referencing the same section in oldtitle.
 +
 +
== Organization ==
 +
 +
* Problem still remains that I previously highlighted with the headings at the top of the page remaining blank on pages with an infobox e.g. http://waterwiki.net/index.php/IAH But this is not a problem on pages without infoboxes e.g. http://waterwiki.net/index.php/International_Commission_for_the_Protection_of_the_Elbe
 +
 +
=== Solution ===
 +
 +
Katy / Juerg
 +
 +
* Sorry, these need to be handled manually. There aren't so many. List is at
 +
 +
http://waterwiki.net/index.php/WaterWiki.net_List_of_Organization_Infoboxes
 +
 +
 +
== GLOSSARY: Duplication of references sections ==
 +
 +
 +
*  GLOSSARY: Duplication of references sections on what looks like ALL glossary pages, e.g. http://dev.waterwiki.net/index.php/Acid_water 'References and Links' as well as ref section. I have added References and Links to the layout on WW, not dev, so hopefully this problem will disappear when run on production.
 +
 +
=== Solution ===
 +
 +
KATY JUERG
 +
 +
Again, duplication will be fixed by removal of duplicate @old-titles.
 +
 +
== Subpages ==
 +
 +
9. What do you mean by "Subpages added for country/region/water_basin pages" in your email on 17th Oct? Were not these subpages already on these portal pages as part of the {{TopOfPage}} (even if not all are actually created)?
 +
 +
=== Solution ===
 +
 +
These were created, if they didn't already exist.

Revision as of 15:46, 19 October 2009

GlossaryRelated duplication

duplicated in Glossary pages.

Eliminate all of the == See also == section content.

= Solution =

Not sure of the problem yet, will fix with additional wikibot

Layout Publication

Layout Publication needs another edit save example. http://waterwiki.net/index.php/Azerbaijan_Country_Profile_for_Johannesburg_Summit_2002

also @box-small not applied

= Solution =

Layout:Publication has changed since the WikiBot has run. This is why you see a difference. I will rerun the Layout:Publication layout application.

In order for the top section to use small boxes, please add "@tablesec" directive, along with __TABLESEC.

(also just fyi, the directive to control size of box is not "@box-small", but "@smalledit")

Organization Layout

@oldtitles=Information Resources/Tools/Materials isn't effective.

e.g. in UN-agency pages (see e.g. UN-Habitat) there are now 2 paras: "Information Resources/Tools/Materials" and the intended "Key Resources"


= Solution =

"Information Resources" section has two spaces. Will make old titles ignore extra whitespace.


@box-small

= Solution =

Not a wikibot issue, just needs fixing in the Layout:Experience

Two things.

  • it's "@smalledit", not "@box-small"
  • Add @tablesec to the same section as
. That will enforce "@smalledit" on all the sections above it.


Article_(generic_layout)

When creating article with "Article_(generic_layout)"

  • it opens in generic instead of classic mode
  • when adding a new chapter (in generic), adds it at end (not above

==references==) and as a small-box

Solution

MIKEL

problem in detection of generic layout, will fix.


Layout Case Study & Experience

New case study ..

e.g. http://waterwiki.net/index.php/Aso_asid%C3%B6a?title=Aso_asid%25C3%25B6a&action=edit&layout=Case+Study):

or new Experience

http://waterwiki.net/index.php/Aso_asid%C3%B6a?title=Aso_asid%25C3%25B6a&action=edit&layout=Experience

  • omits chapter ==references==, but does for whatever reason include
etc. in ==See also==

Solution

Layout:Case_Study has oldtitles=References for both "References" and "See Also".

the same oldtitle value can not be assigned to multiple sections.

SO you need to remove References from See Also?

Layout: Articles

ARTICLEs: duplication of references section, despite @oldtitles= Further Readings - References - Link being in the layout?

e.g. http://waterwiki.net/index.php/Drinking_water_technologies

Also duplicated on http://waterwiki.net/index.php/Armenia_-_New_Water_Code References/Links and References section.

Solution

Again, problem with duplicate old-titles.

For the Armenia_-_New_Water_Code artilce, "References / Links" is not set as an oldtitle in the Layout.


==

3 related..
..Publications:

Getting the ‘Off Track’ on Target
Categories: HDR2006, MDG, Paper, Publication
Tension Between Agricultural Growth and Sustainabi...
Categories: HDR2006, Mexico, Paper, Publication, Sustainability
Nature for Water: Protecting Water-Related Ecosyst...
Categories: Publication, Sustainable development, UNECE

..Projects/Case studies:
..Articles:
Related categories:
duplicated ==

create new ARTICLE page with the layout,

3 related..
..Publications:

Getting the ‘Off Track’ on Target
Categories: HDR2006, MDG, Paper, Publication
Tension Between Agricultural Growth and Sustainabi...
Categories: HDR2006, Mexico, Paper, Publication, Sustainability
Nature for Water: Protecting Water-Related Ecosyst...
Categories: Publication, Sustainable development, UNECE

..Projects/Case studies:
..Articles:
Related categories:
is duplicated upon saving.

SOLUTION

JUERG/KATY remove "See Also" from oldtitles for "See Also" .. this really confuses the code!

Case Study Layout duplication

e.g. http://waterwiki.net/index.php/Tajikistan_-_Mobilization_of_labor_remittances_into_infrastructure_rehabilitation where 2 separate references sections, and a blank section above??? THREE references sections on http://waterwiki.net/index.php/Lithuania_-_Sustainable_Development_of_the_Nemunas_Delta_Supported_by_the_Community_of_Minge_Village

I checked the case study layout, "References, Sources, and Further Information" was in 'see also' but with no gap btwn comma and sources, but second ref section (Source Documents, References, Cross-Links, and Further Readings) was nowhere. I have amended these problems with the layout. Is there not too many @oldtitles in the layouts, not easily distinguishable? (i.e. with the use of commas, how is the bot to know what is the start of a new @oldtitle??) 2.1. As Juerg highlights, is a problem that on creating "references" does not appear, but does on saving.

Solution

JUERG/KATY

Again, I think a problem addressed by Solutions above.

Layout Publication

  • Blank Sections

eg http://waterwiki.net/index.php/Draft_Regional_Millennium_Development_Goals_Report and http://waterwiki.net/index.php/Environmental_Performance_Review_Chapter_6_Water_Management_Including_Protection_of_Lakes

  • There is also a random "Relevant Publications" on this page???

Solution

MIKEL KATY JUERG

  • Attachments should not have oldtitle=Attachments
  • Blank sections will be fixed by running WikiBot again. Also "Type/Format" will be fixed by another WikiBot run.
  • Further Links are not a Section, but simply BOLD text. Need to decide .. is WikiBot appropriate, or manual solution?
  • Relevant Publications pre-existed .. set as an "oldtitle" somewhere?

Layout Experience

  • EXPERIENCE: Strangely, Context
               Focus Areas
               Geographic Scope
               Stakeholders
               Contacts

Appears at the top of http://waterwiki.net/index.php/Comparative_Experience:_Water_Councils. Problem with the same 5 headings appearing at the top of http://waterwiki.net/index.php/Coordination_mechanisms (appears to be a problem on all pages categorised "Experience", which as with so many other pages has a duplication of references sections.


  • I have added References, Links, Further Readings to the @oldtitles in layout. On http://waterwiki.net/index.php/Stakeholder_Participation_in_River_Basin_Councils_-_Kazakhstan "Further Readings - References - Links" remains a stand alone section and has not been absorbed into 'See also' section, despite it being in the list of @oldtitle in the layout??? This is possibly proof that the extensive use of commas in the @oldtitles lists is confusing the bot? Given that some old titles have one or two commas in them, should not ; or something be used to separate the list of oldtitles. If not how does the bot know what comma is part of an old title, and which is the beginning of a new one?
  • Same as with case study, and as Juerg pointed out, when creating new Experience page, ref section does not appear, but does on saving?

Solutions

KATY/JUERG

  • Those five sections appear at the top of the Layout. If you don't want them there, remove them from the Layout.
  • Do replace "," with ";" as oldtitles seperator.
  • Again same problems with Layouts changing after WikiBot run, and with multiple sections referencing the same section in oldtitle.

Organization

Solution

Katy / Juerg

  • Sorry, these need to be handled manually. There aren't so many. List is at

http://waterwiki.net/index.php/WaterWiki.net_List_of_Organization_Infoboxes


GLOSSARY: Duplication of references sections

  • GLOSSARY: Duplication of references sections on what looks like ALL glossary pages, e.g. http://dev.waterwiki.net/index.php/Acid_water 'References and Links' as well as ref section. I have added References and Links to the layout on WW, not dev, so hopefully this problem will disappear when run on production.

Solution

KATY JUERG

Again, duplication will be fixed by removal of duplicate @old-titles.

Subpages

9. What do you mean by "Subpages added for country/region/water_basin pages" in your email on 17th Oct? Were not these subpages already on these portal pages as part of the Template:TopOfPage (even if not all are actually created)?

Solution

These were created, if they didn't already exist.