Topic on Extension talk:Replace Text

Have (Main) namespace selected by default?

6
Spiros71 (talkcontribs)

Each time I need to select it.

Using version 1.7, MW 1.39.

Yaron Koren (talkcontribs)

Sorry about that - generally the main namespace is indeed selected by default, but you must have some PHP configuration where the code didn't work. If you apply the change here (a one-line change), hopefully it will work for you.

Spiros71 (talkcontribs)
Yaron Koren (talkcontribs)

The line has changed, but you can still make this change - it's on line 679.

Spiros71 (talkcontribs)

Yes, but the source line is quite different, for example the one starts with xml and the other with html. This was the end result of that change: https://ibb.co/jgkMPn8

Yaron Koren (talkcontribs)

Sorry, I meant that you should just make that one string replacement within the line, not to replace the entire line.

Reply to "Have (Main) namespace selected by default?"