No edit summary
(40 intermediate revisions by the same user not shown)
Line 1: Line 1:
<nowiki>Find
== Please add here ==
#REDIRECT [[:Category</nowiki>


python replaceedit.py -regex "(?si)#REDIRECT\s*\[\[:Category" "See also: [[Category" -log -xml:currentdump.xml
If you find a category page with content that needs to be moved, please add it below. I'll assume it's being moved to a mainspace article of the same name, unless you say otherwise.


Appropedia:Ruleset <<<
* [[:Category:Open source hardware]]
-->  [[:Category:Appropedia policy]] - try [[Appropedia policy]]
--


List of topics <<<
=== Just move to mainspace ===
-->  [[:Category:Topics]] - try [[Topics]]


Adobe <<<
& use {{tl|cat header}} in its place:
-->  [[:Category:Adobe]] - try [[Adobe]]
* [[:Category:Water and sanitation for developing countries]]


Photovoltaics <<<
-->  [[:Category:Photovoltaics]] - try [[Photovoltaics]]


No category members:
* [[:Category:Service_Learning_Resources]]
* [[:Category:Demotech Search Demotech publications]]
* [[:Category:Making made easier]]
* [[:Category:Demotech About]]
* [[:Category:Developers toolkit]] -> [[User:Jonbart/Developers toolkit]]


Appropedia maintenance <<<
== Notes - finding more ==
-->  [[:Category:Appropedia maintenance]] - try [[Appropedia maintenance]]


