Last modified: 2012-09-27 01:11:07 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 T21750, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 19750 - Signature button should be avaible at least in the wikipedia namespace
Signature button should be avaible at least in the wikipedia namespace
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Interface (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Trevor Parscal
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-07-15 21:38 UTC by Nux
Modified: 2012-09-27 01:11 UTC (History)
1 user (show)

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


Attachments

Description Nux 2009-07-15 21:38:18 UTC
I think signature should be visible on all pages but the main namespace. Currently it's only available on talk pages but there are many places (e.g. Wikipedia:Village pump) in the Wikipedia namespace where you have to leave your signature.

A quick fix if anyone would want it (we have this on pl.wiki):
if (
	typeof(editToolbarConfiguration)=="object"
	&& typeof(editToolbarConfiguration.main.groups.insert.tools.signature.filters) == 'object'
	&& editToolbarConfiguration.main.groups.insert.tools.signature.filters[0] == 'body.ns-talk'
)
{
	editToolbarConfiguration.main.groups.insert.tools['signature_non_talk'] =
	{
		labelMsg: 'edittoolbar-tool-signature-nt',
		filters: [ 'body.ns-4' ],
		type: 'button',
		icon: 'insert-signature.png',
		action: {
			type: 'encapsulate',
			options: {
				post: "--~~~~"
			}
		}
	}
}
Comment 1 Umherirrender 2009-07-17 14:55:49 UTC
Better is, to show the signature on all pages with a newsectionlink. On these page a signature is necessary.
Comment 2 Trevor Parscal 2009-07-17 17:35:48 UTC
In r52859, the filter was changed to

filters: [ 'body:not(.ns-0)' ]

Which lets the button be visible on any page that is not in the main namespace.

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


Navigation
Links