Commons talk:Categories for discussion/preload
Small improvement to help find category creator's talk page[edit]
New code[edit]
<includeonly><noin</includeonly>clude>{| align="center" border="0" cellpadding="4" cellspacing="4" style="border:2px solid #777; background:#F1F1DE" |- | * <small>Add {{subst:cfd}} on the [{{fullurl:{{SUBPAGENAME}}|action=edit}} category page]</small> * <small>Notify the creator of the category (the earliest editor at the bottom of the [{{fullurl:{{SUBPAGENAME}}|dir=prev&action=history}} category history earliest page]) with {{subst:cdw|{{SUBPAGENAME}}}}--~~~~</small> * <small>On the [{{fullurl:Commons:Categories for discussion/{{CURRENTYEAR}}/{{CURRENTMONTH}}|action=edit&preload=Commons:Categories+for+discussion/newmonth}} log], add:<br/>{{{{FULLPAGENAME}}}}</small> |}<includeonly></noin</includeonly>clude> === [[:{{<includeonly>subst:</includeonly>SUBPAGENAME}}]] === Reasons for discussion request --<includeonly>~~</includeonly>~~
Request[edit]
{{Editprotected}} Please add the above code. It adds a "category history earliest page" link, helping to find the category creator. Teofilo (talk) 10:30, 11 April 2010 (UTC)
- Done, although I didn't use your code exactly, but took the liberty of using &limit=1 to link directly to the first edit. Anyway, thanks for the idea! —Ilmari Karonen (talk) 00:16, 12 April 2010 (UTC)
- Thanks for improving the idea. Teofilo (talk) 10:08, 12 April 2010 (UTC)
[edit]
The template produces some nonsenses like the example below. --ŠJů (talk) 00:56, 18 February 2011 (UTC)
|
It seems that < nowiki > is no longer interpreted correctly by the Mediawiki software. This is a problem too difficult for me to solve. I am asking for help at the village pump. Teofilo (talk) 02:35, 18 February 2011 (UTC)
Reported as https://bugzilla.wikimedia.org/show_bug.cgi?id=27519 Teofilo (talk) 02:54, 18 February 2011 (UTC)
- probably a duplicate bug of Bug 27467 - preload can leave UNIQ
- I noticed it does not work with the gallery tag. See de:Wikipedia:Fotowerkstatt/preload for a workaround. I wrapped the gallery tags in templates.. works but is not nice ;) Cheers --Saibo (Δ) 03:33, 18 February 2011 (UTC)
I created User:Saibo/Sandbox/nowiki and User:Saibo/Sandbox/preload. Works - doesn't it? (see the preview) So just the content of the /preload page here must be done similar to my preload page and the /nowiki page must be created here. Cheers --Saibo (Δ) 03:52, 18 February 2011 (UTC)
If you use the tool by DieBuche, this is no longer needed. -- Docu at 05:01, 18 February 2011 (UTC)
- "the tool by DieBuche" ? What is this ? Do you have a link ? Teofilo (talk) 10:55, 18 February 2011 (UTC)
- It's the "Nominate category for discussion" link on every category description page (requires js). -- Docu at 12:19, 18 February 2011 (UTC)
{{Editprotected}}I have implemented Saibo's workaround on Commons:Categories_for_discussion/preload2 and linked that new template from Template:Category for discussion (diff). All we need now is that an admin edits the present protected page and removes the extra "Reasons for discussion request+signature" line. Thanks Saibo. Teofilo (talk) 11:14, 18 February 2011 (UTC)
- I have modified it, so we do not need to edit the protected page. Better since I do not know if it is preloaded also e.g. from the quickdelete script. The button in second step at Commons:Categories_for_discussion works now. But the preload link in Template:Category_for_discussion seem not to work. Did it before? It is not related to the preload stuff. See: this link from the template and this modified link: {{{year}}} and {{{month}}} seems not to get resolved. I've changed it to the hardcoded month and year now.. Cheers --Saibo (Δ) 18:41, 18 February 2011 (UTC)
- The template is not supposed to be used directly. It is supposed to be used by {{subst:Cfd}}. Year and month are filled by Template:Cfd. Teofilo (talk) 11:45, 20 February 2011 (UTC)
- Ah, I see. However - the UNIQ bug is fixed and gets live soon and then we can revert to the original preload. Cheers --Saibo (Δ) 15:32, 20 February 2011 (UTC)
- The template is not supposed to be used directly. It is supposed to be used by {{subst:Cfd}}. Year and month are filled by Template:Cfd. Teofilo (talk) 11:45, 20 February 2011 (UTC)
I have reverted the changes from 2011-02-18. https://bugzilla.wikimedia.org/show_bug.cgi?id=27467 Fix is live since today. Cheers --Saibo (Δ) 21:24, 23 February 2011 (UTC)