Editors, Administradores de interfaz, Keepers
4117
ediciones
m |
m |
||
// 2019-
;mw.hook('wikipage.editform').add(function () {
titles: page_name,
lhnamespace: "6", // File: namespace only
"lhlimit": "max", // don't limit to 10
}).then(function(resp) {
const pid = Object.keys(resp.query.pages)[0]
} else {
// create a gallery at the bottom of the page
edit.value += "\n\n<gallery
// TODO: don't add galleries to article section edits
}
}) // api.get.then
|