Project:Support desk

From MediaWiki.org
Jump to: navigation, search
vde   This page is for questions relating to the MediaWiki software.

Welcome to MediaWiki.org's Support desk, the central on-wiki place to ask MediaWiki questions!

The greater purpose of this page is to make our Manual and other available help so good that you do not have to come here to ask questions, or making them easier to find.

There are other ways for of communication as well (IRC, mailing lists etc.). Read more here.

Before you post

Post a new question

  1. To help us answer your questions, please always indicate which versions you are using:
    • MediaWiki (reported by your wiki's Special:Version page)
    • PHP (likewise)
    • Database (likewise, e.g. MySQL 5.5)
  2. Please include the URL of your wiki unless you absolutely can't. It's often a lot easier for us to identify the source of the problem if we can look for ourselves.
  3. To start a new thread, click "Start a new discussion".

Archiving topics

Topics are automatically archived when they have been inactive for three weeks. If a question you have asked is approaching this limit and still has not been answered, please 'bump' it to prevent it being archived. However do not 'bump' for other reasons.

First page
First page
Previous page
Previous page
Last page
Last page

Importing from one mediawiki to another - help

I have exactly 2 hours of experience with my new mediawiki installation :-)

Here's the problem. I am exported selected pages (via Special:Export to xml) from a mediawiki site that has some sort of forum extension. I can't tell which forum extension it is using. The export seems to work fine.

Upon import to my mediawiki site (which has no sort of forum extension), the pages all import fine -- but when I view them all I see are entries like this:

Template:ForumNewPost Template:ForumReplyPost Template:ForumReplyPost Template:ForumReplyPost Template:ForumReplyPost

If I go to the revision history of the page, I can click on the timestamp and I get the actual page rendered with all the text (and it is actually formatted pretty well!)

Question: How do I get the main link for the discussion page to show up with the actual discussion, not with those "Template" references?

Thanks...

69.112.86.17916:54, 19 April 2014

Well, at first look it seems that you should also import Template:ForumNewPost and Template:ForumReplyPost from the original wiki.

Also, if it uses a forum extension, and the messages are stored in it's own page (internally), each forum thread will be split with each message in a different page. That's the job of the forum extension, and you won't be able to emulate that, unless you manually create pages for each thread and transclude the contents of each message there.

Ciencia Al Poder (talk)18:50, 19 April 2014

Thanks very much; I think I did subsequently import the templates but didn't realize that I had to edit/save the previously imported pages to get them to associate. They display fine now, and further page imports seem to work fine now with no need to do the edit/save routine.

Thanks!

69.112.86.17923:32, 19 April 2014
 
 

Central auth help

Hi can someone help with centralauth I have done all the setup and I have migrated my account to the centralauth auth table but on the other wiki it won't let me log on to that global account instead saying it doesent esist but when trying to create an local account of that username it says this account is global you cannot create it. Please help.

86.173.52.6523:06, 19 April 2014

Central auth help

Hi can someone help with centralauth I have done all the setup and I have migrated my account to the centralauth auth table but on the other wiki it won't let me log on to that global account instead saying it doesent esist but when trying to create an local account of that username it says this account is global you cannot create it. Please help.

86.173.52.6523:06, 19 April 2014

centralauth help

hi can I have some help with centralauth please if I use this

$wgCentralAuthDatabase = 'name of databse';

do I keep the databse name the same for all wikis or do I change it for the different wikis

86.173.52.6518:46, 19 April 2014

How can I fix the "Help with logging in"?

http://ww3.sinaimg.cn/large/728a1733jw1efkqnspxeaj20hs0arq3g.jpg

All wiki's language version show following word. How to fix it?

<userlogin-helplink2>  ???

Zoglun (talk)04:13, 19 April 2014

You could create MediaWiki:userlogin-helplink2 in your wiki. Anyway, that seems a bug. What MediaWiki version are you using?

Ciencia Al Poder (talk)18:14, 19 April 2014
 

Export old revision

Is it possible to export an older version of a certain wikipedia page with all the templates that belong to it? I know you can export the entire history of a page, but I can't import 36 MB, so I would prefer if I could import the latest revision before the page started to use LUA modules (+plus all pre-lue templates)

80.56.90.14913:43, 18 April 2014

No, that's not possible. You'd need to manually go to the page history on wikipedia, view the version before LUA, and edit it to get the source code to put on your wiki.

Ciencia Al Poder (talk)18:11, 19 April 2014
 

