Extension:SoftRedirector/tr

SoftRedirector, esnek yönlendirmeler için dezavantajlı sayfalar için yapmaya çalışan MediaWiki uzantısının Disambiguator çatallarıdır. Tüm esnek yönlendirme sayfalarını __SOFTREDIR__ (veya eşdeğer bir takma ad) ile belirlemenize olanak tanır. Bunun, diğer uzantıların yumuşak yönlendirme sayfalarını ayrı bir sayfa sınıfı olarak işlemesine izin verip vermeyeceği henüz belli değil.

Configuration
The following configuration variables can be set from your  file.
 * $wgSoftRedirectorIndicateLinks - whether to add a  CSS class to links to soft redirect pages (default is  )

Features
SoftRedirector provides the following features:


 * Programmatic identification of soft redirects pages via the __SOFTREDIR__
 * New special pages for listing all soft redirects and pages linking to soft redirects
 * New API functions equivalent to the above special pages as well as an API function for querying whether or not a page is a soft redirect
 * Modifies Special:LonelyPages to ignore soft redirects
 * Modifies Special:Random to ignore soft redirects (requires MediaWiki 1.26.0)
 * If is enabled, allows marking a page as a soft redirect via the page properties interface
 * If is enabled, shows whether a page is a soft redirect or not in the link inspector
 * If is enabled, shows whether a page is a soft redirect or not in the link dialog
 * If configured, add a 'mw-softredir' CSS class to links to soft redirect (See #Configuration below)

On wiki
Once SoftRedirector is installed, the best way to use it is to add the  magic word to a template that is then included in all of your soft redirect pages.

Once the magic word is in place, your soft redirects will all have the 'soft redirect' page property assigned to them in the database. This property resides in the table.

You will also have two new :
 * Special:SoftRedirectPages - which lists all the soft redirect pages on your wiki.
 * Special:SoftRedirectPageLinks - which lists all of the pages on your wiki that link to soft redirect pages.

With API
To list all the soft redirects:

api.php?action=query&list=querypage&qppage=softredirectpages

To list all the soft redirect links:

api.php?action=query&list=querypage&qppage=SoftRedirectPageLinks

Note that on wikis running in MiserMode (all WMF wikis), both the special page and API interface for SoftRedirectPageLinks are limited to a certain number of results (typically 1000–5000).

To see if an individual page is a soft redirect page:

api.php?action=query&titles=Bug&prop=pageprops&ppprop=softredirect

If it is a soft redirect page it will include  in its pageprops. Note that the  pageprop, if present, will have its value set to an empty string, so be careful about testing it as a boolean.