Last modified: 2012-01-11 13:33:32 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T33104, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 31104 - Do not repeat "Return to Main page" under every deleted item on Special:Nuke
Do not repeat "Return to Main page" under every deleted item on Special:Nuke
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Nuke (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-09-22 18:37 UTC by Danny B.
Modified: 2012-01-11 13:33 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Danny B. 2011-09-22 18:37:03 UTC
Do not repeat "Return to Main page" under every deleted item on Special:Nuke.


Currently it is like:

Foo has been deleted. See Special:Log/delete for a record of recent deletions.
  Return to Main page.
Bar has been deleted. See Special:Log/delete for a record of recent deletions.
  Return to Main page.
Baz has been deleted. See Special:Log/delete for a record of recent deletions.
  Return to Main page.


Should be:

Foo has been deleted. See Special:Log/delete for a record of recent deletions.
Bar has been deleted. See Special:Log/delete for a record of recent deletions.
Baz has been deleted. See Special:Log/delete for a record of recent deletions.
  Return to Main page.


Or even better:

The following pages have been deleted:
* Foo
* Bar
* Baz
See Special:Log/delete for a record of recent deletions.

Return to Main page.
Comment 1 Sam Reed (reedy) 2011-09-23 00:05:25 UTC
(In reply to comment #0)
> Do not repeat "Return to Main page" under every deleted item on Special:Nuke.
> 
> 
> Currently it is like:
> 
> Foo has been deleted. See Special:Log/delete for a record of recent deletions.
>   Return to Main page.
> Bar has been deleted. See Special:Log/delete for a record of recent deletions.
>   Return to Main page.
> Baz has been deleted. See Special:Log/delete for a record of recent deletions.
>   Return to Main page.
> 
> 
> Should be:
> 
> Foo has been deleted. See Special:Log/delete for a record of recent deletions.
> Bar has been deleted. See Special:Log/delete for a record of recent deletions.
> Baz has been deleted. See Special:Log/delete for a record of recent deletions.
>   Return to Main page.
> 
> 
> Or even better:
> 
> The following pages have been deleted:
> * Foo
> * Bar
> * Baz
> See Special:Log/delete for a record of recent deletions.
> 
> Return to Main page.


Looking at the i18n file for Nuke.. Those look like localised messages...


$messages['en'] = array(
	'nuke'               => 'Mass delete',
	'nuke-desc'          => 'Gives administrators the ability to [[Special:Nuke|mass delete]] pages',
	'nuke-nopages'       => "No new pages by [[Special:Contributions/$1|$1]] in recent changes.",
	'nuke-list'          => "The following pages were recently created by [[Special:Contributions/$1|$1]];
put in a comment and hit the button to delete them.",
	'nuke-list-multiple' => 'The following pages were recently created;
put in a comment and hit the button to delete them.',
	'nuke-defaultreason' => "Mass deletion of pages added by $1",
	'nuke-tools'         => 'This tool allows for mass deletions of pages recently added by a given user or an IP address.
Input the username or IP address to get a list of pages to delete, or leave blank for all users.',
	'nuke-submit-user'   => 'Go',
	'nuke-submit-delete' => 'Delete selected',
	'right-nuke'         => 'Mass delete pages',
	'nuke-select'        => 'Select: $1',
	'nuke-userorip'      => 'Username, IP address or blank:',
	'nuke-maxpages'      => 'Maximum number of pages:',
	'nuke-multiplepeople'=> 'multiple users',
	'nuke-editby'        => 'Created by [[Special:Contributions/$1|$1]]',
	'nuke-deleted'       => "Page '''$1''' has been deleted.",
	'nuke-not-deleted'   => "Page [[:$1]] '''could not''' be deleted.",
);
Comment 2 Sam Reed (reedy) 2011-09-23 17:43:50 UTC
r91817 in trunk goes halfway towards this, and will just print a list of these 2 strings

	'nuke-deleted'       => "Page '''$1''' has been deleted.",
	'nuke-not-deleted'   => "Page [[:$1]] '''could not''' be deleted.",


So the question is, do we need/want to do the rest, or is what is now in trunk adequate?
Comment 3 Jeroen De Dauw 2012-01-11 13:33:32 UTC
It's probably adequate. Either way, the original issue has been fixed.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links