Tag Info

New answers tagged

1

You can add * {{SITENAME}} to MediaWiki:Sidebar and use some script to replicate that, or use the AddMessages extension or the MessagesPreLoad hook to set the text from code.


0

nukePage.php can permanently remove a page. You might want to run refreshLinks.php afterwards. deleteArchivedRevisions.php permanently removes all deleted pages/revisions.


0

Search the source files for some part of the message, such as with real name $2 was created. You will find some message files - either JSON files, or PHP array, but in any case, a key-value format, where the key tells you the name of the message. You can then search for that name in the source. See the message interface for how you can add parameters to a ...


1

I don't think that can be done with pure wiki markup. From the lists help page on mediawiki.org: For simplicity, list items in wiki markup cannot be longer than a paragraph. A following blank line will end the list and reset the counter on ordered lists. Separating unordered list items usually has no noticeable effects. Paragraphs can be forced in ...


1

MediaWiki has a storage abstraction layer that makes this technically possible (the linked page talks about using external databases but it's actually not limited to that; see the documentation of the ExternalStore class for details). You would have to write your own ExternalStoreMedium subclass. The wiki would still have an RDBMS backend, of course, but the ...


1

I think there isn't (using off-shelf software) for the following reasons. Sql and git are very different storage systems by design. Sql is about storing lots of deeply interconnected data in a single big lump of a file. Thus allowing efficient indexing and searching. Git is about storing programming text in many small files with the unwritten assumption ...


0

The solution now working and tested - in the LocalSettings.php file, shared in case anyone else has trouble with this: $wgScriptPath = "/mediawiki"; $wgScriptExtension = ".php"; $wgArticlePath = "/mediawiki/$1"; $wgUsePathInfo = true; $wgServer = "http://intranet.example.com"; The problem was caused by a forward slash on the end of ...



Top 50 recent answers are included