Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.
18

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!


13

Because templates are just normal pages with a specific type of content on them, there is no one set-in-stone way of finding a list of templates. However, the majority of MediaWiki sites will use a Template namespace for keeping templates together and easily implementable. To get a list of all pages within a given namespace, go to Special:AllPages; at the ...


9

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 &#...


9

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 ...


9

You can transclude Special:AllPages: {{Special:AllPages}}. On my tiny testing wiki, that displays a table with all pages on the wiki.


8

If you place this formula in a cell within Google Sheet, it will scrape the tabular data from this Wikipedia article link: http://en.wikipedia.org/wiki/Demographics_of_India =IMPORTHTML("http://en.wikipedia.org/wiki/Demographics_of_India", "table", 4) Once you have the data within Google Sheet, you can filter by column value (select column header, choose ...


7

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”).


7

Passing action=raw is the best way to obtain just the wikitext of a page, although it can be done with the API. See https://en.wikipedia.org/w/index.php?title=Paris&action=raw for example and the MediaWiki docs.


6

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 ...


5

You can use dab solver. Enter the name of the page and it will automatically find the ambiguous links on that page and it will also help you disambiguate them.


5

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>


5

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]- https://meta.wikimedia.org/wiki/Research:...


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.


5

Wikipedia has a "browse history" box at the top of each revision history box. This allows you to see the changes from before a specific year and month.


5

You can limit the history page to a specific date, then the first version listed is what was valid at that specified date: Go to the history page of your desired page, and then add &YYYYMMDDHHMMSS to the URL. Example: http://en.wikipedia.org/w/index.php?title=Help:Page_history&action=history&offset=20121231000000 (BTW, that page is where I ...


5

The code for the sidebar is in the page MediaWiki:Sidebar. It should be enough to remove the line ** randompage-url|randompage from there. You need administrative privileges to edit that page. Note that this does not actually disable the “Random page” feature (that's still accessible from Special:Random), it just removes the link from the sidebar. If you ...


4

Perhaps the DumpHTML Extension does what you're looking for? This tool should dump your entire wiki as HTML.


4

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.


4

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.


4

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, ...


4

It seems that the Special:ListUsers page is standard functionality but only with a later version of MediaWiki than what we currently have. Wikipedia, for example, does have this particular functionality in place.


4

As of Wikimedia 1.23, this can be done with the Usercontribs module in the API using the new option of the ucshow parameter.


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 additional ...


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.


4

WikiMiniAtlas developer here. Replace the | between 2000 and region with a _ {{coord|35|37|N|139|50|E|display=title|dim:2000_region:JP_type:city_source:GNS-enwiki}} That should work.


4

You can use the Wikimedia "pipe trick" to keep from having to repeat the username: [[User:Username|]] turns into [[User:Username|Username]] Wikipedia1 has some templates that are set up for this. You could just use the User link template {{u|Username}} To be more "Twitter-like", there's the ping template (aka "Reply to") This template is ...


4

Square brackets instead of braces. <noinclude>This is a template to mark articles that needs an update. All these articles are listed under [[:Category:Articles that needs update]]</noinclude> <includeonly>[[Category:Articles that needs update]]</includeonly>


3

You'll want to setup MediaWiki first and then install the PDF Book export extension.


3

http://search.cpan.org/~daxim/Mediawiki-Blame-0.0.3/lib/Mediawiki/Blame.pm appears to support exactly this. Unfortunately, it's just a perl module, not a user-friendly command, so it's going to be a bit harder to use than one might want …


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