Cleaning logs

Hello, please tell me how to clear all logs action viki.Ili possible to change the period (dates) display logs, for example to show the changes only for the year / month? My Wiki: http://wiki.league17.ru/

EvangelionI (talk)21:23, 15 April 2014
Edited by 0 users.
Last edit: 21:22, 16 April 2014

please help me

212.66.36.17821:22, 16 April 2014
 

Which logs exactly?

AKlapper (WMF) (talk)09:57, 17 April 2014

Deletion log and pravokstranits

EvangelionI (talk)13:57, 17 April 2014

What is pravokstranits?

AKlapper (WMF) (talk)06:25, 18 April 2014
 

Sorry for the bad translation. To clear the deletions and corrections.

EvangelionI (talk)13:58, 17 April 2014
 
 

About change translated message in sandbox heading

I translated messages of sandbox heading to Korean at Sandbox page but I can't change these.

아라는 다 알아 (talk)05:59, 19 April 2014

header template seems protected, and it is not prepared for translations.

Revicomplaint?06:44, 19 April 2014
 

[RESOLVED] Hiding toolbox except for admin and bureaucrat

In skins/Vector.php I can hide toolbox from logged out thus:

if ( $wgUser->isLoggedIn() ) {
                                case 'TOOLBOX':
                                   if ( $wgUser->isLoggedIn() ) {
                                        $this->renderPortal( 'tb', $this->getToolbox(), 'toolbox', 'SkinTemplateToolboxEnd' );
                   }

but User::isSysop() and similar are deprecated.

How would I use the recommended $user->isAllowed to specify the admin and bureaucrat group? I have not managed to find this, sorry.


  • MediaWiki 1.22.2
  • PHP 5.3.6-13ubuntu3.10 (apache2handler)
  • MySQL 5.1.69-0ubuntu0.11.10.1-log
94.196.106.15004:08, 16 April 2014

Maybe you can use this:

$wgUser->getGroups()

It will give you an array of all groups in which the current user is member.

Wgkderdicke (talk)08:12, 16 April 2014

Hi!

You can go through the file includes/User.php to see, which methods are available for the user object. If there should be no method, which returns, if the user is an admin, then maybe you can work with the method getEffectiveGroups() somehow like so:

if ( in_array( 'sysop', $this->getUser()->getEffectiveGroups() ) {
 // code to show toolbox
}

Maybe you still have to adjust that somehow, like using $wgUser instead of $this->getUser and maybe by checking for _both_ groups, but I guess you get the basic idea.

88.130.77.16308:36, 16 April 2014

Thanks for the response. I also had a reply here http://stackoverflow.com/questions/23100952/media-wiki-hiding-toolbox-except-for-admin-and-bureaucrat which suggested using IsAllowed but creating the required right and the permissions for it. This looks hopeful, but I'll post back which method works for me if I use it (I may want to enable users e-mailing each other in which case the toolbox needs to be visible for standard users.

94.196.238.19720:26, 16 April 2014
 
 
 

people must provide their E-mail address with fixed suffix

HiRachel1208 (talk) This is the problem: I want that people must provide their E-mail address with fixed suffix like @gmail.com, and after confirmation, they can become users. Maybe to solve that problem, I need to change the login inerface and some other files. However, I don't know where to start.:( So I really need your helpRachel1208 (talk) Thank you for your kind replies! :)

Rachel1208 (talk)06:39, 17 April 2014

You can probably use the isValidEmailAddr hook to check if the email is from specific domains, and set $result to false if it doesn't match.

Ciencia Al Poder (talk)13:41, 18 April 2014
 

Fatal error: Possible integer overflow in memory allocation

Edited by 2 users.
Last edit: 20:13, 21 February 2014

I upgraded from version 1.17.0 to 1.22.2 and now when I click on Special Pages I receive this error: Fatal error: Possible integer overflow in memory allocation (2147483648 * 4 + 0) in /var/www/wiki/includes/User.php on line 2312

I went and opened up user.php and line 2312 reads:

if ( !$ignoreHidden && in_array( $oname, $wgHiddenPrefs ) ) {
     return self::getDefaultOption( $oname );
}
Stomkiewicz (talk)17:06, 20 February 2014

Have you tried increasing the memory limit?

MarkAHershberger(talk)17:20, 20 February 2014

I found 2 php.ini files and increased them both to say 256M, still no luck. (one originally said 128M, the other said -1)

Stomkiewicz (talk)17:51, 20 February 2014

Weird. I came across this post with the discouraging solution:

 Ok, found the trouble...
 One of the twelve CPU's in the system had a bit fualt in bit 2 of its integer calculations... with that CPU off, it works flawlessy again...
 
 The CPU doesnt show any errors during testing, but the fault dissapears completely with that one off.

I wouldn't even know how to track that down.

MarkAHershberger(talk)17:56, 20 February 2014
 

Is it always on the same line number? What extensions do you have installed?

MarkAHershberger(talk)17:58, 20 February 2014

I'm running on a virtual server. As far as extensions, I don't know if any are actually installed. Our old IT directory set this up, then quit, and we had just been using it for a year until it just recently crashed and I'm trying to get it going again.

Stomkiewicz (talk)19:34, 20 February 2014

You can check the extensions directory for the installed extensions. What directories and files are in there?

MarkAHershberger(talk)01:45, 24 February 2014
 
 
 
 

I can reproduce this on a new 1.22.2 wiki. It doesn't appear if I switch to 1.21.5, so that narrows it down to...every change between 1.21 and 1.22, I guess. :-)

Emufarmers(T|C)20:12, 21 February 2014

I can't duplicate this on a new Debian installation. Could you share more information? Extensions, etc?

MarkAHershberger(talk)02:43, 24 February 2014

I'm facing the same issue with fresh installation of MediaWiki v1.22.0 on CentOS release 5.4, PHP 5.3.6, MySQL 5.1.57. I do not have any extensions installed in the fresh installation.

86.159.119.12222:06, 26 February 2014

I suspect this is either a PHP issue, or underlying OS issue, and not a mediawiki issue.

Bawolff (talk)06:23, 27 February 2014

If it was PHP or OS issue then I should be getting similar error on existing old installation of MediaWiki on the same server.

My current installation of MW is v1.17.0rc1. When I either upgrade it to v1.22.0 or install it fresh, accessing special pages throws "Fatal error: Possible integer overflow in memory allocation (2147483648 * 4 + 0) in /var/www/wiki/includes/User.php on line 2312" exception. Rest every other functionality works normally.

Server Configuration: CentOS release 5.4, PHP 5.3.6, MySQL 5.1.57

86.145.23.21100:09, 2 March 2014
 
 
 
 
 

Having major problems logging into a wiki for Star Conflict

Dear Mediawiki, I have been trying to make an account on a wiki that I believe is yours, http://wiki.star-conflict.com/index.php?title=Main_Page. The technical support links on it brought me to your admin sites. I've tried twice to make an account on this wiki because I want to contribute to it but it seems to instantly change my password. I've tried usernames Kiljaedenas and Kiljaeden in that order; the same day that I created the account Kiljaeden using a password I frequently use for online sites, when I discovered that I need to be in the emailverified group to make posts and went to set the email address to this one I'm using right now (which I didn't do upon account creation to try and avoid spam) it said my password was invalid. So now I don't have an email address set to do a password reset on either account and the password I thought I had set only an hour or so ago doesn't appear to work. Could you please help?

Daryl

207.102.139.8117:59, 17 April 2014
Edited by 0 users.
Last edit: 10:13, 18 April 2014

This site (www.mediawiki.org) is not affiliated with the star-conflict wiki. This is the wiki about MediaWiki, the software that runs the star-conflict wiki (and many other wikis!), but we do not host that wiki.

Our login is different. If you want to have a user account here you'll need to register again here.

Ciencia Al Poder (talk)10:13, 18 April 2014
 

I'm trying to recreate certain pages from Wikipedia. I've imported the necessary files, installed scribunto, etc. and now I'm at a point where I get the following Script Error:

Lua error: Cannot create process: proc_open is not available. Check PHP's "disable_functions" configuration directive.

When I make a test.php and look at the info I see the following:

disable_functions Local: system,exec,shell_exec,passthru,proc_open,proc_get_status,proc_nice,proc_terminate,dl,popen,pcntl_exec Master: system,exec,shell_exec,passthru,proc_open,proc_get_status,proc_nice,proc_terminate,dl,popen,pcntl_exec

80.56.90.14915:30, 17 April 2014

You should remove that function from the disable_functions directive.

If you don't have control over that (because you're on a "cheap" shared host), you should substitute the scribunto modules used on the templates by wikitext versions of them, for example, going to the template page on Wikipedia, looking at the template history and get the text before it was converted to a scribunto module.

Ciencia Al Poder (talk)10:10, 18 April 2014
 

Keep me logged in

Keep me logged in (for up to 30 days) says the en.wikipedia.org login page, but it never happens for me anymore, regardless of browser. It does not happen on Internet Explorer, Mozilla Firefox, Google Chrome, Opera, or Safari. Making sure cookies are turned on does not seem to help. In 2013 it worked fine. I am using Windows 7.

Dthomsen8 (talk)13:46, 17 April 2014

You should raise your problem there: Wikipedia:Village pump (technical)#Unable to remain logged-in, specifying since when you have the problem, and see if more people have that particular problem. May be worth to report a bug for that, too.

Ciencia Al Poder (talk)10:06, 18 April 2014
 

[RESOLVED] how to get the username, who created the article

hello there

{{REVISIONUSER}} gives you the user who modified the article last and {{REVISIONTIMESTAMP}} shows the last modification's timestamp. Is there any magic words to display the user, who created the article and the time/date of creation?

regards and thank you for your help in advance

185.31.48.3008:13, 16 April 2014

any ideas?

185.31.48.3011:27, 16 April 2014

Ok, I have managed to display Creation date using semantic wiki's Creation date property but still looking for a way to display the username, who created the article.

185.31.48.3014:59, 16 April 2014

could anyone reply please? :)

