Template talk:WikiProject Africa

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search



Could the version in the sandbox be copied over to live.

I'm just adding back in the {{{parea}}} parameter back which was missed out when the template was converted to WPBannerMeta. This will also help to populate the Category:African protected areas articles by quality categories. Thanks. -- WOSlinker (talk) 22:18, 27 August 2009 (UTC)

Done. — RockMFR 23:38, 27 August 2009 (UTC)

Last edit

{{edit protected}} Please undo this last edit from John Carter as unnecessary. It is not included in the correct hook (i.e. "tfnested" is for nested names and links only, not assessment) and duplicates information already in the code under the taskforces hook, thanks Borgarde (talk) 07:24, 27 October 2009 (UTC).

Fixed. Looks like he was trying to fix the importance parameter, which I have now done. — Martin (MSGJ · talk) 10:47, 27 October 2009 (UTC)
The old machine didn't always record everything that I typed, unfortunately. Thanks for catching the error. :) John Carter (talk) 13:29, 27 October 2009 (UTC)


{{edit protected}}

  1. Please update |TF_9_MAIN_CAT = WikiProject African protected areas articles to |TF_9_MAIN_CAT = African protected areas task force articles and delete Category:WikiProject African protected areas articles, in favor of Category:African protected areas task force articles used by the project and its parent WP:PAREAS.
  2. please add the shortcut to the importance parameter, for example: |tf 9 importance={{{Protected areas-importance|{{{parea-importance}}}}}} to match the class parameter shortcut of parea. --Funandtrvl (talk) 18:20, 24 December 2009 (UTC)
 DoneTheDJ (talkcontribs) 13:14, 30 December 2009 (UTC)

{{edit protected}}

I apologize for the confusion, because there is more than one TF9, the right one did not get corrected in the above edit. I have since created a sandbox version, which can be copied over to the real template. In addition, there was another correction needed regarding the syntax for "Comoros". Here is the version to be copied over: [1] Thank you very much and sorry for the confusion! --Funandtrvl (talk) 16:09, 30 December 2009 (UTC)
No problem —TheDJ (talkcontribs) 18:42, 30 December 2009 (UTC)

Book class

{{editprotected}} I've set up the subpage to support the book-class. However there hasn't been a discussion about this, so I won't make the edited protected request yet. This would greatly help Wikiproject-Wikipedia books whenever there are discussions about Africa-related books. Anyone for/against this? Headbomb {ταλκκοντριβς – WP Physics} 05:20, 4 February 2010 (UTC)

Actually, there was this discussion that took place, but no one gave feedback. Headbomb {ταλκκοντριβς – WP Physics} 05:21, 4 February 2010 (UTC)
Alright, it's been long enough. Let's do this. Headbomb {talk / contribs / physics / books} 09:17, 16 April 2010 (UTC)
So what DO you want doing? Which subpage? - I've copied the current template into the sandbox - Template:AfricaProject/sandbox, suggest you edit that as required, then we can just copy the whole thing over the top of the original, then there's no chance of error.  Ronhjones  (Talk) 23:18, 16 April 2010 (UTC)
"This WikiProject banner has a /class subpage which is currently not in use. In order to use it, please set |QUALITY_SCALE=subpage. To remove this warning, please delete or blank that subpage." That's all that needs to be done (part in bold) (see sandbox diff). Headbomb {talk / contribs / physics / books} 00:11, 17 April 2010 (UTC)
 Done  Ronhjones  (Talk) 00:20, 17 April 2010 (UTC)
Thanks a bunch. Headbomb {talk / contribs / physics / books} 00:21, 17 April 2010 (UTC)


Why the hell is Assyria included here? What idiot couldn't be bothered to look at a map before adding that piece of genius? That needs removed immediately. --Chris (クリス • フィッチュ) (talk) 15:07, 21 April 2010 (UTC)

Indeed. Could someone who can please fix this?--Oneiros (talk) 16:41, 9 July 2011 (UTC)
 Done. Can you update the docs. -- WOSlinker (talk) 23:33, 9 July 2011 (UTC)

South Sudan

This template requires a new parameter to be added for Wikipedia:WikiProject South Sudan, a project dedicated to improving all articles related to the recently-declared nation of South Sudan. Mar4d (talk) 04:12, 9 July 2011 (UTC)

