Tag Info

Hot answers tagged

13

A TOC in Wikipedia is only generated if the article has more than three sections. The one you linked to only has three, and so it is not generated. If you were to add __TOC__ or __FORCETOC__ to the document a TOC would be generated. __FORCETOC__ causes the TOC to be placed before the first section heading, which would be before "Publications", while __TOC__ ...


8

I think a better method is to use the 'nowiki' tag. This is generic and does not rely on knowing character codes, plus your text is more readable. <nowiki>*</nowiki> will display as an asterisk at the start of the sentence. http://www.mediawiki.org/wiki/Help:Formatting Now you can display any special characters you like!


8

I don't think this can be done, and that is by design. A section is intended to end with the heading of a new section. The described situation would create some ambiguity, because there are no visual cues on the page to define where a section ends except for the header of a new section. It may also be unnecessary, because a default install of MediaWiki ...


5

You can get the feed if you check out the New pages watch and filter for your name only. Toolbox > Special Pages > Recent changes and logs > New pages Enter your Wikipedia handle in the Username: field Hit Go You'll then get results showing all the newly created pages started by that username. Grab the "Special:New pages" Atom feed that is created for ...


5

Here is how you do it : Changing the Title of the Media Wiki Page It looks identical to the wiki you have installed on your website. And it's very simple, Login as Administrator and use the [Move] link on top of the page.


4

Wikimedia provides dumps [0], wich depending of your intention, can be helpfull. Delected revisions or articles aren't shown on those dumps nor are publicly avaiable, but depending of the objective, it's possible to request access to non-public data. [1] [0]- https://meta.wikimedia.org/wiki/Data_dumps [1]- ...


4

If you want to use {{DISPLAYTITLE:}} to change a display title completely (as in, not just different capitalization), you'll need to make a change in LocalSettings.php. Set [$wgRestrictDisplayTitle][1] to false. Additionally, if you're looking to change where the main page resides, you can change [[MediaWiki:Mainpage]] to change the default main page users ...


4

We installed the Lucene search engine, as used on Wikipedia, and the MWSearch extension that integrates it with MediaWiki. Lucene: https://www.mediawiki.org/wiki/Extension:Lucene-search MWSearch: https://www.mediawiki.org/wiki/Extension:MWSearch Installation is complex, but when it's working, you can basically forget about it and let it run. An ...


4

You can change the contents of "MediaWiki:Mainpage" to contain the text "Special:AllPages". Whenever users click on the "Main page" link on the sidebar, the logo or accessing your wiki's domain name, you will be immediately directed to the special page. The advantage of this is that they see "All pages" as the page title and not "Main Page".


4

OK, I figured it out. I have done this and it works the way I want: [[File:StackOverflowProvilePic.jpeg‎|left|frame|Yes, this is me]] Apparently you can add many options between the image filename and the caption text. Why leaving that frame or thumb option off would cause the caption text to not appear is a mystery. To me, anyway.


3

On Wikipedia: Use the {{Reference necessary}} template. It adds a dotted gray underline beneath the text selection of your choice. Plus it adds a "[citation needed]" inline template at the end. On other MediaWiki websites, you may have do do it yourself using CSS or something. Let us know how it works out.


3