185.31.48.3009:39, 17 April 2014

Yes, I can reply, but I still don't know. ;-)

A list of all supported magic words is available at Help:Magic_words#Variables. If it's not in there, then I suppose there is no magic word for that.

88.130.125.21310:03, 17 April 2014

Thank you. Is there any other way to do that?

185.31.48.3011:34, 17 April 2014
 
 
 
 
 

database help

hi I get this error when trying to create the tables and setup the wiki

Setting up database... done Creating tables... A database query error has occurred. This may indicate a bug in the software. Query: CREATE TABLE `user` ( user_id int unsigned NOT NULL PRIMARY KEY AUTO_INCREMENT, user_name varchar(255) binary NOT NULL default , user_real_name varchar(255) binary NOT NULL default , user_password tinyblob NOT NULL, user_newpassword tinyblob NOT NULL, user_newpass_time binary(14), user_email tinytext NOT NULL, user_touched binary(14) NOT NULL default , user_token binary(32) NOT NULL default , user_email_authenticated binary(14), user_email_token binary(32), user_email_token_expires binary(14), user_registration binary(14), user_editcount int, user_password_expires varbinary(14) DEFAULT NULL ) ENGINE=InnoDB, DEFAULT CHARSET=binary

Function: DatabaseBase::sourceFile( /home/paladox/public_html/en/maintenance/tables.sql ) Error: 1005 Can't create table 'paladox_en.user' (errno: 121) (localhost)