Please specify the code to be added and reactivate the request ("answered=no").  Sandstein  06:24, 9 July 2011 (UTC)
The code for South Sudan already exists, but the country is currently at the end of the list. The list should be sorted alphabetically.--Oneiros (talk) 16:38, 9 July 2011 (UTC)
And the documentation needs to be updated. South Sudan is in Eastern Africa.--Oneiros (talk) 16:43, 9 July 2011 (UTC)
 Done. Can you update the docs. -- WOSlinker (talk) 23:34, 9 July 2011 (UTC)
 Done. --Oneiros (talk) 23:50, 9 July 2011 (UTC)

WikiProject Somalia

The template {{WikiProject Somalia}} simply redirects to this one, in which case the parameter "Somalia=yes" is not included (and thus the page is not flagged for WikiProject Somalia). I tried to update the Somalia template, so that it would transclude as follows:

  • {{WikiProject Africa|BANNER_NAME=Template:WikiProject Somalia|category=no|class=|importance=|Somalia=yes|Somalia-importance=}}

However, this places the talk page in a category for malformed WikiProject templates (or some such). Omitting "category=no" gives an error on the template page itself.

This doesn't work either:

  • #redirect[[Template:WikiProject Africa|Somalia=yes]]

Can someone help me out? Should I just rebuild the template using {{WPBannerMeta}} using the relevant parameters from {{WikiProject Africa}}? Effectively, the {{WikiProject Somalia}} template needs to work like this:

  • {{WikiProject Africa|Somalia=yes}}

Thank you, -- Gyrofrog (talk) 16:43, 19 July 2011 (UTC)

The main problem with the first one was that you passed |category=no - this will always cause the page to go into Category:WikiProject banners with formatting errors. Setting |category=no should only be done if a banner is being used for demonstration or testing purposes, to prevent unnecessary or undesirable categorization. Another problem is that |BANNER_NAME=Template:WikiProject Somalia simply won't be recognised; and |class=|importance=|Somalia-importance= are all ineffectual because they have no value. |Somalia=yes is good though.
The second one wouldn't work because redirects cannot give, or be given, parameters.
You've got the basic idea with the last one; but doing this won't feed through all the other parameters such as |class= and |importance=. This should do it:
  • {{WikiProject Africa |small={{{small|}}} |category={{{category|}}} |listas={{{listas|}}} |auto={{{auto|}}} |class={{{class|}}} |importance={{{importance|}}} |attention={{{attention|}}} |needs-infobox={{{needs-infobox|}}} |Somalia=yes |Somalia-importance={{{importance|}}} }}
--Redrose64 (talk) 19:47, 6 August 2011 (UTC)
Thanks, I hadn't seen this before I asked again (n/m; actually you replied a little afterwards). I tried using this but it still places the template in Category:WikiProject banners with formatting errors, with a message at the top that says "The WikiProject banner below should be moved to this template's talk page." Other than that, I checked a few of the talk pages that still use this, and the template itself seems to work. -- Gyrofrog (talk) 20:18, 6 August 2011 (UTC)
Mmm. I didn't expect that. It may well require building up independently of {{WikiProject Africa}}, i.e. using {{WPBannerMeta}}. Advantages: you won't get the error messages on Template:WikiProject Somalia; disadvantages: it won't inherit any future changes that may be made to {{WikiProject Africa}}. --Redrose64 (talk) 20:26, 6 August 2011 (UTC)
Another possibility is to simply nominate the WP:SOMALIA template for deletion; there are 2 or 3 dozen talk pages that still use the template and these could be migrated to the WP:AFRICA template. In any case, for now I have left it as-is; maybe someone at the WPBannerMeta talk page will have another idea. Thanks again, -- Gyrofrog (talk) 21:10, 6 August 2011 (UTC)
I think this might work, see: diff. Got the idea from WPUSA, they're combining a lot of the templates for the different US state projects. --Funandtrvl (talk) 00:42, 13 August 2011 (UTC)
Added one more fix, see: Template:WikiProject Somalia. --Funandtrvl (talk) 00:50, 13 August 2011 (UTC)
These edits have removed some of the parameters (|auto= |attention= |needs-infobox=). WikiProject Somalia now recognises only the following: |small= |category= |listas= |class= |importance= |Somalia-importance= --Redrose64 (talk) 17:04, 13 August 2011 (UTC)
Yes, I realized that too, but I've removed all the backlinks now from the WPSomalia template, so I'm going to mark it for deletion, since it's been migrated over to this template. --Funandtrvl (talk) 20:29, 15 August 2011 (UTC)

Côte d'Ivoire

As well as the abbreviation of CI for the Côte d'Ivoire can we add Côte d'Ivoire and Ivory Coast to serve the same function. Editors will generally not be aware of of the need to use the abbreviation CI. -- Alan Liefting (talk) - 20:01, 20 July 2011 (UTC)

 Done. Could you update the documentation? — Martin (MSGJ · talk) 07:47, 21 July 2011 (UTC)
 Done. -- Alan Liefting (talk) - 09:09, 21 July 2011 (UTC)

