Template talk:Admin backlog

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

Requested edit[edit]

This template is protected, and should be tagged with {{protected template}}, or another suitable protection template. Thanks – Qxz 19:25, 15 March 2007 (UTC)

YesY Done. – Luna Santin (talk) 02:37, 16 March 2007 (UTC)


{{editprotected}} Saturation2 Talk to me, or you can at my edits. Sign here if you love me. 01:50, 10 April 2007 (UTC)

No requested edit is apparent; resolving tag. CMummert · talk 02:01, 10 April 2007 (UTC)

Add proposed merge tag[edit]


Place the following template wrapped in noinclude tags onto the page. {{Mergeto |Backlog |Wikipedia:Village_pump_(proposals)#Merge of Template:Backlog, Template:Adminbacklog, and Template:Noadminbacklog |{{subst:DATE}} |User:Funpika}} Funpika 18:15, 2 June 2007 (UTC)

Yes check.svg Done. Also, please ask nicely when make requests. Cheers. --MZMcBride 01:36, 3 June 2007 (UTC)
As there is no activity on this, I'm killing the merge tag. — xaosflux Talk 13:56, 30 September 2007 (UTC)


{{editprotected}} Please replace the first line of this template with the following: {{mbox |type=content |style=background-color: #ffe3e3; text-align:center |text=This page has a '''[[:Category:Administrative backlog|backlog]]''' that requires the attention of one or more administrators.<br/>Please remove this notice when the backlog is cleared.}}<includeonly>. Thanks. —Ms2ger (talk) 12:54, 19 August 2008 (UTC)

 Done. Mr.Z-man 22:57, 19 August 2008 (UTC)

Autoreport feature[edit]

Today I noticed that Mike Peel added code to Category:Images with the same name on Wikimedia Commons so {{adminbacklog}} automatically hides when that category gets 50 or less items in it. I find that a nifty idea so I am thinking of adding this feature into {{adminbacklog}} itself. I have coded and tested this in this template's /sandbox page. My version in the /sandbox works like this:

{{adminbacklog/sandbox}} = Always shows, just like before.
{{adminbacklog/sandbox|10}} = Only shows when 10 or more items in the category. Can be set to whatever value you prefer.

This feature uses some ParserFunctions and the {{PAGESINCATEGORY}} magic word. This counts the number of pages + images + subcategories in the category.

Unfortunately MediaWiki only parses the code when the category page is re-rendered. That is, when someone views the page and it is more than one week since it was last re-rendered. But I think it will still be useful, since it is easier to just visit or purge the page than edit it to add or remove the {{adminbacklog}} box, and it won't clog the edit history of the category pages.

But I should disclose that I have done long time tests with this kind of logic before, and sometimes one has to do a dummy edit to the page for it to recategorise properly. Just visiting or even purging is not always enough. I have not figured out under exactly what circumstance this problem occurs. So this feature will be experimental and we'll see how it works.

So, should I deploy this?

And I could also add it to the related {{backlog}} message box. But I don't use these templates much so I don't know if that would be a useful feature there, so I would appreciate any comments on this.

--David Göthberg (talk) 16:04, 1 March 2009 (UTC)

The code isn't actually my idea - User:Gurchzilla added it to CAT:SD last May [1]. I think it's a great idea to add it to the template, especially if the text is updated to reflect the auto-transitional nature (i.e. instead of "Please remove this notice when the backlog is cleared." say "This notice will automatically be removed when there are less than N items"). Mike Peel (talk) 17:15, 1 March 2009 (UTC)
Ah thanks, I'll ask Gurchzilla to have a look here too.
Hehe, great minds think alike. I have already added such text. That is, when the number parameter is fed my version in the sandbox says:
"This notice will hide when this category has less than N items."
Any suggestions of improvements of that sentence is of course welcome. Note that the number parameter only is useful when this template is used on category pages, thus it is okay to use the word "category" in that sentence.
--David Göthberg (talk) 20:10, 1 March 2009 (UTC)
I have now deployed this autohide feature. See the documentation of {{adminbacklog}} and take a look at a live example over at Category:Wikipedia files on Wikimedia Commons.
I added a (recount) button to the template, so people can purge the page to immediately hide the template when the number of items have gone below the limit. Unfortunately the (recount) button is of course not visible when the template is hidden, thus it is not as easy to quickly get it visible again. Not all users have a script installed that gives them a [purge] tab on all pages. And when the template is hidden most people won't even know it is there, so they won't know to purge anyway. Thus I am thinking we should perhaps design a simple informative box that it shows when it is "hidden", something like this:
--David Göthberg (talk) 20:34, 5 March 2009 (UTC)
I have now deployed the box shown above that shows when less items in the category than the report trigger level. Thus showing a (recount) button then too. And I think it looks good over at Category:Wikipedia files on Wikimedia Commons which currently has less than the trigger level of items.
--David Göthberg (talk) 14:53, 12 March 2009 (UTC)
By the way, I've created {{Automatic backlog}} which does this for any backlog template. –Drilnoth (TC) 23:29, 21 March 2009 (UTC)
Drilnoth: Why did you do it like that? As you can see on the talk page of {{backlog}} I am planning to add the autoreport feature to that template too. Thus this will work:
I think that is simpler than using an extra template like you suggest:
{{automatic backlog|10}}
I noticed your edit over at [2], you added this:
{{automatic backlog|50|adminbacklog}}
In what way do you find that easier to use than this?:
Also, using the built in autoreport feature of {{adminbacklog}} means you get the proper messages in the box, stating that the box will automatically hide, and when "hidden" linking to the right backlog category. See examples in the documentation of {{adminbacklog}}. While your box gives the wrong message and category link for adminbacklogs.
--David Göthberg (talk) 02:56, 23 March 2009 (UTC)
Why? Because I didn't know about this whole discussion, or the plans for {{Backlog}}, when I created the template. :) This would make much more sense, actually. It is also related to the discussion at Category talk:Wikipedia backlog, which may have more suggestions. Had I known about the (excellent) plan to add this feature to the main backlog template, I wouldn't have gone and created {{Automatic backlog}}. My bad. –Drilnoth (TC) 20:49, 23 March 2009 (UTC)
Oh, hehe. I too sometimes forget to check the talk pages before I change or create a template.
And thanks for liking the autoreport approach we use here. Or rather, thanks for confirming that it seems to be a good solution. As you can see above it took me almost two weeks and several versions to get all the details right. This is tricky stuff.
So I'll add this to {{backlog}} too, then I'll update the pages that uses {{automatic backlog}}, and then I'll add a notice at {{automatic backlog}} that it has been deprecated.
--David Göthberg (talk) 01:26, 24 March 2009 (UTC)
Okay, thanks. It's funny... I've been thinking about doing something like this for a month or two now, and when I finally get around to making it someone's beaten me to it. :) Honestly, though, your solution is much more eloquent than what I did. Great work! –Drilnoth (TC) 01:33, 24 March 2009 (UTC)
YesY Done - {{backlog}} now has the autoreport feature too. And {{automatic backlog}} is now not used on any pages, so I have marked it as deprecated.
And yeah, when the time is ripe then usually several persons invent the same thing at around the same time. Most inventions are done at more than one place. (Which makes the patent system rather silly.)
--David Göthberg (talk) 05:02, 24 March 2009 (UTC)

Lying template[edit]

Back in 7 July Od Mishehu added an option to this template so it could lie about its autoreport level. Why would one want the template to lie? I bet more people than me are going to wonder about that "feature". I have asked Od Mishehu to come here and explain.

--David Göthberg (talk) 10:49, 27 November 2009 (UTC)

I decided to add this parameter because I found it problematic that, in Category:Requests for unblock (CAT:UNBLOCK), the header said "If this category contains 10 items or more, it will report as a backlog", but it reported a backlog when there were 7 requests - this is because the category has 3 subcats which are also counted by this counter. By placing a {{adminbacklog|13|10}} on the top, in stead of a simple {{adminbacklog|10}}, I have solved this problem. עוד מישהו Od Mishehu 08:11, 29 November 2009 (UTC)
Ah, I see. You should probably explain that in the documentation of this template.
--David Göthberg (talk) 10:11, 29 November 2009 (UTC)


How come Template:Admin backlog is semi-protected but Template:No admin backlog is permanently protected? George8211what did I break now? 15:12, 22 November 2013 (UTC)

"...backlog that desperately requires the attention..."[edit]

Perhaps we should add an optional parameter such as {{Admin backlog|desperate}} for that extra bit of emphasis when an important admin backlog requires urgent attention. Just a thought.. -- œ 03:33, 17 April 2015 (UTC)

Remove second paragraph if maintained by bot[edit]

I suggest that "Please change this notice to {{No admin backlog}} when the backlog is cleared." is not included on pages where this template is managed by a bot. --Laber□T 00:58, 4 August 2016 (UTC)