Backtrace:

  1. 0 /home/paladox/public_html/en/includes/db/Database.php(1123): DatabaseBase->reportQueryError('Can't create ta...', 1005, 'CREATE TABLE `u...', 'DatabaseBase::s...', false)
  2. 1 /home/paladox/public_html/en/includes/db/Database.php(3858): DatabaseBase->query('CREATE TABLE `u...', 'DatabaseBase::s...')
  3. 2 /home/paladox/public_html/en/includes/db/Database.php(3772): DatabaseBase->sourceStream(Resource id #85, false, false, 'DatabaseBase::s...', false)
  4. 3 /home/paladox/public_html/en/includes/installer/DatabaseInstaller.php(187): DatabaseBase->sourceFile('/home/paladox/p...')
  5. 4 [internal function]: DatabaseInstaller->createTables(Object(MysqlInstaller))
  6. 5 /home/paladox/public_html/en/includes/installer/Installer.php(1533): call_user_func(Array, Object(MysqlInstaller))
  7. 6 /home/paladox/public_html/en/includes/installer/WebInstallerPage.php(1336): Installer->performInstallation(Array, Array)
  8. 7 /home/paladox/public_html/en/includes/installer/WebInstaller.php(283): WebInstaller_Install->execute()
  9. 8 /home/paladox/public_html/en/mw-config/index.php(63): WebInstaller->execute(Array)
  10. 9 /home/paladox/public_html/en/mw-config/index.php(31): wfInstallerMain()
  11. 10 {main}

Notice: Uncommitted DB writes (transaction from DatabaseInstaller::createTables). in /home/paladox/public_html/en/includes/db/Database.php on line 4147

94.2.131.14817:17, 11 April 2014

I run Mediawiki 1.23 Wmf 22.

86.173.52.6518:12, 13 April 2014

And wiki is at http://en.random-wikisaur.tk. I have just used the backup I did before deleting it and tried creating new tables and refresh the wiki. To fix some issues with centralauth.

86.173.52.6518:14, 13 April 2014

That error means the table already exists. But still, MediaWiki failed to properly detect if the table structure was present. Maybe you removed some tables while others were still around?

Ciencia Al Poder (talk)19:51, 13 April 2014

oh ok. but I deleted the tables and tried redoing the setup and create the tables like you would if you have just started to install the wiki.

86.173.52.6513:58, 15 April 2014
 

oh ok. but I deleted the tables and tried redoing the setup and create the tables like you would if you have just started to install the wiki.

86.173.52.6513:59, 15 April 2014

So... you solved the issue by creating the tables manually/with the tables.sql script?

Ciencia Al Poder (talk)09:27, 16 April 2014
 
 
 
 
 

I Am Trying To Change The Appearance Of My Wiki:

Edited by another user.
Last edit: 09:35, 17 April 2014

Here is the code I have in MediaWiki:Common.css

Is there an easier way? Should I upgrade MediaWiki? I am trying to make all the headers with white text and highlighted with a dark red bar.

But why isn't it working with the sidebar?!

See for yourself if I am confusing you. http://wiki.boingblogs.com/

/* CSS placed here will be applied to all skins */
 
h1 {
  background: url("skins/common/images/catbg.jpg") repeat-x scroll 0 0 #990000; color: white;
}
 
h2 {
  background: url("skins/common/images/catbg.jpg") repeat-x scroll 0 0 #990000; color: white;
}
 
h3 {
  background: url("skins/common/images/catbg.jpg") repeat-x scroll 0 0 #990000; color: white;
}
 
h4 {
  background: url("skins/common/images/catbg.jpg") repeat-x scroll 0 0 #990000; color: white;
 
}
 
h5 {
  background: url("skins/common/images/catbg.jpg") repeat-x scroll 0 0 #990000; color: white;
}
 
h6 {
  background: url("skins/common/images/catbg.jpg") repeat-x scroll 0 0 #990000; color: white;
 
}
 
h7 {
  background: url("skins/common/images/catbg.jpg") repeat-x scroll 0 0 #990000; color: white;
}
 
h8 {
  background: url("skins/common/images/catbg.jpg") repeat-x scroll 0 0 #990000; color: white;
}
 
h9 {
  background: url("skins/common/images/catbg.jpg") repeat-x scroll 0 0 #990000; color: white;
}
 
h10 {
  background: url("skins/common/images/catbg.jpg") repeat-x scroll 0 0 #990000; color: white;
}
 
h11 {
  background: url("skins/common/images/catbg.jpg") repeat-x scroll 0 0 #990000; color: white;
}
 
h12 {
  background: url("skins/common/images/catbg.jpg") repeat-x scroll 0 0 #990000; color: white;
}
 
#p-navigation h5 { background: url("skins/common/images/catbg.jpg") repeat-x scroll 0 0 #990000; color: white; }
#p-tb         h5 { background: url("skins/common/images/catbg.jpg") repeat-x scroll 0 0 #990000; color: white; }
#p-search     h5 { background: url("skins/common/images/catbg.jpg") repeat-x scroll 0 0 #990000; color: white; }
In Correct (talk)15:58, 16 April 2014

Sidebar uses h3 instead of h5.

In addition, sidebar has more specific styles applied to it, that will override your styles. You can see them with the developer tools of your browser (hit F12). You can try with this instead:

h1, h2, h3, h4, h5 {
  background: url("skins/common/images/catbg.jpg") repeat-x scroll 0 0 #990000; color: white;
}
 
#mw-panel.collapsible-nav .portal h3 {
  background: url("skins/common/images/catbg.jpg") repeat-x scroll 0 0 #990000; color: white;
}
#mw-panel.collapsible-nav .portal h3 a {
 color: white;
}
Ciencia Al Poder (talk)09:45, 17 April 2014
 

