Revision as of 19:09, 8 July 2007 view sourceEep² (talk | contribs)7,014 edits →Probably not, but anyway: more requiests← Previous edit | Latest revision as of 01:21, 11 July 2024 view source Qwerfjkl (bot) (talk | contribs)Bots, Mass message senders4,012,642 editsm Removed deprecated parameters in {{Talk header}} that are now handled automatically (Task 30)Tag: paws [2.2] | ||
(997 intermediate revisions by more than 100 users not shown) | |||
Line 1: | Line 1: | ||
{{pp-protected|small=yes}} | |||
{{Misplaced Pages:Special:PrefixIndex}} | |||
{{User:MiszaBot/config | |||
| algo = old(365d) | |||
| archive = Misplaced Pages talk:Special:PrefixIndex/Archive %(counter)d | |||
| counter = 1 | |||
| maxarchivesize = 100K | |||
| archiveheader = {{Automatic archive navigator}} | |||
| minthreadstoarchive = 1 | |||
| minthreadsleft = 5 | |||
}} | |||
{{Talk header|search=yes|arpol=no|wp=no|disclaimer=no|bottom=no}} | |||
{{Specialpagestalk}} | {{Specialpagestalk}} | ||
{{see also|Template:PrefixIndex|Template:Look from|tools:~dispenser/cgi-bin/redlinks.py{{!}}Red link prefix index}} | |||
== "no redirects" option == | |||
:''For advanced pagenames searches use '' | |||
==Google search trick to help with suffixes== | |||
In Google search, try the following (quote marks included): | |||
* <nowiki>"http://en.wikipedia.org/*%s"</nowiki> | |||
* <nowiki>"http://en.wikipedia.org/ * %s"</nowiki> | |||
where you replace "%s" with the suffix you're interested in. It's imperfect but useful. ] 20:11, 13 February 2010 (UTC) | |||
This will find references to those pages on other sites as well, you'd be better off with: | |||
* <nowiki>site:en.wikipedia.org inurl:"wiki/*%s"</nowiki> | |||
* <nowiki>site:en.wikipedia.org inurl:%s</nowiki> (assuming your string isn't present in "en.wikipedia.org/wiki") | |||
] (]) 01:44, 26 January 2011 (UTC) | |||
I can dig it! Cheers! - SWIM ] (]) 11:19, 25 December 2021 (UTC) | |||
I'll proudly wear this badge ] (]) 11:18, 29 October 2022 (UTC) | |||
== Passing parameters in wikilink == | |||
Is it possible to pass parameters in a wikilink to the PrefixIndex page as can be done in the transclusion syntax? | |||
I.e like: | |||
<code><nowiki>{{Special:PrefixIndex/{{FULLPAGENAME}}/ |hideredirects=1 |stripprefix=1}}</nowiki></code> | |||
If so, what's the proper syntax? | |||
== Search with trailing space == | |||
Is there an option to not include ]? ∞] <sup>(]|])</sup> 20:59, 30 June 2007 (UTC) | |||
:I am not aware of such an option, but at least redirects are enclosed into <div class=allpagesredirect> (which already has ''italic'' CSS). So | |||
<source lang=css>div.allpagesredirect {display:none}</source> | |||
:will hide them (leaving empty table cells unfortunately), while | |||
<source lang=css>div.allpagesredirect a {color:gray}</source> | |||
:will simply make them easier to distinquish from normal pages. CSS code goes into ] ∴ ] 19:42, 2 July 2007 (UTC) | |||
I wish to search all articles (and exclude redirects) that start with ''Dr'' without the dot after it. I understand that I cannot enclose the search term with quotes. If it was allowed, I only had to enter "Dr " with a space. But giving Dr followed by a space, is not working as the search seems to be removing the trailing space. Giving Dr. with a space after it also is returning results (such as ]) that do not have space after Dr. . ] <sup>'']''</sup> 08:00, 12 July 2021 (UTC) | |||
::Thanks, but I was looking for a built-in ] option (that should be present anyway). Oh and I use simple.css. ;) ∞] <sup>(]|])</sup> 21:36, 2 July 2007 (UTC) | |||
:@], You might want to try a ] search e.g. <code>intitle:/Dr{{nbsp}}/</code> ― ]] 08:01, 22 December 2021 (UTC) | |||
:Thanks. I forgot to inform that I had reposted this some months later at ] and got a response. <span style="font-family:Segoe Script">]</span> ] 08:54, 22 December 2021 (UTC) | |||
== Substing this page? == | |||
Is there any way to subst the special page? ] <sup>(he/him | ])</sup> 19:24, 23 February 2022 (UTC) | |||
==Probably not, but anyway== | |||
:{{Yo|EpicPupper}} Not the obvious way ], ]. And the ] links back to this enwiki page for documentation, I don't see any docs on the mediawiki site, nor does there exist an ], like there is a ]. I did figure you tried all that but I'm replying again just to see if anyone else with this on their watchlist has an ideas. Sorry {{sad face}} Happy Editing--''']]''' 03:35, 8 March 2022 (UTC) | |||
Is there any special page for suffixes? Such as to search for articles that end with (ice hockey) or something? I haven't found one, so I doubt there is, but I might as well ask. <font style="background:#E13A3E;">]]</font> 13:38, 6 July 2007 (UTC) | |||
::I'm confused by what you mean - <s>{{tl|Article templates}}'s documentation does it just fine,</s> and your diff seems to be working as expected - what is what you expect to happen when you <s>transclude</s> substitute it, @] @]? ] 22:59, 18 May 2022 (UTC) | |||
:::When subst'ing? I would hope to just paste the contents that appeared in the transclusion. Yes transcluding works. Substing doesn't, look at my second diff above. {{hidden ping|casualdejekyll|EpicPupper}} Happy Editing--''']]''' 23:47, 18 May 2022 (UTC) | |||
::::Oh. Um. Hmm. What a pickle... ] 23:49, 18 May 2022 (UTC) | |||
::::Did you ever find a solution for this? ] (]) 05:50, 26 December 2022 (UTC) | |||
:::::@], I'm fairly sure this is impossible to subst.<span id="Qwerfjkl:1672046095176:Wikipedia_talkFTTCLNSpecialFTTCLNPrefixIndex" class="FTTCmt"> — ]] 09:14, 26 December 2022 (UTC)</span> | |||
::::::@] I find that most use-cases for substitution can be approached in different, more efficent ways :) ] <sup>(he/him | ])</sup> 20:32, 26 December 2022 (UTC) | |||
== Hiding disambiguations == | |||
:No, there isn't. Maybe request it at ] or ]; it's a neat idea. ] <sub><nowiki>]<nowiki>]</nowiki></sub> 07:34, 8 July 2007 (UTC) | |||
Is there any way to hide disambiguation pages when searching for articles beginning with certain characters? I know redirects can be hidden but can disambiguations be hidden? If not, would it be feasible to add such a feature? ] (]) 14:05, 2 January 2024 (UTC) | |||
::Request a better search engine, too, since the current one sucks petunas, relying on external search engines (like Google) to pick up MediaWiki's slack. Misplaced Pages's navigation system sucks too, requiring ] and categories to also pick up the slack. ∞] <sup>(]|])</sup> 19:09, 8 July 2007 (UTC) | |||
:Not directly through this special page, but fortunately there is through ]: | |||
:] gives page titles beginning with "Foo" that ''do not'' contain "(disambiguation)". (Technically this doesn't filter out ] disambigs, which don't have "(disambiguation)" in the title, but hopefully that will be enough.) | |||
:For more see ]. However, this, in turn, doesn't let you control redirects showing up in the results, because the MediaWiki software doesn't support that: ]. If you really need to filter out '''both''' disambigs and redirs in an automated fashion, you'll have to code up something to fetch the search results and do that filtering locally, or ask someone for assistance with same. | |||
:If curious as to why: redirs are something handled specially inside the MediaWiki software, so it "knows" automatically whether or not a page is a redirect. Disambigs on the other hand, are just a page-titling convention Misplaced Pages's humans use to organize pages; the software doesn't "know" whether a page is a disambig. | |||
:Hope this helps, and if you have more questions ask away! {{=)}} ] (]) 18:48, 2 January 2024 (UTC) | |||
::], I'm not sure that's quite right. Links to disambiguation pages have a special class, and I believe disambiguation pages are marked with a magic word, something like <code><nowiki>__DISAMBIG__</nowiki></code>.<span id="Qwerfjkl:1704222450182:Wikipedia_talkFTTCLNSpecialFTTCLNPrefixIndex" class="FTTCmt"> — ]] 19:07, 2 January 2024 (UTC)</span> | |||
:::Ah-ha! Turns out here on Misplaced Pages we have an extension that does that: ]. Thanks for bringing that up. However it looks like unfortunately not "hooked in" to Special:Search at present, so filtering disambigs from there is still not possible. You have to go through the ] and do some complex querying. ] (]) 23:28, 2 January 2024 (UTC) |
Latest revision as of 01:21, 11 July 2024
- Usage
{{Special:PrefixIndex/page}}
- Parameters
|hideredirects=
If set toyes
or1
, output will exclude redirects.|stripprefix=
If set toyes
or1
, removes prefixes from output.
- Examples
{{Special:PrefixIndex/Template:mbox}}
→
- Mbox
- Mbox/doc
- Mbox/index
- Mbox/index/testcases
- Mbox/sandbox
- Mbox/sandbox/2
- Mbox/testcases
- Mbox Wikigraphist
- Mbox templates
- Mbox templates/doc
- Mbox templates/sandbox
- Mbox templates/testcases
- Mbox templates (small)
- Mbox templates (small)/doc
- Mbox templates (small)/sandbox
- Mbox templates (small)/testcases
- Mbox templates see also
- Mbox templates see also/doc
{{Special:PrefixIndex/Template:mbox|hideredirects=yes}}
→
- Mbox
- Mbox/doc
- Mbox/index
- Mbox/index/testcases
- Mbox/sandbox
- Mbox/testcases
- Mbox Wikigraphist
- Mbox templates (small)
- Mbox templates (small)/doc
- Mbox templates (small)/sandbox
- Mbox templates (small)/testcases
- Mbox templates see also
- Mbox templates see also/doc
{{Special:PrefixIndex/Template:mbox|stripprefix=yes}}
→
- Mbox
- /doc
- /index
- /index/testcases
- /sandbox
- /sandbox/2
- /testcases
- Wikigraphist
- templates
- templates/doc
- templates/sandbox
- templates/testcases
- templates (small)
- templates (small)/doc
- templates (small)/sandbox
- templates (small)/testcases
- templates see also
- templates see also/doc
{{Special:PrefixIndex/Template:mbox/}}
→
If you want to do something wacky like change the width of the columns, use the template {{PrefixIndex}}, which is a simple wrapper for this plus another parameter for column widths. Go try it out!
This is the talk page for discussing Special:PrefixIndex and anything related to its purposes and tasks. |
|
Archives: 1Auto-archiving period: 12 months |
This is the talk page for the special page at Special:PrefixIndex. For general information on this and other special pages, see Help:Special page. For recent talk about special pages, see Recentchangeslinked/Specialpages discussion |
- For advanced pagenames searches use the grep tool
Google search trick to help with suffixes
In Google search, try the following (quote marks included):
- "http://en.wikipedia.org/*%s"
- "http://en.wikipedia.org/ * %s"
where you replace "%s" with the suffix you're interested in. It's imperfect but useful. — ¾-10 20:11, 13 February 2010 (UTC)
This will find references to those pages on other sites as well, you'd be better off with:
- site:en.wikipedia.org inurl:"wiki/*%s"
- site:en.wikipedia.org inurl:%s (assuming your string isn't present in "en.wikipedia.org/wiki")
Bigmantonyd (talk) 01:44, 26 January 2011 (UTC)
I can dig it! Cheers! - SWIM HowdyImSWIM (talk) 11:19, 25 December 2021 (UTC)
I'll proudly wear this badge Nguthi Joseph k (talk) 11:18, 29 October 2022 (UTC)
Passing parameters in wikilink
Is it possible to pass parameters in a wikilink to the PrefixIndex page as can be done in the transclusion syntax?
I.e like:
{{Special:PrefixIndex/{{FULLPAGENAME}}/ |hideredirects=1 |stripprefix=1}}
If so, what's the proper syntax?
Search with trailing space
I wish to search all articles (and exclude redirects) that start with Dr without the dot after it. I understand that I cannot enclose the search term with quotes. If it was allowed, I only had to enter "Dr " with a space. But giving Dr followed by a space, is not working as the search seems to be removing the trailing space. Giving Dr. with a space after it also is returning results (such as Dr.I) that do not have space after Dr. . Jay 08:00, 12 July 2021 (UTC)
- @Jay, You might want to try a regex search e.g.
intitle:/Dr /
― Qwerfjkltalk 08:01, 22 December 2021 (UTC) - Thanks. I forgot to inform that I had reposted this some months later at Help talk:Searching#Search with trailing space and got a response. Jay (talk) 08:54, 22 December 2021 (UTC)
Substing this page?
Is there any way to subst the special page? 🐶 EpicPupper 19:24, 23 February 2022 (UTC)
- @EpicPupper: Not the obvious way 1, 2. And the mw:Special:PrefixIndex links back to this enwiki page for documentation, I don't see any docs on the mediawiki site, nor does there exist an mw:Project:Special:PrefixIndex, like there is a en:Project:Special:PrefixIndex. I did figure you tried all that but I'm replying again just to see if anyone else with this on their watchlist has an ideas. Sorry Happy Editing--IAmChaos 03:35, 8 March 2022 (UTC)
- I'm confused by what you mean -
{{Article templates}}'s documentation does it just fine,and your diff seems to be working as expected - what is what you expect to happen when youtranscludesubstitute it, @EpicPupper @IAmChaos? casualdejekyll 22:59, 18 May 2022 (UTC)- When subst'ing? I would hope to just paste the contents that appeared in the transclusion. Yes transcluding works. Substing doesn't, look at my second diff above. Happy Editing--IAmChaos 23:47, 18 May 2022 (UTC)
- Oh. Um. Hmm. What a pickle... casualdejekyll 23:49, 18 May 2022 (UTC)
- Did you ever find a solution for this? Fuzzyketchup (talk) 05:50, 26 December 2022 (UTC)
- @Fuzzyketchup, I'm fairly sure this is impossible to subst. — Qwerfjkltalk 09:14, 26 December 2022 (UTC)
- @Fuzzyketchup I find that most use-cases for substitution can be approached in different, more efficent ways :) 🐶 EpicPupper 20:32, 26 December 2022 (UTC)
- @Fuzzyketchup, I'm fairly sure this is impossible to subst. — Qwerfjkltalk 09:14, 26 December 2022 (UTC)
- When subst'ing? I would hope to just paste the contents that appeared in the transclusion. Yes transcluding works. Substing doesn't, look at my second diff above. Happy Editing--IAmChaos 23:47, 18 May 2022 (UTC)
- I'm confused by what you mean -
Hiding disambiguations
Is there any way to hide disambiguation pages when searching for articles beginning with certain characters? I know redirects can be hidden but can disambiguations be hidden? If not, would it be feasible to add such a feature? Dennis C. Abrams (talk) 14:05, 2 January 2024 (UTC)
- Not directly through this special page, but fortunately there is through Special:Search:
- Special:Search/-"(disambiguation)" prefix:Foo gives page titles beginning with "Foo" that do not contain "(disambiguation)". (Technically this doesn't filter out WP:NOPRIMARYTOPIC disambigs, which don't have "(disambiguation)" in the title, but hopefully that will be enough.)
- For more see Help:Searching. However, this, in turn, doesn't let you control redirects showing up in the results, because the MediaWiki software doesn't support that: phab:T204089. If you really need to filter out both disambigs and redirs in an automated fashion, you'll have to code up something to fetch the search results and do that filtering locally, or ask someone for assistance with same.
- If curious as to why: redirs are something handled specially inside the MediaWiki software, so it "knows" automatically whether or not a page is a redirect. Disambigs on the other hand, are just a page-titling convention Misplaced Pages's humans use to organize pages; the software doesn't "know" whether a page is a disambig.
- Hope this helps, and if you have more questions ask away! Slowking Man (talk) 18:48, 2 January 2024 (UTC)
- Slowking Man, I'm not sure that's quite right. Links to disambiguation pages have a special class, and I believe disambiguation pages are marked with a magic word, something like
__DISAMBIG__
. — Qwerfjkltalk 19:07, 2 January 2024 (UTC)- Ah-ha! Turns out here on Misplaced Pages we have an extension that does that: mw:Extension:Disambiguator. Thanks for bringing that up. However it looks like unfortunately not "hooked in" to Special:Search at present, so filtering disambigs from there is still not possible. You have to go through the API and do some complex querying. Slowking Man (talk) 23:28, 2 January 2024 (UTC)
- Slowking Man, I'm not sure that's quite right. Links to disambiguation pages have a special class, and I believe disambiguation pages are marked with a magic word, something like