Edit request 06 August 2011

{{edit protected}} In the sandbox there is a version that will fix: missing importance parameters for Côte d'Ivoire, incorrect assessment and main cats for Egyptian Religion, missing quality and importance for Ancient Near East, and unneeded name parameter for nested Comoros. Thanks, --Funandtrvl (talk) 06:37, 6 August 2011 (UTC)

One more fix adding diacritics for Côte d'Ivoire, see: sandbox. --Funandtrvl (talk) 07:02, 6 August 2011 (UTC)
One more correction to non-standard main cat for WPANE, see: sandbox. Thanks, --Funandtrvl (talk) 17:42, 6 August 2011 (UTC)
One more fx to chg Template:AfricaProject to current template name in hook, see: sandbox. --Funandtrvl (talk) 18:38, 6 August 2011 (UTC)
One more fx to assessment cat for Classical warfare articles, see updated sandbox. Gee, I hope that's the end of my error finding! --Funandtrvl (talk) 18:57, 6 August 2011 (UTC)
Please also see my above comments regarding the WikiProject Somalia banner. Thanks, -- Gyrofrog (talk) 19:02, 6 August 2011 (UTC)
I'll post that at Template talk:WPBannerMeta for you, that's usually where they work on problems like that. --Funandtrvl (talk) 19:05, 6 August 2011 (UTC)
Above rqst posted at WPBM tlk pg, one more fx, added missing nested TFs, see: sandbox. --Funandtrvl (talk) 19:49, 6 August 2011 (UTC)
Thanks! -- Gyrofrog (talk) 20:05, 6 August 2011 (UTC)
You're welcome. Added main cat to the template, see: sandbox version to be updated to. Thanks, --Funandtrvl (talk) 21:26, 6 August 2011 (UTC)
Done Seems to be in order, with no further changes or objections in the last few days. --RL0919 (talk) 22:37, 9 August 2011 (UTC)

Edit request:Western Sahara

Can you please replace the flag used for Western Sahara by this, per WP:NPOV and Wikipedia:Western Sahara Infobox/Vote.

The territory is disputed, displaying that flag to refer to the territory is clearly partisan. Consensus already reached, for the change of the flag at the page linked above.
Regards --Tachfin (talk) 08:02, 21 August 2011 (UTC)

Also, take this consensus into account --Tachfin (talk) 08:29, 21 August 2011 (UTC)

Libyan flag

The WikiProject Libya flag should be changed to the NTC flag (File:Flag of Libya (1951).svg), as the UNGA has voted in favour of it. This change has already been enacted on the project page and its dependent templates. ~~ Lothar von Richthofen (talk) 18:14, 18 September 2011 (UTC)

Think this was done on 2 September? — Martin (MSGJ · talk) 16:23, 19 September 2011 (UTC)
Huh? No, the flag is still the split compromise flag on this template. ~~ Lothar von Richthofen (talk) 01:09, 20 September 2011 (UTC)
The reason for this confusion is that you have linked to File:Flag of Libya (2011 combined).svg in your post above! — Martin (MSGJ · talk) 11:11, 20 September 2011 (UTC)
Now updated. — Martin (MSGJ · talk) 11:18, 20 September 2011 (UTC)
Heh, sorry. Copy/paste failure. ~~ Lothar von Richthofen (talk) 00:24, 23 September 2011 (UTC)
The file of the flag should be Flag of Libya.svg. -- (talk) 16:27, 9 November 2011 (UTC)
 Done — Martin (MSGJ · talk) 20:48, 9 November 2011 (UTC)

Fix image for Ancient Egypt

I fixed the image for ancient Egypt in the sandbox. Please implement. Kumioko (talk) 23:45, 11 October 2012 (UTC)

Done --Redrose64 (talk) 16:38, 12 October 2012 (UTC)

Add portals

I added all the applicable portals to the template in the sandbox. Please implement. Kumioko (talk) 20:46, 12 October 2012 (UTC)

 Done -- WOSlinker (talk) 06:51, 13 October 2012 (UTC)

Edit request on 16 November 2012

