Admin Forum:Disabling the Publish button while creation of new page until its categorised

Forums: Admin Central Index → Technical Help → Disabling the Publish button while creation of new page until its categorised Wikia's forums are a place for the community to help other members. To contact staff directly or to report bugs, please use Special:Contact.

Is it possible to somehow disable the publish button while creation of a new page until a Category has been added?--~ 07:06, October 7, 2012 (UTC)


 * There's mw:Extension:RequireCategory but that's not very smart and not installed by default. I don't know if there's a built-in feature to do this but I doubt it. As always, you could write a script to do it, although this would fall in the grey area about altering part's of Wikia's UI. [Note: Neither the extension or a script would handle categories inherited via templates, if you have auto-categorising templates then they will not stop the category blocker from blocking publishing] Lunarity 12:26, October 7, 2012 (UTC)
 * Thanx! I would try out that extension and get back here.~ 16:29, October 7, 2012 (UTC)
 * As I thought, the staff said they cannot enable it. Do you think you can create a javascript for it? 05:30, October 22, 2012 (UTC)


 * Ultimate, you were already told no on this. Asking for this here shows that you are wanting to break the ToU and do it anyway since the only need for this code would be to enable it site-wide (or else, you'd just add categories yourself before saving). Please do not create these forum posts to try and circumvent a staff decision. Rappy 06:05, October 22, 2012 (UTC)


 * You can use Special:Uncategorizedpages to help you find pages that haven't been categorized. The list should update once a day.
 * Try Protecting the Page if that works.-Batreeqah

Rappy, I am sorry if I misunderstood your reply but you didn't say anything about it breaking the TOUs and all... You just said that it would cause more problems than it would solve and so you are not enabling it. O.o — 06:21, October 22, 2012 (UTC) It would definitely be handy to be able to do that. In addition to checking Special:Uncategorizedpages regularly, you might want to take a look at MediaWiki:Newpagelayout on your wiki - it's the template used for new pages, so you can add a note saying "Don't forget to add a category!" as a reminder. Of course, when creating a new page, users can choose to use a blank page instead of the default layout, but it's better than nothing. -452 06:55, October 22, 2012 (UTC)
 * I want to use it on an answers wiki. So I don't think that changing the layout would do any good. — 07:01, October 22, 2012 (UTC)
 * I have no context with which to understand why using MediaWiki:Newpagelayout would not work for you, but I wish you the best of luck in trying to find a solution to your problem. -452 07:16, October 22, 2012 (UTC)
 * No problems. Thanx for your help though. — 07:34, October 22, 2012 (UTC)