(7 intermediate revisions by the same user not shown)
Line 2: Line 2:


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.
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.
* [[:Category:Open source hardware]]
=== Just move to mainspace ===
& use {{tl|cat header}} in its place:
* [[:Category:Water and sanitation for developing countries]]
No category members:
* [[:Category:Service_Learning_Resources]]
* [[:Category:Service_Learning_Resources]]
* [[:Category:Demotech Search Demotech publications]]
* [[:Category:Demotech Search Demotech publications]]
* [[:Category:Making made easier]]
* [[:Category:Demotech About]]
* [[:Category:Developers toolkit]] -> [[User:Jonbart/Developers toolkit]]


== Notes - finding more ==
== Notes - finding more ==
Line 100: Line 113:
=== Key steps (bot work) ===
=== Key steps (bot work) ===


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/moving category page content with history - list 2 #Moved, 5 Nov 2011]].
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]].




Line 196: Line 209:
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
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>
</nowiki>
== See also ==
* [[User:Chriswaterguy/Wikignome/Categories to rename]] - moving and merging categories.
[[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.