Release status: stable
|Implementation||Page action, Special page, Ajax, API, User interface|
|Description||Allows to push all content from pages, subpages and namespaces to other wikis|
|Author(s)||Karima Rafes (Karima Rafestalk)|
|Latest version||2.0.1 (2021-10-04)|
|MediaWiki||1.35, 1.36, 1.37|
|License||GNU General Public License 3.0 or later|
The PushAll extension can push all content (images, modules, templates), subpages and associated namespaces to other wikis. This extension inserts a discrete tab "push" on your pages or you can use the special page 'Push'. A user can see and select exactly the contents to push.
This is a fork of the Push extension but this version has been completely rewritten.
This extension is very useful when the wiki is private.
When you have finished working in private (ie, in a private wiki), you may want to push your pages (with their modules, templates, files and data pages) in another (public) wiki. This installation inserts a discrete tab "push" on your pages or you can use the special page 'Push'.
Tab of the extension PushAll in the preferences of Mediawiki
Window in the preferences of Mediawiki with the extension PushAll
Example of page in Mediawiki with the extension PushAll.
- Download, extract and place the file(s) in a directory called
- Add the following code at the bottom of your
wfLoadExtension( 'PushAll' );
- Configure as required.
- Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.
In the preferences of users
Any users can add a remote wiki directly in their preferences, tab "Targeted wikis".
By default there are no targets, which will cause the push tab to not be shown anywhere until you add at least one target.
You have to declare a targeted wiki with a bot (a botname and a key) created in this remote wiki.
When using vector like skins, you can choose to have the push tab displayed on the page itself, or in the action menu you can open by clicking the down arrow next to the visible tabs. For this, an user need to set the option in the preferences to either true or false. The default is false.
Pages attached by their namespaces
Configuration of push is done by adding simple PHP statements to your LocalSettings.php file. These statements need to be placed AFTER the inclusion of PushAll. The options are listed below and their default is set in the [https://github.com/BorderCloud/PushAll/blob/master/extension.json push settings file]. You should NOT modify the settings file, but can have a look at it to get an idea of how to use the settings, in case the below descriptions do not suffice.
You can push in same time other pages attached by their namespaces and the same title. Example:
$egPushAllAttachedNamespaces = "Data"; $egPushAllAttachedNamespaces = "Discussion";
Details: Install of PushAll extension
- Page import - overview of all page import tools