You don't need to copy the changes into the "Begin request" bit above - errors might be made in transcription either to there, or to the live template. Easiest to ask that the template code be copied from the sandbox.
Not done for now: I would copy straight from sandbox to live - I made that edit this morning so that both the comparison and the copying would be easier (notice the "edit the page · sandbox" links in the box above), but I've been looking at it since then; and I'm not sure that the sandbox version is quite correct. You've added the {{WPBannerMeta/hooks/peerreview}} to the tail of a bunch of {{WPBannerMeta/hooks/tfnested}}, which are hung on |HOOK_NESTED= - but the doc for {{WPBannerMeta/hooks/peerreview}} implies that it should be hung on |HOOK_NOTE=. --Redrose64 (talk) 23:04, 16 November 2012 (UTC)
Fixed (?), created Peer Review Hook_Note and removed it from the list of Hook_Nested. See sandbox. This is based on the example at Template:WikiProject Western Asia, but they had other properties in the Hook Note, and Africa template has no other hook note items, so single hook note for this. Test case, Talk:Company rule in Rhodesia, appears to function the same. (P.S. removed the change to the begin request above to avoid any confusion or errors). Thanks again for the help, I know my complete brain spasms on the technical stuff must not be the most fun contribution, but it is greatly appreciated. AbstractIllusions (talk) 01:07, 20 November 2012 (UTC)
By putting the {{WPBannerMeta/hooks/peerreview}} on the |HOOK_NOTE=, the peer review info correctly appears in the collapsible "More information" section, rather than on the end of the taskforces (as it does here). This seems good to go, so Done. --Redrose64 (talk) 13:00, 20 November 2012 (UTC)

Edit request: Remove whitespaces

There are some whitespaces/blanks on this template. See the my edit on sandbox version of template: diff. --Zyma (talk) 15:21, 9 January 2014 (UTC)

Not done: please establish a consensus for this alteration before using the {{edit protected}} template. Your changes appear to be a lot more than simply altering whitespace. --Redrose64 (talk) 17:21, 9 January 2014 (UTC)
What?! Those whitespaces are just useless blank spaces in the articles. Are you not familiar with them or with that script? Just review the article before and after my change. There is no need a consensus for a minor edit like that. --Zyma (talk) 17:30, 9 January 2014 (UTC)
You presumably didn't use the link which I gave, which compares the current sandbox with the current live template. Since that is different from the diff link that you gave, it gives the impression that you want other changes made besides the ones described above. If all you want doing is a few trailing spaces removed, then the answer is again no - the removal of those spaces will not change either the appearance or functionality of the template, and so is change for the sake of change. What it will do is cause 86,363 pages to be placed in the job queue for reparsing, which is a waste of resources. --Redrose64 (talk) 17:49, 9 January 2014 (UTC)
I don't agree with you. I just want to remove whitespaces. Not other changes to this template. Another template editor should review my request. My diff shows what I want and what is my request. It's clear. --Zyma (talk) 16:45, 10 January 2014 (UTC)

Second Request: edited to match as a minor edit

Now compare:

  • Comparison between main version and edited sandbox version
  • sandbox changes
  • The issue that mentioned in the above comments is solved. Now my edit request is a minor and helpful change. --Zyma (talk) 17:52, 10 January 2014 (UTC)
Not done: Sorry, but I have to agree with Redrose64. There's no reason to flood the job queue with over 80,000 pages just to remove a few spaces. Perhaps this can be done along with another, more substantial edit in the future. LittleMountain5 19:22, 10 January 2014 (UTC)

Edit request in the sandbox

Greetings, when implementing User:Frietjes's module to identify invalid parameters being used by this template it was noticed that some of the pages were using |auto= but it wasn't in the code for the template. I just added |auto= Template:WikiProject Africa/sandbox, if someone could implement this change it would be appreciated. Catnip the Elder (talk) 13:19, 23 November 2015 (UTC)

Yes check.svg Done Bazj (talk) 14:20, 23 November 2015 (UTC)

Requesting update to Mauritania

The template displaying the text "This article is supported by WikiProject Mauritania" currently uses the former flag of Mauritania from before August 2017. BrendonTheWizard (talk) 02:33, 7 November 2017 (UTC)

Please replace the previous flag of Mauritania with the current and official one. Thanks. © Tbhotch (en-2.5). 22:09, 12 April 2018 (UTC)

 Done Galobtter (pingó mió) 03:54, 13 April 2018 (UTC)

Template-protected edit request on 5 April 2018

Revert last edit i.e. this edit. {{WPBannerMeta}} has a "listas" but none lists... (talk) 07:32, 5 April 2018 (UTC)

 Done Galobtter (pingó mió) 12:11, 5 April 2018 (UTC)

Template-protected edit request on 6 November 2018