You can use the {{#tag}} magic word to do this. So, your template would look something like this: {{#tag:ref|Sometext {{createdate|{{{1}}}}}.|name={{{1}}}}} Although exactly this code wouldn't work correctly, because name cannot be an integer.


3

Since v1.18, out-of-the-box you can do the following (as described here): <div class="mw-collapsible mw-collapsed"> This text is not collapsible; but the next is collapsible and hidden by default: <div class="mw-collapsible-content">{{Lorem}}</div> </div>


3

As far as I know, there is no simple way to do this. But I can see some possibilities (starting with those that practically won't work): Use the API. The API doesn't have any direct way to do this, but you could try to work around that: Go though all pages and for each of them, find out the creator. Because of the limitations of the API when working with ...


3

Setup a HTML anchor manually using Template:Anchor. Say that you want to link to a section called "Overview" in an article. Add the template before the heading to make it look like: {{Anchor|AnyTextYouWant}} <!-- Note to other editors: Don't change this anchor text --> == Overview == (Of course, the comment line is optional.) Then make a link to ...


3

There is a tool called WikiBlame that lets you do exactly that: you enter a page name and a phrase to search for and will point you to the edit that added it. It's also linked from the History page of every page on the English Wikipedia (as “Revision history search”).


2

http://www.mediawiki.org/wiki/Manual:Preventing_access Specifically the 'Simple Private Wiki' information; Simple private wiki For the common use case of "a private wiki, for oneself and approved others", you need to: Restrict viewing Restrict editing Restrict account creation Hope this helps.


2

You'll want to disable editing for non-logged in users, disable registration, and disable editing for regular users (Just in case someone is already registered) Put this at the bottom of your LocalSettings.php # Disable editing and account creation for regular and anonymous users $wgGroupPermissions['*']['edit'] = false; ...


2

The wishlist for adding a request for a German word in the German Wiktionary seems to be http://de.wiktionary.org/wiki/Wiktionary:Wunschliste. If you are looking for the German Wiktionary to add a word in English or other foreign language, the correct page is http://de.wiktionary.org/wiki/Wiktionary:Wunschliste/Fremdsprachen.


2

There is also an archive of deleted Wikipedia articles called Deletionpedia. The archive is updated by an automated bot, which saves copies of the pages prior to their deletion (thus saving them from permanent destruction).


2

For one page use <div style="float:right;">__TOC__</div> This is what I usually do. Being that I do a lot with styling and so forth, I hate using my user css to modify anything since then I don't see what everyone else sees and therefore don't know what a visitor will see.


2

If you are using the GeShi syntax highlighting extension to MediaWiki, then you can just insert your C♯ code as-is, enclosed within a <syntaxhighlight/> element. (This is, as you can see from the syntax highlighting extensions category, one of several such MediaWiki extensions.) The MediaWiki wikis used, by the Wikimedia Foundation, for Wikipedia, ...


2

It seems that this is standard functionality but only with a later version of MediaWiki than what we currently have. Wikipedia, for example, does have this functionality.


2

You enter it as &lowast; or as &#42;, which will be displayed as ∗ and *, respectively, in HTML. Here is a test: Here is displayed as a bullet list. ∗ Here is displayer as an asterisk operator (Math Asterisk). * Here is displayed as an asterisk. And your example: ∗Hello world, this sentence is not in an unordered list. or ...


2

It should be as easy as adding the following to the page you want to redirect from (where nameOfPage is your final destination): #REDIRECT [[nameOfPage]] If you are asking about double redirects you will have to find the pages and have both of them individually point to the same redirect.


2

You can use CatScan to do that. For example, to query files on Commons, you can start with http://toolserver.org/~magnus/catscan_rewrite.php?language=commons&project=wikimedia&ns[6]=1 and enter the categories you want into the Categories box.


2

Yes, if you have a list of pages that you want to add to some category, AutoWikiBrowser can help you do that. But, as with any other mass change, you should have a consensus to do so, or the change should be uncontroversial. Also, to be able to use AWB on Commons, you need to be approved first, see Commons:AutoWikiBrowser for more information.


2

It is possible to search Wikipedia (or any other site that a search engine can access) using simple regular expressions, as long as you rely on an search engine. The following Google search query searches Wikipedia for matches of the regular expression (Yahoo|Google|Microsoft): ...


2

As far as I know, this is not possible. That's because MediaWiki doesn't actually know what a reply is or that sections on talk pages have some special meaning. I guess you could write a program that checks all the talk pages you wrote to for replies, but I don't know about anything like that that already exists. Also, LiquidThreads should solve this (and ...


2

I'm afraid there's not any way to do this using the API or anything like that. However, you could probably do something with the Wikimedia dumps to find the sort of duplication you're looking for. The people already doing research might also be able to help you out.



Only top voted, non community-wiki answers of a minimum length are eligible