You might want to start by explaining what the problem is you'd like to solve.

AKlapper (WMF) (talk)09:56, 17 April 2014

I also did not understand, which problem you currently have.

One note:

When you have one and the same CSS rule (the ones you posted all are the same, right?), then you can also combine them like so:


h1, h2, h3, #mw-panel.collapsible-nav .portal h3 {
  background: url("skins/common/images/catbg.jpg") repeat-x scroll 0 0 #990000; color: white;
}
88.130.125.21310:08, 17 April 2014

Sidebar uses h3 instead of h5.

This seems to work with my sidebar. It caused the white text to be highlighted in dark red. The other codes did not work.

You might want to start by explaining what the problem is you'd like to solve.

I want a theme for my Wiki. Mostly white background with a few areas that have white text highlighted in red. If possible, Are there theme extensions that I can install? Do I need to have the latest version of MediaWiki?

MediaWiki 1.21.1 PHP 5.3.28 (cgi-fcgi) MySQL 5.5.33-31.1

In Correct (talk)18:53, 17 April 2014

Well, last time I checked, the default skin of your wiki was Vector, not Monobook. Things are styled differently on both skins. You should use MediaWiki:Common.css for styles applied to the content of the wiki (the "common" part between skins).

There are no "themes" for MediaWiki (for a particular skins), but instead you can style it with CSS directly. Although that requires you some knowledge about CSS.