Change WikiProject Swaziland to Wikipedia:WikiProject Eswatini per consensus to move the main article to Eswatini. Hddty. (talk) 01:34, 6 November 2018 (UTC)

 Not done: please make your requested changes to the template's sandbox first; see WP:TESTCASES. — Martin (MSGJ · talk) 08:18, 6 November 2018 (UTC)
  • Oppose @Hddty.: There was a WP:RM discussion at Talk:Eswatini which agreed to rename the head article. However, I see no discussion on renaming the WikiProject. That seems to have been a WP:BOLD move by you. Please hold off further moves until there is a consensus to rename the WikiProject. --BrownHairedGirl (talk) • (contribs) 20:43, 6 November 2018 (UTC)
@BrownHairedGirl: Consensus isn't needed if the move is not controversial. That WikiProject have "fewer that 30 watchers" and no one replying to a discussion in the talk page. Hddty. (talk) 03:22, 8 November 2018 (UTC)
@Hddty.: what exactly would be the problem in posting a wee note explaining what you plan to do, and giving people a chance to object?
Pre-announce, and proceed if there are no unresolved objections after say 7 days. --BrownHairedGirl (talk) • (contribs) 04:00, 8 November 2018 (UTC)
  • The project and categories have now been moved but this template continues to populate redirects. Can someone in the know update the template? Timrollpickering 10:50, 25 November 2018 (UTC)
     Done, I believe. I read through the various RfC and CfD discussions, and this change no longer appears to be controversial. Please ping me from here if further edits are needed, or if there are unexpected side effects. With so many template modifications, pages moves, and category moves, there is probably more cleanup that needs to happen. – Jonesey95 (talk) 15:30, 25 November 2018 (UTC)
    Thanks. Is it possible to include options on the template to catch anything using Swaziland and populate the Eswatini categories? Timrollpickering 21:04, 25 November 2018 (UTC)
    Those pages will appear in Category:Africa articles with invalid parameters (21). Each page will need to have "Swaziland" changed to "Eswatini" manually. – Jonesey95 (talk) 22:05, 25 November 2018 (UTC)

More categories to move?

The CfD discussion has concluded, and many categories have been renamed, but it appears (unless I'm missing it) that the subcategories of Category:WikiProject Eswatini articles were missed. They probably need to have corresponding Eswatini categories created, or whatever the correct process is. You can see red links to Eswatini categories at the bottom of this page. – Jonesey95 (talk) 15:36, 25 November 2018 (UTC)

Template not working for Ghana

Use of the template {{|WikiProject Africa|Ghana=yes}} does not produce the expected result:

WikiProject Africa / Ghana (Rated Template-class)
WikiProject icon This template is within the scope of WikiProject Africa, a collaborative effort to improve the coverage of Africa on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
 Template  This template does not require a rating on the project's quality scale.
Taskforce icon
This template is supported by WikiProject Ghana.

You can also note the name "Ghana" is missing from the list in the banner at the top of this page. A quick review of the code seems to indicate the problem was that Ghana was added using the invalid value tf=11. It appears a subtemplate is called several times with up to 10 tf parameters. This may require renumbering the entire template, however since I'm not familiar with the internal workings of the template, I'll leave it up to someone more well versed than I to fully assess and propose a working solution. I thought I should bring this to your attention. Sincerely, LibraryGeek (talk) 18:10, 28 December 2018 (UTC)

Fixed, more or less. I have moved Ghana from the 11th position in its group to another group. It shows out of alphabetical order in the list, but if people really want alphabetical order, the template should be rebuilt with no more than five or six items per nested template to allow for future additions. They're not making any fewer countries in Africa, after all.
Note also that Template:WikiProject Ghana exists. I don't know how that template relates to this one, if at all. – Jonesey95 (talk) 01:10, 29 December 2018 (UTC)
Thanks. The bug fix is appreciated. I agree that the template may need a major restructuring for long-term maintainability. There doesn't seem to be a consistent idea of how these particular continental/regional templates should work in the greater scheme of things, let alone a coordinated effort to restructure them Wikipedia-wide, which is why I'm asking questions and trying to see who else may be interested in moving to this kind of template, if not with this particular code. LibraryGeek (talk) 09:22, 29 December 2018 (UTC)
Retrieved from "https://en.wikipedia.org/w/index.php?title=Template_talk:WikiProject_Africa&oldid=875835857"
This content was retrieved from Wikipedia : http://en.wikipedia.org/wiki/Template_talk:WikiProject_Africa
This page is based on the copyrighted Wikipedia article "Template talk:WikiProject Africa"; it is used under the Creative Commons Attribution-ShareAlike 3.0 Unported License (CC-BY-SA). You may redistribute it, verbatim or modified, providing that you comply with the terms of the CC-BY-SA