Information and communication technology <<<
* I use my [[User:ChriswaterguyBot|bot]] to find <nowiki>#REDIRECT [[:Category</nowiki>
--> [[:Category:Information technology]] - try [[Information technology]]
* Check [http://www.appropedia.org/index.php?title=Special:WhatLinksHere/Template:Browsetopic&hidelinks=1 category pages with the Browsetopic template].
* Check [[User:Chriswaterguy/Wikignome/moving category page content with history - track last edits #Not enough content for a stub]]. (Good job for an [[Appropedia:Edit jams|Appropedia Edit Jam]] a.k.a. ApproJam - get people creating stubs, and flagging existing pages to be moved).


== Not now ==


How to <<<
Pages needing attention <<<
--> [[:Category:How tos]] - try [[How tos]]
--> [[:Category:Pages needing attention]] - try [[Pages needing attention]]


Sp <<<
--> [[:Category:Suggested projects]] - try [[Suggested projects]]


Engineers Without Borders <<<
Hexayurt Project <<<
-->  [[:Category:Engineers Without Borders]] - try [[Engineers Without Borders]]
-->  [[:Category:Hexayurt project]] - try [[Hexayurt project]]


Ewb nsw <<<
-->  [[:Category:EWB NSW]] - try [[EWB NSW]]


EWB Australia <<<
-->  [[:Category:Engineers Without Borders Australia]] - try [[Engineers Without Borders Australia]]


Solar cooker <<<
Many locations such as Guatemala...
--> [[:Category:Solar cooking]] - try [[Solar cooking]]
Indonesia <<<
--> [[:Category:Indonesia]] - try [[Indonesia]]


Demotech, design for self-reliance <<<
India <<<
--> [[:Category:Demotech]] - try [[Demotech]]
--> [[:Category:India]] - try [[India]]


Public health <<<
Bangladesh <<<
--> [[:Category:Public health]] - try [[Public health]]
--> [[:Category:Bangladesh]] - try [[Bangladesh]]


Internet resources <<<
USA <<<
--> [[:Category:Internet resources]] - try [[Internet resources]]
--> [[:Category:USA]] - try [[USA]]


Online courses and materials <<<
Australia <<<
--> [[:Category:Coursework]] - try [[Coursework]]
--> [[:Category:Australia]] - try [[Australia]]


Organizations <<<
Guatemala <<<
--> [[:Category:Organizations]] - try [[Organizations]]
--> [[:Category:Guatemala]] - try [[Guatemala]]


Cook stove <<<
Category:Humboldt County, California
--> [[:Category:Cookers]] - try [[Cookers]]
Mexico <<<
--> [[:Category:Mexico]] - try [[Mexico]]


Human-powered devices <<<
Turkmenistan <<<
--> [[:Category:Human power]] - try [[Human power]]
--> [[:Category:Turkmenistan]] - try [[Turkmenistan]]


Culture and development <<<
Australia <<<
--> [[:Category:Culture and development]] - try [[Culture and development]]
--> [[:Category:Australia]] - try [[Australia]]


Water conservation <<<
Bolivia <<<
--> [[:Category:Water conservation]] - try [[Water conservation]]
--> [[:Category:Bolivia]] - try [[Bolivia]]


Volunteering <<<
Food and drink <<<
--> [[:Category:International volunteer opportunities]] - try [[International volunteer opportunities]]
--> [[:Category:Food and agriculture]] - try [[Food and agriculture]]


Work <<<
Energy <<<
-->  [[:Category:Employment]] - try [[Employment]]
 
Gender <<<
-->  [[:Category:Gender]] - try [[Gender]]
 
Gender and development <<<
--> [[:Category:Gender and development]] - try [[Gender and development]]
 
Worm farming <<<
--> [[:Category:Vermiculture]] - try [[Vermiculture]]
 
Solar <<<
--> [[:Category:Solar]] - try [[Solar]]
 
Electricity <<<
--> [[:Category:Electricity]] - try [[Electricity]]
 
Building <<<
--> [[:Category:Alternative building]] - try [[Alternative building]]
 
Community participation in development <<<
--> [[:Category:Community participation]] - try [[Community participation]]
 
Recycle <<<
--> [[:Category:Recycling]] - try [[Recycling]]
 
Urban planning <<<
--> [[:Category:Urban planning]] - try [[Urban planning]]
 
Cob oven <<<
-->  [[:Category:Earthen ovens]] - try [[Earthen ovens]]
 
Events <<<
--> [[:Category:Events]] - try [[Events]]
 
Cobb <<<
--> [[:Category:Cobb]] - try [[Cobb]]
 
Porting helper <<<
--> [[:Category:Porting helpers]] - try [[Porting helpers]]
 
Transportation <<<
--> [[:Category:Transport]] - try [[Transport]]
 
Water quality <<<
-->  [[:Category:Water quality]] - try [[Water quality]]
 
Climate change <<<
-->  [[:Category:Climate change]] - try [[Climate change]]
 
Learning from Poverty <<<
-->  [[:Category:Demotech/Learning_from_Poverty]] - try [[Demotech/Learning_from_Poverty]]
 
ICT <<<
-->  [[:Category:Information technology]] - try [[Information technology]]
 
Gasification <<<
--> [[:Category:Gasification]] - try [[Gasification]]
 
Microfinance <<<
-->  [[:Category:Microfinance]] - try [[Microfinance]]
 
Mosquito <<<
--> [[:Category:Mosquito control]] - try [[Mosquito control]]
 
Recycled (grey) water <<<
-->  [[:Category:Water recycling]] - try [[Water recycling]]
 
Subsidies <<<
--> [[:Category:Subsidies and grants]] - try [[Subsidies and grants]]
 
Livestock <<<
-->  [[:Category:Livestock]] - try [[Livestock]]
 
Microcredit <<<
-->  [[:Category:Microfinance]] - try [[Microfinance]]
 
Biofuel <<<
-->  [[:Category:Biofuel]] - try [[Biofuel]]
 
Water supply <<<
-->  [[:Category:Water supply]] - try [[Water supply]]
 
Public transport <<<
-->  [[:Category:Public transport]] - try [[Public transport]]
 
Compost toilets <<<
-->  [[:Category:Composting toilets]] - try [[Composting toilets]]
 
Desalination plants <<<
-->  [[:Category:Desalination]] - try [[Desalination]]
 
Water conservation strategies <<<
-->  [[:Category:Water conservation]] - try [[Water conservation]]
 
Housing affordability <<<
--> [[:Category:Housing affordability]] - try [[Housing affordability]]
 
Prefabricated building <<<
--> [[:Category:Prefabricated buildings]] - try [[Prefabricated buildings]]
 
Alternative energy <<<
-->  [[:Category:Energy]] - try [[Energy]]
-->  [[:Category:Energy]] - try [[Energy]]


Battery technology <<<
--> [[:Category:Batteries]] - try [[Batteries]]


Butchering <<<
(then broke...)
-->  [[:Category:Butchering]] - try [[Butchering]]


Chickens <<<
-->  [[:Category:Chickens]] - try [[Chickens]]


Clothing <<<
[[:Category:Porting helpers]] - try [[Porting helpers]]
-->  [[:Category:Clothing]] - try [[Clothing]]


Cohousing <<<
--> [[:Category:Cohousing]] - try [[Cohousing]]


Compost <<<
== Don't touch without confirmation ==
-->  [[:Category:Composting]] - try [[Composting]]


Ducks <<<
-->  [[:Category:Ducks]] - try [[Ducks]]


Ecovillage <<<
Should [[:Category:Parras]] (at least most of the pages) be moved to [[:Category:Parras summer program]] to allow for pages related to the location but not the program?
--> [[:CATEGORY: Ecovillages]]


Laundry <<<
List of Projects <<<
-->  [[:Category:Laundry]] - try [[Laundry]]
-->  [[:Category:Projects]] - try [[Projects]]


Septic tank <<<
Parras Solar Hot Water <<<
--> [[:Category:Septic tanks]] - try [[Septic tanks]]
--> [[:Category:Parras Solar Hot Water]] - try [[Parras Solar Hot Water]]


Sheep <<<
Parras <<<
-->  [[:Category:Sheep]] - try [[Sheep]]
-->  [[:Category:Parras]] - try [[Parras]]


Solar distillation <<<
HSU <<<
--> [[:Category:Solar distillation]] - try [[Solar distillation]]
--> [[:Category:Humboldt State University]] - try [[Humboldt State University]]


Vegan <<<
Parras summer program <<<
--> [[:Category:Vegetarianism and veganism]] - try [[Vegetarianism and veganism]]
--> [[:Category:Parras]] - try [[Parras]]


Waste <<<
Campus Center for Appropriate Technology <<<
-->  [[:Category:Waste management]] - try [[Waste management]]
-->  [[:Category:CCAT]] - try [[CCAT]]


Wind power <<<
Parras 2006 <<<
-->  [[:Category:Wind power]] - try [[Wind power]]
-->  [[:Category:Parras 2006]] - try [[Parras 2006]]
 
Ethanol <<<
-->  [[:Category:Alcohol fuels]] - try [[Alcohol fuels]]
 
Batteries <<<
--> [[:Category:Batteries]] - try [[Batteries]]
 
Cities <<<
--> [[:Category:Built environment]] - try [[Built environment]]
 
Microhydro <<<
-->  [[:Category:Microhydro]] - try [[Microhydro]]
 
Strawbale <<<
-->  [[:Category:Strawbale]] - try [[Strawbale]]
 
Pedal power <<<
-->  [[:Category:Pedal power]] - try [[Pedal power]]
 
Dam <<<
--> [[:Category:Dams]] - try [[Dams]]
 
Greenhouse <<<
-->  [[:Category:Greenhouses]] - try [[Greenhouses]]
 
Suggested projects <<<
--> [[:Category:Suggested projects]] - try [[Suggested projects]]
 
Ecovillages <<<
--> [[:CATEGORY: Ecovillages]]
 
Prizes and competitions <<<
--> [[:Category:Prizes and competitions]] - try [[Prizes and competitions]]
 
Community participation <<<
--> [[:Category:Community participation ]] - try [[Community participation ]]
 
Cycling <<<
-->  [[:Category:Cycling]] - try [[Cycling]]
 
Foreign aid <<<
--> [[:Category:Official development assistance]] - try [[Official development assistance]]
 
Household Cyclopedia <<<
-->  [[:Category:Household Cyclopedia]] - try [[Household Cyclopedia]]
 
Mosquito control <<<
--> [[:Category:Mosquito control]] - try [[Mosquito control]]
 
Funding organization <<<
--> [[:Category:Funding organizations]] - try [[Funding organizations]]


Septic tanks <<<
--> [[:Category:Septic tanks]] - try [[Septic tanks]]


Wheelchairs <<<
== Editing: ==
--> [[:Category:Wheelchairs]] - try [[Wheelchairs]]


Community <<<
=== Key steps (bot work) ===
--> [[:Category:Community]] - try [[Community]]


Sun Frost <<<
Examples for changing headers, removing templates, and adding {{tl|topic page needed}} as appropriate - see also usage notes (more up to date?) at [[User:Chriswaterguy/Wikignome/moving category page content with history - list #Moved, 5 Nov 2011]].
--> [[:Category:Sun Frost]] - try [[Sun Frost]]


Lighting <<<
--> [[:Category:Lighting]] - try [[Lighting]]


Light <<<
rm these:  <nowiki>'{{(?:Browsetopic|Newpageresource|Putinthiscategory)}}'</nowiki>
--> [[:Category:Electric lighting]] - try [[Electric lighting]]


Education <<<
<nowiki>Look for '{{Lang\|\[\[:Category:'</nowiki>
--> [[:Category:Education]] - try [[Education]]


Air conditioning <<<
Look for [\[:Category in mainspace pages.
--> [[:Category:Air conditioning]] - try [[Air conditioning]]


Bottled water <<<
Add category:foo to Foo, on all changed pages.
--> [[:Category:Bottled water]] - try [[Bottled water]]


Air-conditioning <<<
=== (Updating the category pages) ===
--> [[:Category:Air conditioning]] - try [[Air conditioning]]


Improved stove <<<
--> [[:Category:Improved cook stoves]] - try [[Improved cook stoves]]


Engineers Without Borders UK <<<
...then use list to add {{cat header..., add introductory sentence.
-->  [[:Category:Engineers Without Borders UK]] - try [[Engineers Without Borders UK]]


Renewable energy <<<
--> [[:Category:Renewable energy]] - try [[Renewable energy]]


Aquaculture <<<
(Done on first batch.)
-->  [[:Category:Aquaculture]] - try [[Aquaculture]]
<nowiki>
python replaceedit.py -regex '(?si)(.*?)\[\[Category:(.*$)' '{{cat header| default.png |{{subst:PAGENAME}}| Please insert a brief topic summary here (take from the summary on the the topic page). }}\n\n[[Category:\2' -log -file:movedcats3 -namespace:14 -summary:'Add cat header template, pointing to the new location for the topic content. IMAGE NEEDED.' -pt:03 -excepttext:'cat header'
</nowiki>


Village Earth <<<
& e for edit.
-->  [[:Category:Village Earth]] - try [[Village Earth]]


Agriculture <<<
Then make template to tag cat pages that need moving.
--> [[:Category:Agriculture]] - try [[Agriculture]]


Construction and materials <<<
--> [[:Category:Construction and materials]] - try [[Construction and materials]]
Agricultural subsidy <<<
--> [[:Category:Agricultural subsidies]] - try [[Agricultural subsidies]]
Energy efficiency <<<
-->  [[:Category:Energy efficiency]] - try [[Energy efficiency]]
Pest control <<<
-->  [[:Category:Pest control]] - try [[Pest control]]
-->  [[:Category:Open source software]] - try [[Open source software]]
-->  [[:Category:Greywater]] - try [[Greywater]]
-->  [[:Category:Greywater treatment]] - try [[Greywater treatment]]
python replaceedit.py -regex "(?si)#REDIRECT\s*\[\[Portal:Greywater treatment" "#REDIRECT [[Greywater treatment]]" -log -xml:currentdump.xml
Then make template to tag cat pages that need moving.
How to search for cat pages > x bytes?
How to search for cat pages > x bytes?






??
=== (Updating the topic pages) ===
Pages needing attention <<<
--> [[:Category:Pages needing attention]] - try [[Pages needing attention]]


Sp <<<
<blockquote><tt><nowiki>python add_text.py -regex -up -text:'{{topic header| default.png |{{subst:PAGENAME}}}}\n\n'  -log -file:XXXXXX -summary:'Add topic header template to pages recently moved to mainspace. IMAGE NEEDED.' -excepttext:'topic header'</nowiki></tt></blockquote>
--> [[:Category:Suggested projects]] - try [[Suggested projects]]


Hexayurt Project <<<
e.g.
-->  [[:Category:Hexayurt project]] - try [[Hexayurt project]]


<blockquote><tt><nowiki>python add_text.py -up -text:'{{topic header| default.png |{{subst:PAGENAME}}}}\n\n'  -log -file:movedtopics -summary:'Add topic header template to pages recently moved to mainspace. IMAGE NEEDED.'  -except:'topic header'</nowiki></tt></blockquote>


offer category equal to the pagename:


<blockquote><tt><nowiki>python add_text.py -up -text:'{{topic header| default.png |Chriswaterguy/moving category page content with history}}\n\n'  -log -file:movedtopics -summary:'Add topic header template to pages recently moved to mainspace. IMAGE NEEDED.'  -except:'topic header'</nowiki></tt></blockquote>


=== Fixing redirects to the category ===


For each (& later for portals) check & change the redirects:
<nowiki>python replaceedit.py -regex "(?si)#REDIRECT\s*\[\[(:?)Category:\s*Foo" "#REDIRECT [[Foo" -log -namespace:0 -xml:currentdump.xml </nowiki>  ???????


Try:
'(?si)#REDIRECT\s*\[\[(:?)Category ?:(?:pagename1|...)\s*]]' '#REDIRECT \[\[\1]]'


(then fix double redirects)


<blockquote><tt><nowiki>python replaceedit.py -regex "(?si)#REDIRECT\s*\[\[Portal:Greywater treatment" "#REDIRECT [[Greywater treatment]]" -log -xml:currentdump.xml </nowiki></tt></blockquote>


add <nowiki>{{topic header | {{subst:PAGENAME}}}}</nowiki> in xml?
old idea:
:<nowiki>python replaceedit.py -regex "(?si)#REDIRECT\s*\[\[:Category" "See also: [[Category" -log -xml:currentdump.xml</nowiki>  


...then use list to add {{cat header
== Special cases ==
add introductory sentence (take from Chriswaterguy/test2)}}


Many locations such as Guatemala...
Don't move these unless we figure out a better way to handle these specific pages:
Indonesia <<<
-->  [[:Category:Indonesia]] - try [[Indonesia]]


India <<<
<nowiki>[[Category:Appropedia policy]]
--> [[:Category:India]] - try [[India]]
[[Category:Topics]]
</nowiki>
[[:Category:Appropedia policy]]


Bangladesh <<<
[[:Category:Topics]]
--> [[:Category:Bangladesh]] - try [[Bangladesh]]


USA <<<
[[:Category:User resources]]
--> [[:Category:USA]] - try [[USA]]


Australia <<<
== Category talk page ==
--> [[:Category:Australia]] - try [[Australia]]


Guatemala <<<
Move corresponding category talk pages using movepages.py.
-->  [[:Category:Guatemala]] - try [[Guatemala]]


Category:Humboldt County, California
== Cleanup ==
Mexico <<<
--> [[:Category:Mexico]] - try [[Mexico]]
 
Turkmenistan <<<
--> [[:Category:Turkmenistan]] - try [[Turkmenistan]]
 
Australia <<<
--> [[:Category:Australia]] - try [[Australia]]
 
Bolivia <<<
--> [[:Category:Bolivia]] - try [[Bolivia]]
 
Food and drink <<<
--> [[:Category:Food and agriculture]] - try [[Food and agriculture]]
 
Energy <<<
-->  [[:Category:Energy]] - try [[Energy]]
 
 
(then broke...)


Remove category specific templates from mainspace (mostly done):


[[:Category:Porting helpers]] - try [[Porting helpers]]
* <nowiki>{{[Tt]opic page needed}}</nowiki>


For each (& for portals) check & change the redirects:
Other follow-on changes:
<nowiki>python replaceedit.py -regex "(?si)#REDIRECT\s*\[\[:Category:\s*Foo" "#REDIRECT [[Foo" -log -namespace:0 -xml:currentdump.xml
* <nowiki>{{[Mm]ain article|[^}]*}}</nowiki> to {{tl|cat header}}?  eventually {{tl|main article}} should probably be merged to {{tl|main}}
</nowiki>  


== Don't touch without confirmation ==
---


need to finish cat headers, but move cats to bottom first:


Should [[Category:Parras]] (at least most of the pages) be moved to [[Category:Parras summer program]] to allow for pages related to the location but not the program?
:python cosmetic_changes.py -file:movedcats3 -namespace:14


List of Projects <<<
<nowiki>
-->  [[:Category:Projects]] - try [[Projects]]
-excepttext:'nowiki'


Parras Solar Hot Water <<<
'(.*?)([[Category:.*?]])\n([^[].*?)([[Category:.*?]])' '\1\3\2\4'
-->  [[:Category:Parras Solar Hot Water]] - try [[Parras Solar Hot Water]]
 
Parras <<<
-->  [[:Category:Parras]] - try [[Parras]]
 
HSU <<<
--> [[:Category:Humboldt State University]] - try [[Humboldt State University]]
 
Parras summer program <<<
-->  [[:Category:Parras]] - try [[Parras]]
 
Campus Center for Appropriate Technology <<<
-->  [[:Category:CCAT]] - try [[CCAT]]
 
Parras 2006 <<<
-->  [[:Category:Parras 2006]] - try [[Parras 2006]]


python replaceedit.py -regex '(.*?)([[Category:.*?]])[\n\s]*([^[].*?)([[Category:.*?]].*$)' '\1\3\2\4' -log -xml:currentdump.xml -namespace:14 -summary:'Move categories to bottom of page.' -pt:03
</nowiki>


== See also ==


== move: ==
* [[User:Chriswaterguy/Wikignome/Categories to rename]] - moving and merging categories.


urban planning
[[Category:Moving content from Appropedia categories]]

Revision as of 13:21, 30 April 2013

Please add here

If you find a category page with content that needs to be moved, please add it below. I'll assume it's being moved to a mainspace article of the same name, unless you say otherwise.

Just move to mainspace

& use {{cat header}} in its place:


No category members:

Notes - finding more

Not now

Pages needing attention <<< --> Category:Pages needing attention - try Pages needing attention

Sp <<< --> Category:Suggested projects - try Suggested projects

Hexayurt Project <<< --> Category:Hexayurt project - try Hexayurt project


Many locations such as Guatemala... Indonesia <<< --> Category:Indonesia - try Indonesia

India <<< --> Category:India - try India

Bangladesh <<< --> Category:Bangladesh - try Bangladesh

USA <<< --> Category:USA - try USA

Australia <<< --> Category:Australia - try Australia

Guatemala <<< --> Category:Guatemala - try Guatemala

Category:Humboldt County, California Mexico <<< --> Category:Mexico - try Mexico

Turkmenistan <<< --> Category:Turkmenistan - try Turkmenistan

Australia <<< --> Category:Australia - try Australia

Bolivia <<< --> Category:Bolivia - try Bolivia

Food and drink <<< --> Category:Food and agriculture - try Food and agriculture

Energy <<< --> Category:Energy - try Energy


(then broke...)


Category:Porting helpers - try Porting helpers


Don't touch without confirmation

Should Category:Parras (at least most of the pages) be moved to Category:Parras summer program to allow for pages related to the location but not the program?

List of Projects <<< --> Category:Projects - try Projects

Parras Solar Hot Water <<< --> Category:Parras Solar Hot Water - try Parras Solar Hot Water

Parras <<< --> Category:Parras - try Parras

HSU <<< --> Category:Humboldt State University - try Humboldt State University

Parras summer program <<< --> Category:Parras - try Parras

Campus Center for Appropriate Technology <<< --> Category:CCAT - try CCAT

Parras 2006 <<< --> Category:Parras 2006 - try Parras 2006


Editing:

Key steps (bot work)

Examples for changing headers, removing templates, and adding {{topic page needed}} as appropriate - see also usage notes (more up to date?) at User:Chriswaterguy/Wikignome/moving category page content with history - list #Moved, 5 Nov 2011.


rm these: '{{(?:Browsetopic|Newpageresource|Putinthiscategory)}}'

Look for '{{Lang\|\[\[:Category:'

Look for [\[:Category in mainspace pages.

Add category:foo to Foo, on all changed pages.

(Updating the category pages)

...then use list to add {{cat header..., add introductory sentence.


(Done on first batch.) python replaceedit.py -regex '(?si)(.*?)\[\[Category:(.*$)' '{{cat header| default.png |{{subst:PAGENAME}}| Please insert a brief topic summary here (take from the summary on the the topic page). }}\n\n[[Category:\2' -log -file:movedcats3 -namespace:14 -summary:'Add cat header template, pointing to the new location for the topic content. IMAGE NEEDED.' -pt:03 -excepttext:'cat header'

& e for edit.

Then make template to tag cat pages that need moving.

How to search for cat pages > x bytes?


(Updating the topic pages)

python add_text.py -regex -up -text:'{{topic header| default.png |{{subst:PAGENAME}}}}\n\n' -log -file:XXXXXX -summary:'Add topic header template to pages recently moved to mainspace. IMAGE NEEDED.' -excepttext:'topic header'

e.g.

python add_text.py -up -text:'{{topic header| default.png |{{subst:PAGENAME}}}}\n\n' -log -file:movedtopics -summary:'Add topic header template to pages recently moved to mainspace. IMAGE NEEDED.' -except:'topic header'

offer category equal to the pagename:

python add_text.py -up -text:'{{topic header| default.png |Chriswaterguy/moving category page content with history}}\n\n' -log -file:movedtopics -summary:'Add topic header template to pages recently moved to mainspace. IMAGE NEEDED.' -except:'topic header'

Fixing redirects to the category

For each (& later for portals) check & change the redirects: python replaceedit.py -regex "(?si)#REDIRECT\s*\[\[(:?)Category:\s*Foo" "#REDIRECT [[Foo" -log -namespace:0 -xml:currentdump.xml  ???????

Try: '(?si)#REDIRECT\s*\[\[(:?)Category ?:(?:pagename1|...)\s*]]' '#REDIRECT \[\[\1]]'

(then fix double redirects)

python replaceedit.py -regex "(?si)#REDIRECT\s*\[\[Portal:Greywater treatment" "#REDIRECT [[Greywater treatment]]" -log -xml:currentdump.xml

old idea:

python replaceedit.py -regex "(?si)#REDIRECT\s*\[\[:Category" "See also: [[Category" -log -xml:currentdump.xml

Special cases

Don't move these unless we figure out a better way to handle these specific pages:

[[Category:Appropedia policy]] [[Category:Topics]] Category:Appropedia policy

Category:Topics

Category:User resources

Category talk page

Move corresponding category talk pages using movepages.py.

Cleanup

Remove category specific templates from mainspace (mostly done):

  • {{[Tt]opic page needed}}

Other follow-on changes:

---

need to finish cat headers, but move cats to bottom first:

python cosmetic_changes.py -file:movedcats3 -namespace:14

-excepttext:'nowiki' '(.*?)([[Category:.*?]])\n([^[].*?)([[Category:.*?]])' '\1\3\2\4' python replaceedit.py -regex '(.*?)([[Category:.*?]])[\n\s]*([^[].*?)([[Category:.*?]].*$)' '\1\3\2\4' -log -xml:currentdump.xml -namespace:14 -summary:'Move categories to bottom of page.' -pt:03

See also

Cookies help us deliver our services. By using our services, you agree to our use of cookies.