Extension:ViewWikitext
![]() | This extension is currently not actively maintained! Although it may still work, any bug reports or feature requests will more than likely be ignored. |
![]() Release status: unmaintained |
|
---|---|
![]() |
|
Implementation | Special page |
Description | View the raw wikitext of a page by a special page |
Author(s) | Nathan Larson (Leucostictetalk) |
Latest version | 1.0.0 (2014-03-10) |
MediaWiki | 1.23+ |
License | GNU General Public License 3.0 or later |
Download | GitHub: Note: |
The ViewWikitext extension lets you view the raw wikitext of a page by a special page. This could be useful if, for instance, you wanted to have the Internet Archiver archive all the wikitext on your wiki. This extension goes well with Extension:OneColumnAllPages.
Installation[edit]
- Download and place the file(s) in a directory called
ViewWikitext
in yourextensions/
folder. - Add the following code at the bottom of your LocalSettings.php file:
require_once "$IP/extensions/ViewWikitext/ViewWikitext.php";
Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.
Usage[edit]
Special:ViewWikitext/page_name will give you the wikitext for page_name.
Adding to the sidebar[edit]
- Go to MediaWiki:Sidebar on your wiki. Under * navigation, add ** viewwikitext-url|viewwikitext.
Now when people view your wiki pages at the Internet Archive, they'll have a link they can click on to see the wikitext.