Ciencia Al Poder (talk)20:00, 17 April 2014
 
 
 
 

How to change the default Main Page title and the URL

I'm trying to change the default Main Page title and the URL.

I only see instructions on How do I change the Main Page title.

I also would like to change the URL to reflect the new homepage title.

I would like for my URL to go from this:

http://haitipedia.org/wiki/Main_Page

to that:

http://haitipedia.org/wiki/Haitipedia

Versions:

MediaWiki version 1.16.2

PHP 5.x

MySQL 5.0.91-log

Hosting: GoDaddy Shared Linux

Techies24716:12, 4 March 2011

Hi Techies247,

You linked to the solution already: How do I change the Main Page title.

So follow the instructions ;-)

How do I change the Main Page title reads:
Simply click on the "Move" tab, and move the page to the desired page title.
Usually you also want to change which page is the main page.

So

Krinkle17:06, 4 March 2011

Great this is working fine for me.. but the problem is I am able to do this is Authoring Wiki. When I pushing the content to English Wiki its not reflecting there. Can anyone help me please.

49.205.166.10619:58, 17 April 2014
 

Great this is working fine for me.. but the problem is I am able to do this is Authoring Wiki. When I pushing the content to English Wiki its not reflecting there. Can anyone help me please.

49.205.166.10619:58, 17 April 2014
 

Great this is working fine for me.. but the problem is I am able to do this is Authoring Wiki. When I pushing the content to English Wiki its not reflecting there. Can anyone help me please.

49.205.166.10619:58, 17 April 2014
 
 

[RESOLVED] role="presentation" table with equal column height

Hello,

I want to use role="presentation" in a table to create three boxes here in the same way as on this wikis main page. I want that the boxes all have the same height (like on this wikis main page). How can I do this?

MediaWiki: 1.22.5 (7266102)
PHP: 5.3.10-1ubuntu3.11 (apache2handler)
MySQL: 5.5.35-0ubuntu0.12.04.2

Thank you! Cantho (without account)

188.96.69.1310:33, 16 April 2014

To have all boxes the same height, the boxes need to be the table cells and not the divs. Apply the border style to the table cells instead of the divs.

Ciencia Al Poder (talk)09:33, 17 April 2014

That works, thank you! Cantho (without account)

188.96.69.1316:39, 17 April 2014
 
 

Mass Edit and Save pages to run $wgHooks['EditPage::showEditForm:initial'][]

I have an extension that checks the page text and if a specific text isn't there it will add it. I'm usingthe hooks $wgHooks['ParserFirstCallInit'][] = 'AdsSetup'; $wgHooks['EditPage::showEditForm:initial'][] = 'CheckHasTag'; The extension runs if I go to each page, edit and then click 'save page', however, I have hundreds of pages on my wiki. How do I force an edit page and save on all the pages so the extension will run without me having to go to each page individually?

LTech (talk)10:41, 24 March 2014

If your hook works as a pre-save transform (but I don't think so) regardless if it's used through the GUI, then pywikibot/touch.py should work.

Ricordisamoa14:40, 24 March 2014

I would like to only re-save pages in the 'main' namespace, and not all of them. Is this the best tool for this? It looks quite complex to install and run.

LTech (talk)18:38, 24 March 2014

You could use JavaScript to load forms and submit them automatically.

Ricordisamoa13:43, 17 April 2014
 
 
 
First page
First page
Previous page
Previous page
Last page
Last page